dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9
dome9.getRuleset
Explore with Pulumi AI
Use this data source to get information about a ruleset in Dome9.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dome9 from "@pulumi/dome9";
const test = dome9.getRuleset({
id: "d9-rule-set-id",
});
import pulumi
import pulumi_dome9 as dome9
test = dome9.get_ruleset(id="d9-rule-set-id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/dome9/dome9"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dome9.LookupRuleset(ctx, &dome9.LookupRulesetArgs{
Id: "d9-rule-set-id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dome9 = Pulumi.Dome9;
return await Deployment.RunAsync(() =>
{
var test = Dome9.GetRuleset.Invoke(new()
{
Id = "d9-rule-set-id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dome9.Dome9Functions;
import com.pulumi.dome9.inputs.GetRulesetArgs;
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 test = Dome9Functions.getRuleset(GetRulesetArgs.builder()
.id("d9-rule-set-id")
.build());
}
}
variables:
test:
fn::invoke:
function: dome9:getRuleset
arguments:
id: d9-rule-set-id
Using getRuleset
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 getRuleset(args: GetRulesetArgs, opts?: InvokeOptions): Promise<GetRulesetResult>
function getRulesetOutput(args: GetRulesetOutputArgs, opts?: InvokeOptions): Output<GetRulesetResult>
def get_ruleset(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRulesetResult
def get_ruleset_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRulesetResult]
func LookupRuleset(ctx *Context, args *LookupRulesetArgs, opts ...InvokeOption) (*LookupRulesetResult, error)
func LookupRulesetOutput(ctx *Context, args *LookupRulesetOutputArgs, opts ...InvokeOption) LookupRulesetResultOutput
> Note: This function is named LookupRuleset
in the Go SDK.
public static class GetRuleset
{
public static Task<GetRulesetResult> InvokeAsync(GetRulesetArgs args, InvokeOptions? opts = null)
public static Output<GetRulesetResult> Invoke(GetRulesetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
public static Output<GetRulesetResult> getRuleset(GetRulesetArgs args, InvokeOptions options)
fn::invoke:
function: dome9:index/getRuleset:getRuleset
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The id of the ruleset in Dome9.
- Id string
- The id of the ruleset in Dome9.
- id String
- The id of the ruleset in Dome9.
- id string
- The id of the ruleset in Dome9.
- id str
- The id of the ruleset in Dome9.
- id String
- The id of the ruleset in Dome9.
getRuleset Result
The following output properties are available:
- Account
Id string - The account id of the ruleset in Dome9.
- Cloud
Vendor string - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - Created
Time string - Rule set creation time.
- Description string
- Rule description.
- Hide
In boolCompliance - hide in compliance - true/false.
- Id string
- Is
Template bool - is a template rule.
- Language string
- Language of the rules; defaults to 'en' (English).
- Min
Feature stringTier - Min feature tier.
- Name string
- Rule name.
- Rules
List<Get
Ruleset Rule> - Rules
Count double - The rules count.
- Section double
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- System
Bundle bool - Is a system bundle or not.
- Updated
Time string - Rule set last update time.
- Account
Id string - The account id of the ruleset in Dome9.
- Cloud
Vendor string - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - Created
Time string - Rule set creation time.
- Description string
- Rule description.
- Hide
In boolCompliance - hide in compliance - true/false.
- Id string
- Is
Template bool - is a template rule.
- Language string
- Language of the rules; defaults to 'en' (English).
- Min
Feature stringTier - Min feature tier.
- Name string
- Rule name.
- Rules
[]Get
Ruleset Rule - Rules
Count float64 - The rules count.
- Section float64
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- System
Bundle bool - Is a system bundle or not.
- Updated
Time string - Rule set last update time.
- account
Id String - The account id of the ruleset in Dome9.
- cloud
Vendor String - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - created
Time String - Rule set creation time.
- description String
- Rule description.
- hide
In BooleanCompliance - hide in compliance - true/false.
- id String
- is
Template Boolean - is a template rule.
- language String
- Language of the rules; defaults to 'en' (English).
- min
Feature StringTier - Min feature tier.
- name String
- Rule name.
- rules
List<Get
Ruleset Rule> - rules
Count Double - The rules count.
- section Double
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- system
Bundle Boolean - Is a system bundle or not.
- updated
Time String - Rule set last update time.
- account
Id string - The account id of the ruleset in Dome9.
- cloud
Vendor string - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - created
Time string - Rule set creation time.
- description string
- Rule description.
- hide
In booleanCompliance - hide in compliance - true/false.
- id string
- is
Template boolean - is a template rule.
- language string
- Language of the rules; defaults to 'en' (English).
- min
Feature stringTier - Min feature tier.
- name string
- Rule name.
- rules
Get
Ruleset Rule[] - rules
Count number - The rules count.
- section number
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- system
Bundle boolean - Is a system bundle or not.
- updated
Time string - Rule set last update time.
- account_
id str - The account id of the ruleset in Dome9.
- cloud_
vendor str - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - created_
time str - Rule set creation time.
- description str
- Rule description.
- hide_
in_ boolcompliance - hide in compliance - true/false.
- id str
- is_
template bool - is a template rule.
- language str
- Language of the rules; defaults to 'en' (English).
- min_
feature_ strtier - Min feature tier.
- name str
- Rule name.
- rules
Sequence[Get
Ruleset Rule] - rules_
count float - The rules count.
- section float
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- system_
bundle bool - Is a system bundle or not.
- updated_
time str - Rule set last update time.
- account
Id String - The account id of the ruleset in Dome9.
- cloud
Vendor String - Cloud vendor that the ruleset is associated with, can be one of the following:
aws
,azure
,google
, orimageassurance
(for Image Assurance rulesets). - created
Time String - Rule set creation time.
- description String
- Rule description.
- hide
In BooleanCompliance - hide in compliance - true/false.
- id String
- is
Template Boolean - is a template rule.
- language String
- Language of the rules; defaults to 'en' (English).
- min
Feature StringTier - Min feature tier.
- name String
- Rule name.
- rules List<Property Map>
- rules
Count Number - The rules count.
- section Number
- Which section the rule belongs to.
rules
- List of rules in the ruleset.
- system
Bundle Boolean - Is a system bundle or not.
- updated
Time String - Rule set last update time.
Supporting Types
GetRulesetRule
- Category string
- Rule category.
- Compliance
Tag string - A reference to a compliance standard.
- Control
Title string - Rule control title.
- Description string
- Rule description.
- Domain string
- Rule domain.
- Is
Default bool - is a default rule (Default: "false").
- Logic string
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- Logic
Hash string - Rule logic hash.
- Name string
- Rule name.
- Priority string
- Rule priority.
- Remediation string
- Rule remediation.
- Rule
Id string - Rule id.
- Severity string
- Rule severity (Default: "Low").
- Category string
- Rule category.
- Compliance
Tag string - A reference to a compliance standard.
- Control
Title string - Rule control title.
- Description string
- Rule description.
- Domain string
- Rule domain.
- Is
Default bool - is a default rule (Default: "false").
- Logic string
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- Logic
Hash string - Rule logic hash.
- Name string
- Rule name.
- Priority string
- Rule priority.
- Remediation string
- Rule remediation.
- Rule
Id string - Rule id.
- Severity string
- Rule severity (Default: "Low").
- category String
- Rule category.
- compliance
Tag String - A reference to a compliance standard.
- control
Title String - Rule control title.
- description String
- Rule description.
- domain String
- Rule domain.
- is
Default Boolean - is a default rule (Default: "false").
- logic String
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- logic
Hash String - Rule logic hash.
- name String
- Rule name.
- priority String
- Rule priority.
- remediation String
- Rule remediation.
- rule
Id String - Rule id.
- severity String
- Rule severity (Default: "Low").
- category string
- Rule category.
- compliance
Tag string - A reference to a compliance standard.
- control
Title string - Rule control title.
- description string
- Rule description.
- domain string
- Rule domain.
- is
Default boolean - is a default rule (Default: "false").
- logic string
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- logic
Hash string - Rule logic hash.
- name string
- Rule name.
- priority string
- Rule priority.
- remediation string
- Rule remediation.
- rule
Id string - Rule id.
- severity string
- Rule severity (Default: "Low").
- category str
- Rule category.
- compliance_
tag str - A reference to a compliance standard.
- control_
title str - Rule control title.
- description str
- Rule description.
- domain str
- Rule domain.
- is_
default bool - is a default rule (Default: "false").
- logic str
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- logic_
hash str - Rule logic hash.
- name str
- Rule name.
- priority str
- Rule priority.
- remediation str
- Rule remediation.
- rule_
id str - Rule id.
- severity str
- Rule severity (Default: "Low").
- category String
- Rule category.
- compliance
Tag String - A reference to a compliance standard.
- control
Title String - Rule control title.
- description String
- Rule description.
- domain String
- Rule domain.
- is
Default Boolean - is a default rule (Default: "false").
- logic String
- Rule GSL logic. This is the text of the rule, using Dome9 GSL syntax.
- logic
Hash String - Rule logic hash.
- name String
- Rule name.
- priority String
- Rule priority.
- remediation String
- Rule remediation.
- rule
Id String - Rule id.
- severity String
- Rule severity (Default: "Low").
Package Details
- Repository
- dome9 dome9/terraform-provider-dome9
- License
- Notes
- This Pulumi package is based on the
dome9
Terraform Provider.