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

ibm.getCisRulesetVersions

Explore with Pulumi AI

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,
});
Copy
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"])
Copy
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
	})
}
Copy
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,
    });

});
Copy
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());

    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func GetCisRulesetVersions(ctx *Context, args *GetCisRulesetVersionsArgs, opts ...InvokeOption) (*GetCisRulesetVersionsResult, error)
func GetCisRulesetVersionsOutput(ctx *Context, args *GetCisRulesetVersionsOutputArgs, opts ...InvokeOption) GetCisRulesetVersionsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCisRulesetVersionsResult> getCisRulesetVersions(GetCisRulesetVersionsArgs args, InvokeOptions options)
public static Output<GetCisRulesetVersionsResult> getCisRulesetVersions(GetCisRulesetVersionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getCisRulesetVersions:getCisRulesetVersions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CisId This property is required. string
The ID of the CIS service instance.
RulesetId This property is required. 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 This property is required. string
The ID of the CIS service instance.
RulesetId This property is required. 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 This property is required. String
The ID of the CIS service instance.
rulesetId This property is required. 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 This property is required. string
The ID of the CIS service instance.
rulesetId This property is required. 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 This property is required. str
The ID of the CIS service instance.
ruleset_id This property is required. 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 This property is required. String
The ID of the CIS service instance.
rulesetId This property is required. 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 This property is required. string
Kind This property is required. string
LastUpdated This property is required. string
Name This property is required. string
Phase This property is required. string
Rules This property is required. List<GetCisRulesetVersionsRulesetRule>
RulesetId This property is required. string
The id of the ruleset.
Version This property is required. 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 This property is required. string
Kind This property is required. string
LastUpdated This property is required. string
Name This property is required. string
Phase This property is required. string
Rules This property is required. []GetCisRulesetVersionsRulesetRule
RulesetId This property is required. string
The id of the ruleset.
Version This property is required. 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 This property is required. String
kind This property is required. String
lastUpdated This property is required. String
name This property is required. String
phase This property is required. String
rules This property is required. List<GetCisRulesetVersionsRulesetRule>
rulesetId This property is required. String
The id of the ruleset.
version This property is required. 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 This property is required. string
kind This property is required. string
lastUpdated This property is required. string
name This property is required. string
phase This property is required. string
rules This property is required. GetCisRulesetVersionsRulesetRule[]
rulesetId This property is required. string
The id of the ruleset.
version This property is required. 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 This property is required. str
kind This property is required. str
last_updated This property is required. str
name This property is required. str
phase This property is required. str
rules This property is required. Sequence[GetCisRulesetVersionsRulesetRule]
ruleset_id This property is required. str
The id of the ruleset.
version This property is required. 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 This property is required. String
kind This property is required. String
lastUpdated This property is required. String
name This property is required. String
phase This property is required. String
rules This property is required. List<Property Map>
rulesetId This property is required. String
The id of the ruleset.
version This property is required. 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 This property is required. string
ActionParameters This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameter>
Categories This property is required. List<string>
Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
LastUpdatedAt This property is required. string
Logging This property is required. Dictionary<string, bool>
Ref This property is required. string
Version This property is required. 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 This property is required. string
ActionParameters This property is required. []GetCisRulesetVersionsRulesetRuleActionParameter
Categories This property is required. []string
Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
LastUpdatedAt This property is required. string
Logging This property is required. map[string]bool
Ref This property is required. string
Version This property is required. 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 This property is required. String
actionParameters This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameter>
categories This property is required. List<String>
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
lastUpdatedAt This property is required. String
logging This property is required. Map<String,Boolean>
ref This property is required. String
version This property is required. 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 This property is required. string
actionParameters This property is required. GetCisRulesetVersionsRulesetRuleActionParameter[]
categories This property is required. string[]
description This property is required. string
enabled This property is required. boolean
expression This property is required. string
id This property is required. string
lastUpdatedAt This property is required. string
logging This property is required. {[key: string]: boolean}
ref This property is required. string
version This property is required. 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 This property is required. str
action_parameters This property is required. Sequence[GetCisRulesetVersionsRulesetRuleActionParameter]
categories This property is required. Sequence[str]
description This property is required. str
enabled This property is required. bool
expression This property is required. str
id This property is required. str
last_updated_at This property is required. str
logging This property is required. Mapping[str, bool]
ref This property is required. str
version This property is required. 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 This property is required. String
actionParameters This property is required. List<Property Map>
categories This property is required. List<String>
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
lastUpdatedAt This property is required. String
logging This property is required. Map<Boolean>
ref This property is required. String
version This property is required. 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 This property is required. string
Overrides This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverride>
Responses This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterResponse>
Ruleset This property is required. string
Rulesets This property is required. List<string>
Version This property is required. 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 This property is required. string
Overrides This property is required. []GetCisRulesetVersionsRulesetRuleActionParameterOverride
Responses This property is required. []GetCisRulesetVersionsRulesetRuleActionParameterResponse
Ruleset This property is required. string
Rulesets This property is required. []string
Version This property is required. 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 This property is required. String
overrides This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverride>
responses This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterResponse>
ruleset This property is required. String
rulesets This property is required. List<String>
version This property is required. 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 This property is required. string
overrides This property is required. GetCisRulesetVersionsRulesetRuleActionParameterOverride[]
responses This property is required. GetCisRulesetVersionsRulesetRuleActionParameterResponse[]
ruleset This property is required. string
rulesets This property is required. string[]
version This property is required. 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 This property is required. str
overrides This property is required. Sequence[GetCisRulesetVersionsRulesetRuleActionParameterOverride]
responses This property is required. Sequence[GetCisRulesetVersionsRulesetRuleActionParameterResponse]
ruleset This property is required. str
rulesets This property is required. Sequence[str]
version This property is required. 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 This property is required. String
overrides This property is required. List<Property Map>
responses This property is required. List<Property Map>
ruleset This property is required. String
rulesets This property is required. List<String>
version This property is required. 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

Action This property is required. string
Categories This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory>
Enabled This property is required. bool
OverrideRules This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule>
Action This property is required. string
Categories This property is required. []GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory
Enabled This property is required. bool
OverrideRules This property is required. []GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule
action This property is required. String
categories This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory>
enabled This property is required. Boolean
overrideRules This property is required. List<GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule>
action This property is required. string
categories This property is required. GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory[]
enabled This property is required. boolean
overrideRules This property is required. GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule[]
action This property is required. String
categories This property is required. List<Property Map>
enabled This property is required. Boolean
overrideRules This property is required. List<Property Map>

GetCisRulesetVersionsRulesetRuleActionParameterOverrideCategory

Action This property is required. string
Category This property is required. string
Enabled This property is required. bool
Action This property is required. string
Category This property is required. string
Enabled This property is required. bool
action This property is required. String
category This property is required. String
enabled This property is required. Boolean
action This property is required. string
category This property is required. string
enabled This property is required. boolean
action This property is required. str
category This property is required. str
enabled This property is required. bool
action This property is required. String
category This property is required. String
enabled This property is required. Boolean

GetCisRulesetVersionsRulesetRuleActionParameterOverrideOverrideRule

Action This property is required. string
Enabled This property is required. bool
RuleId This property is required. string
ScoreThreshold This property is required. double
Action This property is required. string
Enabled This property is required. bool
RuleId This property is required. string
ScoreThreshold This property is required. float64
action This property is required. String
enabled This property is required. Boolean
ruleId This property is required. String
scoreThreshold This property is required. Double
action This property is required. string
enabled This property is required. boolean
ruleId This property is required. string
scoreThreshold This property is required. number
action This property is required. str
enabled This property is required. bool
rule_id This property is required. str
score_threshold This property is required. float
action This property is required. String
enabled This property is required. Boolean
ruleId This property is required. String
scoreThreshold This property is required. Number

GetCisRulesetVersionsRulesetRuleActionParameterResponse

Content This property is required. string
ContentType This property is required. string
StatusCode This property is required. double
Content This property is required. string
ContentType This property is required. string
StatusCode This property is required. float64
content This property is required. String
contentType This property is required. String
statusCode This property is required. Double
content This property is required. string
contentType This property is required. string
statusCode This property is required. number
content This property is required. str
content_type This property is required. str
status_code This property is required. float
content This property is required. String
contentType This property is required. String
statusCode This property is required. Number

GetCisRulesetVersionsRulesetVersion

Description This property is required. string
Kind This property is required. string
LastUpdated This property is required. string
Name This property is required. string
Phase This property is required. string
Rules This property is required. List<GetCisRulesetVersionsRulesetVersionRule>
RulesetId This property is required. string
The id of the ruleset.
Version This property is required. 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 This property is required. string
Kind This property is required. string
LastUpdated This property is required. string
Name This property is required. string
Phase This property is required. string
Rules This property is required. []GetCisRulesetVersionsRulesetVersionRule
RulesetId This property is required. string
The id of the ruleset.
Version This property is required. 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 This property is required. String
kind This property is required. String
lastUpdated This property is required. String
name This property is required. String
phase This property is required. String
rules This property is required. List<GetCisRulesetVersionsRulesetVersionRule>
rulesetId This property is required. String
The id of the ruleset.
version This property is required. 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 This property is required. string
kind This property is required. string
lastUpdated This property is required. string
name This property is required. string
phase This property is required. string
rules This property is required. GetCisRulesetVersionsRulesetVersionRule[]
rulesetId This property is required. string
The id of the ruleset.
version This property is required. 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 This property is required. str
kind This property is required. str
last_updated This property is required. str
name This property is required. str
phase This property is required. str
rules This property is required. Sequence[GetCisRulesetVersionsRulesetVersionRule]
ruleset_id This property is required. str
The id of the ruleset.
version This property is required. 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 This property is required. String
kind This property is required. String
lastUpdated This property is required. String
name This property is required. String
phase This property is required. String
rules This property is required. List<Property Map>
rulesetId This property is required. String
The id of the ruleset.
version This property is required. 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 This property is required. string
ActionParameters This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameter>
Categories This property is required. List<string>
Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
LastUpdatedAt This property is required. string
Logging This property is required. Dictionary<string, bool>
Ref This property is required. string
Version This property is required. 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 This property is required. string
ActionParameters This property is required. []GetCisRulesetVersionsRulesetVersionRuleActionParameter
Categories This property is required. []string
Description This property is required. string
Enabled This property is required. bool
Expression This property is required. string
Id This property is required. string
LastUpdatedAt This property is required. string
Logging This property is required. map[string]bool
Ref This property is required. string
Version This property is required. 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 This property is required. String
actionParameters This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameter>
categories This property is required. List<String>
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
lastUpdatedAt This property is required. String
logging This property is required. Map<String,Boolean>
ref This property is required. String
version This property is required. 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 This property is required. string
actionParameters This property is required. GetCisRulesetVersionsRulesetVersionRuleActionParameter[]
categories This property is required. string[]
description This property is required. string
enabled This property is required. boolean
expression This property is required. string
id This property is required. string
lastUpdatedAt This property is required. string
logging This property is required. {[key: string]: boolean}
ref This property is required. string
version This property is required. 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 This property is required. str
action_parameters This property is required. Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameter]
categories This property is required. Sequence[str]
description This property is required. str
enabled This property is required. bool
expression This property is required. str
id This property is required. str
last_updated_at This property is required. str
logging This property is required. Mapping[str, bool]
ref This property is required. str
version This property is required. 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 This property is required. String
actionParameters This property is required. List<Property Map>
categories This property is required. List<String>
description This property is required. String
enabled This property is required. Boolean
expression This property is required. String
id This property is required. String
lastUpdatedAt This property is required. String
logging This property is required. Map<Boolean>
ref This property is required. String
version This property is required. 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 This property is required. string
Overrides This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride>
Responses This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse>
Ruleset This property is required. string
Rulesets This property is required. List<string>
Version This property is required. 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 This property is required. string
Overrides This property is required. []GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride
Responses This property is required. []GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse
Ruleset This property is required. string
Rulesets This property is required. []string
Version This property is required. 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 This property is required. String
overrides This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride>
responses This property is required. List<GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse>
ruleset This property is required. String
rulesets This property is required. List<String>
version This property is required. 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 This property is required. string
overrides This property is required. GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride[]
responses This property is required. GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse[]
ruleset This property is required. string
rulesets This property is required. string[]
version This property is required. 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 This property is required. str
overrides This property is required. Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameterOverride]
responses This property is required. Sequence[GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse]
ruleset This property is required. str
rulesets This property is required. Sequence[str]
version This property is required. 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 This property is required. String
overrides This property is required. List<Property Map>
responses This property is required. List<Property Map>
ruleset This property is required. String
rulesets This property is required. List<String>
version This property is required. 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

