1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCisRulesetVersions
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCisRulesetVersions

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve information about an IBM Cloud Internet Services Instance/Zone ruleset’s version data sources. For more information, see [IBM Cloud Internet Services].

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const tests = ibm.getCisRulesetVersions({
        cisId: ibm_cis.instance.id,
        domainId: data.ibm_cis_domain.cis_domain.domain_id,
        rulesetId: data.ibm_cis_ruleset.cis_ruleset.ruleset_id,
        version: data.ibm_cis_ruleset.cis_ruleset.version,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    tests = ibm.get_cis_ruleset_versions(cis_id=ibm_cis["instance"]["id"],
        domain_id=data["ibm_cis_domain"]["cis_domain"]["domain_id"],
        ruleset_id=data["ibm_cis_ruleset"]["cis_ruleset"]["ruleset_id"],
        version=data["ibm_cis_ruleset"]["cis_ruleset"]["version"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.GetCisRulesetVersions(ctx, &ibm.GetCisRulesetVersionsArgs{
    			CisId:     ibm_cis.Instance.Id,
    			DomainId:  pulumi.StringRef(data.Ibm_cis_domain.Cis_domain.Domain_id),
    			RulesetId: data.Ibm_cis_ruleset.Cis_ruleset.Ruleset_id,
    			Version:   pulumi.StringRef(data.Ibm_cis_ruleset.Cis_ruleset.Version),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var tests = Ibm.GetCisRulesetVersions.Invoke(new()
        {
            CisId = ibm_cis.Instance.Id,
            DomainId = data.Ibm_cis_domain.Cis_domain.Domain_id,
            RulesetId = data.Ibm_cis_ruleset.Cis_ruleset.Ruleset_id,
            Version = data.Ibm_cis_ruleset.Cis_ruleset.Version,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCisRulesetVersionsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var tests = IbmFunctions.getCisRulesetVersions(GetCisRulesetVersionsArgs.builder()
                .cisId(ibm_cis.instance().id())
                .domainId(data.ibm_cis_domain().cis_domain().domain_id())
                .rulesetId(data.ibm_cis_ruleset().cis_ruleset().ruleset_id())
                .version(data.ibm_cis_ruleset().cis_ruleset().version())
                .build());
    
        }
    }
    
    variables:
      tests:
        fn::invoke:
          function: ibm:getCisRulesetVersions
          arguments:
            cisId: ${ibm_cis.instance.id}
            domainId: ${data.ibm_cis_domain.cis_domain.domain_id}
            rulesetId: ${data.ibm_cis_ruleset.cis_ruleset.ruleset_id}
            version: ${data.ibm_cis_ruleset.cis_ruleset.version}
    

    Attributes reference

    In addition to the argument reference list, you can access the following attribute references after your data source is created.

    Attribute references when version is not provided.

    • result - (list)
      • id - (string) Ruleset ID.
      • description - (string) Description of the ruleset.
      • kind - (string) The kind of the ruleset.
      • Phase - (string) Phase of the ruleset.
      • name - (string) Name of the ruleset.
      • last updated - (string) Last update date of the ruleset.
      • version - (string) Version of the ruleset.

    Extra attributes when version is provide.

    • rules - (List) This list contains the information of rules associated with the ruleset’s version.

      Nested scheme of rules

      • id (String). ID of the rule.

      • version (String). Version of the rule.

      • action (String). Action of the rule.

      • description (String) Description of the rule.

      • enable (Boolean) Enables/Disables the rule.

      • expression (String) Expression used by the rule to match the incoming request.

      • ref (String) ID of an referrenced rule.

      • last_updated (String) Date and time of the last update was made on the rule.

      • categories (List) List of categories.

      • logging (Map)

        • enabled (Boolean) Logging is enabled or not.
      • action_parameters (List) Action Parameters of the rule.

        Nested scheme of action_parameters

        • id (String) ID of the managed ruleset to be deployed.

        • overrides (List) Provides the parameters which are overridden.

          Nested scheme of overrides

          • action (String) Action of the rule. Examples: log, block, skip.

          • enabled (Boolean) Enables/Disables the rule.

          • sensitivity_level (String) Defines the sensitivity level of the rule.

          • rules (Optional, List) List of details of the managed rules which are overridden.

            Nested scheme of rules

            • id (String) ID of the rule.
            • enabled (Boolean) Enables/Disables the rule.
            • action (String) Action of the rule.
            • sensitivity_level (String) Defines the sensitivity level of the rule.
          • categories (List)

            Nested scheme of categories

            • category (String) Category of the rule.
            • enabled (Boolean) Enables/Disables the rule.
            • action (String) Action of the rule.
        • version (String) Latest version.

        • ruleset (String) ID of the ruleset.

        • rulesets (List) IDs of the rulesets.

        • response (Map) Custom response from the API.

          • content (String) Content of the response.
          • content_type (string) Content type of the response.
          • status_code (Int) Status code returned by the API.

    Using getCisRulesetVersions

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCisRulesetVersions(args: GetCisRulesetVersionsArgs, opts?: InvokeOptions): Promise<GetCisRulesetVersionsResult>
    function getCisRulesetVersionsOutput(args: GetCisRulesetVersionsOutputArgs, opts?: InvokeOptions): Output<GetCisRulesetVersionsResult>
    def get_cis_ruleset_versions(cis_id: Optional[str] = None,
                                 domain_id: Optional[str] = None,
                                 id: Optional[str] = None,
                                 ruleset_id: Optional[str] = None,
                                 version: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCisRulesetVersionsResult
    def get_cis_ruleset_versions_output(cis_id: Optional[pulumi.Input[str]] = None,
                                 domain_id: Optional[pulumi.Input[str]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 ruleset_id: Optional[pulumi.Input[str]] = None,
                                 version: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCisRulesetVersionsResult]
    func GetCisRulesetVersions(ctx *Context, args *GetCisRulesetVersionsArgs, opts ...InvokeOption) (*GetCisRulesetVersionsResult, error)
    func GetCisRulesetVersionsOutput(ctx *Context, args *GetCisRulesetVersionsOutputArgs, opts ...InvokeOption) GetCisRulesetVersionsResultOutput

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

    public static class GetCisRulesetVersions 
    {
        public static Task<GetCisRulesetVersionsResult> InvokeAsync(GetCisRulesetVersionsArgs args, InvokeOptions? opts = null)
        public static Output<GetCisRulesetVersionsResult> Invoke(GetCisRulesetVersionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCisRulesetVersionsResult> getCisRulesetVersions(GetCisRulesetVersionsArgs args, InvokeOptions options)
    public static Output<GetCisRulesetVersionsResult> getCisRulesetVersions(GetCisRulesetVersionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCisRulesetVersions:getCisRulesetVersions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CisId string
    The ID of the CIS service instance.
    RulesetId string
    The id of the ruleset.
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    Id string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    CisId string
    The ID of the CIS service instance.
    RulesetId string
    The id of the ruleset.
    DomainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    Id string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    cisId String
    The ID of the CIS service instance.
    rulesetId String
    The id of the ruleset.
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    id String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    cisId string
    The ID of the CIS service instance.
    rulesetId string
    The id of the ruleset.
    domainId string
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    id string
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    cis_id str
    The ID of the CIS service instance.
    ruleset_id str
    The id of the ruleset.
    domain_id str
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    id str
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    cisId String
    The ID of the CIS service instance.
    rulesetId String
    The id of the ruleset.
    domainId String
    The Domain/Zone ID of the CIS service instance. If domain_id is provided the request will be made at the zone/domain level otherwise the request will be made at the instance level.
    id String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    getCisRulesetVersions Result

    The following output properties are available:

    Supporting Types

    GetCisRulesetVersionsRuleset

    Description string
    Kind string
    LastUpdated string
    Name string
    Phase string
    Rules List<GetCisRulesetVersionsRulesetRule>
    RulesetId string
    The id of the ruleset.
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Description string
    Kind string
    LastUpdated string
    Name string
    Phase string
    Rules []GetCisRulesetVersionsRulesetRule
    RulesetId string
    The id of the ruleset.
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description String
    kind String
    lastUpdated String
    name String
    phase String
    rules List<GetCisRulesetVersionsRulesetRule>
    rulesetId String
    The id of the ruleset.
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description string
    kind string
    lastUpdated string
    name string
    phase string
    rules GetCisRulesetVersionsRulesetRule[]
    rulesetId string
    The id of the ruleset.
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description str
    kind str
    last_updated str
    name str
    phase str
    rules Sequence[GetCisRulesetVersionsRulesetRule]
    ruleset_id str
    The id of the ruleset.
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description String
    kind String
    lastUpdated String
    name String
    phase String
    rules List<Property Map>
    rulesetId String
    The id of the ruleset.
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetRule

    Action string
    ActionParameters List<GetCisRulesetVersionsRulesetRuleActionParameter>
    Categories List<string>
    Description string
    Enabled bool
    Expression string
    Id string
    LastUpdatedAt string
    Logging Dictionary<string, bool>
    Ref string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Action string
    ActionParameters []GetCisRulesetVersionsRulesetRuleActionParameter
    Categories []string
    Description string
    Enabled bool
    Expression string
    Id string
    LastUpdatedAt string
    Logging map[string]bool
    Ref string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action String
    actionParameters List<GetCisRulesetVersionsRulesetRuleActionParameter>
    categories List<String>
    description String
    enabled Boolean
    expression String
    id String
    lastUpdatedAt String
    logging Map<String,Boolean>
    ref String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action string
    actionParameters GetCisRulesetVersionsRulesetRuleActionParameter[]
    categories string[]
    description string
    enabled boolean
    expression string
    id string
    lastUpdatedAt string
    logging {[key: string]: boolean}
    ref string
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action str
    action_parameters Sequence[GetCisRulesetVersionsRulesetRuleActionParameter]
    categories Sequence[str]
    description str
    enabled bool
    expression str
    id str
    last_updated_at str
    logging Mapping[str, bool]
    ref str
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action String
    actionParameters List<Property Map>
    categories List<String>
    description String
    enabled Boolean
    expression String
    id String
    lastUpdatedAt String
    logging Map<Boolean>
    ref String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetRuleActionParameter

    Id string
    Overrides List<GetCisRulesetVersionsRulesetRuleActionParameterOverride>
    Responses List<GetCisRulesetVersionsRulesetRuleActionParameterResponse>
    Ruleset string
    Rulesets List<string>
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Id string
    Overrides []GetCisRulesetVersionsRulesetRuleActionParameterOverride
    Responses []GetCisRulesetVersionsRulesetRuleActionParameterResponse
    Ruleset string
    Rulesets []string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id String
    overrides List<GetCisRulesetVersionsRulesetRuleActionParameterOverride>
    responses List<GetCisRulesetVersionsRulesetRuleActionParameterResponse>
    ruleset String
    rulesets List<String>
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id string
    overrides GetCisRulesetVersionsRulesetRuleActionParameterOverride[]
    responses GetCisRulesetVersionsRulesetRuleActionParameterResponse[]
    ruleset string
    rulesets string[]
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id str
    overrides Sequence[GetCisRulesetVersionsRulesetRuleActionParameterOverride]
    responses Sequence[GetCisRulesetVersionsRulesetRuleActionParameterResponse]
    ruleset str
    rulesets Sequence[str]
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id String
    overrides List<Property Map>
    responses List<Property Map>
    ruleset String
    rulesets List<String>
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetRuleActionParameterOverride

    GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory

    Action string
    Category string
    Enabled bool
    Action string
    Category string
    Enabled bool
    action String
    category String
    enabled Boolean
    action string
    category string
    enabled boolean
    action String
    category String
    enabled Boolean

    GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule

    Action string
    Enabled bool
    RuleId string
    ScoreThreshold double
    Action string
    Enabled bool
    RuleId string
    ScoreThreshold float64
    action String
    enabled Boolean
    ruleId String
    scoreThreshold Double
    action string
    enabled boolean
    ruleId string
    scoreThreshold number
    action String
    enabled Boolean
    ruleId String
    scoreThreshold Number

    GetCisRulesetVersionsRulesetRuleActionParameterResponse

    Content string
    ContentType string
    StatusCode double
    Content string
    ContentType string
    StatusCode float64
    content String
    contentType String
    statusCode Double
    content string
    contentType string
    statusCode number
    content String
    contentType String
    statusCode Number

    GetCisRulesetVersionsRulesetVersion

    Description string
    Kind string
    LastUpdated string
    Name string
    Phase string
    Rules List<GetCisRulesetVersionsRulesetVersionRule>
    RulesetId string
    The id of the ruleset.
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Description string
    Kind string
    LastUpdated string
    Name string
    Phase string
    Rules []GetCisRulesetVersionsRulesetVersionRule
    RulesetId string
    The id of the ruleset.
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description String
    kind String
    lastUpdated String
    name String
    phase String
    rules List<GetCisRulesetVersionsRulesetVersionRule>
    rulesetId String
    The id of the ruleset.
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description string
    kind string
    lastUpdated string
    name string
    phase string
    rules GetCisRulesetVersionsRulesetVersionRule[]
    rulesetId string
    The id of the ruleset.
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description str
    kind str
    last_updated str
    name str
    phase str
    rules Sequence[GetCisRulesetVersionsRulesetVersionRule]
    ruleset_id str
    The id of the ruleset.
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    description String
    kind String
    lastUpdated String
    name String
    phase String
    rules List<Property Map>
    rulesetId String
    The id of the ruleset.
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetVersionRule

    Action string
    ActionParameters List<GetCisRulesetVersionsRulesetVersionRuleActionParameter>
    Categories List<string>
    Description string
    Enabled bool
    Expression string
    Id string
    LastUpdatedAt string
    Logging Dictionary<string, bool>
    Ref string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Action string
    ActionParameters []GetCisRulesetVersionsRulesetVersionRuleActionParameter
    Categories []string
    Description string
    Enabled bool
    Expression string
    Id string
    LastUpdatedAt string
    Logging map[string]bool
    Ref string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action String
    actionParameters List<GetCisRulesetVersionsRulesetVersionRuleActionParameter>
    categories List<String>
    description String
    enabled Boolean
    expression String
    id String
    lastUpdatedAt String
    logging Map<String,Boolean>
    ref String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action string
    actionParameters GetCisRulesetVersionsRulesetVersionRuleActionParameter[]
    categories string[]
    description string
    enabled boolean
    expression string
    id string
    lastUpdatedAt string
    logging {[key: string]: boolean}
    ref string
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action str
    action_parameters Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameter]
    categories Sequence[str]
    description str
    enabled bool
    expression str
    id str
    last_updated_at str
    logging Mapping[str, bool]
    ref str
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    action String
    actionParameters List<Property Map>
    categories List<String>
    description String
    enabled Boolean
    expression String
    id String
    lastUpdatedAt String
    logging Map<Boolean>
    ref String
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetVersionRuleActionParameter

    Id string
    Overrides List<GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride>
    Responses List<GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse>
    Ruleset string
    Rulesets List<string>
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    Id string
    Overrides []GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride
    Responses []GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse
    Ruleset string
    Rulesets []string
    Version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id String
    overrides List<GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride>
    responses List<GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse>
    ruleset String
    rulesets List<String>
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id string
    overrides GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride[]
    responses GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse[]
    ruleset string
    rulesets string[]
    version string
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id str
    overrides Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride]
    responses Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse]
    ruleset str
    rulesets Sequence[str]
    version str
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.
    id String
    overrides List<Property Map>
    responses List<Property Map>
    ruleset String
    rulesets List<String>
    version String
    If version of the ruleset is not provided then you will get a list in the response. That list will contain the information of the ruleset assocaited with every version. But there won't be any information related to the rules. If the version is provided then you will get the information of that particular version of the ruleset along with the rules associated with it.

    GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride

    GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideCategory

    Action string
    Category string
    Enabled bool
    Action string
    Category string
    Enabled bool
    action String
    category String
    enabled Boolean
    action string
    category string
    enabled boolean
    action String
    category String
    enabled Boolean

    GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideOverrideRule

    Action string
    Enabled bool
    RuleId string
    ScoreThreshold double
    Action string
    Enabled bool
    RuleId string
    ScoreThreshold float64
    action String
    enabled Boolean
    ruleId String
    scoreThreshold Double
    action string
    enabled boolean
    ruleId string
    scoreThreshold number
    action String
    enabled Boolean
    ruleId String
    scoreThreshold Number

    GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse

    Content string
    ContentType string
    StatusCode double
    Content string
    ContentType string
    StatusCode float64
    content String
    contentType String
    statusCode Double
    content string
    contentType string
    statusCode number
    content String
    contentType String
    statusCode Number

    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.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud