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

prismacloud.getAnomalyTrustedLists

Explore with Pulumi AI

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

    Data source to return information on all anomaly trusted lists in Prisma Cloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as prismacloud from "@pulumi/prismacloud";
    
    const example = prismacloud.getAnomalyTrustedLists({});
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_anomaly_trusted_lists()
    
    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.GetAnomalyTrustedLists(ctx, &prismacloud.GetAnomalyTrustedListsArgs{}, 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.GetAnomalyTrustedLists.Invoke();
    
    });
    
    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.GetAnomalyTrustedListsArgs;
    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.getAnomalyTrustedLists();
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getAnomalyTrustedLists
          arguments: {}
    

    Using getAnomalyTrustedLists

    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 getAnomalyTrustedLists(args: GetAnomalyTrustedListsArgs, opts?: InvokeOptions): Promise<GetAnomalyTrustedListsResult>
    function getAnomalyTrustedListsOutput(args: GetAnomalyTrustedListsOutputArgs, opts?: InvokeOptions): Output<GetAnomalyTrustedListsResult>
    def get_anomaly_trusted_lists(id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetAnomalyTrustedListsResult
    def get_anomaly_trusted_lists_output(id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAnomalyTrustedListsResult]
    func GetAnomalyTrustedLists(ctx *Context, args *GetAnomalyTrustedListsArgs, opts ...InvokeOption) (*GetAnomalyTrustedListsResult, error)
    func GetAnomalyTrustedListsOutput(ctx *Context, args *GetAnomalyTrustedListsOutputArgs, opts ...InvokeOption) GetAnomalyTrustedListsResultOutput

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

    public static class GetAnomalyTrustedLists 
    {
        public static Task<GetAnomalyTrustedListsResult> InvokeAsync(GetAnomalyTrustedListsArgs args, InvokeOptions? opts = null)
        public static Output<GetAnomalyTrustedListsResult> Invoke(GetAnomalyTrustedListsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAnomalyTrustedListsResult> getAnomalyTrustedLists(GetAnomalyTrustedListsArgs args, InvokeOptions options)
    public static Output<GetAnomalyTrustedListsResult> getAnomalyTrustedLists(GetAnomalyTrustedListsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getAnomalyTrustedLists:getAnomalyTrustedLists
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getAnomalyTrustedLists Result

    The following output properties are available:

    Id string
    Listings List<GetAnomalyTrustedListsListing>
    List of anomaly trusted list, as defined below.
    Total double
    (int) Total number of anomaly trusted lists
    Id string
    Listings []GetAnomalyTrustedListsListing
    List of anomaly trusted list, as defined below.
    Total float64
    (int) Total number of anomaly trusted lists
    id String
    listings List<GetAnomalyTrustedListsListing>
    List of anomaly trusted list, as defined below.
    total Double
    (int) Total number of anomaly trusted lists
    id string
    listings GetAnomalyTrustedListsListing[]
    List of anomaly trusted list, as defined below.
    total number
    (int) Total number of anomaly trusted lists
    id str
    listings Sequence[GetAnomalyTrustedListsListing]
    List of anomaly trusted list, as defined below.
    total float
    (int) Total number of anomaly trusted lists
    id String
    listings List<Property Map>
    List of anomaly trusted list, as defined below.
    total Number
    (int) Total number of anomaly trusted lists

    Supporting Types

    GetAnomalyTrustedListsListing

    AccountId string
    Anomaly Trusted List account id
    ApplicablePolicies List<string>
    Applicable Policies
    AtlId double
    Anomaly Trusted List ID
    CreatedBy string
    Created by
    CreatedOn double
    Created on
    Description string
    Reason for trusted listing
    Name string
    Anomaly Trusted List name
    TrustedListEntries List<GetAnomalyTrustedListsListingTrustedListEntry>
    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
    Anomaly Trusted List ID
    CreatedBy string
    Created by
    CreatedOn float64
    Created on
    Description string
    Reason for trusted listing
    Name string
    Anomaly Trusted List name
    TrustedListEntries []GetAnomalyTrustedListsListingTrustedListEntry
    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
    Anomaly Trusted List ID
    createdBy String
    Created by
    createdOn Double
    Created on
    description String
    Reason for trusted listing
    name String
    Anomaly Trusted List name
    trustedListEntries List<GetAnomalyTrustedListsListingTrustedListEntry>
    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
    Anomaly Trusted List ID
    createdBy string
    Created by
    createdOn number
    Created on
    description string
    Reason for trusted listing
    name string
    Anomaly Trusted List name
    trustedListEntries GetAnomalyTrustedListsListingTrustedListEntry[]
    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
    Anomaly Trusted List ID
    created_by str
    Created by
    created_on float
    Created on
    description str
    Reason for trusted listing
    name str
    Anomaly Trusted List name
    trusted_list_entries Sequence[GetAnomalyTrustedListsListingTrustedListEntry]
    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
    Anomaly Trusted List ID
    createdBy String
    Created by
    createdOn Number
    Created on
    description String
    Reason for trusted listing
    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

    GetAnomalyTrustedListsListingTrustedListEntry

    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