1. Packages
  2. Ibm Provider
  3. API Docs
  4. CisRulesetRule
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.CisRulesetRule

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Provides an IBM Cloud Internet Services rulesets rule resource to create, update, and delete the ruleset rule of an instance or domain. For more information about the IBM Cloud Internet Services ruleset rule, see ruleset instance.

    Create CisRulesetRule Resource

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

    Constructor syntax

    new CisRulesetRule(name: string, args: CisRulesetRuleArgs, opts?: CustomResourceOptions);
    @overload
    def CisRulesetRule(resource_name: str,
                       args: CisRulesetRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisRulesetRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       cis_id: Optional[str] = None,
                       ruleset_id: Optional[str] = None,
                       cis_ruleset_rule_id: Optional[str] = None,
                       domain_id: Optional[str] = None,
                       rules: Optional[Sequence[CisRulesetRuleRuleArgs]] = None)
    func NewCisRulesetRule(ctx *Context, name string, args CisRulesetRuleArgs, opts ...ResourceOption) (*CisRulesetRule, error)
    public CisRulesetRule(string name, CisRulesetRuleArgs args, CustomResourceOptions? opts = null)
    public CisRulesetRule(String name, CisRulesetRuleArgs args)
    public CisRulesetRule(String name, CisRulesetRuleArgs args, CustomResourceOptions options)
    
    type: ibm:CisRulesetRule
    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 CisRulesetRuleArgs
    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 CisRulesetRuleArgs
    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 CisRulesetRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisRulesetRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisRulesetRuleArgs
    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 cisRulesetRuleResource = new Ibm.CisRulesetRule("cisRulesetRuleResource", new()
    {
        CisId = "string",
        RulesetId = "string",
        CisRulesetRuleId = "string",
        DomainId = "string",
        Rules = new[]
        {
            new Ibm.Inputs.CisRulesetRuleRuleArgs
            {
                Action = "string",
                ActionParameters = new[]
                {
                    new Ibm.Inputs.CisRulesetRuleRuleActionParameterArgs
                    {
                        Id = "string",
                        Overrides = new[]
                        {
                            new Ibm.Inputs.CisRulesetRuleRuleActionParameterOverrideArgs
                            {
                                Action = "string",
                                Categories = new[]
                                {
                                    new Ibm.Inputs.CisRulesetRuleRuleActionParameterOverrideCategoryArgs
                                    {
                                        Action = "string",
                                        Category = "string",
                                        Enabled = false,
                                    },
                                },
                                Enabled = false,
                                OverrideRules = new[]
                                {
                                    new Ibm.Inputs.CisRulesetRuleRuleActionParameterOverrideOverrideRuleArgs
                                    {
                                        Action = "string",
                                        Enabled = false,
                                        RuleId = "string",
                                        ScoreThreshold = 0,
                                        SensitivityLevel = "string",
                                    },
                                },
                            },
                        },
                        Responses = new[]
                        {
                            new Ibm.Inputs.CisRulesetRuleRuleActionParameterResponseArgs
                            {
                                Content = "string",
                                ContentType = "string",
                                StatusCode = 0,
                            },
                        },
                        Ruleset = "string",
                        Rulesets = new[]
                        {
                            "string",
                        },
                        Version = "string",
                    },
                },
                Categories = new[]
                {
                    "string",
                },
                Description = "string",
                Enabled = false,
                Expression = "string",
                Id = "string",
                LastUpdatedAt = "string",
                Logging = 
                {
                    { "string", false },
                },
                Positions = new[]
                {
                    new Ibm.Inputs.CisRulesetRuleRulePositionArgs
                    {
                        After = "string",
                        Before = "string",
                        Index = 0,
                    },
                },
                Ref = "string",
                Version = "string",
            },
        },
    });
    
    example, err := ibm.NewCisRulesetRule(ctx, "cisRulesetRuleResource", &ibm.CisRulesetRuleArgs{
    	CisId:            pulumi.String("string"),
    	RulesetId:        pulumi.String("string"),
    	CisRulesetRuleId: pulumi.String("string"),
    	DomainId:         pulumi.String("string"),
    	Rules: ibm.CisRulesetRuleRuleArray{
    		&ibm.CisRulesetRuleRuleArgs{
    			Action: pulumi.String("string"),
    			ActionParameters: ibm.CisRulesetRuleRuleActionParameterArray{
    				&ibm.CisRulesetRuleRuleActionParameterArgs{
    					Id: pulumi.String("string"),
    					Overrides: ibm.CisRulesetRuleRuleActionParameterOverrideArray{
    						&ibm.CisRulesetRuleRuleActionParameterOverrideArgs{
    							Action: pulumi.String("string"),
    							Categories: ibm.CisRulesetRuleRuleActionParameterOverrideCategoryArray{
    								&ibm.CisRulesetRuleRuleActionParameterOverrideCategoryArgs{
    									Action:   pulumi.String("string"),
    									Category: pulumi.String("string"),
    									Enabled:  pulumi.Bool(false),
    								},
    							},
    							Enabled: pulumi.Bool(false),
    							OverrideRules: ibm.CisRulesetRuleRuleActionParameterOverrideOverrideRuleArray{
    								&ibm.CisRulesetRuleRuleActionParameterOverrideOverrideRuleArgs{
    									Action:           pulumi.String("string"),
    									Enabled:          pulumi.Bool(false),
    									RuleId:           pulumi.String("string"),
    									ScoreThreshold:   pulumi.Float64(0),
    									SensitivityLevel: pulumi.String("string"),
    								},
    							},
    						},
    					},
    					Responses: ibm.CisRulesetRuleRuleActionParameterResponseArray{
    						&ibm.CisRulesetRuleRuleActionParameterResponseArgs{
    							Content:     pulumi.String("string"),
    							ContentType: pulumi.String("string"),
    							StatusCode:  pulumi.Float64(0),
    						},
    					},
    					Ruleset: pulumi.String("string"),
    					Rulesets: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Version: pulumi.String("string"),
    				},
    			},
    			Categories: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Description:   pulumi.String("string"),
    			Enabled:       pulumi.Bool(false),
    			Expression:    pulumi.String("string"),
    			Id:            pulumi.String("string"),
    			LastUpdatedAt: pulumi.String("string"),
    			Logging: pulumi.BoolMap{
    				"string": pulumi.Bool(false),
    			},
    			Positions: ibm.CisRulesetRuleRulePositionArray{
    				&ibm.CisRulesetRuleRulePositionArgs{
    					After:  pulumi.String("string"),
    					Before: pulumi.String("string"),
    					Index:  pulumi.Float64(0),
    				},
    			},
    			Ref:     pulumi.String("string"),
    			Version: pulumi.String("string"),
    		},
    	},
    })
    
    var cisRulesetRuleResource = new CisRulesetRule("cisRulesetRuleResource", CisRulesetRuleArgs.builder()
        .cisId("string")
        .rulesetId("string")
        .cisRulesetRuleId("string")
        .domainId("string")
        .rules(CisRulesetRuleRuleArgs.builder()
            .action("string")
            .actionParameters(CisRulesetRuleRuleActionParameterArgs.builder()
                .id("string")
                .overrides(CisRulesetRuleRuleActionParameterOverrideArgs.builder()
                    .action("string")
                    .categories(CisRulesetRuleRuleActionParameterOverrideCategoryArgs.builder()
                        .action("string")
                        .category("string")
                        .enabled(false)
                        .build())
                    .enabled(false)
                    .overrideRules(CisRulesetRuleRuleActionParameterOverrideOverrideRuleArgs.builder()
                        .action("string")
                        .enabled(false)
                        .ruleId("string")
                        .scoreThreshold(0)
                        .sensitivityLevel("string")
                        .build())
                    .build())
                .responses(CisRulesetRuleRuleActionParameterResponseArgs.builder()
                    .content("string")
                    .contentType("string")
                    .statusCode(0)
                    .build())
                .ruleset("string")
                .rulesets("string")
                .version("string")
                .build())
            .categories("string")
            .description("string")
            .enabled(false)
            .expression("string")
            .id("string")
            .lastUpdatedAt("string")
            .logging(Map.of("string", false))
            .positions(CisRulesetRuleRulePositionArgs.builder()
                .after("string")
                .before("string")
                .index(0)
                .build())
            .ref("string")
            .version("string")
            .build())
        .build());
    
    cis_ruleset_rule_resource = ibm.CisRulesetRule("cisRulesetRuleResource",
        cis_id="string",
        ruleset_id="string",
        cis_ruleset_rule_id="string",
        domain_id="string",
        rules=[{
            "action": "string",
            "action_parameters": [{
                "id": "string",
                "overrides": [{
                    "action": "string",
                    "categories": [{
                        "action": "string",
                        "category": "string",
                        "enabled": False,
                    }],
                    "enabled": False,
                    "override_rules": [{
                        "action": "string",
                        "enabled": False,
                        "rule_id": "string",
                        "score_threshold": 0,
                        "sensitivity_level": "string",
                    }],
                }],
                "responses": [{
                    "content": "string",
                    "content_type": "string",
                    "status_code": 0,
                }],
                "ruleset": "string",
                "rulesets": ["string"],
                "version": "string",
            }],
            "categories": ["string"],
            "description": "string",
            "enabled": False,
            "expression": "string",
            "id": "string",
            "last_updated_at": "string",
            "logging": {
                "string": False,
            },
            "positions": [{
                "after": "string",
                "before": "string",
                "index": 0,
            }],
            "ref": "string",
            "version": "string",
        }])
    
    const cisRulesetRuleResource = new ibm.CisRulesetRule("cisRulesetRuleResource", {
        cisId: "string",
        rulesetId: "string",
        cisRulesetRuleId: "string",
        domainId: "string",
        rules: [{
            action: "string",
            actionParameters: [{
                id: "string",
                overrides: [{
                    action: "string",
                    categories: [{
                        action: "string",
                        category: "string",
                        enabled: false,
                    }],
                    enabled: false,
                    overrideRules: [{
                        action: "string",
                        enabled: false,
                        ruleId: "string",
                        scoreThreshold: 0,
                        sensitivityLevel: "string",
                    }],
                }],
                responses: [{
                    content: "string",
                    contentType: "string",
                    statusCode: 0,
                }],
                ruleset: "string",
                rulesets: ["string"],
                version: "string",
            }],
            categories: ["string"],
            description: "string",
            enabled: false,
            expression: "string",
            id: "string",
            lastUpdatedAt: "string",
            logging: {
                string: false,
            },
            positions: [{
                after: "string",
                before: "string",
                index: 0,
            }],
            ref: "string",
            version: "string",
        }],
    });
    
    type: ibm:CisRulesetRule
    properties:
        cisId: string
        cisRulesetRuleId: string
        domainId: string
        rules:
            - action: string
              actionParameters:
                - id: string
                  overrides:
                    - action: string
                      categories:
                        - action: string
                          category: string
                          enabled: false
                      enabled: false
                      overrideRules:
                        - action: string
                          enabled: false
                          ruleId: string
                          scoreThreshold: 0
                          sensitivityLevel: string
                  responses:
                    - content: string
                      contentType: string
                      statusCode: 0
                  ruleset: string
                  rulesets:
                    - string
                  version: string
              categories:
                - string
              description: string
              enabled: false
              expression: string
              id: string
              lastUpdatedAt: string
              logging:
                string: false
              positions:
                - after: string
                  before: string
                  index: 0
              ref: string
              version: string
        rulesetId: string
    

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

    CisId string
    The ID of the CIS service instance.
    RulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    CisRulesetRuleId string
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    Rules List<CisRulesetRuleRule>

    Rule that is required to be added/modified.

    Nested scheme of rule

    CisId string
    The ID of the CIS service instance.
    RulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    CisRulesetRuleId string
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    Rules []CisRulesetRuleRuleArgs

    Rule that is required to be added/modified.

    Nested scheme of rule

    cisId String
    The ID of the CIS service instance.
    rulesetId String
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisRulesetRuleId String
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules List<CisRulesetRuleRule>

    Rule that is required to be added/modified.

    Nested scheme of rule

    cisId string
    The ID of the CIS service instance.
    rulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisRulesetRuleId string
    domainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules CisRulesetRuleRule[]

    Rule that is required to be added/modified.

    Nested scheme of rule

    cis_id str
    The ID of the CIS service instance.
    ruleset_id str
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cis_ruleset_rule_id str
    domain_id str
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules Sequence[CisRulesetRuleRuleArgs]

    Rule that is required to be added/modified.

    Nested scheme of rule

    cisId String
    The ID of the CIS service instance.
    rulesetId String
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisRulesetRuleId String
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules List<Property Map>

    Rule that is required to be added/modified.

    Nested scheme of rule

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CisRulesetRule Resource

    Get an existing CisRulesetRule 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?: CisRulesetRuleState, opts?: CustomResourceOptions): CisRulesetRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cis_id: Optional[str] = None,
            cis_ruleset_rule_id: Optional[str] = None,
            domain_id: Optional[str] = None,
            rules: Optional[Sequence[CisRulesetRuleRuleArgs]] = None,
            ruleset_id: Optional[str] = None) -> CisRulesetRule
    func GetCisRulesetRule(ctx *Context, name string, id IDInput, state *CisRulesetRuleState, opts ...ResourceOption) (*CisRulesetRule, error)
    public static CisRulesetRule Get(string name, Input<string> id, CisRulesetRuleState? state, CustomResourceOptions? opts = null)
    public static CisRulesetRule get(String name, Output<String> id, CisRulesetRuleState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisRulesetRule    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:
    CisId string
    The ID of the CIS service instance.
    CisRulesetRuleId string
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    Rules List<CisRulesetRuleRule>

    Rule that is required to be added/modified.

    Nested scheme of rule

    RulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    CisId string
    The ID of the CIS service instance.
    CisRulesetRuleId string
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    Rules []CisRulesetRuleRuleArgs

    Rule that is required to be added/modified.

    Nested scheme of rule

    RulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisId String
    The ID of the CIS service instance.
    cisRulesetRuleId String
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules List<CisRulesetRuleRule>

    Rule that is required to be added/modified.

    Nested scheme of rule

    rulesetId String
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisId string
    The ID of the CIS service instance.
    cisRulesetRuleId string
    domainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules CisRulesetRuleRule[]

    Rule that is required to be added/modified.

    Nested scheme of rule

    rulesetId string
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cis_id str
    The ID of the CIS service instance.
    cis_ruleset_rule_id str
    domain_id str
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules Sequence[CisRulesetRuleRuleArgs]

    Rule that is required to be added/modified.

    Nested scheme of rule

    ruleset_id str
    ID of the ruleset inside which rules will be created, updated, or deleted.
    cisId String
    The ID of the CIS service instance.
    cisRulesetRuleId String
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided, the request is made at the zone/domain level; otherwise, the request is made at the instance level.
    rules List<Property Map>

    Rule that is required to be added/modified.

    Nested scheme of rule

    rulesetId String
    ID of the ruleset inside which rules will be created, updated, or deleted.

    Supporting Types

    CisRulesetRuleRule, CisRulesetRuleRuleArgs

    Action string
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    ActionParameters List<CisRulesetRuleRuleActionParameter>
    Action parameters of the rulesets rule
    Categories List<string>
    Categories of the rulesets rule
    Description string
    Description of the rule.
    Enabled bool
    Enable/Disable ruleset rule
    Expression string
    Expression used by the rule to match the incoming request.
    Id string
    ID of the rulesets rule
    LastUpdatedAt string
    Rulesets rule last updated at
    Logging Dictionary<string, bool>
    Logging of the rulesets rule
    Positions List<CisRulesetRuleRulePosition>
    Position of the rulesets rule
    Ref string
    Reference of the rulesets rule
    Version string
    Version of the rulesets rule
    Action string
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    ActionParameters []CisRulesetRuleRuleActionParameter
    Action parameters of the rulesets rule
    Categories []string
    Categories of the rulesets rule
    Description string
    Description of the rule.
    Enabled bool
    Enable/Disable ruleset rule
    Expression string
    Expression used by the rule to match the incoming request.
    Id string
    ID of the rulesets rule
    LastUpdatedAt string
    Rulesets rule last updated at
    Logging map[string]bool
    Logging of the rulesets rule
    Positions []CisRulesetRuleRulePosition
    Position of the rulesets rule
    Ref string
    Reference of the rulesets rule
    Version string
    Version of the rulesets rule
    action String
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    actionParameters List<CisRulesetRuleRuleActionParameter>
    Action parameters of the rulesets rule
    categories List<String>
    Categories of the rulesets rule
    description String
    Description of the rule.
    enabled Boolean
    Enable/Disable ruleset rule
    expression String
    Expression used by the rule to match the incoming request.
    id String
    ID of the rulesets rule
    lastUpdatedAt String
    Rulesets rule last updated at
    logging Map<String,Boolean>
    Logging of the rulesets rule
    positions List<CisRulesetRuleRulePosition>
    Position of the rulesets rule
    ref String
    Reference of the rulesets rule
    version String
    Version of the rulesets rule
    action string
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    actionParameters CisRulesetRuleRuleActionParameter[]
    Action parameters of the rulesets rule
    categories string[]
    Categories of the rulesets rule
    description string
    Description of the rule.
    enabled boolean
    Enable/Disable ruleset rule
    expression string
    Expression used by the rule to match the incoming request.
    id string
    ID of the rulesets rule
    lastUpdatedAt string
    Rulesets rule last updated at
    logging {[key: string]: boolean}
    Logging of the rulesets rule
    positions CisRulesetRuleRulePosition[]
    Position of the rulesets rule
    ref string
    Reference of the rulesets rule
    version string
    Version of the rulesets rule
    action str
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    action_parameters Sequence[CisRulesetRuleRuleActionParameter]
    Action parameters of the rulesets rule
    categories Sequence[str]
    Categories of the rulesets rule
    description str
    Description of the rule.
    enabled bool
    Enable/Disable ruleset rule
    expression str
    Expression used by the rule to match the incoming request.
    id str
    ID of the rulesets rule
    last_updated_at str
    Rulesets rule last updated at
    logging Mapping[str, bool]
    Logging of the rulesets rule
    positions Sequence[CisRulesetRuleRulePosition]
    Position of the rulesets rule
    ref str
    Reference of the rulesets rule
    version str
    Version of the rulesets rule
    action String
    . If you are deploying a managed rule, then the execute action is used. If you are adding a custom rule, then any action can be used other then execute.
    actionParameters List<Property Map>
    Action parameters of the rulesets rule
    categories List<String>
    Categories of the rulesets rule
    description String
    Description of the rule.
    enabled Boolean
    Enable/Disable ruleset rule
    expression String
    Expression used by the rule to match the incoming request.
    id String
    ID of the rulesets rule
    lastUpdatedAt String
    Rulesets rule last updated at
    logging Map<Boolean>
    Logging of the rulesets rule
    positions List<Property Map>
    Position of the rulesets rule
    ref String
    Reference of the rulesets rule
    version String
    Version of the rulesets rule

    CisRulesetRuleRuleActionParameter, CisRulesetRuleRuleActionParameterArgs

    Id string
    ID of the rulesets rule
    Overrides List<CisRulesetRuleRuleActionParameterOverride>
    Override options
    Responses List<CisRulesetRuleRuleActionParameterResponse>
    Action parameters response of the rulesets rule
    Ruleset string
    Ruleset ID of the ruleset to apply action to
    Rulesets List<string>
    List of ruleset IDs of the ruleset to apply action to
    Version string
    Version of the ruleset
    Id string
    ID of the rulesets rule
    Overrides []CisRulesetRuleRuleActionParameterOverride
    Override options
    Responses []CisRulesetRuleRuleActionParameterResponse
    Action parameters response of the rulesets rule
    Ruleset string
    Ruleset ID of the ruleset to apply action to
    Rulesets []string
    List of ruleset IDs of the ruleset to apply action to
    Version string
    Version of the ruleset
    id String
    ID of the rulesets rule
    overrides List<CisRulesetRuleRuleActionParameterOverride>
    Override options
    responses List<CisRulesetRuleRuleActionParameterResponse>
    Action parameters response of the rulesets rule
    ruleset String
    Ruleset ID of the ruleset to apply action to
    rulesets List<String>
    List of ruleset IDs of the ruleset to apply action to
    version String
    Version of the ruleset
    id string
    ID of the rulesets rule
    overrides CisRulesetRuleRuleActionParameterOverride[]
    Override options
    responses CisRulesetRuleRuleActionParameterResponse[]
    Action parameters response of the rulesets rule
    ruleset string
    Ruleset ID of the ruleset to apply action to
    rulesets string[]
    List of ruleset IDs of the ruleset to apply action to
    version string
    Version of the ruleset
    id str
    ID of the rulesets rule
    overrides Sequence[CisRulesetRuleRuleActionParameterOverride]
    Override options
    responses Sequence[CisRulesetRuleRuleActionParameterResponse]
    Action parameters response of the rulesets rule
    ruleset str
    Ruleset ID of the ruleset to apply action to
    rulesets Sequence[str]
    List of ruleset IDs of the ruleset to apply action to
    version str
    Version of the ruleset
    id String
    ID of the rulesets rule
    overrides List<Property Map>
    Override options
    responses List<Property Map>
    Action parameters response of the rulesets rule
    ruleset String
    Ruleset ID of the ruleset to apply action to
    rulesets List<String>
    List of ruleset IDs of the ruleset to apply action to
    version String
    Version of the ruleset

    CisRulesetRuleRuleActionParameterOverride, CisRulesetRuleRuleActionParameterOverrideArgs

    action String
    Action to perform
    categories List<Property Map>
    Categories
    enabled Boolean
    Enable/Disable rule
    overrideRules List<Property Map>
    Rules

    CisRulesetRuleRuleActionParameterOverrideCategory, CisRulesetRuleRuleActionParameterOverrideCategoryArgs

    Action string
    Action to perform
    Category string
    Category
    Enabled bool
    Enable/Disable rule
    Action string
    Action to perform
    Category string
    Category
    Enabled bool
    Enable/Disable rule
    action String
    Action to perform
    category String
    Category
    enabled Boolean
    Enable/Disable rule
    action string
    Action to perform
    category string
    Category
    enabled boolean
    Enable/Disable rule
    action str
    Action to perform
    category str
    Category
    enabled bool
    Enable/Disable rule
    action String
    Action to perform
    category String
    Category
    enabled Boolean
    Enable/Disable rule

    CisRulesetRuleRuleActionParameterOverrideOverrideRule, CisRulesetRuleRuleActionParameterOverrideOverrideRuleArgs

    Action string
    Action to perform
    Enabled bool
    Enable/Disable rule
    RuleId string
    (String) ID of the rule.
    ScoreThreshold double
    Score threshold for the override rule
    SensitivityLevel string
    Sensitivity level
    Action string
    Action to perform
    Enabled bool
    Enable/Disable rule
    RuleId string
    (String) ID of the rule.
    ScoreThreshold float64
    Score threshold for the override rule
    SensitivityLevel string
    Sensitivity level
    action String
    Action to perform
    enabled Boolean
    Enable/Disable rule
    ruleId String
    (String) ID of the rule.
    scoreThreshold Double
    Score threshold for the override rule
    sensitivityLevel String
    Sensitivity level
    action string
    Action to perform
    enabled boolean
    Enable/Disable rule
    ruleId string
    (String) ID of the rule.
    scoreThreshold number
    Score threshold for the override rule
    sensitivityLevel string
    Sensitivity level
    action str
    Action to perform
    enabled bool
    Enable/Disable rule
    rule_id str
    (String) ID of the rule.
    score_threshold float
    Score threshold for the override rule
    sensitivity_level str
    Sensitivity level
    action String
    Action to perform
    enabled Boolean
    Enable/Disable rule
    ruleId String
    (String) ID of the rule.
    scoreThreshold Number
    Score threshold for the override rule
    sensitivityLevel String
    Sensitivity level

    CisRulesetRuleRuleActionParameterResponse, CisRulesetRuleRuleActionParameterResponseArgs

    Content string
    Action parameters response content of the rulesets rule
    ContentType string
    Action parameters response type of the rulesets rule
    StatusCode double
    Action parameters response status code of the rulesets rule
    Content string
    Action parameters response content of the rulesets rule
    ContentType string
    Action parameters response type of the rulesets rule
    StatusCode float64
    Action parameters response status code of the rulesets rule
    content String
    Action parameters response content of the rulesets rule
    contentType String
    Action parameters response type of the rulesets rule
    statusCode Double
    Action parameters response status code of the rulesets rule
    content string
    Action parameters response content of the rulesets rule
    contentType string
    Action parameters response type of the rulesets rule
    statusCode number
    Action parameters response status code of the rulesets rule
    content str
    Action parameters response content of the rulesets rule
    content_type str
    Action parameters response type of the rulesets rule
    status_code float
    Action parameters response status code of the rulesets rule
    content String
    Action parameters response content of the rulesets rule
    contentType String
    Action parameters response type of the rulesets rule
    statusCode Number
    Action parameters response status code of the rulesets rule

    CisRulesetRuleRulePosition, CisRulesetRuleRulePositionArgs

    After string
    Ruleset before position of the rulesets rule
    Before string
    Ruleset after position of the rulesets rule
    Index double
    Index of the rulesets rule
    After string
    Ruleset before position of the rulesets rule
    Before string
    Ruleset after position of the rulesets rule
    Index float64
    Index of the rulesets rule
    after String
    Ruleset before position of the rulesets rule
    before String
    Ruleset after position of the rulesets rule
    index Double
    Index of the rulesets rule
    after string
    Ruleset before position of the rulesets rule
    before string
    Ruleset after position of the rulesets rule
    index number
    Index of the rulesets rule
    after str
    Ruleset before position of the rulesets rule
    before str
    Ruleset after position of the rulesets rule
    index float
    Index of the rulesets rule
    after String
    Ruleset before position of the rulesets rule
    before String
    Ruleset after position of the rulesets rule
    index Number
    Index of the rulesets rule

    Package Details

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