1. Packages
  2. Fortios
  3. API Docs
  4. rule
  5. Otvp
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.rule.Otvp

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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)
    public Otvp(String name, OtvpArgs args)
    public Otvp(String name, OtvpArgs args, CustomResourceOptions options)
    
    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=[fortios.rule.OtvpMetadataArgs(
            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

    The Otvp resource accepts the following input properties:

    Action string
    Action. Valid values: pass, block.
    Application string
    Vulnerable applications.
    Date int
    Date.
    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, otherwish 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas List<Pulumiverse.Fortios.Rule.Inputs.OtvpMetadata>
    Meta data. The structure of metadata block is documented below.
    Name string
    Rule name.
    Os string
    Vulnerable operation systems.
    Rev int
    Revision.
    RuleId 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.
    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, otherwish 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas []OtvpMetadataArgs
    Meta data. The structure of metadata block is documented below.
    Name string
    Rule name.
    Os string
    Vulnerable operation systems.
    Rev int
    Revision.
    RuleId 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.
    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, otherwish 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.
    logPacket String
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas List<OtvpMetadata>
    Meta data. The structure of metadata block is documented below.
    name String
    Rule name.
    os String
    Vulnerable operation systems.
    rev Integer
    Revision.
    ruleId 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.
    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, otherwish 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.
    logPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas OtvpMetadata[]
    Meta data. The structure of metadata block is documented below.
    name string
    Rule name.
    os string
    Vulnerable operation systems.
    rev number
    Revision.
    ruleId 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_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, otherwish 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[OtvpMetadataArgs]
    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.
    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, otherwish 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.
    logPacket 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.
    ruleId 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.
    The following state arguments are supported:
    Action string
    Action. Valid values: pass, block.
    Application string
    Vulnerable applications.
    Date int
    Date.
    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, otherwish 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas List<Pulumiverse.Fortios.Rule.Inputs.OtvpMetadata>
    Meta data. The structure of metadata block is documented below.
    Name string
    Rule name.
    Os string
    Vulnerable operation systems.
    Rev int
    Revision.
    RuleId 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.
    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, otherwish 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas []OtvpMetadataArgs
    Meta data. The structure of metadata block is documented below.
    Name string
    Rule name.
    Os string
    Vulnerable operation systems.
    Rev int
    Revision.
    RuleId 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.
    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, otherwish 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.
    logPacket String
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas List<OtvpMetadata>
    Meta data. The structure of metadata block is documented below.
    name String
    Rule name.
    os String
    Vulnerable operation systems.
    rev Integer
    Revision.
    ruleId 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.
    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, otherwish 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.
    logPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas OtvpMetadata[]
    Meta data. The structure of metadata block is documented below.
    name string
    Rule name.
    os string
    Vulnerable operation systems.
    rev number
    Revision.
    ruleId 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_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, otherwish 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[OtvpMetadataArgs]
    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.
    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, otherwish 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.
    logPacket 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.
    ruleId 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

    Id int
    ID.
    Metaid int
    Meta ID.
    Valueid int
    Value ID.
    Id int
    ID.
    Metaid int
    Meta ID.
    Valueid int
    Value ID.
    id Integer
    ID.
    metaid Integer
    Meta ID.
    valueid Integer
    Value ID.
    id number
    ID.
    metaid number
    Meta ID.
    valueid number
    Value ID.
    id int
    ID.
    metaid int
    Meta ID.
    valueid int
    Value ID.
    id Number
    ID.
    metaid Number
    Meta ID.
    valueid Number
    Value ID.

    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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse