1. Packages
  2. Sysdig Provider
  3. API Docs
  4. SecureMalwarePolicy
sysdig 1.59.0 published on Tuesday, Jul 29, 2025 by sysdiglabs

sysdig.SecureMalwarePolicy

Explore with Pulumi AI

sysdig logo
sysdig 1.59.0 published on Tuesday, Jul 29, 2025 by sysdiglabs

    Example Usage

    Create SecureMalwarePolicy Resource

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

    Constructor syntax

    new SecureMalwarePolicy(name: string, args: SecureMalwarePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SecureMalwarePolicy(resource_name: str,
                            args: SecureMalwarePolicyArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecureMalwarePolicy(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            description: Optional[str] = None,
                            rule: Optional[SecureMalwarePolicyRuleArgs] = None,
                            actions: Optional[Sequence[SecureMalwarePolicyActionArgs]] = None,
                            enabled: Optional[bool] = None,
                            name: Optional[str] = None,
                            notification_channels: Optional[Sequence[float]] = None,
                            runbook: Optional[str] = None,
                            scope: Optional[str] = None,
                            secure_malware_policy_id: Optional[str] = None,
                            severity: Optional[float] = None,
                            timeouts: Optional[SecureMalwarePolicyTimeoutsArgs] = None,
                            type: Optional[str] = None)
    func NewSecureMalwarePolicy(ctx *Context, name string, args SecureMalwarePolicyArgs, opts ...ResourceOption) (*SecureMalwarePolicy, error)
    public SecureMalwarePolicy(string name, SecureMalwarePolicyArgs args, CustomResourceOptions? opts = null)
    public SecureMalwarePolicy(String name, SecureMalwarePolicyArgs args)
    public SecureMalwarePolicy(String name, SecureMalwarePolicyArgs args, CustomResourceOptions options)
    
    type: sysdig:SecureMalwarePolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecureMalwarePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecureMalwarePolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecureMalwarePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecureMalwarePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecureMalwarePolicyArgs
    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 secureMalwarePolicyResource = new Sysdig.SecureMalwarePolicy("secureMalwarePolicyResource", new()
    {
        Description = "string",
        Rule = new Sysdig.Inputs.SecureMalwarePolicyRuleArgs
        {
            Description = "string",
            AdditionalHashes = new[]
            {
                "string",
            },
            Id = 0,
            IgnoreHashes = new[]
            {
                "string",
            },
            IgnorePaths = new[]
            {
                "string",
            },
            Name = "string",
            Tags = new[]
            {
                "string",
            },
            UseManagedHashes = false,
            UseRegex = false,
            UseYaraRules = false,
            Version = 0,
        },
        Actions = new[]
        {
            new Sysdig.Inputs.SecureMalwarePolicyActionArgs
            {
                Captures = new[]
                {
                    new Sysdig.Inputs.SecureMalwarePolicyActionCaptureArgs
                    {
                        Name = "string",
                        SecondsAfterEvent = 0,
                        SecondsBeforeEvent = 0,
                        BucketName = "string",
                        Filter = "string",
                        Folder = "string",
                    },
                },
                Container = "string",
                PreventMalware = false,
            },
        },
        Enabled = false,
        Name = "string",
        NotificationChannels = new[]
        {
            0,
        },
        Runbook = "string",
        Scope = "string",
        SecureMalwarePolicyId = "string",
        Severity = 0,
        Timeouts = new Sysdig.Inputs.SecureMalwarePolicyTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
        Type = "string",
    });
    
    example, err := sysdig.NewSecureMalwarePolicy(ctx, "secureMalwarePolicyResource", &sysdig.SecureMalwarePolicyArgs{
    	Description: pulumi.String("string"),
    	Rule: &sysdig.SecureMalwarePolicyRuleArgs{
    		Description: pulumi.String("string"),
    		AdditionalHashes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Id: pulumi.Float64(0),
    		IgnoreHashes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IgnorePaths: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Name: pulumi.String("string"),
    		Tags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		UseManagedHashes: pulumi.Bool(false),
    		UseRegex:         pulumi.Bool(false),
    		UseYaraRules:     pulumi.Bool(false),
    		Version:          pulumi.Float64(0),
    	},
    	Actions: sysdig.SecureMalwarePolicyActionArray{
    		&sysdig.SecureMalwarePolicyActionArgs{
    			Captures: sysdig.SecureMalwarePolicyActionCaptureArray{
    				&sysdig.SecureMalwarePolicyActionCaptureArgs{
    					Name:               pulumi.String("string"),
    					SecondsAfterEvent:  pulumi.Float64(0),
    					SecondsBeforeEvent: pulumi.Float64(0),
    					BucketName:         pulumi.String("string"),
    					Filter:             pulumi.String("string"),
    					Folder:             pulumi.String("string"),
    				},
    			},
    			Container:      pulumi.String("string"),
    			PreventMalware: pulumi.Bool(false),
    		},
    	},
    	Enabled: pulumi.Bool(false),
    	Name:    pulumi.String("string"),
    	NotificationChannels: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	Runbook:               pulumi.String("string"),
    	Scope:                 pulumi.String("string"),
    	SecureMalwarePolicyId: pulumi.String("string"),
    	Severity:              pulumi.Float64(0),
    	Timeouts: &sysdig.SecureMalwarePolicyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var secureMalwarePolicyResource = new SecureMalwarePolicy("secureMalwarePolicyResource", SecureMalwarePolicyArgs.builder()
        .description("string")
        .rule(SecureMalwarePolicyRuleArgs.builder()
            .description("string")
            .additionalHashes("string")
            .id(0.0)
            .ignoreHashes("string")
            .ignorePaths("string")
            .name("string")
            .tags("string")
            .useManagedHashes(false)
            .useRegex(false)
            .useYaraRules(false)
            .version(0.0)
            .build())
        .actions(SecureMalwarePolicyActionArgs.builder()
            .captures(SecureMalwarePolicyActionCaptureArgs.builder()
                .name("string")
                .secondsAfterEvent(0.0)
                .secondsBeforeEvent(0.0)
                .bucketName("string")
                .filter("string")
                .folder("string")
                .build())
            .container("string")
            .preventMalware(false)
            .build())
        .enabled(false)
        .name("string")
        .notificationChannels(0.0)
        .runbook("string")
        .scope("string")
        .secureMalwarePolicyId("string")
        .severity(0.0)
        .timeouts(SecureMalwarePolicyTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .type("string")
        .build());
    
    secure_malware_policy_resource = sysdig.SecureMalwarePolicy("secureMalwarePolicyResource",
        description="string",
        rule={
            "description": "string",
            "additional_hashes": ["string"],
            "id": 0,
            "ignore_hashes": ["string"],
            "ignore_paths": ["string"],
            "name": "string",
            "tags": ["string"],
            "use_managed_hashes": False,
            "use_regex": False,
            "use_yara_rules": False,
            "version": 0,
        },
        actions=[{
            "captures": [{
                "name": "string",
                "seconds_after_event": 0,
                "seconds_before_event": 0,
                "bucket_name": "string",
                "filter": "string",
                "folder": "string",
            }],
            "container": "string",
            "prevent_malware": False,
        }],
        enabled=False,
        name="string",
        notification_channels=[0],
        runbook="string",
        scope="string",
        secure_malware_policy_id="string",
        severity=0,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        },
        type="string")
    
    const secureMalwarePolicyResource = new sysdig.SecureMalwarePolicy("secureMalwarePolicyResource", {
        description: "string",
        rule: {
            description: "string",
            additionalHashes: ["string"],
            id: 0,
            ignoreHashes: ["string"],
            ignorePaths: ["string"],
            name: "string",
            tags: ["string"],
            useManagedHashes: false,
            useRegex: false,
            useYaraRules: false,
            version: 0,
        },
        actions: [{
            captures: [{
                name: "string",
                secondsAfterEvent: 0,
                secondsBeforeEvent: 0,
                bucketName: "string",
                filter: "string",
                folder: "string",
            }],
            container: "string",
            preventMalware: false,
        }],
        enabled: false,
        name: "string",
        notificationChannels: [0],
        runbook: "string",
        scope: "string",
        secureMalwarePolicyId: "string",
        severity: 0,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
        type: "string",
    });
    
    type: sysdig:SecureMalwarePolicy
    properties:
        actions:
            - captures:
                - bucketName: string
                  filter: string
                  folder: string
                  name: string
                  secondsAfterEvent: 0
                  secondsBeforeEvent: 0
              container: string
              preventMalware: false
        description: string
        enabled: false
        name: string
        notificationChannels:
            - 0
        rule:
            additionalHashes:
                - string
            description: string
            id: 0
            ignoreHashes:
                - string
            ignorePaths:
                - string
            name: string
            tags:
                - string
            useManagedHashes: false
            useRegex: false
            useYaraRules: false
            version: 0
        runbook: string
        scope: string
        secureMalwarePolicyId: string
        severity: 0
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        type: string
    

    SecureMalwarePolicy 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 SecureMalwarePolicy resource accepts the following input properties:

    Description string
    (Required) The description of the malware rule.
    Rule SecureMalwarePolicyRule
    Actions List<SecureMalwarePolicyAction>
    Enabled bool
    Whether the policy is enabled or not.
    Name string
    The name of the Secure managed policy.
    NotificationChannels List<double>
    IDs of the notification channels to send alerts to when the policy is fired.
    Runbook string
    Customer provided url that provides a runbook for a given policy.
    Scope string
    The application scope for the policy.
    SecureMalwarePolicyId string
    The id for the policy.
    Severity double
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    Timeouts SecureMalwarePolicyTimeouts
    Type string
    Description string
    (Required) The description of the malware rule.
    Rule SecureMalwarePolicyRuleArgs
    Actions []SecureMalwarePolicyActionArgs
    Enabled bool
    Whether the policy is enabled or not.
    Name string
    The name of the Secure managed policy.
    NotificationChannels []float64
    IDs of the notification channels to send alerts to when the policy is fired.
    Runbook string
    Customer provided url that provides a runbook for a given policy.
    Scope string
    The application scope for the policy.
    SecureMalwarePolicyId string
    The id for the policy.
    Severity float64
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    Timeouts SecureMalwarePolicyTimeoutsArgs
    Type string
    description String
    (Required) The description of the malware rule.
    rule SecureMalwarePolicyRule
    actions List<SecureMalwarePolicyAction>
    enabled Boolean
    Whether the policy is enabled or not.
    name String
    The name of the Secure managed policy.
    notificationChannels List<Double>
    IDs of the notification channels to send alerts to when the policy is fired.
    runbook String
    Customer provided url that provides a runbook for a given policy.
    scope String
    The application scope for the policy.
    secureMalwarePolicyId String
    The id for the policy.
    severity Double
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeouts
    type String
    description string
    (Required) The description of the malware rule.
    rule SecureMalwarePolicyRule
    actions SecureMalwarePolicyAction[]
    enabled boolean
    Whether the policy is enabled or not.
    name string
    The name of the Secure managed policy.
    notificationChannels number[]
    IDs of the notification channels to send alerts to when the policy is fired.
    runbook string
    Customer provided url that provides a runbook for a given policy.
    scope string
    The application scope for the policy.
    secureMalwarePolicyId string
    The id for the policy.
    severity number
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeouts
    type string
    description str
    (Required) The description of the malware rule.
    rule SecureMalwarePolicyRuleArgs
    actions Sequence[SecureMalwarePolicyActionArgs]
    enabled bool
    Whether the policy is enabled or not.
    name str
    The name of the Secure managed policy.
    notification_channels Sequence[float]
    IDs of the notification channels to send alerts to when the policy is fired.
    runbook str
    Customer provided url that provides a runbook for a given policy.
    scope str
    The application scope for the policy.
    secure_malware_policy_id str
    The id for the policy.
    severity float
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeoutsArgs
    type str
    description String
    (Required) The description of the malware rule.
    rule Property Map
    actions List<Property Map>
    enabled Boolean
    Whether the policy is enabled or not.
    name String
    The name of the Secure managed policy.
    notificationChannels List<Number>
    IDs of the notification channels to send alerts to when the policy is fired.
    runbook String
    Customer provided url that provides a runbook for a given policy.
    scope String
    The application scope for the policy.
    secureMalwarePolicyId String
    The id for the policy.
    severity Number
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts Property Map
    type String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Version double
    Id string
    The provider-assigned unique ID for this managed resource.
    Version float64
    id String
    The provider-assigned unique ID for this managed resource.
    version Double
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    id str
    The provider-assigned unique ID for this managed resource.
    version float
    id String
    The provider-assigned unique ID for this managed resource.
    version Number

    Look up Existing SecureMalwarePolicy Resource

    Get an existing SecureMalwarePolicy 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?: SecureMalwarePolicyState, opts?: CustomResourceOptions): SecureMalwarePolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[SecureMalwarePolicyActionArgs]] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            name: Optional[str] = None,
            notification_channels: Optional[Sequence[float]] = None,
            rule: Optional[SecureMalwarePolicyRuleArgs] = None,
            runbook: Optional[str] = None,
            scope: Optional[str] = None,
            secure_malware_policy_id: Optional[str] = None,
            severity: Optional[float] = None,
            timeouts: Optional[SecureMalwarePolicyTimeoutsArgs] = None,
            type: Optional[str] = None,
            version: Optional[float] = None) -> SecureMalwarePolicy
    func GetSecureMalwarePolicy(ctx *Context, name string, id IDInput, state *SecureMalwarePolicyState, opts ...ResourceOption) (*SecureMalwarePolicy, error)
    public static SecureMalwarePolicy Get(string name, Input<string> id, SecureMalwarePolicyState? state, CustomResourceOptions? opts = null)
    public static SecureMalwarePolicy get(String name, Output<String> id, SecureMalwarePolicyState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:SecureMalwarePolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    Actions List<SecureMalwarePolicyAction>
    Description string
    (Required) The description of the malware rule.
    Enabled bool
    Whether the policy is enabled or not.
    Name string
    The name of the Secure managed policy.
    NotificationChannels List<double>
    IDs of the notification channels to send alerts to when the policy is fired.
    Rule SecureMalwarePolicyRule
    Runbook string
    Customer provided url that provides a runbook for a given policy.
    Scope string
    The application scope for the policy.
    SecureMalwarePolicyId string
    The id for the policy.
    Severity double
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    Timeouts SecureMalwarePolicyTimeouts
    Type string
    Version double
    Actions []SecureMalwarePolicyActionArgs
    Description string
    (Required) The description of the malware rule.
    Enabled bool
    Whether the policy is enabled or not.
    Name string
    The name of the Secure managed policy.
    NotificationChannels []float64
    IDs of the notification channels to send alerts to when the policy is fired.
    Rule SecureMalwarePolicyRuleArgs
    Runbook string
    Customer provided url that provides a runbook for a given policy.
    Scope string
    The application scope for the policy.
    SecureMalwarePolicyId string
    The id for the policy.
    Severity float64
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    Timeouts SecureMalwarePolicyTimeoutsArgs
    Type string
    Version float64
    actions List<SecureMalwarePolicyAction>
    description String
    (Required) The description of the malware rule.
    enabled Boolean
    Whether the policy is enabled or not.
    name String
    The name of the Secure managed policy.
    notificationChannels List<Double>
    IDs of the notification channels to send alerts to when the policy is fired.
    rule SecureMalwarePolicyRule
    runbook String
    Customer provided url that provides a runbook for a given policy.
    scope String
    The application scope for the policy.
    secureMalwarePolicyId String
    The id for the policy.
    severity Double
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeouts
    type String
    version Double
    actions SecureMalwarePolicyAction[]
    description string
    (Required) The description of the malware rule.
    enabled boolean
    Whether the policy is enabled or not.
    name string
    The name of the Secure managed policy.
    notificationChannels number[]
    IDs of the notification channels to send alerts to when the policy is fired.
    rule SecureMalwarePolicyRule
    runbook string
    Customer provided url that provides a runbook for a given policy.
    scope string
    The application scope for the policy.
    secureMalwarePolicyId string
    The id for the policy.
    severity number
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeouts
    type string
    version number
    actions Sequence[SecureMalwarePolicyActionArgs]
    description str
    (Required) The description of the malware rule.
    enabled bool
    Whether the policy is enabled or not.
    name str
    The name of the Secure managed policy.
    notification_channels Sequence[float]
    IDs of the notification channels to send alerts to when the policy is fired.
    rule SecureMalwarePolicyRuleArgs
    runbook str
    Customer provided url that provides a runbook for a given policy.
    scope str
    The application scope for the policy.
    secure_malware_policy_id str
    The id for the policy.
    severity float
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts SecureMalwarePolicyTimeoutsArgs
    type str
    version float
    actions List<Property Map>
    description String
    (Required) The description of the malware rule.
    enabled Boolean
    Whether the policy is enabled or not.
    name String
    The name of the Secure managed policy.
    notificationChannels List<Number>
    IDs of the notification channels to send alerts to when the policy is fired.
    rule Property Map
    runbook String
    Customer provided url that provides a runbook for a given policy.
    scope String
    The application scope for the policy.
    secureMalwarePolicyId String
    The id for the policy.
    severity Number
    The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
    timeouts Property Map
    type String
    version Number

    Supporting Types

    SecureMalwarePolicyAction, SecureMalwarePolicyActionArgs

    Captures List<SecureMalwarePolicyActionCapture>
    (Optional) Captures with Sysdig the stream of system calls:
    Container string
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    PreventMalware bool
    (Optional) Prevent the execution of detected malware and binaries with known hashes.
    Captures []SecureMalwarePolicyActionCapture
    (Optional) Captures with Sysdig the stream of system calls:
    Container string
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    PreventMalware bool
    (Optional) Prevent the execution of detected malware and binaries with known hashes.
    captures List<SecureMalwarePolicyActionCapture>
    (Optional) Captures with Sysdig the stream of system calls:
    container String
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    preventMalware Boolean
    (Optional) Prevent the execution of detected malware and binaries with known hashes.
    captures SecureMalwarePolicyActionCapture[]
    (Optional) Captures with Sysdig the stream of system calls:
    container string
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    preventMalware boolean
    (Optional) Prevent the execution of detected malware and binaries with known hashes.
    captures Sequence[SecureMalwarePolicyActionCapture]
    (Optional) Captures with Sysdig the stream of system calls:
    container str
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    prevent_malware bool
    (Optional) Prevent the execution of detected malware and binaries with known hashes.
    captures List<Property Map>
    (Optional) Captures with Sysdig the stream of system calls:
    container String
    (Optional) The action applied to container when this Policy is triggered. Can be stop, pause or kill. If this is not specified, no action will be applied at the container level.
    preventMalware Boolean
    (Optional) Prevent the execution of detected malware and binaries with known hashes.

    SecureMalwarePolicyActionCapture, SecureMalwarePolicyActionCaptureArgs

    Name string
    The name of the Secure managed policy.
    SecondsAfterEvent double
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    SecondsBeforeEvent double
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    BucketName string
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    Filter string
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    Folder string
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket
    Name string
    The name of the Secure managed policy.
    SecondsAfterEvent float64
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    SecondsBeforeEvent float64
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    BucketName string
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    Filter string
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    Folder string
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket
    name String
    The name of the Secure managed policy.
    secondsAfterEvent Double
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    secondsBeforeEvent Double
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    bucketName String
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    filter String
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    folder String
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket
    name string
    The name of the Secure managed policy.
    secondsAfterEvent number
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    secondsBeforeEvent number
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    bucketName string
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    filter string
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    folder string
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket
    name str
    The name of the Secure managed policy.
    seconds_after_event float
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    seconds_before_event float
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    bucket_name str
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    filter str
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    folder str
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket
    name String
    The name of the Secure managed policy.
    secondsAfterEvent Number
    (Required) Captures the system calls for the amount of seconds after the policy was triggered.
    secondsBeforeEvent Number
    (Required) Captures the system calls during the amount of seconds before the policy was triggered.
    bucketName String
    (Optional) Custom bucket to store capture in, bucket should be onboarded in Integrations > S3 Capture Storage. Default is to use Sysdig Secure Storage
    filter String
    (Optional) Additional filter to apply to the capture. For example: proc.name=cat
    folder String
    (Optional) Name of folder to store capture inside the bucket. By default we will store the capture file at the root of the bucket

    SecureMalwarePolicyRule, SecureMalwarePolicyRuleArgs

    Description string
    (Required) The description of the malware rule.
    AdditionalHashes List<string>
    (Optional) List of additional hashes that should be matched.
    Id double
    The id for the policy.
    IgnoreHashes List<string>
    (Optional) List of hashes that should be ignored.
    IgnorePaths List<string>
    (Optional) The list of file paths to be excluded from malware matching
    Name string
    The name of the Secure managed policy.
    Tags List<string>
    UseManagedHashes bool
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    UseRegex bool
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    UseYaraRules bool
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    Version double
    Description string
    (Required) The description of the malware rule.
    AdditionalHashes []string
    (Optional) List of additional hashes that should be matched.
    Id float64
    The id for the policy.
    IgnoreHashes []string
    (Optional) List of hashes that should be ignored.
    IgnorePaths []string
    (Optional) The list of file paths to be excluded from malware matching
    Name string
    The name of the Secure managed policy.
    Tags []string
    UseManagedHashes bool
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    UseRegex bool
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    UseYaraRules bool
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    Version float64
    description String
    (Required) The description of the malware rule.
    additionalHashes List<String>
    (Optional) List of additional hashes that should be matched.
    id Double
    The id for the policy.
    ignoreHashes List<String>
    (Optional) List of hashes that should be ignored.
    ignorePaths List<String>
    (Optional) The list of file paths to be excluded from malware matching
    name String
    The name of the Secure managed policy.
    tags List<String>
    useManagedHashes Boolean
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    useRegex Boolean
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    useYaraRules Boolean
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    version Double
    description string
    (Required) The description of the malware rule.
    additionalHashes string[]
    (Optional) List of additional hashes that should be matched.
    id number
    The id for the policy.
    ignoreHashes string[]
    (Optional) List of hashes that should be ignored.
    ignorePaths string[]
    (Optional) The list of file paths to be excluded from malware matching
    name string
    The name of the Secure managed policy.
    tags string[]
    useManagedHashes boolean
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    useRegex boolean
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    useYaraRules boolean
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    version number
    description str
    (Required) The description of the malware rule.
    additional_hashes Sequence[str]
    (Optional) List of additional hashes that should be matched.
    id float
    The id for the policy.
    ignore_hashes Sequence[str]
    (Optional) List of hashes that should be ignored.
    ignore_paths Sequence[str]
    (Optional) The list of file paths to be excluded from malware matching
    name str
    The name of the Secure managed policy.
    tags Sequence[str]
    use_managed_hashes bool
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    use_regex bool
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    use_yara_rules bool
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    version float
    description String
    (Required) The description of the malware rule.
    additionalHashes List<String>
    (Optional) List of additional hashes that should be matched.
    id Number
    The id for the policy.
    ignoreHashes List<String>
    (Optional) List of hashes that should be ignored.
    ignorePaths List<String>
    (Optional) The list of file paths to be excluded from malware matching
    name String
    The name of the Secure managed policy.
    tags List<String>
    useManagedHashes Boolean
    (Required) Should Sysdig's managed hashes be used? The possible values are true or false.
    useRegex Boolean
    (Optional) Should use regex for ignore_paths matching? The possible values are true or false.
    useYaraRules Boolean
    (Optional) Should use Sysdig's managed YARA rules to detect malware and malicious scripts? The possible values are true or false.
    version Number

    SecureMalwarePolicyTimeouts, SecureMalwarePolicyTimeoutsArgs

    Create string
    Delete string
    Read string
    Update string
    Create string
    Delete string
    Read string
    Update string
    create String
    delete String
    read String
    update String
    create string
    delete string
    read string
    update string
    create str
    delete str
    read str
    update str
    create String
    delete String
    read String
    update String

    Package Details

    Repository
    sysdig sysdiglabs/terraform-provider-sysdig
    License
    Notes
    This Pulumi package is based on the sysdig Terraform Provider.
    sysdig logo
    sysdig 1.59.0 published on Tuesday, Jul 29, 2025 by sysdiglabs