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

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    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,
    });
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_anomaly_trusted_list(atl_id=id)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getAnomalyTrustedList
          arguments:
            atlId: ${id}
    

    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>
    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]
    func LookupAnomalyTrustedList(ctx *Context, args *LookupAnomalyTrustedListArgs, opts ...InvokeOption) (*LookupAnomalyTrustedListResult, error)
    func LookupAnomalyTrustedListOutput(ctx *Context, args *LookupAnomalyTrustedListOutputArgs, opts ...InvokeOption) LookupAnomalyTrustedListResultOutput

    > 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)
    }
    public static CompletableFuture<GetAnomalyTrustedListResult> getAnomalyTrustedList(GetAnomalyTrustedListArgs args, InvokeOptions options)
    public static Output<GetAnomalyTrustedListResult> getAnomalyTrustedList(GetAnomalyTrustedListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getAnomalyTrustedList:getAnomalyTrustedList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AtlId double
    Anomaly Trusted List ID
    Id string
    AtlId float64
    Anomaly Trusted List ID
    Id string
    atlId Double
    Anomaly Trusted List ID
    id String
    atlId number
    Anomaly Trusted List ID
    id string
    atl_id float
    Anomaly Trusted List ID
    id str
    atlId 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 string
    Domain
    ImageId string
    Image ID
    IpCidr string
    IP CIDR
    Port string
    Port
    Protocol string
    Protocol
    ResourceId string
    Resource ID
    Service string
    Service
    Subject string
    Subject
    TagKey string
    Tag key
    TagValue string
    Tag value
    Domain string
    Domain
    ImageId string
    Image ID
    IpCidr string
    IP CIDR
    Port string
    Port
    Protocol string
    Protocol
    ResourceId string
    Resource ID
    Service string
    Service
    Subject string
    Subject
    TagKey string
    Tag key
    TagValue string
    Tag value
    domain String
    Domain
    imageId String
    Image ID
    ipCidr String
    IP CIDR
    port String
    Port
    protocol String
    Protocol
    resourceId String
    Resource ID
    service String
    Service
    subject String
    Subject
    tagKey String
    Tag key
    tagValue String
    Tag value
    domain string
    Domain
    imageId string
    Image ID
    ipCidr string
    IP CIDR
    port string
    Port
    protocol string
    Protocol
    resourceId string
    Resource ID
    service string
    Service
    subject string
    Subject
    tagKey string
    Tag key
    tagValue string
    Tag value
    domain str
    Domain
    image_id str
    Image ID
    ip_cidr str
    IP CIDR
    port str
    Port
    protocol str
    Protocol
    resource_id str
    Resource ID
    service str
    Service
    subject str
    Subject
    tag_key str
    Tag key
    tag_value str
    Tag value
    domain String
    Domain
    imageId String
    Image ID
    ipCidr String
    IP CIDR
    port String
    Port
    protocol String
    Protocol
    resourceId String
    Resource ID
    service String
    Service
    subject String
    Subject
    tagKey String
    Tag key
    tagValue String
    Tag value

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks