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

prismacloud.AnomalyTrustedList

Explore with Pulumi AI

Manage an anomaly trusted list.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: prismacloud:AnomalyTrustedList
    properties:
      atlId: ${id}
Copy

Create AnomalyTrustedList Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AnomalyTrustedList(name: string, args: AnomalyTrustedListArgs, opts?: CustomResourceOptions);
@overload
def AnomalyTrustedList(resource_name: str,
                       args: AnomalyTrustedListArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def AnomalyTrustedList(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       applicable_policies: Optional[Sequence[str]] = None,
                       trusted_list_entries: Optional[Sequence[AnomalyTrustedListTrustedListEntryArgs]] = None,
                       trusted_list_type: Optional[str] = None,
                       account_id: Optional[str] = None,
                       anomaly_trusted_list_id: Optional[str] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       vpc: Optional[str] = None)
func NewAnomalyTrustedList(ctx *Context, name string, args AnomalyTrustedListArgs, opts ...ResourceOption) (*AnomalyTrustedList, error)
public AnomalyTrustedList(string name, AnomalyTrustedListArgs args, CustomResourceOptions? opts = null)
public AnomalyTrustedList(String name, AnomalyTrustedListArgs args)
public AnomalyTrustedList(String name, AnomalyTrustedListArgs args, CustomResourceOptions options)
type: prismacloud:AnomalyTrustedList
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AnomalyTrustedListArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AnomalyTrustedListArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AnomalyTrustedListArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AnomalyTrustedListArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AnomalyTrustedListArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var anomalyTrustedListResource = new Prismacloud.AnomalyTrustedList("anomalyTrustedListResource", new()
{
    ApplicablePolicies = new[]
    {
        "string",
    },
    TrustedListEntries = new[]
    {
        new Prismacloud.Inputs.AnomalyTrustedListTrustedListEntryArgs
        {
            Domain = "string",
            ImageId = "string",
            IpCidr = "string",
            Port = "string",
            Protocol = "string",
            ResourceId = "string",
            Service = "string",
            Subject = "string",
            TagKey = "string",
            TagValue = "string",
        },
    },
    TrustedListType = "string",
    AccountId = "string",
    AnomalyTrustedListId = "string",
    Description = "string",
    Name = "string",
    Vpc = "string",
});
Copy
example, err := prismacloud.NewAnomalyTrustedList(ctx, "anomalyTrustedListResource", &prismacloud.AnomalyTrustedListArgs{
ApplicablePolicies: pulumi.StringArray{
pulumi.String("string"),
},
TrustedListEntries: .AnomalyTrustedListTrustedListEntryArray{
&.AnomalyTrustedListTrustedListEntryArgs{
Domain: pulumi.String("string"),
ImageId: pulumi.String("string"),
IpCidr: pulumi.String("string"),
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
ResourceId: pulumi.String("string"),
Service: pulumi.String("string"),
Subject: pulumi.String("string"),
TagKey: pulumi.String("string"),
TagValue: pulumi.String("string"),
},
},
TrustedListType: pulumi.String("string"),
AccountId: pulumi.String("string"),
AnomalyTrustedListId: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Vpc: pulumi.String("string"),
})
Copy
var anomalyTrustedListResource = new AnomalyTrustedList("anomalyTrustedListResource", AnomalyTrustedListArgs.builder()
    .applicablePolicies("string")
    .trustedListEntries(AnomalyTrustedListTrustedListEntryArgs.builder()
        .domain("string")
        .imageId("string")
        .ipCidr("string")
        .port("string")
        .protocol("string")
        .resourceId("string")
        .service("string")
        .subject("string")
        .tagKey("string")
        .tagValue("string")
        .build())
    .trustedListType("string")
    .accountId("string")
    .anomalyTrustedListId("string")
    .description("string")
    .name("string")
    .vpc("string")
    .build());
Copy
anomaly_trusted_list_resource = prismacloud.AnomalyTrustedList("anomalyTrustedListResource",
    applicable_policies=["string"],
    trusted_list_entries=[{
        "domain": "string",
        "image_id": "string",
        "ip_cidr": "string",
        "port": "string",
        "protocol": "string",
        "resource_id": "string",
        "service": "string",
        "subject": "string",
        "tag_key": "string",
        "tag_value": "string",
    }],
    trusted_list_type="string",
    account_id="string",
    anomaly_trusted_list_id="string",
    description="string",
    name="string",
    vpc="string")
Copy
const anomalyTrustedListResource = new prismacloud.AnomalyTrustedList("anomalyTrustedListResource", {
    applicablePolicies: ["string"],
    trustedListEntries: [{
        domain: "string",
        imageId: "string",
        ipCidr: "string",
        port: "string",
        protocol: "string",
        resourceId: "string",
        service: "string",
        subject: "string",
        tagKey: "string",
        tagValue: "string",
    }],
    trustedListType: "string",
    accountId: "string",
    anomalyTrustedListId: "string",
    description: "string",
    name: "string",
    vpc: "string",
});
Copy
type: prismacloud:AnomalyTrustedList
properties:
    accountId: string
    anomalyTrustedListId: string
    applicablePolicies:
        - string
    description: string
    name: string
    trustedListEntries:
        - domain: string
          imageId: string
          ipCidr: string
          port: string
          protocol: string
          resourceId: string
          service: string
          subject: string
          tagKey: string
          tagValue: string
    trustedListType: string
    vpc: string
Copy

AnomalyTrustedList Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AnomalyTrustedList resource accepts the following input properties:

ApplicablePolicies This property is required. List<string>
Applicable Policies
TrustedListEntries This property is required. List<AnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
TrustedListType This property is required. string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
AccountId string
Anomaly Trusted List account id. Default value is any.
AnomalyTrustedListId string
Description string
Reason for trusted listing
Name string
Anomaly Trusted List name
Vpc string
VPC. Default value is any.
ApplicablePolicies This property is required. []string
Applicable Policies
TrustedListEntries This property is required. []AnomalyTrustedListTrustedListEntryArgs
List of network anomalies in the trusted list below.
TrustedListType This property is required. string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
AccountId string
Anomaly Trusted List account id. Default value is any.
AnomalyTrustedListId string
Description string
Reason for trusted listing
Name string
Anomaly Trusted List name
Vpc string
VPC. Default value is any.
applicablePolicies This property is required. List<String>
Applicable Policies
trustedListEntries This property is required. List<AnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
trustedListType This property is required. String
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
accountId String
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId String
description String
Reason for trusted listing
name String
Anomaly Trusted List name
vpc String
VPC. Default value is any.
applicablePolicies This property is required. string[]
Applicable Policies
trustedListEntries This property is required. AnomalyTrustedListTrustedListEntry[]
List of network anomalies in the trusted list below.
trustedListType This property is required. string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
accountId string
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId string
description string
Reason for trusted listing
name string
Anomaly Trusted List name
vpc string
VPC. Default value is any.
applicable_policies This property is required. Sequence[str]
Applicable Policies
trusted_list_entries This property is required. Sequence[AnomalyTrustedListTrustedListEntryArgs]
List of network anomalies in the trusted list below.
trusted_list_type This property is required. str
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
account_id str
Anomaly Trusted List account id. Default value is any.
anomaly_trusted_list_id str
description str
Reason for trusted listing
name str
Anomaly Trusted List name
vpc str
VPC. Default value is any.
applicablePolicies This property is required. List<String>
Applicable Policies
trustedListEntries This property is required. List<Property Map>
List of network anomalies in the trusted list below.
trustedListType This property is required. String
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
accountId String
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId String
description String
Reason for trusted listing
name String
Anomaly Trusted List name
vpc String
VPC. Default value is any.

Outputs

All input properties are implicitly available as output properties. Additionally, the AnomalyTrustedList resource produces the following output properties:

AtlId double
Anomaly Trusted List ID
CreatedBy string
Created by
CreatedOn double
Created on
Id string
The provider-assigned unique ID for this managed resource.
AtlId float64
Anomaly Trusted List ID
CreatedBy string
Created by
CreatedOn float64
Created on
Id string
The provider-assigned unique ID for this managed resource.
atlId Double
Anomaly Trusted List ID
createdBy String
Created by
createdOn Double
Created on
id String
The provider-assigned unique ID for this managed resource.
atlId number
Anomaly Trusted List ID
createdBy string
Created by
createdOn number
Created on
id string
The provider-assigned unique ID for this managed resource.
atl_id float
Anomaly Trusted List ID
created_by str
Created by
created_on float
Created on
id str
The provider-assigned unique ID for this managed resource.
atlId Number
Anomaly Trusted List ID
createdBy String
Created by
createdOn Number
Created on
id String
The provider-assigned unique ID for this managed resource.

Look up Existing AnomalyTrustedList Resource

Get an existing AnomalyTrustedList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AnomalyTrustedListState, opts?: CustomResourceOptions): AnomalyTrustedList
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        anomaly_trusted_list_id: Optional[str] = None,
        applicable_policies: Optional[Sequence[str]] = None,
        atl_id: Optional[float] = None,
        created_by: Optional[str] = None,
        created_on: Optional[float] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        trusted_list_entries: Optional[Sequence[AnomalyTrustedListTrustedListEntryArgs]] = None,
        trusted_list_type: Optional[str] = None,
        vpc: Optional[str] = None) -> AnomalyTrustedList
func GetAnomalyTrustedList(ctx *Context, name string, id IDInput, state *AnomalyTrustedListState, opts ...ResourceOption) (*AnomalyTrustedList, error)
public static AnomalyTrustedList Get(string name, Input<string> id, AnomalyTrustedListState? state, CustomResourceOptions? opts = null)
public static AnomalyTrustedList get(String name, Output<String> id, AnomalyTrustedListState state, CustomResourceOptions options)
resources:  _:    type: prismacloud:AnomalyTrustedList    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId string
Anomaly Trusted List account id. Default value is any.
AnomalyTrustedListId string
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<AnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
TrustedListType string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
Vpc string
VPC. Default value is any.
AccountId string
Anomaly Trusted List account id. Default value is any.
AnomalyTrustedListId string
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 []AnomalyTrustedListTrustedListEntryArgs
List of network anomalies in the trusted list below.
TrustedListType string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
Vpc string
VPC. Default value is any.
accountId String
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId String
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<AnomalyTrustedListTrustedListEntry>
List of network anomalies in the trusted list below.
trustedListType String
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
vpc String
VPC. Default value is any.
accountId string
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId string
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 AnomalyTrustedListTrustedListEntry[]
List of network anomalies in the trusted list below.
trustedListType string
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
vpc string
VPC. Default value is any.
account_id str
Anomaly Trusted List account id. Default value is any.
anomaly_trusted_list_id str
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[AnomalyTrustedListTrustedListEntryArgs]
List of network anomalies in the trusted list below.
trusted_list_type str
Anomaly Trusted List type. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
vpc str
VPC. Default value is any.
accountId String
Anomaly Trusted List account id. Default value is any.
anomalyTrustedListId String
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. Valid values : ip, resource, image, tag, service, port, subject, domain or protocol,
vpc String
VPC. Default value is any.

Supporting Types

AnomalyTrustedListTrustedListEntry
, AnomalyTrustedListTrustedListEntryArgs

Domain string
Domain
ImageId string
Image ID
IpCidr string
IP CIDR
Port string
Port
Protocol string
Protocol

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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

$ terraform import prismacloud_anomaly_trusted_list.example 11111111-2222-3333-4444-555555555555
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.