1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getDecryptionRuleList
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const pagedRulesList = scm.getDecryptionRuleList({
        folder: "All",
        offset: 10,
        position: "pre",
    });
    export const fetchedRuleListSummary = {
        countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
        firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
    };
    
    import pulumi
    import pulumi_scm as scm
    
    paged_rules_list = scm.get_decryption_rule_list(folder="All",
        offset=10,
        position="pre")
    pulumi.export("fetchedRuleListSummary", {
        "countOfRulesFetched": paged_rules_list.total,
        "firstRuleName": paged_rules_list.datas[0].name,
    })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		pagedRulesList, err := scm.GetDecryptionRuleList(ctx, &scm.GetDecryptionRuleListArgs{
    			Folder:   pulumi.StringRef("All"),
    			Offset:   pulumi.IntRef(10),
    			Position: "pre",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedRuleListSummary", pulumi.Map{
    			"countOfRulesFetched": pagedRulesList.Total,
    			"firstRuleName":       pagedRulesList.Datas[0].Name,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var pagedRulesList = Scm.GetDecryptionRuleList.Invoke(new()
        {
            Folder = "All",
            Offset = 10,
            Position = "pre",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedRuleListSummary"] = 
            {
                { "countOfRulesFetched", pagedRulesList.Apply(getDecryptionRuleListResult => getDecryptionRuleListResult.Total) },
                { "firstRuleName", pagedRulesList.Apply(getDecryptionRuleListResult => getDecryptionRuleListResult.Datas[0]?.Name) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetDecryptionRuleListArgs;
    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 pagedRulesList = ScmFunctions.getDecryptionRuleList(GetDecryptionRuleListArgs.builder()
                .folder("All")
                .offset(10)
                .position("pre")
                .build());
    
            ctx.export("fetchedRuleListSummary", Map.ofEntries(
                Map.entry("countOfRulesFetched", pagedRulesList.total()),
                Map.entry("firstRuleName", pagedRulesList.datas()[0].name())
            ));
        }
    }
    
    variables:
      pagedRulesList:
        fn::invoke:
          function: scm:getDecryptionRuleList
          arguments:
            folder: All
            offset: 10
            position: pre
    outputs:
      fetchedRuleListSummary:
        countOfRulesFetched: ${pagedRulesList.total}
        firstRuleName: ${pagedRulesList.datas[0].name}
    

    Using getDecryptionRuleList

    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 getDecryptionRuleList(args: GetDecryptionRuleListArgs, opts?: InvokeOptions): Promise<GetDecryptionRuleListResult>
    function getDecryptionRuleListOutput(args: GetDecryptionRuleListOutputArgs, opts?: InvokeOptions): Output<GetDecryptionRuleListResult>
    def get_decryption_rule_list(device: Optional[str] = None,
                                 folder: Optional[str] = None,
                                 limit: Optional[int] = None,
                                 name: Optional[str] = None,
                                 offset: Optional[int] = None,
                                 position: Optional[str] = None,
                                 snippet: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetDecryptionRuleListResult
    def get_decryption_rule_list_output(device: Optional[pulumi.Input[str]] = None,
                                 folder: Optional[pulumi.Input[str]] = None,
                                 limit: Optional[pulumi.Input[int]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 offset: Optional[pulumi.Input[int]] = None,
                                 position: Optional[pulumi.Input[str]] = None,
                                 snippet: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetDecryptionRuleListResult]
    func GetDecryptionRuleList(ctx *Context, args *GetDecryptionRuleListArgs, opts ...InvokeOption) (*GetDecryptionRuleListResult, error)
    func GetDecryptionRuleListOutput(ctx *Context, args *GetDecryptionRuleListOutputArgs, opts ...InvokeOption) GetDecryptionRuleListResultOutput

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

    public static class GetDecryptionRuleList 
    {
        public static Task<GetDecryptionRuleListResult> InvokeAsync(GetDecryptionRuleListArgs args, InvokeOptions? opts = null)
        public static Output<GetDecryptionRuleListResult> Invoke(GetDecryptionRuleListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDecryptionRuleListResult> getDecryptionRuleList(GetDecryptionRuleListArgs args, InvokeOptions options)
    public static Output<GetDecryptionRuleListResult> getDecryptionRuleList(GetDecryptionRuleListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getDecryptionRuleList:getDecryptionRuleList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Position string
    The position of a security rule
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Position string
    The position of a security rule
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    position String
    The position of a security rule
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    position string
    The position of a security rule
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    position str
    The position of a security rule
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    position String
    The position of a security rule
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    getDecryptionRuleList Result

    The following output properties are available:

    Datas List<GetDecryptionRuleListData>
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Position string
    The position of a security rule
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    Datas []GetDecryptionRuleListData
    The data.
    Id string
    The provider-assigned unique ID for this managed resource.
    Position string
    The position of a security rule
    Tfid string
    Total int
    The total number of items.
    Device string
    The device of the item.
    Folder string
    The folder of the item. Default: Shared.
    Limit int
    The max number of items to return. Default: 200.
    Name string
    The name of the item.
    Offset int
    The offset of the first item to return.
    Snippet string
    The snippet of the item.
    datas List<GetDecryptionRuleListData>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    position String
    The position of a security rule
    tfid String
    total Integer
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Integer
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Integer
    The offset of the first item to return.
    snippet String
    The snippet of the item.
    datas GetDecryptionRuleListData[]
    The data.
    id string
    The provider-assigned unique ID for this managed resource.
    position string
    The position of a security rule
    tfid string
    total number
    The total number of items.
    device string
    The device of the item.
    folder string
    The folder of the item. Default: Shared.
    limit number
    The max number of items to return. Default: 200.
    name string
    The name of the item.
    offset number
    The offset of the first item to return.
    snippet string
    The snippet of the item.
    datas Sequence[GetDecryptionRuleListData]
    The data.
    id str
    The provider-assigned unique ID for this managed resource.
    position str
    The position of a security rule
    tfid str
    total int
    The total number of items.
    device str
    The device of the item.
    folder str
    The folder of the item. Default: Shared.
    limit int
    The max number of items to return. Default: 200.
    name str
    The name of the item.
    offset int
    The offset of the first item to return.
    snippet str
    The snippet of the item.
    datas List<Property Map>
    The data.
    id String
    The provider-assigned unique ID for this managed resource.
    position String
    The position of a security rule
    tfid String
    total Number
    The total number of items.
    device String
    The device of the item.
    folder String
    The folder of the item. Default: Shared.
    limit Number
    The max number of items to return. Default: 200.
    name String
    The name of the item.
    offset Number
    The offset of the first item to return.
    snippet String
    The snippet of the item.

    Supporting Types

    GetDecryptionRuleListData

    Action string
    The action to be taken
    Categories List<string>
    The destination URL category
    Description string
    The description of the decryption rule
    DestinationHips List<string>
    The Host Integrity Profile of the destination host
    Destinations List<string>
    The destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Is the rule disabled?
    Folder string
    The folder in which the resource is defined
    Froms List<string>
    The source security zone
    Id string
    The UUID of the decryption rule
    LogFail bool
    Log failed decryption events?
    LogSetting string
    The log settings of the decryption rule
    LogSuccess bool
    Log successful decryption events?
    Name string
    The name of the decryption rule
    NegateDestination bool
    Negate the destination addresses?
    NegateSource bool
    Negate the source addresses?
    Position string
    The position of a security rule
    Profile string
    The decryption profile associated with the decryption rule
    RelativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    Services List<string>
    The destination services and/or service groups
    Snippet string
    The snippet in which the resource is defined
    SourceHips List<string>
    Source hip
    SourceUsers List<string>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Sources List<string>
    The source addresses
    Tags List<string>
    The tags associated with the decryption rule
    TargetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    Tfid string
    Tos List<string>
    The destination security zone
    Type GetDecryptionRuleListDataType
    The type of decryption
    Action string
    The action to be taken
    Categories []string
    The destination URL category
    Description string
    The description of the decryption rule
    DestinationHips []string
    The Host Integrity Profile of the destination host
    Destinations []string
    The destination addresses
    Device string
    The device in which the resource is defined
    Disabled bool
    Is the rule disabled?
    Folder string
    The folder in which the resource is defined
    Froms []string
    The source security zone
    Id string
    The UUID of the decryption rule
    LogFail bool
    Log failed decryption events?
    LogSetting string
    The log settings of the decryption rule
    LogSuccess bool
    Log successful decryption events?
    Name string
    The name of the decryption rule
    NegateDestination bool
    Negate the destination addresses?
    NegateSource bool
    Negate the source addresses?
    Position string
    The position of a security rule
    Profile string
    The decryption profile associated with the decryption rule
    RelativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    Services []string
    The destination services and/or service groups
    Snippet string
    The snippet in which the resource is defined
    SourceHips []string
    Source hip
    SourceUsers []string
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    Sources []string
    The source addresses
    Tags []string
    The tags associated with the decryption rule
    TargetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    Tfid string
    Tos []string
    The destination security zone
    Type GetDecryptionRuleListDataType
    The type of decryption
    action String
    The action to be taken
    categories List<String>
    The destination URL category
    description String
    The description of the decryption rule
    destinationHips List<String>
    The Host Integrity Profile of the destination host
    destinations List<String>
    The destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    Is the rule disabled?
    folder String
    The folder in which the resource is defined
    froms List<String>
    The source security zone
    id String
    The UUID of the decryption rule
    logFail Boolean
    Log failed decryption events?
    logSetting String
    The log settings of the decryption rule
    logSuccess Boolean
    Log successful decryption events?
    name String
    The name of the decryption rule
    negateDestination Boolean
    Negate the destination addresses?
    negateSource Boolean
    Negate the source addresses?
    position String
    The position of a security rule
    profile String
    The decryption profile associated with the decryption rule
    relativePosition String
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    services List<String>
    The destination services and/or service groups
    snippet String
    The snippet in which the resource is defined
    sourceHips List<String>
    Source hip
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources List<String>
    The source addresses
    tags List<String>
    The tags associated with the decryption rule
    targetRule String
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid String
    tos List<String>
    The destination security zone
    type GetDecryptionRuleListDataType
    The type of decryption
    action string
    The action to be taken
    categories string[]
    The destination URL category
    description string
    The description of the decryption rule
    destinationHips string[]
    The Host Integrity Profile of the destination host
    destinations string[]
    The destination addresses
    device string
    The device in which the resource is defined
    disabled boolean
    Is the rule disabled?
    folder string
    The folder in which the resource is defined
    froms string[]
    The source security zone
    id string
    The UUID of the decryption rule
    logFail boolean
    Log failed decryption events?
    logSetting string
    The log settings of the decryption rule
    logSuccess boolean
    Log successful decryption events?
    name string
    The name of the decryption rule
    negateDestination boolean
    Negate the destination addresses?
    negateSource boolean
    Negate the source addresses?
    position string
    The position of a security rule
    profile string
    The decryption profile associated with the decryption rule
    relativePosition string
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    services string[]
    The destination services and/or service groups
    snippet string
    The snippet in which the resource is defined
    sourceHips string[]
    Source hip
    sourceUsers string[]
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources string[]
    The source addresses
    tags string[]
    The tags associated with the decryption rule
    targetRule string
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid string
    tos string[]
    The destination security zone
    type GetDecryptionRuleListDataType
    The type of decryption
    action str
    The action to be taken
    categories Sequence[str]
    The destination URL category
    description str
    The description of the decryption rule
    destination_hips Sequence[str]
    The Host Integrity Profile of the destination host
    destinations Sequence[str]
    The destination addresses
    device str
    The device in which the resource is defined
    disabled bool
    Is the rule disabled?
    folder str
    The folder in which the resource is defined
    froms Sequence[str]
    The source security zone
    id str
    The UUID of the decryption rule
    log_fail bool
    Log failed decryption events?
    log_setting str
    The log settings of the decryption rule
    log_success bool
    Log successful decryption events?
    name str
    The name of the decryption rule
    negate_destination bool
    Negate the destination addresses?
    negate_source bool
    Negate the source addresses?
    position str
    The position of a security rule
    profile str
    The decryption profile associated with the decryption rule
    relative_position str
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    services Sequence[str]
    The destination services and/or service groups
    snippet str
    The snippet in which the resource is defined
    source_hips Sequence[str]
    Source hip
    source_users Sequence[str]
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources Sequence[str]
    The source addresses
    tags Sequence[str]
    The tags associated with the decryption rule
    target_rule str
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid str
    tos Sequence[str]
    The destination security zone
    type GetDecryptionRuleListDataType
    The type of decryption
    action String
    The action to be taken
    categories List<String>
    The destination URL category
    description String
    The description of the decryption rule
    destinationHips List<String>
    The Host Integrity Profile of the destination host
    destinations List<String>
    The destination addresses
    device String
    The device in which the resource is defined
    disabled Boolean
    Is the rule disabled?
    folder String
    The folder in which the resource is defined
    froms List<String>
    The source security zone
    id String
    The UUID of the decryption rule
    logFail Boolean
    Log failed decryption events?
    logSetting String
    The log settings of the decryption rule
    logSuccess Boolean
    Log successful decryption events?
    name String
    The name of the decryption rule
    negateDestination Boolean
    Negate the destination addresses?
    negateSource Boolean
    Negate the source addresses?
    position String
    The position of a security rule
    profile String
    The decryption profile associated with the decryption rule
    relativePosition String
    Relative positioning rule. String must be one of these: "before", "after", "top", "bottom". If not specified, rule is created at the bottom of the ruleset.
    services List<String>
    The destination services and/or service groups
    snippet String
    The snippet in which the resource is defined
    sourceHips List<String>
    Source hip
    sourceUsers List<String>
    List of source users and/or groups. Reserved words include any, pre-login, known-user, and unknown.
    sources List<String>
    The source addresses
    tags List<String>
    The tags associated with the decryption rule
    targetRule String
    The name or UUID of the rule to position this rule relative to. Required when relative_position is "before" or "after".
    tfid String
    tos List<String>
    The destination security zone
    type Property Map
    The type of decryption

    GetDecryptionRuleListDataType

    SslForwardProxy GetDecryptionRuleListDataTypeSslForwardProxy
    Ssl forward proxy
    SslInboundInspection string
    add the certificate name for SSL inbound inspection
    SslForwardProxy GetDecryptionRuleListDataTypeSslForwardProxy
    Ssl forward proxy
    SslInboundInspection string
    add the certificate name for SSL inbound inspection
    sslForwardProxy GetDecryptionRuleListDataTypeSslForwardProxy
    Ssl forward proxy
    sslInboundInspection String
    add the certificate name for SSL inbound inspection
    sslForwardProxy GetDecryptionRuleListDataTypeSslForwardProxy
    Ssl forward proxy
    sslInboundInspection string
    add the certificate name for SSL inbound inspection
    ssl_forward_proxy GetDecryptionRuleListDataTypeSslForwardProxy
    Ssl forward proxy
    ssl_inbound_inspection str
    add the certificate name for SSL inbound inspection
    sslForwardProxy Property Map
    Ssl forward proxy
    sslInboundInspection String
    add the certificate name for SSL inbound inspection

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate