1. Packages
  2. Fortios
  3. API Docs
  4. casb
  5. Useractivity
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.casb.Useractivity

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure CASB user activity. Applies to FortiOS Version >= 7.4.1.

    Create Useractivity Resource

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

    Constructor syntax

    new Useractivity(name: string, args?: UseractivityArgs, opts?: CustomResourceOptions);
    @overload
    def Useractivity(resource_name: str,
                     args: Optional[UseractivityArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Useractivity(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     application: Optional[str] = None,
                     casb_name: Optional[str] = None,
                     category: Optional[str] = None,
                     control_options: Optional[Sequence[UseractivityControlOptionArgs]] = None,
                     description: Optional[str] = None,
                     dynamic_sort_subtable: Optional[str] = None,
                     get_all_tables: Optional[str] = None,
                     match_strategy: Optional[str] = None,
                     matches: Optional[Sequence[UseractivityMatchArgs]] = None,
                     name: Optional[str] = None,
                     status: Optional[str] = None,
                     type: Optional[str] = None,
                     uuid: Optional[str] = None,
                     vdomparam: Optional[str] = None)
    func NewUseractivity(ctx *Context, name string, args *UseractivityArgs, opts ...ResourceOption) (*Useractivity, error)
    public Useractivity(string name, UseractivityArgs? args = null, CustomResourceOptions? opts = null)
    public Useractivity(String name, UseractivityArgs args)
    public Useractivity(String name, UseractivityArgs args, CustomResourceOptions options)
    
    type: fortios:casb:Useractivity
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args UseractivityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args UseractivityArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args UseractivityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UseractivityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UseractivityArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var useractivityResource = new Fortios.Casb.Useractivity("useractivityResource", new()
    {
        Application = "string",
        CasbName = "string",
        Category = "string",
        ControlOptions = new[]
        {
            new Fortios.Casb.Inputs.UseractivityControlOptionArgs
            {
                Name = "string",
                Operations = new[]
                {
                    new Fortios.Casb.Inputs.UseractivityControlOptionOperationArgs
                    {
                        Action = "string",
                        CaseSensitive = "string",
                        Direction = "string",
                        HeaderName = "string",
                        Name = "string",
                        SearchKey = "string",
                        SearchPattern = "string",
                        Target = "string",
                        ValueFromInput = "string",
                        Values = new[]
                        {
                            new Fortios.Casb.Inputs.UseractivityControlOptionOperationValueArgs
                            {
                                Value = "string",
                            },
                        },
                    },
                },
                Status = "string",
            },
        },
        Description = "string",
        DynamicSortSubtable = "string",
        GetAllTables = "string",
        MatchStrategy = "string",
        Matches = new[]
        {
            new Fortios.Casb.Inputs.UseractivityMatchArgs
            {
                Id = 0,
                Rules = new[]
                {
                    new Fortios.Casb.Inputs.UseractivityMatchRuleArgs
                    {
                        CaseSensitive = "string",
                        Domains = new[]
                        {
                            new Fortios.Casb.Inputs.UseractivityMatchRuleDomainArgs
                            {
                                Domain = "string",
                            },
                        },
                        HeaderName = "string",
                        Id = 0,
                        MatchPattern = "string",
                        MatchValue = "string",
                        Methods = new[]
                        {
                            new Fortios.Casb.Inputs.UseractivityMatchRuleMethodArgs
                            {
                                Method = "string",
                            },
                        },
                        Negate = "string",
                        Type = "string",
                    },
                },
                Strategy = "string",
            },
        },
        Name = "string",
        Status = "string",
        Type = "string",
        Uuid = "string",
        Vdomparam = "string",
    });
    
    example, err := casb.NewUseractivity(ctx, "useractivityResource", &casb.UseractivityArgs{
    	Application: pulumi.String("string"),
    	CasbName:    pulumi.String("string"),
    	Category:    pulumi.String("string"),
    	ControlOptions: casb.UseractivityControlOptionArray{
    		&casb.UseractivityControlOptionArgs{
    			Name: pulumi.String("string"),
    			Operations: casb.UseractivityControlOptionOperationArray{
    				&casb.UseractivityControlOptionOperationArgs{
    					Action:         pulumi.String("string"),
    					CaseSensitive:  pulumi.String("string"),
    					Direction:      pulumi.String("string"),
    					HeaderName:     pulumi.String("string"),
    					Name:           pulumi.String("string"),
    					SearchKey:      pulumi.String("string"),
    					SearchPattern:  pulumi.String("string"),
    					Target:         pulumi.String("string"),
    					ValueFromInput: pulumi.String("string"),
    					Values: casb.UseractivityControlOptionOperationValueArray{
    						&casb.UseractivityControlOptionOperationValueArgs{
    							Value: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			Status: pulumi.String("string"),
    		},
    	},
    	Description:         pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	MatchStrategy:       pulumi.String("string"),
    	Matches: casb.UseractivityMatchArray{
    		&casb.UseractivityMatchArgs{
    			Id: pulumi.Int(0),
    			Rules: casb.UseractivityMatchRuleArray{
    				&casb.UseractivityMatchRuleArgs{
    					CaseSensitive: pulumi.String("string"),
    					Domains: casb.UseractivityMatchRuleDomainArray{
    						&casb.UseractivityMatchRuleDomainArgs{
    							Domain: pulumi.String("string"),
    						},
    					},
    					HeaderName:   pulumi.String("string"),
    					Id:           pulumi.Int(0),
    					MatchPattern: pulumi.String("string"),
    					MatchValue:   pulumi.String("string"),
    					Methods: casb.UseractivityMatchRuleMethodArray{
    						&casb.UseractivityMatchRuleMethodArgs{
    							Method: pulumi.String("string"),
    						},
    					},
    					Negate: pulumi.String("string"),
    					Type:   pulumi.String("string"),
    				},
    			},
    			Strategy: pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	Status:    pulumi.String("string"),
    	Type:      pulumi.String("string"),
    	Uuid:      pulumi.String("string"),
    	Vdomparam: pulumi.String("string"),
    })
    
    var useractivityResource = new Useractivity("useractivityResource", UseractivityArgs.builder()
        .application("string")
        .casbName("string")
        .category("string")
        .controlOptions(UseractivityControlOptionArgs.builder()
            .name("string")
            .operations(UseractivityControlOptionOperationArgs.builder()
                .action("string")
                .caseSensitive("string")
                .direction("string")
                .headerName("string")
                .name("string")
                .searchKey("string")
                .searchPattern("string")
                .target("string")
                .valueFromInput("string")
                .values(UseractivityControlOptionOperationValueArgs.builder()
                    .value("string")
                    .build())
                .build())
            .status("string")
            .build())
        .description("string")
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .matchStrategy("string")
        .matches(UseractivityMatchArgs.builder()
            .id(0)
            .rules(UseractivityMatchRuleArgs.builder()
                .caseSensitive("string")
                .domains(UseractivityMatchRuleDomainArgs.builder()
                    .domain("string")
                    .build())
                .headerName("string")
                .id(0)
                .matchPattern("string")
                .matchValue("string")
                .methods(UseractivityMatchRuleMethodArgs.builder()
                    .method("string")
                    .build())
                .negate("string")
                .type("string")
                .build())
            .strategy("string")
            .build())
        .name("string")
        .status("string")
        .type("string")
        .uuid("string")
        .vdomparam("string")
        .build());
    
    useractivity_resource = fortios.casb.Useractivity("useractivityResource",
        application="string",
        casb_name="string",
        category="string",
        control_options=[{
            "name": "string",
            "operations": [{
                "action": "string",
                "case_sensitive": "string",
                "direction": "string",
                "header_name": "string",
                "name": "string",
                "search_key": "string",
                "search_pattern": "string",
                "target": "string",
                "value_from_input": "string",
                "values": [{
                    "value": "string",
                }],
            }],
            "status": "string",
        }],
        description="string",
        dynamic_sort_subtable="string",
        get_all_tables="string",
        match_strategy="string",
        matches=[{
            "id": 0,
            "rules": [{
                "case_sensitive": "string",
                "domains": [{
                    "domain": "string",
                }],
                "header_name": "string",
                "id": 0,
                "match_pattern": "string",
                "match_value": "string",
                "methods": [{
                    "method": "string",
                }],
                "negate": "string",
                "type": "string",
            }],
            "strategy": "string",
        }],
        name="string",
        status="string",
        type="string",
        uuid="string",
        vdomparam="string")
    
    const useractivityResource = new fortios.casb.Useractivity("useractivityResource", {
        application: "string",
        casbName: "string",
        category: "string",
        controlOptions: [{
            name: "string",
            operations: [{
                action: "string",
                caseSensitive: "string",
                direction: "string",
                headerName: "string",
                name: "string",
                searchKey: "string",
                searchPattern: "string",
                target: "string",
                valueFromInput: "string",
                values: [{
                    value: "string",
                }],
            }],
            status: "string",
        }],
        description: "string",
        dynamicSortSubtable: "string",
        getAllTables: "string",
        matchStrategy: "string",
        matches: [{
            id: 0,
            rules: [{
                caseSensitive: "string",
                domains: [{
                    domain: "string",
                }],
                headerName: "string",
                id: 0,
                matchPattern: "string",
                matchValue: "string",
                methods: [{
                    method: "string",
                }],
                negate: "string",
                type: "string",
            }],
            strategy: "string",
        }],
        name: "string",
        status: "string",
        type: "string",
        uuid: "string",
        vdomparam: "string",
    });
    
    type: fortios:casb:Useractivity
    properties:
        application: string
        casbName: string
        category: string
        controlOptions:
            - name: string
              operations:
                - action: string
                  caseSensitive: string
                  direction: string
                  headerName: string
                  name: string
                  searchKey: string
                  searchPattern: string
                  target: string
                  valueFromInput: string
                  values:
                    - value: string
              status: string
        description: string
        dynamicSortSubtable: string
        getAllTables: string
        matchStrategy: string
        matches:
            - id: 0
              rules:
                - caseSensitive: string
                  domains:
                    - domain: string
                  headerName: string
                  id: 0
                  matchPattern: string
                  matchValue: string
                  methods:
                    - method: string
                  negate: string
                  type: string
              strategy: string
        name: string
        status: string
        type: string
        uuid: string
        vdomparam: string
    

    Useractivity Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Useractivity resource accepts the following input properties:

    Application string
    CASB SaaS application name.
    CasbName string
    CASB user activity signature name.
    Category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    ControlOptions List<Pulumiverse.Fortios.Casb.Inputs.UseractivityControlOption>
    CASB control options. The structure of control_options block is documented below.
    Description string
    CASB user activity description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    MatchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    Matches List<Pulumiverse.Fortios.Casb.Inputs.UseractivityMatch>
    CASB user activity match rules. The structure of match block is documented below.
    Name string
    CASB user activity name.
    Status string
    CASB user activity status. Valid values: enable, disable.
    Type string
    CASB user activity type. Valid values: built-in, customized.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Application string
    CASB SaaS application name.
    CasbName string
    CASB user activity signature name.
    Category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    ControlOptions []UseractivityControlOptionArgs
    CASB control options. The structure of control_options block is documented below.
    Description string
    CASB user activity description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    MatchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    Matches []UseractivityMatchArgs
    CASB user activity match rules. The structure of match block is documented below.
    Name string
    CASB user activity name.
    Status string
    CASB user activity status. Valid values: enable, disable.
    Type string
    CASB user activity type. Valid values: built-in, customized.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application String
    CASB SaaS application name.
    casbName String
    CASB user activity signature name.
    category String
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions List<UseractivityControlOption>
    CASB control options. The structure of control_options block is documented below.
    description String
    CASB user activity description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy String
    CASB user activity match strategy. Valid values: and, or.
    matches List<UseractivityMatch>
    CASB user activity match rules. The structure of match block is documented below.
    name String
    CASB user activity name.
    status String
    CASB user activity status. Valid values: enable, disable.
    type String
    CASB user activity type. Valid values: built-in, customized.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application string
    CASB SaaS application name.
    casbName string
    CASB user activity signature name.
    category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions UseractivityControlOption[]
    CASB control options. The structure of control_options block is documented below.
    description string
    CASB user activity description.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    matches UseractivityMatch[]
    CASB user activity match rules. The structure of match block is documented below.
    name string
    CASB user activity name.
    status string
    CASB user activity status. Valid values: enable, disable.
    type string
    CASB user activity type. Valid values: built-in, customized.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application str
    CASB SaaS application name.
    casb_name str
    CASB user activity signature name.
    category str
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    control_options Sequence[UseractivityControlOptionArgs]
    CASB control options. The structure of control_options block is documented below.
    description str
    CASB user activity description.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    match_strategy str
    CASB user activity match strategy. Valid values: and, or.
    matches Sequence[UseractivityMatchArgs]
    CASB user activity match rules. The structure of match block is documented below.
    name str
    CASB user activity name.
    status str
    CASB user activity status. Valid values: enable, disable.
    type str
    CASB user activity type. Valid values: built-in, customized.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application String
    CASB SaaS application name.
    casbName String
    CASB user activity signature name.
    category String
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions List<Property Map>
    CASB control options. The structure of control_options block is documented below.
    description String
    CASB user activity description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy String
    CASB user activity match strategy. Valid values: and, or.
    matches List<Property Map>
    CASB user activity match rules. The structure of match block is documented below.
    name String
    CASB user activity name.
    status String
    CASB user activity status. Valid values: enable, disable.
    type String
    CASB user activity type. Valid values: built-in, customized.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

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

    Look up Existing Useractivity Resource

    Get an existing Useractivity resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: UseractivityState, opts?: CustomResourceOptions): Useractivity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application: Optional[str] = None,
            casb_name: Optional[str] = None,
            category: Optional[str] = None,
            control_options: Optional[Sequence[UseractivityControlOptionArgs]] = None,
            description: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            match_strategy: Optional[str] = None,
            matches: Optional[Sequence[UseractivityMatchArgs]] = None,
            name: Optional[str] = None,
            status: Optional[str] = None,
            type: Optional[str] = None,
            uuid: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Useractivity
    func GetUseractivity(ctx *Context, name string, id IDInput, state *UseractivityState, opts ...ResourceOption) (*Useractivity, error)
    public static Useractivity Get(string name, Input<string> id, UseractivityState? state, CustomResourceOptions? opts = null)
    public static Useractivity get(String name, Output<String> id, UseractivityState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Application string
    CASB SaaS application name.
    CasbName string
    CASB user activity signature name.
    Category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    ControlOptions List<Pulumiverse.Fortios.Casb.Inputs.UseractivityControlOption>
    CASB control options. The structure of control_options block is documented below.
    Description string
    CASB user activity description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    MatchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    Matches List<Pulumiverse.Fortios.Casb.Inputs.UseractivityMatch>
    CASB user activity match rules. The structure of match block is documented below.
    Name string
    CASB user activity name.
    Status string
    CASB user activity status. Valid values: enable, disable.
    Type string
    CASB user activity type. Valid values: built-in, customized.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Application string
    CASB SaaS application name.
    CasbName string
    CASB user activity signature name.
    Category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    ControlOptions []UseractivityControlOptionArgs
    CASB control options. The structure of control_options block is documented below.
    Description string
    CASB user activity description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    MatchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    Matches []UseractivityMatchArgs
    CASB user activity match rules. The structure of match block is documented below.
    Name string
    CASB user activity name.
    Status string
    CASB user activity status. Valid values: enable, disable.
    Type string
    CASB user activity type. Valid values: built-in, customized.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application String
    CASB SaaS application name.
    casbName String
    CASB user activity signature name.
    category String
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions List<UseractivityControlOption>
    CASB control options. The structure of control_options block is documented below.
    description String
    CASB user activity description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy String
    CASB user activity match strategy. Valid values: and, or.
    matches List<UseractivityMatch>
    CASB user activity match rules. The structure of match block is documented below.
    name String
    CASB user activity name.
    status String
    CASB user activity status. Valid values: enable, disable.
    type String
    CASB user activity type. Valid values: built-in, customized.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application string
    CASB SaaS application name.
    casbName string
    CASB user activity signature name.
    category string
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions UseractivityControlOption[]
    CASB control options. The structure of control_options block is documented below.
    description string
    CASB user activity description.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy string
    CASB user activity match strategy. Valid values: and, or.
    matches UseractivityMatch[]
    CASB user activity match rules. The structure of match block is documented below.
    name string
    CASB user activity name.
    status string
    CASB user activity status. Valid values: enable, disable.
    type string
    CASB user activity type. Valid values: built-in, customized.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application str
    CASB SaaS application name.
    casb_name str
    CASB user activity signature name.
    category str
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    control_options Sequence[UseractivityControlOptionArgs]
    CASB control options. The structure of control_options block is documented below.
    description str
    CASB user activity description.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    match_strategy str
    CASB user activity match strategy. Valid values: and, or.
    matches Sequence[UseractivityMatchArgs]
    CASB user activity match rules. The structure of match block is documented below.
    name str
    CASB user activity name.
    status str
    CASB user activity status. Valid values: enable, disable.
    type str
    CASB user activity type. Valid values: built-in, customized.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    application String
    CASB SaaS application name.
    casbName String
    CASB user activity signature name.
    category String
    CASB user activity category. Valid values: activity-control, tenant-control, domain-control, safe-search-control, other.
    controlOptions List<Property Map>
    CASB control options. The structure of control_options block is documented below.
    description String
    CASB user activity description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    matchStrategy String
    CASB user activity match strategy. Valid values: and, or.
    matches List<Property Map>
    CASB user activity match rules. The structure of match block is documented below.
    name String
    CASB user activity name.
    status String
    CASB user activity status. Valid values: enable, disable.
    type String
    CASB user activity type. Valid values: built-in, customized.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    UseractivityControlOption, UseractivityControlOptionArgs

    Name string
    CASB control option name.
    Operations List<Pulumiverse.Fortios.Casb.Inputs.UseractivityControlOptionOperation>
    CASB control option operations. The structure of operations block is documented below.
    Status string
    CASB control option status. Valid values: enable, disable.
    Name string
    CASB control option name.
    Operations []UseractivityControlOptionOperation
    CASB control option operations. The structure of operations block is documented below.
    Status string
    CASB control option status. Valid values: enable, disable.
    name String
    CASB control option name.
    operations List<UseractivityControlOptionOperation>
    CASB control option operations. The structure of operations block is documented below.
    status String
    CASB control option status. Valid values: enable, disable.
    name string
    CASB control option name.
    operations UseractivityControlOptionOperation[]
    CASB control option operations. The structure of operations block is documented below.
    status string
    CASB control option status. Valid values: enable, disable.
    name str
    CASB control option name.
    operations Sequence[UseractivityControlOptionOperation]
    CASB control option operations. The structure of operations block is documented below.
    status str
    CASB control option status. Valid values: enable, disable.
    name String
    CASB control option name.
    operations List<Property Map>
    CASB control option operations. The structure of operations block is documented below.
    status String
    CASB control option status. Valid values: enable, disable.

    UseractivityControlOptionOperation, UseractivityControlOptionOperationArgs

    Action string
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    CaseSensitive string
    CASB operation search case sensitive. Valid values: enable, disable.
    Direction string
    CASB operation direction. Valid values: request.
    HeaderName string
    CASB operation header name to search.
    Name string
    CASB control option operation name.
    SearchKey string
    CASB operation key to search.
    SearchPattern string
    CASB operation search pattern. Valid values: simple, substr, regexp.
    Target string
    CASB operation target. Valid values: header, path.
    ValueFromInput string
    Enable/disable value from user input. Valid values: enable, disable.
    Values List<Pulumiverse.Fortios.Casb.Inputs.UseractivityControlOptionOperationValue>
    CASB operation new values. The structure of values block is documented below.
    Action string
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    CaseSensitive string
    CASB operation search case sensitive. Valid values: enable, disable.
    Direction string
    CASB operation direction. Valid values: request.
    HeaderName string
    CASB operation header name to search.
    Name string
    CASB control option operation name.
    SearchKey string
    CASB operation key to search.
    SearchPattern string
    CASB operation search pattern. Valid values: simple, substr, regexp.
    Target string
    CASB operation target. Valid values: header, path.
    ValueFromInput string
    Enable/disable value from user input. Valid values: enable, disable.
    Values []UseractivityControlOptionOperationValue
    CASB operation new values. The structure of values block is documented below.
    action String
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    caseSensitive String
    CASB operation search case sensitive. Valid values: enable, disable.
    direction String
    CASB operation direction. Valid values: request.
    headerName String
    CASB operation header name to search.
    name String
    CASB control option operation name.
    searchKey String
    CASB operation key to search.
    searchPattern String
    CASB operation search pattern. Valid values: simple, substr, regexp.
    target String
    CASB operation target. Valid values: header, path.
    valueFromInput String
    Enable/disable value from user input. Valid values: enable, disable.
    values List<UseractivityControlOptionOperationValue>
    CASB operation new values. The structure of values block is documented below.
    action string
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    caseSensitive string
    CASB operation search case sensitive. Valid values: enable, disable.
    direction string
    CASB operation direction. Valid values: request.
    headerName string
    CASB operation header name to search.
    name string
    CASB control option operation name.
    searchKey string
    CASB operation key to search.
    searchPattern string
    CASB operation search pattern. Valid values: simple, substr, regexp.
    target string
    CASB operation target. Valid values: header, path.
    valueFromInput string
    Enable/disable value from user input. Valid values: enable, disable.
    values UseractivityControlOptionOperationValue[]
    CASB operation new values. The structure of values block is documented below.
    action str
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    case_sensitive str
    CASB operation search case sensitive. Valid values: enable, disable.
    direction str
    CASB operation direction. Valid values: request.
    header_name str
    CASB operation header name to search.
    name str
    CASB control option operation name.
    search_key str
    CASB operation key to search.
    search_pattern str
    CASB operation search pattern. Valid values: simple, substr, regexp.
    target str
    CASB operation target. Valid values: header, path.
    value_from_input str
    Enable/disable value from user input. Valid values: enable, disable.
    values Sequence[UseractivityControlOptionOperationValue]
    CASB operation new values. The structure of values block is documented below.
    action String
    CASB operation action. Valid values: append, prepend, replace, new, new-on-not-found, delete.
    caseSensitive String
    CASB operation search case sensitive. Valid values: enable, disable.
    direction String
    CASB operation direction. Valid values: request.
    headerName String
    CASB operation header name to search.
    name String
    CASB control option operation name.
    searchKey String
    CASB operation key to search.
    searchPattern String
    CASB operation search pattern. Valid values: simple, substr, regexp.
    target String
    CASB operation target. Valid values: header, path.
    valueFromInput String
    Enable/disable value from user input. Valid values: enable, disable.
    values List<Property Map>
    CASB operation new values. The structure of values block is documented below.

    UseractivityControlOptionOperationValue, UseractivityControlOptionOperationValueArgs

    Value string
    Operation value.
    Value string
    Operation value.
    value String
    Operation value.
    value string
    Operation value.
    value str
    Operation value.
    value String
    Operation value.

    UseractivityMatch, UseractivityMatchArgs

    Id int
    CASB user activity match rules ID.
    Rules List<Pulumiverse.Fortios.Casb.Inputs.UseractivityMatchRule>
    CASB user activity rules. The structure of rules block is documented below.
    Strategy string
    CASB user activity rules strategy. Valid values: and, or.
    Id int
    CASB user activity match rules ID.
    Rules []UseractivityMatchRule
    CASB user activity rules. The structure of rules block is documented below.
    Strategy string
    CASB user activity rules strategy. Valid values: and, or.
    id Integer
    CASB user activity match rules ID.
    rules List<UseractivityMatchRule>
    CASB user activity rules. The structure of rules block is documented below.
    strategy String
    CASB user activity rules strategy. Valid values: and, or.
    id number
    CASB user activity match rules ID.
    rules UseractivityMatchRule[]
    CASB user activity rules. The structure of rules block is documented below.
    strategy string
    CASB user activity rules strategy. Valid values: and, or.
    id int
    CASB user activity match rules ID.
    rules Sequence[UseractivityMatchRule]
    CASB user activity rules. The structure of rules block is documented below.
    strategy str
    CASB user activity rules strategy. Valid values: and, or.
    id Number
    CASB user activity match rules ID.
    rules List<Property Map>
    CASB user activity rules. The structure of rules block is documented below.
    strategy String
    CASB user activity rules strategy. Valid values: and, or.

    UseractivityMatchRule, UseractivityMatchRuleArgs

    CaseSensitive string
    CASB user activity match case sensitive. Valid values: enable, disable.
    Domains List<Pulumiverse.Fortios.Casb.Inputs.UseractivityMatchRuleDomain>
    CASB user activity domain list. The structure of domains block is documented below.
    HeaderName string
    CASB user activity rule header name.
    Id int
    CASB user activity rule ID.
    MatchPattern string
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    MatchValue string
    CASB user activity rule match value.
    Methods List<Pulumiverse.Fortios.Casb.Inputs.UseractivityMatchRuleMethod>
    CASB user activity method list. The structure of methods block is documented below.
    Negate string
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    Type string
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.
    CaseSensitive string
    CASB user activity match case sensitive. Valid values: enable, disable.
    Domains []UseractivityMatchRuleDomain
    CASB user activity domain list. The structure of domains block is documented below.
    HeaderName string
    CASB user activity rule header name.
    Id int
    CASB user activity rule ID.
    MatchPattern string
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    MatchValue string
    CASB user activity rule match value.
    Methods []UseractivityMatchRuleMethod
    CASB user activity method list. The structure of methods block is documented below.
    Negate string
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    Type string
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.
    caseSensitive String
    CASB user activity match case sensitive. Valid values: enable, disable.
    domains List<UseractivityMatchRuleDomain>
    CASB user activity domain list. The structure of domains block is documented below.
    headerName String
    CASB user activity rule header name.
    id Integer
    CASB user activity rule ID.
    matchPattern String
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    matchValue String
    CASB user activity rule match value.
    methods List<UseractivityMatchRuleMethod>
    CASB user activity method list. The structure of methods block is documented below.
    negate String
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    type String
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.
    caseSensitive string
    CASB user activity match case sensitive. Valid values: enable, disable.
    domains UseractivityMatchRuleDomain[]
    CASB user activity domain list. The structure of domains block is documented below.
    headerName string
    CASB user activity rule header name.
    id number
    CASB user activity rule ID.
    matchPattern string
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    matchValue string
    CASB user activity rule match value.
    methods UseractivityMatchRuleMethod[]
    CASB user activity method list. The structure of methods block is documented below.
    negate string
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    type string
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.
    case_sensitive str
    CASB user activity match case sensitive. Valid values: enable, disable.
    domains Sequence[UseractivityMatchRuleDomain]
    CASB user activity domain list. The structure of domains block is documented below.
    header_name str
    CASB user activity rule header name.
    id int
    CASB user activity rule ID.
    match_pattern str
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    match_value str
    CASB user activity rule match value.
    methods Sequence[UseractivityMatchRuleMethod]
    CASB user activity method list. The structure of methods block is documented below.
    negate str
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    type str
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.
    caseSensitive String
    CASB user activity match case sensitive. Valid values: enable, disable.
    domains List<Property Map>
    CASB user activity domain list. The structure of domains block is documented below.
    headerName String
    CASB user activity rule header name.
    id Number
    CASB user activity rule ID.
    matchPattern String
    CASB user activity rule match pattern. Valid values: simple, substr, regexp.
    matchValue String
    CASB user activity rule match value.
    methods List<Property Map>
    CASB user activity method list. The structure of methods block is documented below.
    negate String
    Enable/disable what the matching strategy must not be. Valid values: enable, disable.
    type String
    CASB user activity rule type. Valid values: domains, host, path, header, header-value, method.

    UseractivityMatchRuleDomain, UseractivityMatchRuleDomainArgs

    Domain string
    Domain list separated by space.
    Domain string
    Domain list separated by space.
    domain String
    Domain list separated by space.
    domain string
    Domain list separated by space.
    domain str
    Domain list separated by space.
    domain String
    Domain list separated by space.

    UseractivityMatchRuleMethod, UseractivityMatchRuleMethodArgs

    Method string
    User activity method.
    Method string
    User activity method.
    method String
    User activity method.
    method string
    User activity method.
    method str
    User activity method.
    method String
    User activity method.

    Import

    Casb UserActivity can be imported using any of these accepted formats:

    $ pulumi import fortios:casb/useractivity:Useractivity labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:casb/useractivity:Useractivity labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse