fortios.rule.Otvp
Explore with Pulumi AI
Show OT patch signatures. Applies to FortiOS Version >= 7.4.1
.
Create Otvp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Otvp(name: string, args?: OtvpArgs, opts?: CustomResourceOptions);
@overload
def Otvp(resource_name: str,
args: Optional[OtvpArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Otvp(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
application: Optional[str] = None,
date: Optional[int] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
group: Optional[str] = None,
location: Optional[str] = None,
log: Optional[str] = None,
log_packet: Optional[str] = None,
metadatas: Optional[Sequence[OtvpMetadataArgs]] = None,
name: Optional[str] = None,
os: Optional[str] = None,
rev: Optional[int] = None,
rule_id: Optional[int] = None,
service: Optional[str] = None,
severity: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewOtvp(ctx *Context, name string, args *OtvpArgs, opts ...ResourceOption) (*Otvp, error)
public Otvp(string name, OtvpArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:rule:Otvp
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 OtvpArgs
- 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 OtvpArgs
- 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 OtvpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OtvpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OtvpArgs
- 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 otvpResource = new Fortios.Rule.Otvp("otvpResource", new()
{
Action = "string",
Application = "string",
Date = 0,
DynamicSortSubtable = "string",
GetAllTables = "string",
Group = "string",
Location = "string",
Log = "string",
LogPacket = "string",
Metadatas = new[]
{
new Fortios.Rule.Inputs.OtvpMetadataArgs
{
Id = 0,
Metaid = 0,
Valueid = 0,
},
},
Name = "string",
Os = "string",
Rev = 0,
RuleId = 0,
Service = "string",
Severity = "string",
Vdomparam = "string",
});
example, err := rule.NewOtvp(ctx, "otvpResource", &rule.OtvpArgs{
Action: pulumi.String("string"),
Application: pulumi.String("string"),
Date: pulumi.Int(0),
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
Group: pulumi.String("string"),
Location: pulumi.String("string"),
Log: pulumi.String("string"),
LogPacket: pulumi.String("string"),
Metadatas: rule.OtvpMetadataArray{
&rule.OtvpMetadataArgs{
Id: pulumi.Int(0),
Metaid: pulumi.Int(0),
Valueid: pulumi.Int(0),
},
},
Name: pulumi.String("string"),
Os: pulumi.String("string"),
Rev: pulumi.Int(0),
RuleId: pulumi.Int(0),
Service: pulumi.String("string"),
Severity: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var otvpResource = new Otvp("otvpResource", OtvpArgs.builder()
.action("string")
.application("string")
.date(0)
.dynamicSortSubtable("string")
.getAllTables("string")
.group("string")
.location("string")
.log("string")
.logPacket("string")
.metadatas(OtvpMetadataArgs.builder()
.id(0)
.metaid(0)
.valueid(0)
.build())
.name("string")
.os("string")
.rev(0)
.ruleId(0)
.service("string")
.severity("string")
.vdomparam("string")
.build());
otvp_resource = fortios.rule.Otvp("otvpResource",
action="string",
application="string",
date=0,
dynamic_sort_subtable="string",
get_all_tables="string",
group="string",
location="string",
log="string",
log_packet="string",
metadatas=[{
"id": 0,
"metaid": 0,
"valueid": 0,
}],
name="string",
os="string",
rev=0,
rule_id=0,
service="string",
severity="string",
vdomparam="string")
const otvpResource = new fortios.rule.Otvp("otvpResource", {
action: "string",
application: "string",
date: 0,
dynamicSortSubtable: "string",
getAllTables: "string",
group: "string",
location: "string",
log: "string",
logPacket: "string",
metadatas: [{
id: 0,
metaid: 0,
valueid: 0,
}],
name: "string",
os: "string",
rev: 0,
ruleId: 0,
service: "string",
severity: "string",
vdomparam: "string",
});
type: fortios:rule:Otvp
properties:
action: string
application: string
date: 0
dynamicSortSubtable: string
getAllTables: string
group: string
location: string
log: string
logPacket: string
metadatas:
- id: 0
metaid: 0
valueid: 0
name: string
os: string
rev: 0
ruleId: 0
service: string
severity: string
vdomparam: string
Otvp 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 Otvp resource accepts the following input properties:
- Action string
- Action. Valid values:
pass
,block
. - Application string
- Vulnerable applications.
- Date int
- Date.
- 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.
- Group string
- Group.
- Location string
- Vulnerable location.
- Log string
- Enable/disable logging. Valid values:
disable
,enable
. - Log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - Metadatas
List<Pulumiverse.
Fortios. Rule. Inputs. Otvp Metadata> - Meta data. The structure of
metadata
block is documented below. - Name string
- Rule name.
- Os string
- Vulnerable operation systems.
- Rev int
- Revision.
- Rule
Id int - Rule ID.
- Service string
- Vulnerable service.
- Severity string
- Severity.
- 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.
- Action string
- Action. Valid values:
pass
,block
. - Application string
- Vulnerable applications.
- Date int
- Date.
- 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.
- Group string
- Group.
- Location string
- Vulnerable location.
- Log string
- Enable/disable logging. Valid values:
disable
,enable
. - Log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - Metadatas
[]Otvp
Metadata Args - Meta data. The structure of
metadata
block is documented below. - Name string
- Rule name.
- Os string
- Vulnerable operation systems.
- Rev int
- Revision.
- Rule
Id int - Rule ID.
- Service string
- Vulnerable service.
- Severity string
- Severity.
- 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.
- action String
- Action. Valid values:
pass
,block
. - application String
- Vulnerable applications.
- date Integer
- Date.
- 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.
- group String
- Group.
- location String
- Vulnerable location.
- log String
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet String - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
List<Otvp
Metadata> - Meta data. The structure of
metadata
block is documented below. - name String
- Rule name.
- os String
- Vulnerable operation systems.
- rev Integer
- Revision.
- rule
Id Integer - Rule ID.
- service String
- Vulnerable service.
- severity String
- Severity.
- 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.
- action string
- Action. Valid values:
pass
,block
. - application string
- Vulnerable applications.
- date number
- Date.
- 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.
- group string
- Group.
- location string
- Vulnerable location.
- log string
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
Otvp
Metadata[] - Meta data. The structure of
metadata
block is documented below. - name string
- Rule name.
- os string
- Vulnerable operation systems.
- rev number
- Revision.
- rule
Id number - Rule ID.
- service string
- Vulnerable service.
- severity string
- Severity.
- 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.
- action str
- Action. Valid values:
pass
,block
. - application str
- Vulnerable applications.
- date int
- Date.
- 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.
- group str
- Group.
- location str
- Vulnerable location.
- log str
- Enable/disable logging. Valid values:
disable
,enable
. - log_
packet str - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
Sequence[Otvp
Metadata Args] - Meta data. The structure of
metadata
block is documented below. - name str
- Rule name.
- os str
- Vulnerable operation systems.
- rev int
- Revision.
- rule_
id int - Rule ID.
- service str
- Vulnerable service.
- severity str
- Severity.
- 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.
- action String
- Action. Valid values:
pass
,block
. - application String
- Vulnerable applications.
- date Number
- Date.
- 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.
- group String
- Group.
- location String
- Vulnerable location.
- log String
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet String - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas List<Property Map>
- Meta data. The structure of
metadata
block is documented below. - name String
- Rule name.
- os String
- Vulnerable operation systems.
- rev Number
- Revision.
- rule
Id Number - Rule ID.
- service String
- Vulnerable service.
- severity String
- Severity.
- 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 Otvp 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 Otvp Resource
Get an existing Otvp 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?: OtvpState, opts?: CustomResourceOptions): Otvp
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
application: Optional[str] = None,
date: Optional[int] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
group: Optional[str] = None,
location: Optional[str] = None,
log: Optional[str] = None,
log_packet: Optional[str] = None,
metadatas: Optional[Sequence[OtvpMetadataArgs]] = None,
name: Optional[str] = None,
os: Optional[str] = None,
rev: Optional[int] = None,
rule_id: Optional[int] = None,
service: Optional[str] = None,
severity: Optional[str] = None,
vdomparam: Optional[str] = None) -> Otvp
func GetOtvp(ctx *Context, name string, id IDInput, state *OtvpState, opts ...ResourceOption) (*Otvp, error)
public static Otvp Get(string name, Input<string> id, OtvpState? state, CustomResourceOptions? opts = null)
public static Otvp get(String name, Output<String> id, OtvpState 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.
- Action string
- Action. Valid values:
pass
,block
. - Application string
- Vulnerable applications.
- Date int
- Date.
- 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.
- Group string
- Group.
- Location string
- Vulnerable location.
- Log string
- Enable/disable logging. Valid values:
disable
,enable
. - Log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - Metadatas
List<Pulumiverse.
Fortios. Rule. Inputs. Otvp Metadata> - Meta data. The structure of
metadata
block is documented below. - Name string
- Rule name.
- Os string
- Vulnerable operation systems.
- Rev int
- Revision.
- Rule
Id int - Rule ID.
- Service string
- Vulnerable service.
- Severity string
- Severity.
- 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.
- Action string
- Action. Valid values:
pass
,block
. - Application string
- Vulnerable applications.
- Date int
- Date.
- 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.
- Group string
- Group.
- Location string
- Vulnerable location.
- Log string
- Enable/disable logging. Valid values:
disable
,enable
. - Log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - Metadatas
[]Otvp
Metadata Args - Meta data. The structure of
metadata
block is documented below. - Name string
- Rule name.
- Os string
- Vulnerable operation systems.
- Rev int
- Revision.
- Rule
Id int - Rule ID.
- Service string
- Vulnerable service.
- Severity string
- Severity.
- 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.
- action String
- Action. Valid values:
pass
,block
. - application String
- Vulnerable applications.
- date Integer
- Date.
- 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.
- group String
- Group.
- location String
- Vulnerable location.
- log String
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet String - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
List<Otvp
Metadata> - Meta data. The structure of
metadata
block is documented below. - name String
- Rule name.
- os String
- Vulnerable operation systems.
- rev Integer
- Revision.
- rule
Id Integer - Rule ID.
- service String
- Vulnerable service.
- severity String
- Severity.
- 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.
- action string
- Action. Valid values:
pass
,block
. - application string
- Vulnerable applications.
- date number
- Date.
- 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.
- group string
- Group.
- location string
- Vulnerable location.
- log string
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet string - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
Otvp
Metadata[] - Meta data. The structure of
metadata
block is documented below. - name string
- Rule name.
- os string
- Vulnerable operation systems.
- rev number
- Revision.
- rule
Id number - Rule ID.
- service string
- Vulnerable service.
- severity string
- Severity.
- 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.
- action str
- Action. Valid values:
pass
,block
. - application str
- Vulnerable applications.
- date int
- Date.
- 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.
- group str
- Group.
- location str
- Vulnerable location.
- log str
- Enable/disable logging. Valid values:
disable
,enable
. - log_
packet str - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas
Sequence[Otvp
Metadata Args] - Meta data. The structure of
metadata
block is documented below. - name str
- Rule name.
- os str
- Vulnerable operation systems.
- rev int
- Revision.
- rule_
id int - Rule ID.
- service str
- Vulnerable service.
- severity str
- Severity.
- 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.
- action String
- Action. Valid values:
pass
,block
. - application String
- Vulnerable applications.
- date Number
- Date.
- 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.
- group String
- Group.
- location String
- Vulnerable location.
- log String
- Enable/disable logging. Valid values:
disable
,enable
. - log
Packet String - Enable/disable packet logging. Valid values:
disable
,enable
. - metadatas List<Property Map>
- Meta data. The structure of
metadata
block is documented below. - name String
- Rule name.
- os String
- Vulnerable operation systems.
- rev Number
- Revision.
- rule
Id Number - Rule ID.
- service String
- Vulnerable service.
- severity String
- Severity.
- 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
OtvpMetadata, OtvpMetadataArgs
Import
Rule Otvp can be imported using any of these accepted formats:
$ pulumi import fortios:rule/otvp:Otvp labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:rule/otvp:Otvp 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.