fortios.casb.Useractivity
Explore with Pulumi AI
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.
- Casb
Name string - CASB user activity signature name.
- Category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - Control
Options List<Pulumiverse.Fortios. Casb. Inputs. Useractivity Control Option> - CASB control options. The structure of
control_options
block is documented below. - Description string
- CASB user activity description.
- Dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - Matches
List<Pulumiverse.
Fortios. Casb. Inputs. Useractivity Match> - 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.
- Casb
Name string - CASB user activity signature name.
- Category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - Control
Options []UseractivityControl Option Args - CASB control options. The structure of
control_options
block is documented below. - Description string
- CASB user activity description.
- Dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - Matches
[]Useractivity
Match Args - 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.
- casb
Name String - CASB user activity signature name.
- category String
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options List<UseractivityControl Option> - CASB control options. The structure of
control_options
block is documented below. - description String
- CASB user activity description.
- dynamic
Sort StringSubtable - 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 StringTables - 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 String - CASB user activity match strategy. Valid values:
and
,or
. - matches
List<Useractivity
Match> - 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.
- casb
Name string - CASB user activity signature name.
- category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options UseractivityControl Option[] - CASB control options. The structure of
control_options
block is documented below. - description string
- CASB user activity description.
- dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - matches
Useractivity
Match[] - 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[UseractivityControl Option Args] - CASB control options. The structure of
control_options
block is documented below. - description str
- CASB user activity description.
- dynamic_
sort_ strsubtable - 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_ strtables - 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[Useractivity
Match Args] - 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.
- casb
Name String - CASB user activity signature name.
- category String
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options List<Property Map> - CASB control options. The structure of
control_options
block is documented below. - description String
- CASB user activity description.
- dynamic
Sort StringSubtable - 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 StringTables - 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 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.
- Application string
- CASB SaaS application name.
- Casb
Name string - CASB user activity signature name.
- Category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - Control
Options List<Pulumiverse.Fortios. Casb. Inputs. Useractivity Control Option> - CASB control options. The structure of
control_options
block is documented below. - Description string
- CASB user activity description.
- Dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - Matches
List<Pulumiverse.
Fortios. Casb. Inputs. Useractivity Match> - 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.
- Casb
Name string - CASB user activity signature name.
- Category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - Control
Options []UseractivityControl Option Args - CASB control options. The structure of
control_options
block is documented below. - Description string
- CASB user activity description.
- Dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - Matches
[]Useractivity
Match Args - 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.
- casb
Name String - CASB user activity signature name.
- category String
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options List<UseractivityControl Option> - CASB control options. The structure of
control_options
block is documented below. - description String
- CASB user activity description.
- dynamic
Sort StringSubtable - 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 StringTables - 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 String - CASB user activity match strategy. Valid values:
and
,or
. - matches
List<Useractivity
Match> - 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.
- casb
Name string - CASB user activity signature name.
- category string
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options UseractivityControl Option[] - CASB control options. The structure of
control_options
block is documented below. - description string
- CASB user activity description.
- dynamic
Sort stringSubtable - 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 stringTables - 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 string - CASB user activity match strategy. Valid values:
and
,or
. - matches
Useractivity
Match[] - 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[UseractivityControl Option Args] - CASB control options. The structure of
control_options
block is documented below. - description str
- CASB user activity description.
- dynamic_
sort_ strsubtable - 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_ strtables - 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[Useractivity
Match Args] - 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.
- casb
Name String - CASB user activity signature name.
- category String
- CASB user activity category. Valid values:
activity-control
,tenant-control
,domain-control
,safe-search-control
,other
. - control
Options List<Property Map> - CASB control options. The structure of
control_options
block is documented below. - description String
- CASB user activity description.
- dynamic
Sort StringSubtable - 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 StringTables - 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 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. Useractivity Control Option Operation> - 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
[]Useractivity
Control Option Operation - 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<Useractivity
Control Option Operation> - 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
Useractivity
Control Option Operation[] - 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[Useractivity
Control Option Operation] - 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
. - Case
Sensitive string - CASB operation search case sensitive. Valid values:
enable
,disable
. - Direction string
- CASB operation direction. Valid values:
request
. - Header
Name string - CASB operation header name to search.
- Name string
- CASB control option operation name.
- Search
Key string - CASB operation key to search.
- Search
Pattern string - CASB operation search pattern. Valid values:
simple
,substr
,regexp
. - Target string
- CASB operation target. Valid values:
header
,path
. - Value
From stringInput - Enable/disable value from user input. Valid values:
enable
,disable
. - Values
List<Pulumiverse.
Fortios. Casb. Inputs. Useractivity Control Option Operation Value> - 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
. - Case
Sensitive string - CASB operation search case sensitive. Valid values:
enable
,disable
. - Direction string
- CASB operation direction. Valid values:
request
. - Header
Name string - CASB operation header name to search.
- Name string
- CASB control option operation name.
- Search
Key string - CASB operation key to search.
- Search
Pattern string - CASB operation search pattern. Valid values:
simple
,substr
,regexp
. - Target string
- CASB operation target. Valid values:
header
,path
. - Value
From stringInput - Enable/disable value from user input. Valid values:
enable
,disable
. - Values
[]Useractivity
Control Option Operation Value - 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
. - case
Sensitive String - CASB operation search case sensitive. Valid values:
enable
,disable
. - direction String
- CASB operation direction. Valid values:
request
. - header
Name String - CASB operation header name to search.
- name String
- CASB control option operation name.
- search
Key String - CASB operation key to search.
- search
Pattern String - CASB operation search pattern. Valid values:
simple
,substr
,regexp
. - target String
- CASB operation target. Valid values:
header
,path
. - value
From StringInput - Enable/disable value from user input. Valid values:
enable
,disable
. - values
List<Useractivity
Control Option Operation Value> - 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
. - case
Sensitive string - CASB operation search case sensitive. Valid values:
enable
,disable
. - direction string
- CASB operation direction. Valid values:
request
. - header
Name string - CASB operation header name to search.
- name string
- CASB control option operation name.
- search
Key string - CASB operation key to search.
- search
Pattern string - CASB operation search pattern. Valid values:
simple
,substr
,regexp
. - target string
- CASB operation target. Valid values:
header
,path
. - value
From stringInput - Enable/disable value from user input. Valid values:
enable
,disable
. - values
Useractivity
Control Option Operation Value[] - 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_ strinput - Enable/disable value from user input. Valid values:
enable
,disable
. - values
Sequence[Useractivity
Control Option Operation Value] - 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
. - case
Sensitive String - CASB operation search case sensitive. Valid values:
enable
,disable
. - direction String
- CASB operation direction. Valid values:
request
. - header
Name String - CASB operation header name to search.
- name String
- CASB control option operation name.
- search
Key String - CASB operation key to search.
- search
Pattern String - CASB operation search pattern. Valid values:
simple
,substr
,regexp
. - target String
- CASB operation target. Valid values:
header
,path
. - value
From StringInput - 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. Useractivity Match Rule> - 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
[]Useractivity
Match Rule - 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<Useractivity
Match Rule> - 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
Useractivity
Match Rule[] - 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[Useractivity
Match Rule] - 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
- Case
Sensitive string - CASB user activity match case sensitive. Valid values:
enable
,disable
. - Domains
List<Pulumiverse.
Fortios. Casb. Inputs. Useractivity Match Rule Domain> - CASB user activity domain list. The structure of
domains
block is documented below. - Header
Name string - CASB user activity rule header name.
- Id int
- CASB user activity rule ID.
- Match
Pattern string - CASB user activity rule match pattern. Valid values:
simple
,substr
,regexp
. - Match
Value string - CASB user activity rule match value.
- Methods
List<Pulumiverse.
Fortios. Casb. Inputs. Useractivity Match Rule Method> - 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 string - CASB user activity match case sensitive. Valid values:
enable
,disable
. - Domains
[]Useractivity
Match Rule Domain - CASB user activity domain list. The structure of
domains
block is documented below. - Header
Name string - CASB user activity rule header name.
- Id int
- CASB user activity rule ID.
- Match
Pattern string - CASB user activity rule match pattern. Valid values:
simple
,substr
,regexp
. - Match
Value string - CASB user activity rule match value.
- Methods
[]Useractivity
Match Rule Method - 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 String - CASB user activity match case sensitive. Valid values:
enable
,disable
. - domains
List<Useractivity
Match Rule Domain> - CASB user activity domain list. The structure of
domains
block is documented below. - header
Name String - CASB user activity rule header name.
- id Integer
- CASB user activity rule ID.
- match
Pattern String - CASB user activity rule match pattern. Valid values:
simple
,substr
,regexp
. - match
Value String - CASB user activity rule match value.
- methods
List<Useractivity
Match Rule Method> - 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 string - CASB user activity match case sensitive. Valid values:
enable
,disable
. - domains
Useractivity
Match Rule Domain[] - CASB user activity domain list. The structure of
domains
block is documented below. - header
Name string - CASB user activity rule header name.
- id number
- CASB user activity rule ID.
- match
Pattern string - CASB user activity rule match pattern. Valid values:
simple
,substr
,regexp
. - match
Value string - CASB user activity rule match value.
- methods
Useractivity
Match Rule Method[] - 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[Useractivity
Match Rule Domain] - 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[Useractivity
Match Rule Method] - 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
.
- case
Sensitive 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. - header
Name String - CASB user activity rule header name.
- id Number
- CASB user activity rule ID.
- match
Pattern String - CASB user activity rule match pattern. Valid values:
simple
,substr
,regexp
. - match
Value 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.