1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. getAnomalyTrustedList
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.getAnomalyTrustedList

Explore with Pulumi AI

Data source to return information on current anomaly trusted list in Prisma Cloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";

const example = prismacloud.getAnomalyTrustedList({
    atlId: id,
});
Copy
import pulumi
import pulumi_prismacloud as prismacloud

example = prismacloud.get_anomaly_trusted_list(atl_id=id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := prismacloud.LookupAnomalyTrustedList(ctx, &prismacloud.LookupAnomalyTrustedListArgs{
			AtlId: id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;

return await Deployment.RunAsync(() => 
{
    var example = Prismacloud.GetAnomalyTrustedList.Invoke(new()
    {
        AtlId = id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.prismacloud.PrismacloudFunctions;
import com.pulumi.prismacloud.inputs.GetAnomalyTrustedListArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = PrismacloudFunctions.getAnomalyTrustedList(GetAnomalyTrustedListArgs.builder()
            .atlId(id)
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: prismacloud:getAnomalyTrustedList
      arguments:
        atlId: ${id}
Copy

Using getAnomalyTrustedList

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAnomalyTrustedList(args: GetAnomalyTrustedListArgs, opts?: InvokeOptions): Promise<GetAnomalyTrustedListResult>
function getAnomalyTrustedListOutput(args: GetAnomalyTrustedListOutputArgs, opts?: InvokeOptions): Output<GetAnomalyTrustedListResult>
Copy
def get_anomaly_trusted_list(atl_id: Optional[float] = None,
                             id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAnomalyTrustedListResult
def get_anomaly_trusted_list_output(atl_id: Optional[pulumi.Input[float]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAnomalyTrustedListResult]
Copy
func LookupAnomalyTrustedList(ctx *Context, args *LookupAnomalyTrustedListArgs, opts ...InvokeOption) (*LookupAnomalyTrustedListResult, error)
func LookupAnomalyTrustedListOutput(ctx *Context, args *LookupAnomalyTrustedListOutputArgs, opts ...InvokeOption) LookupAnomalyTrustedListResultOutput
Copy

> Note: This function is named LookupAnomalyTrustedList in the Go SDK.

public static class GetAnomalyTrustedList 
{
    public static Task<GetAnomalyTrustedListResult> InvokeAsync(GetAnomalyTrustedListArgs args, InvokeOptions? opts = null)
    public static Output<GetAnomalyTrustedListResult> Invoke(GetAnomalyTrustedListInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAnomalyTrustedListResult> getAnomalyTrustedList(GetAnomalyTrustedListArgs args, InvokeOptions options)
public static Output<GetAnomalyTrustedListResult> getAnomalyTrustedList(GetAnomalyTrustedListArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: prismacloud:index/getAnomalyTrustedList:getAnomalyTrustedList
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AtlId This property is required. double
Anomaly Trusted List ID
Id string
AtlId This property is required. float64
Anomaly Trusted List ID
Id string
atlId This property is required. Double
Anomaly Trusted List ID
id String
atlId This property is required. number
Anomaly Trusted List ID
id string
atl_id This property is required. float
Anomaly Trusted List ID
id str
atlId This property is required. Number
Anomaly Trusted List ID
id String

getAnomalyTrustedList Result

The following output properties are available:

AccountId string
Anomaly Trusted List account id
ApplicablePolicies List<string>
Applicable Policies
AtlId double
CreatedBy string
Created by
CreatedOn double
Created on
Description string
Reason for trusted listing
Id string
Name string
Anomaly Trusted List name
TrustedListEntries List<GetAnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
TrustedListType string
Anomaly Trusted List type
Vpc string
VPC
AccountId string
Anomaly Trusted List account id
ApplicablePolicies []string
Applicable Policies
AtlId float64
CreatedBy string
Created by
CreatedOn float64
Created on
Description string
Reason for trusted listing
Id string
Name string
Anomaly Trusted List name
TrustedListEntries []GetAnomalyTrustedListTrustedListEntry
List of network anomalies in the trusted list below.
TrustedListType string
Anomaly Trusted List type
Vpc string
VPC
accountId String
Anomaly Trusted List account id
applicablePolicies List<String>
Applicable Policies
atlId Double
createdBy String
Created by
createdOn Double
Created on
description String
Reason for trusted listing
id String
name String
Anomaly Trusted List name
trustedListEntries List<GetAnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
trustedListType String
Anomaly Trusted List type
vpc String
VPC
accountId string
Anomaly Trusted List account id
applicablePolicies string[]
Applicable Policies
atlId number
createdBy string
Created by
createdOn number
Created on
description string
Reason for trusted listing
id string
name string
Anomaly Trusted List name
trustedListEntries GetAnomalyTrustedListTrustedListEntry[]
List of network anomalies in the trusted list below.
trustedListType string
Anomaly Trusted List type
vpc string
VPC
account_id str
Anomaly Trusted List account id
applicable_policies Sequence[str]
Applicable Policies
atl_id float
created_by str
Created by
created_on float
Created on
description str
Reason for trusted listing
id str
name str
Anomaly Trusted List name
trusted_list_entries Sequence[GetAnomalyTrustedListTrustedListEntry]
List of network anomalies in the trusted list below.
trusted_list_type str
Anomaly Trusted List type
vpc str
VPC
accountId String
Anomaly Trusted List account id
applicablePolicies List<String>
Applicable Policies
atlId Number
createdBy String
Created by
createdOn Number
Created on
description String
Reason for trusted listing
id String
name String
Anomaly Trusted List name
trustedListEntries List<Property Map>
List of network anomalies in the trusted list below.
trustedListType String
Anomaly Trusted List type
vpc String
VPC

Supporting Types

GetAnomalyTrustedListTrustedListEntry

Domain This property is required. string
Domain
ImageId This property is required. string
Image ID
IpCidr This property is required. string
IP CIDR
Port This property is required. string
Port
Protocol This property is required. string
Protocol
ResourceId This property is required. string
Resource ID
Service This property is required. string
Service
Subject This property is required. string
Subject
TagKey This property is required. string
Tag key
TagValue This property is required. string
Tag value
Domain This property is required. string
Domain
ImageId This property is required. string
Image ID
IpCidr This property is required. string
IP CIDR
Port This property is required. string
Port
Protocol This property is required. string
Protocol
ResourceId This property is required. string
Resource ID
Service This property is required. string
Service
Subject This property is required. string
Subject
TagKey This property is required. string
Tag key
TagValue This property is required. string
Tag value
domain This property is required. String
Domain
imageId This property is required. String
Image ID
ipCidr This property is required. String
IP CIDR
port This property is required. String
Port
protocol This property is required. String
Protocol
resourceId This property is required. String
Resource ID
service This property is required. String
Service
subject This property is required. String
Subject
tagKey This property is required. String
Tag key
tagValue This property is required. String
Tag value
domain This property is required. string
Domain
imageId This property is required. string
Image ID
ipCidr This property is required. string
IP CIDR
port This property is required. string
Port
protocol This property is required. string
Protocol
resourceId This property is required. string
Resource ID
service This property is required. string
Service
subject This property is required. string
Subject
tagKey This property is required. string
Tag key
tagValue This property is required. string
Tag value
domain This property is required. str
Domain
image_id This property is required. str
Image ID
ip_cidr This property is required. str
IP CIDR
port This property is required. str
Port
protocol This property is required. str
Protocol
resource_id This property is required. str
Resource ID
service This property is required. str
Service
subject This property is required. str
Subject
tag_key This property is required. str
Tag key
tag_value This property is required. str
Tag value
domain This property is required. String
Domain
imageId This property is required. String
Image ID
ipCidr This property is required. String
IP CIDR
port This property is required. String
Port
protocol This property is required. String
Protocol
resourceId This property is required. String
Resource ID
service This property is required. String
Service
subject This property is required. String
Subject
tagKey This property is required. String
Tag key
tagValue This property is required. String
Tag value

Package Details

Repository
prismacloud paloaltonetworks/terraform-provider-prismacloud
License
Notes
This Pulumi package is based on the prismacloud Terraform Provider.