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

fortios.rule.Fmwp

Explore with Pulumi AI

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

    Show FMWP signatures. Applies to FortiOS Version 7.2.8,7.4.2,7.4.3,7.4.4.

    Create Fmwp Resource

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

    Constructor syntax

    new Fmwp(name: string, args?: FmwpArgs, opts?: CustomResourceOptions);
    @overload
    def Fmwp(resource_name: str,
             args: Optional[FmwpArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Fmwp(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[FmwpMetadataArgs]] = 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 NewFmwp(ctx *Context, name string, args *FmwpArgs, opts ...ResourceOption) (*Fmwp, error)
    public Fmwp(string name, FmwpArgs? args = null, CustomResourceOptions? opts = null)
    public Fmwp(String name, FmwpArgs args)
    public Fmwp(String name, FmwpArgs args, CustomResourceOptions options)
    
    type: fortios:rule:Fmwp
    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 FmwpArgs
    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 FmwpArgs
    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 FmwpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FmwpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FmwpArgs
    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 fmwpResource = new Fortios.Rule.Fmwp("fmwpResource", 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.FmwpMetadataArgs
            {
                Id = 0,
                Metaid = 0,
                Valueid = 0,
            },
        },
        Name = "string",
        Os = "string",
        Rev = 0,
        RuleId = 0,
        Service = "string",
        Severity = "string",
        Vdomparam = "string",
    });
    
    example, err := rule.NewFmwp(ctx, "fmwpResource", &rule.FmwpArgs{
    	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.FmwpMetadataArray{
    		&rule.FmwpMetadataArgs{
    			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 fmwpResource = new Fmwp("fmwpResource", FmwpArgs.builder()
        .action("string")
        .application("string")
        .date(0)
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .group("string")
        .location("string")
        .log("string")
        .logPacket("string")
        .metadatas(FmwpMetadataArgs.builder()
            .id(0)
            .metaid(0)
            .valueid(0)
            .build())
        .name("string")
        .os("string")
        .rev(0)
        .ruleId(0)
        .service("string")
        .severity("string")
        .vdomparam("string")
        .build());
    
    fmwp_resource = fortios.rule.Fmwp("fmwpResource",
        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.FmwpMetadataArgs(
            id=0,
            metaid=0,
            valueid=0,
        )],
        name="string",
        os="string",
        rev=0,
        rule_id=0,
        service="string",
        severity="string",
        vdomparam="string")
    
    const fmwpResource = new fortios.rule.Fmwp("fmwpResource", {
        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:Fmwp
    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
    

    Fmwp 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 Fmwp 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, 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas List<Pulumiverse.Fortios.Rule.Inputs.FmwpMetadata>
    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, 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas []FmwpMetadataArgs
    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, 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.
    logPacket String
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas List<FmwpMetadata>
    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, 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.
    logPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas FmwpMetadata[]
    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, 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[FmwpMetadataArgs]
    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, 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.
    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 Fmwp 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 Fmwp Resource

    Get an existing Fmwp 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?: FmwpState, opts?: CustomResourceOptions): Fmwp
    @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[FmwpMetadataArgs]] = 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) -> Fmwp
    func GetFmwp(ctx *Context, name string, id IDInput, state *FmwpState, opts ...ResourceOption) (*Fmwp, error)
    public static Fmwp Get(string name, Input<string> id, FmwpState? state, CustomResourceOptions? opts = null)
    public static Fmwp get(String name, Output<String> id, FmwpState 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, 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas List<Pulumiverse.Fortios.Rule.Inputs.FmwpMetadata>
    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, 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.
    LogPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    Metadatas []FmwpMetadataArgs
    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, 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.
    logPacket String
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas List<FmwpMetadata>
    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, 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.
    logPacket string
    Enable/disable packet logging. Valid values: disable, enable.
    metadatas FmwpMetadata[]
    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, 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[FmwpMetadataArgs]
    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, 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.
    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

    FmwpMetadata, FmwpMetadataArgs

    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 Fmwp can be imported using any of these accepted formats:

    $ pulumi import fortios:rule/fmwp:Fmwp labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:rule/fmwp:Fmwp labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

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