action This property is required. string
categories This property is required. GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideCategory[]
enabled This property is required. boolean
overrideRules This property is required. GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideOverrideRule[]
action This property is required. String
categories This property is required. List<Property Map>
enabled This property is required. Boolean
overrideRules This property is required. List<Property Map>

GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideCategory

Action This property is required. string
Category This property is required. string
Enabled This property is required. bool
Action This property is required. string
Category This property is required. string
Enabled This property is required. bool
action This property is required. String
category This property is required. String
enabled This property is required. Boolean
action This property is required. string
category This property is required. string
enabled This property is required. boolean
action This property is required. str
category This property is required. str
enabled This property is required. bool
action This property is required. String
category This property is required. String
enabled This property is required. Boolean

GetCisRulesetVersionsRulesetVersionRuleActionParameterOverrideOverrideRule

Action This property is required. string
Enabled This property is required. bool
RuleId This property is required. string
ScoreThreshold This property is required. double
Action This property is required. string
Enabled This property is required. bool
RuleId This property is required. string
ScoreThreshold This property is required. float64
action This property is required. String
enabled This property is required. Boolean
ruleId This property is required. String
scoreThreshold This property is required. Double
action This property is required. string
enabled This property is required. boolean
ruleId This property is required. string
scoreThreshold This property is required. number
action This property is required. str
enabled This property is required. bool
rule_id This property is required. str
score_threshold This property is required. float
action This property is required. String
enabled This property is required. Boolean
ruleId This property is required. String
scoreThreshold This property is required. Number

GetCisRulesetVersionsRulesetVersionRuleActionParameterResponse

Content This property is required. string
ContentType This property is required. string
StatusCode This property is required. double
Content This property is required. string
ContentType This property is required. string
StatusCode This property is required. float64
content This property is required. String
contentType This property is required. String
statusCode This property is required. Double
content This property is required. string
contentType This property is required. string
statusCode This property is required. number
content This property is required. str
content_type This property is required. str
status_code This property is required. float
content This property is required. String
contentType This property is required. String
statusCode This property is required. Number

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.