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

fortios.log.Threatweight

Explore with Pulumi AI

Configure threat weight settings.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";

const trname = new fortios.log.Threatweight("trname", {
    applications: [
        {
            category: 2,
            id: 1,
            level: "low",
        },
        {
            category: 6,
            id: 2,
            level: "medium",
        },
    ],
    blockedConnection: "high",
    failedConnection: "low",
    ips: {
        criticalSeverity: "critical",
        highSeverity: "high",
        infoSeverity: "disable",
        lowSeverity: "low",
        mediumSeverity: "medium",
    },
    level: {
        critical: 50,
        high: 30,
        low: 5,
        medium: 10,
    },
    malware: {
        botnetConnection: "critical",
        commandBlocked: "disable",
        contentDisarm: "medium",
        fileBlocked: "low",
        mimefragmented: "disable",
        oversized: "disable",
        switchProto: "disable",
        virusFileTypeExecutable: "medium",
        virusInfected: "critical",
        virusOutbreakPrevention: "critical",
        virusScanError: "high",
    },
    status: "enable",
    urlBlockDetected: "high",
    webs: [
        {
            category: 26,
            id: 1,
            level: "high",
        },
        {
            category: 61,
            id: 2,
            level: "high",
        },
        {
            category: 86,
            id: 3,
            level: "high",
        },
        {
            category: 1,
            id: 4,
            level: "medium",
        },
        {
            category: 3,
            id: 5,
            level: "medium",
        },
        {
            category: 4,
            id: 6,
            level: "medium",
        },
        {
            category: 5,
            id: 7,
            level: "medium",
        },
        {
            category: 6,
            id: 8,
            level: "medium",
        },
        {
            category: 12,
            id: 9,
            level: "medium",
        },
        {
            category: 59,
            id: 10,
            level: "medium",
        },
        {
            category: 62,
            id: 11,
            level: "medium",
        },
        {
            category: 83,
            id: 12,
            level: "medium",
        },
        {
            category: 72,
            id: 13,
            level: "low",
        },
        {
            category: 14,
            id: 14,
            level: "low",
        },
    ],
});
Copy
import pulumi
import pulumiverse_fortios as fortios

trname = fortios.log.Threatweight("trname",
    applications=[
        fortios.log.ThreatweightApplicationArgs(
            category=2,
            id=1,
            level="low",
        ),
        fortios.log.ThreatweightApplicationArgs(
            category=6,
            id=2,
            level="medium",
        ),
    ],
    blocked_connection="high",
    failed_connection="low",
    ips=fortios.log.ThreatweightIpsArgs(
        critical_severity="critical",
        high_severity="high",
        info_severity="disable",
        low_severity="low",
        medium_severity="medium",
    ),
    level=fortios.log.ThreatweightLevelArgs(
        critical=50,
        high=30,
        low=5,
        medium=10,
    ),
    malware=fortios.log.ThreatweightMalwareArgs(
        botnet_connection="critical",
        command_blocked="disable",
        content_disarm="medium",
        file_blocked="low",
        mimefragmented="disable",
        oversized="disable",
        switch_proto="disable",
        virus_file_type_executable="medium",
        virus_infected="critical",
        virus_outbreak_prevention="critical",
        virus_scan_error="high",
    ),
    status="enable",
    url_block_detected="high",
    webs=[
        fortios.log.ThreatweightWebArgs(
            category=26,
            id=1,
            level="high",
        ),
        fortios.log.ThreatweightWebArgs(
            category=61,
            id=2,
            level="high",
        ),
        fortios.log.ThreatweightWebArgs(
            category=86,
            id=3,
            level="high",
        ),
        fortios.log.ThreatweightWebArgs(
            category=1,
            id=4,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=3,
            id=5,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=4,
            id=6,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=5,
            id=7,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=6,
            id=8,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=12,
            id=9,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=59,
            id=10,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=62,
            id=11,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=83,
            id=12,
            level="medium",
        ),
        fortios.log.ThreatweightWebArgs(
            category=72,
            id=13,
            level="low",
        ),
        fortios.log.ThreatweightWebArgs(
            category=14,
            id=14,
            level="low",
        ),
    ])
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/log"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewThreatweight(ctx, "trname", &log.ThreatweightArgs{
			Applications: log.ThreatweightApplicationArray{
				&log.ThreatweightApplicationArgs{
					Category: pulumi.Int(2),
					Id:       pulumi.Int(1),
					Level:    pulumi.String("low"),
				},
				&log.ThreatweightApplicationArgs{
					Category: pulumi.Int(6),
					Id:       pulumi.Int(2),
					Level:    pulumi.String("medium"),
				},
			},
			BlockedConnection: pulumi.String("high"),
			FailedConnection:  pulumi.String("low"),
			Ips: &log.ThreatweightIpsArgs{
				CriticalSeverity: pulumi.String("critical"),
				HighSeverity:     pulumi.String("high"),
				InfoSeverity:     pulumi.String("disable"),
				LowSeverity:      pulumi.String("low"),
				MediumSeverity:   pulumi.String("medium"),
			},
			Level: &log.ThreatweightLevelArgs{
				Critical: pulumi.Int(50),
				High:     pulumi.Int(30),
				Low:      pulumi.Int(5),
				Medium:   pulumi.Int(10),
			},
			Malware: &log.ThreatweightMalwareArgs{
				BotnetConnection:        pulumi.String("critical"),
				CommandBlocked:          pulumi.String("disable"),
				ContentDisarm:           pulumi.String("medium"),
				FileBlocked:             pulumi.String("low"),
				Mimefragmented:          pulumi.String("disable"),
				Oversized:               pulumi.String("disable"),
				SwitchProto:             pulumi.String("disable"),
				VirusFileTypeExecutable: pulumi.String("medium"),
				VirusInfected:           pulumi.String("critical"),
				VirusOutbreakPrevention: pulumi.String("critical"),
				VirusScanError:          pulumi.String("high"),
			},
			Status:           pulumi.String("enable"),
			UrlBlockDetected: pulumi.String("high"),
			Webs: log.ThreatweightWebArray{
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(26),
					Id:       pulumi.Int(1),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(61),
					Id:       pulumi.Int(2),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(86),
					Id:       pulumi.Int(3),
					Level:    pulumi.String("high"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(1),
					Id:       pulumi.Int(4),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(3),
					Id:       pulumi.Int(5),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(4),
					Id:       pulumi.Int(6),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(5),
					Id:       pulumi.Int(7),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(6),
					Id:       pulumi.Int(8),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(12),
					Id:       pulumi.Int(9),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(59),
					Id:       pulumi.Int(10),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(62),
					Id:       pulumi.Int(11),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(83),
					Id:       pulumi.Int(12),
					Level:    pulumi.String("medium"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(72),
					Id:       pulumi.Int(13),
					Level:    pulumi.String("low"),
				},
				&log.ThreatweightWebArgs{
					Category: pulumi.Int(14),
					Id:       pulumi.Int(14),
					Level:    pulumi.String("low"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortios.Log.Threatweight("trname", new()
    {
        Applications = new[]
        {
            new Fortios.Log.Inputs.ThreatweightApplicationArgs
            {
                Category = 2,
                Id = 1,
                Level = "low",
            },
            new Fortios.Log.Inputs.ThreatweightApplicationArgs
            {
                Category = 6,
                Id = 2,
                Level = "medium",
            },
        },
        BlockedConnection = "high",
        FailedConnection = "low",
        Ips = new Fortios.Log.Inputs.ThreatweightIpsArgs
        {
            CriticalSeverity = "critical",
            HighSeverity = "high",
            InfoSeverity = "disable",
            LowSeverity = "low",
            MediumSeverity = "medium",
        },
        Level = new Fortios.Log.Inputs.ThreatweightLevelArgs
        {
            Critical = 50,
            High = 30,
            Low = 5,
            Medium = 10,
        },
        Malware = new Fortios.Log.Inputs.ThreatweightMalwareArgs
        {
            BotnetConnection = "critical",
            CommandBlocked = "disable",
            ContentDisarm = "medium",
            FileBlocked = "low",
            Mimefragmented = "disable",
            Oversized = "disable",
            SwitchProto = "disable",
            VirusFileTypeExecutable = "medium",
            VirusInfected = "critical",
            VirusOutbreakPrevention = "critical",
            VirusScanError = "high",
        },
        Status = "enable",
        UrlBlockDetected = "high",
        Webs = new[]
        {
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 26,
                Id = 1,
                Level = "high",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 61,
                Id = 2,
                Level = "high",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 86,
                Id = 3,
                Level = "high",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 1,
                Id = 4,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 3,
                Id = 5,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 4,
                Id = 6,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 5,
                Id = 7,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 6,
                Id = 8,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 12,
                Id = 9,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 59,
                Id = 10,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 62,
                Id = 11,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 83,
                Id = 12,
                Level = "medium",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 72,
                Id = 13,
                Level = "low",
            },
            new Fortios.Log.Inputs.ThreatweightWebArgs
            {
                Category = 14,
                Id = 14,
                Level = "low",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.log.Threatweight;
import com.pulumi.fortios.log.ThreatweightArgs;
import com.pulumi.fortios.log.inputs.ThreatweightApplicationArgs;
import com.pulumi.fortios.log.inputs.ThreatweightIpsArgs;
import com.pulumi.fortios.log.inputs.ThreatweightLevelArgs;
import com.pulumi.fortios.log.inputs.ThreatweightMalwareArgs;
import com.pulumi.fortios.log.inputs.ThreatweightWebArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new Threatweight("trname", ThreatweightArgs.builder()
            .applications(            
                ThreatweightApplicationArgs.builder()
                    .category(2)
                    .id(1)
                    .level("low")
                    .build(),
                ThreatweightApplicationArgs.builder()
                    .category(6)
                    .id(2)
                    .level("medium")
                    .build())
            .blockedConnection("high")
            .failedConnection("low")
            .ips(ThreatweightIpsArgs.builder()
                .criticalSeverity("critical")
                .highSeverity("high")
                .infoSeverity("disable")
                .lowSeverity("low")
                .mediumSeverity("medium")
                .build())
            .level(ThreatweightLevelArgs.builder()
                .critical(50)
                .high(30)
                .low(5)
                .medium(10)
                .build())
            .malware(ThreatweightMalwareArgs.builder()
                .botnetConnection("critical")
                .commandBlocked("disable")
                .contentDisarm("medium")
                .fileBlocked("low")
                .mimefragmented("disable")
                .oversized("disable")
                .switchProto("disable")
                .virusFileTypeExecutable("medium")
                .virusInfected("critical")
                .virusOutbreakPrevention("critical")
                .virusScanError("high")
                .build())
            .status("enable")
            .urlBlockDetected("high")
            .webs(            
                ThreatweightWebArgs.builder()
                    .category(26)
                    .id(1)
                    .level("high")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(61)
                    .id(2)
                    .level("high")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(86)
                    .id(3)
                    .level("high")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(1)
                    .id(4)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(3)
                    .id(5)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(4)
                    .id(6)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(5)
                    .id(7)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(6)
                    .id(8)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(12)
                    .id(9)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(59)
                    .id(10)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(62)
                    .id(11)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(83)
                    .id(12)
                    .level("medium")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(72)
                    .id(13)
                    .level("low")
                    .build(),
                ThreatweightWebArgs.builder()
                    .category(14)
                    .id(14)
                    .level("low")
                    .build())
            .build());

    }
}
Copy
resources:
  trname:
    type: fortios:log:Threatweight
    properties:
      applications:
        - category: 2
          id: 1
          level: low
        - category: 6
          id: 2
          level: medium
      blockedConnection: high
      failedConnection: low
      ips:
        criticalSeverity: critical
        highSeverity: high
        infoSeverity: disable
        lowSeverity: low
        mediumSeverity: medium
      level:
        critical: 50
        high: 30
        low: 5
        medium: 10
      malware:
        botnetConnection: critical
        commandBlocked: disable
        contentDisarm: medium
        fileBlocked: low
        mimefragmented: disable
        oversized: disable
        switchProto: disable
        virusFileTypeExecutable: medium
        virusInfected: critical
        virusOutbreakPrevention: critical
        virusScanError: high
      status: enable
      urlBlockDetected: high
      webs:
        - category: 26
          id: 1
          level: high
        - category: 61
          id: 2
          level: high
        - category: 86
          id: 3
          level: high
        - category: 1
          id: 4
          level: medium
        - category: 3
          id: 5
          level: medium
        - category: 4
          id: 6
          level: medium
        - category: 5
          id: 7
          level: medium
        - category: 6
          id: 8
          level: medium
        - category: 12
          id: 9
          level: medium
        - category: 59
          id: 10
          level: medium
        - category: 62
          id: 11
          level: medium
        - category: 83
          id: 12
          level: medium
        - category: 72
          id: 13
          level: low
        - category: 14
          id: 14
          level: low
Copy

Create Threatweight Resource

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

Constructor syntax

new Threatweight(name: string, args?: ThreatweightArgs, opts?: CustomResourceOptions);
@overload
def Threatweight(resource_name: str,
                 args: Optional[ThreatweightArgs] = None,
                 opts: Optional[ResourceOptions] = None)

@overload
def Threatweight(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 applications: Optional[Sequence[ThreatweightApplicationArgs]] = None,
                 blocked_connection: Optional[str] = None,
                 botnet_connection_detected: Optional[str] = None,
                 dynamic_sort_subtable: Optional[str] = None,
                 failed_connection: Optional[str] = None,
                 geolocations: Optional[Sequence[ThreatweightGeolocationArgs]] = None,
                 get_all_tables: Optional[str] = None,
                 ips: Optional[ThreatweightIpsArgs] = None,
                 level: Optional[ThreatweightLevelArgs] = None,
                 malware: Optional[ThreatweightMalwareArgs] = None,
                 status: Optional[str] = None,
                 url_block_detected: Optional[str] = None,
                 vdomparam: Optional[str] = None,
                 webs: Optional[Sequence[ThreatweightWebArgs]] = None)
func NewThreatweight(ctx *Context, name string, args *ThreatweightArgs, opts ...ResourceOption) (*Threatweight, error)
public Threatweight(string name, ThreatweightArgs? args = null, CustomResourceOptions? opts = null)
public Threatweight(String name, ThreatweightArgs args)
public Threatweight(String name, ThreatweightArgs args, CustomResourceOptions options)
type: fortios:log:Threatweight
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ThreatweightArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ThreatweightArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ThreatweightArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ThreatweightArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ThreatweightArgs
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 threatweightResource = new Fortios.Log.Threatweight("threatweightResource", new()
{
    Applications = new[]
    {
        new Fortios.Log.Inputs.ThreatweightApplicationArgs
        {
            Category = 0,
            Id = 0,
            Level = "string",
        },
    },
    BlockedConnection = "string",
    BotnetConnectionDetected = "string",
    DynamicSortSubtable = "string",
    FailedConnection = "string",
    Geolocations = new[]
    {
        new Fortios.Log.Inputs.ThreatweightGeolocationArgs
        {
            Country = "string",
            Id = 0,
            Level = "string",
        },
    },
    GetAllTables = "string",
    Ips = new Fortios.Log.Inputs.ThreatweightIpsArgs
    {
        CriticalSeverity = "string",
        HighSeverity = "string",
        InfoSeverity = "string",
        LowSeverity = "string",
        MediumSeverity = "string",
    },
    Level = new Fortios.Log.Inputs.ThreatweightLevelArgs
    {
        Critical = 0,
        High = 0,
        Low = 0,
        Medium = 0,
    },
    Malware = new Fortios.Log.Inputs.ThreatweightMalwareArgs
    {
        BotnetConnection = "string",
        CommandBlocked = "string",
        ContentDisarm = "string",
        EmsThreatFeed = "string",
        FileBlocked = "string",
        Fortiai = "string",
        Fortindr = "string",
        Fortisandbox = "string",
        FsaHighRisk = "string",
        FsaMalicious = "string",
        FsaMediumRisk = "string",
        InlineBlock = "string",
        MalwareList = "string",
        Mimefragmented = "string",
        Oversized = "string",
        SwitchProto = "string",
        VirusFileTypeExecutable = "string",
        VirusInfected = "string",
        VirusOutbreakPrevention = "string",
        VirusScanError = "string",
    },
    Status = "string",
    UrlBlockDetected = "string",
    Vdomparam = "string",
    Webs = new[]
    {
        new Fortios.Log.Inputs.ThreatweightWebArgs
        {
            Category = 0,
            Id = 0,
            Level = "string",
        },
    },
});
Copy
example, err := log.NewThreatweight(ctx, "threatweightResource", &log.ThreatweightArgs{
	Applications: log.ThreatweightApplicationArray{
		&log.ThreatweightApplicationArgs{
			Category: pulumi.Int(0),
			Id:       pulumi.Int(0),
			Level:    pulumi.String("string"),
		},
	},
	BlockedConnection:        pulumi.String("string"),
	BotnetConnectionDetected: pulumi.String("string"),
	DynamicSortSubtable:      pulumi.String("string"),
	FailedConnection:         pulumi.String("string"),
	Geolocations: log.ThreatweightGeolocationArray{
		&log.ThreatweightGeolocationArgs{
			Country: pulumi.String("string"),
			Id:      pulumi.Int(0),
			Level:   pulumi.String("string"),
		},
	},
	GetAllTables: pulumi.String("string"),
	Ips: &log.ThreatweightIpsArgs{
		CriticalSeverity: pulumi.String("string"),
		HighSeverity:     pulumi.String("string"),
		InfoSeverity:     pulumi.String("string"),
		LowSeverity:      pulumi.String("string"),
		MediumSeverity:   pulumi.String("string"),
	},
	Level: &log.ThreatweightLevelArgs{
		Critical: pulumi.Int(0),
		High:     pulumi.Int(0),
		Low:      pulumi.Int(0),
		Medium:   pulumi.Int(0),
	},
	Malware: &log.ThreatweightMalwareArgs{
		BotnetConnection:        pulumi.String("string"),
		CommandBlocked:          pulumi.String("string"),
		ContentDisarm:           pulumi.String("string"),
		EmsThreatFeed:           pulumi.String("string"),
		FileBlocked:             pulumi.String("string"),
		Fortiai:                 pulumi.String("string"),
		Fortindr:                pulumi.String("string"),
		Fortisandbox:            pulumi.String("string"),
		FsaHighRisk:             pulumi.String("string"),
		FsaMalicious:            pulumi.String("string"),
		FsaMediumRisk:           pulumi.String("string"),
		InlineBlock:             pulumi.String("string"),
		MalwareList:             pulumi.String("string"),
		Mimefragmented:          pulumi.String("string"),
		Oversized:               pulumi.String("string"),
		SwitchProto:             pulumi.String("string"),
		VirusFileTypeExecutable: pulumi.String("string"),
		VirusInfected:           pulumi.String("string"),
		VirusOutbreakPrevention: pulumi.String("string"),
		VirusScanError:          pulumi.String("string"),
	},
	Status:           pulumi.String("string"),
	UrlBlockDetected: pulumi.String("string"),
	Vdomparam:        pulumi.String("string"),
	Webs: log.ThreatweightWebArray{
		&log.ThreatweightWebArgs{
			Category: pulumi.Int(0),
			Id:       pulumi.Int(0),
			Level:    pulumi.String("string"),
		},
	},
})
Copy
var threatweightResource = new Threatweight("threatweightResource", ThreatweightArgs.builder()
    .applications(ThreatweightApplicationArgs.builder()
        .category(0)
        .id(0)
        .level("string")
        .build())
    .blockedConnection("string")
    .botnetConnectionDetected("string")
    .dynamicSortSubtable("string")
    .failedConnection("string")
    .geolocations(ThreatweightGeolocationArgs.builder()
        .country("string")
        .id(0)
        .level("string")
        .build())
    .getAllTables("string")
    .ips(ThreatweightIpsArgs.builder()
        .criticalSeverity("string")
        .highSeverity("string")
        .infoSeverity("string")
        .lowSeverity("string")
        .mediumSeverity("string")
        .build())
    .level(ThreatweightLevelArgs.builder()
        .critical(0)
        .high(0)
        .low(0)
        .medium(0)
        .build())
    .malware(ThreatweightMalwareArgs.builder()
        .botnetConnection("string")
        .commandBlocked("string")
        .contentDisarm("string")
        .emsThreatFeed("string")
        .fileBlocked("string")
        .fortiai("string")
        .fortindr("string")
        .fortisandbox("string")
        .fsaHighRisk("string")
        .fsaMalicious("string")
        .fsaMediumRisk("string")
        .inlineBlock("string")
        .malwareList("string")
        .mimefragmented("string")
        .oversized("string")
        .switchProto("string")
        .virusFileTypeExecutable("string")
        .virusInfected("string")
        .virusOutbreakPrevention("string")
        .virusScanError("string")
        .build())
    .status("string")
    .urlBlockDetected("string")
    .vdomparam("string")
    .webs(ThreatweightWebArgs.builder()
        .category(0)
        .id(0)
        .level("string")
        .build())
    .build());
Copy
threatweight_resource = fortios.log.Threatweight("threatweightResource",
    applications=[{
        "category": 0,
        "id": 0,
        "level": "string",
    }],
    blocked_connection="string",
    botnet_connection_detected="string",
    dynamic_sort_subtable="string",
    failed_connection="string",
    geolocations=[{
        "country": "string",
        "id": 0,
        "level": "string",
    }],
    get_all_tables="string",
    ips={
        "critical_severity": "string",
        "high_severity": "string",
        "info_severity": "string",
        "low_severity": "string",
        "medium_severity": "string",
    },
    level={
        "critical": 0,
        "high": 0,
        "low": 0,
        "medium": 0,
    },
    malware={
        "botnet_connection": "string",
        "command_blocked": "string",
        "content_disarm": "string",
        "ems_threat_feed": "string",
        "file_blocked": "string",
        "fortiai": "string",
        "fortindr": "string",
        "fortisandbox": "string",
        "fsa_high_risk": "string",
        "fsa_malicious": "string",
        "fsa_medium_risk": "string",
        "inline_block": "string",
        "malware_list": "string",
        "mimefragmented": "string",
        "oversized": "string",
        "switch_proto": "string",
        "virus_file_type_executable": "string",
        "virus_infected": "string",
        "virus_outbreak_prevention": "string",
        "virus_scan_error": "string",
    },
    status="string",
    url_block_detected="string",
    vdomparam="string",
    webs=[{
        "category": 0,
        "id": 0,
        "level": "string",
    }])
Copy
const threatweightResource = new fortios.log.Threatweight("threatweightResource", {
    applications: [{
        category: 0,
        id: 0,
        level: "string",
    }],
    blockedConnection: "string",
    botnetConnectionDetected: "string",
    dynamicSortSubtable: "string",
    failedConnection: "string",
    geolocations: [{
        country: "string",
        id: 0,
        level: "string",
    }],
    getAllTables: "string",
    ips: {
        criticalSeverity: "string",
        highSeverity: "string",
        infoSeverity: "string",
        lowSeverity: "string",
        mediumSeverity: "string",
    },
    level: {
        critical: 0,
        high: 0,
        low: 0,
        medium: 0,
    },
    malware: {
        botnetConnection: "string",
        commandBlocked: "string",
        contentDisarm: "string",
        emsThreatFeed: "string",
        fileBlocked: "string",
        fortiai: "string",
        fortindr: "string",
        fortisandbox: "string",
        fsaHighRisk: "string",
        fsaMalicious: "string",
        fsaMediumRisk: "string",
        inlineBlock: "string",
        malwareList: "string",
        mimefragmented: "string",
        oversized: "string",
        switchProto: "string",
        virusFileTypeExecutable: "string",
        virusInfected: "string",
        virusOutbreakPrevention: "string",
        virusScanError: "string",
    },
    status: "string",
    urlBlockDetected: "string",
    vdomparam: "string",
    webs: [{
        category: 0,
        id: 0,
        level: "string",
    }],
});
Copy
type: fortios:log:Threatweight
properties:
    applications:
        - category: 0
          id: 0
          level: string
    blockedConnection: string
    botnetConnectionDetected: string
    dynamicSortSubtable: string
    failedConnection: string
    geolocations:
        - country: string
          id: 0
          level: string
    getAllTables: string
    ips:
        criticalSeverity: string
        highSeverity: string
        infoSeverity: string
        lowSeverity: string
        mediumSeverity: string
    level:
        critical: 0
        high: 0
        low: 0
        medium: 0
    malware:
        botnetConnection: string
        commandBlocked: string
        contentDisarm: string
        emsThreatFeed: string
        fileBlocked: string
        fortiai: string
        fortindr: string
        fortisandbox: string
        fsaHighRisk: string
        fsaMalicious: string
        fsaMediumRisk: string
        inlineBlock: string
        malwareList: string
        mimefragmented: string
        oversized: string
        switchProto: string
        virusFileTypeExecutable: string
        virusInfected: string
        virusOutbreakPrevention: string
        virusScanError: string
    status: string
    urlBlockDetected: string
    vdomparam: string
    webs:
        - category: 0
          id: 0
          level: string
Copy

Threatweight 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 Threatweight resource accepts the following input properties:

Applications List<Pulumiverse.Fortios.Log.Inputs.ThreatweightApplication>
Application-control threat weight settings. The structure of application block is documented below.
BlockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
BotnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
FailedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
Geolocations List<Pulumiverse.Fortios.Log.Inputs.ThreatweightGeolocation>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
Ips Pulumiverse.Fortios.Log.Inputs.ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
Level Pulumiverse.Fortios.Log.Inputs.ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
Malware Pulumiverse.Fortios.Log.Inputs.ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
Status string
Enable/disable the threat weight feature. Valid values: enable, disable.
UrlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
Vdomparam Changes to this property will trigger replacement. 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.
Webs List<Pulumiverse.Fortios.Log.Inputs.ThreatweightWeb>
Web filtering threat weight settings. The structure of web block is documented below.
Applications []ThreatweightApplicationArgs
Application-control threat weight settings. The structure of application block is documented below.
BlockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
BotnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
FailedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
Geolocations []ThreatweightGeolocationArgs
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
Ips ThreatweightIpsArgs
IPS threat weight settings. The structure of ips block is documented below.
Level ThreatweightLevelArgs
Score mapping for threat weight levels. The structure of level block is documented below.
Malware ThreatweightMalwareArgs
Anti-virus malware threat weight settings. The structure of malware block is documented below.
Status string
Enable/disable the threat weight feature. Valid values: enable, disable.
UrlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
Vdomparam Changes to this property will trigger replacement. 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.
Webs []ThreatweightWebArgs
Web filtering threat weight settings. The structure of web block is documented below.
applications List<ThreatweightApplication>
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection String
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection String
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations List<ThreatweightGeolocation>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status String
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected String
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs List<ThreatweightWeb>
Web filtering threat weight settings. The structure of web block is documented below.
applications ThreatweightApplication[]
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations ThreatweightGeolocation[]
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status string
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs ThreatweightWeb[]
Web filtering threat weight settings. The structure of web block is documented below.
applications Sequence[ThreatweightApplicationArgs]
Application-control threat weight settings. The structure of application block is documented below.
blocked_connection str
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnet_connection_detected str
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failed_connection str
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations Sequence[ThreatweightGeolocationArgs]
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIpsArgs
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevelArgs
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalwareArgs
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status str
Enable/disable the threat weight feature. Valid values: enable, disable.
url_block_detected str
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs Sequence[ThreatweightWebArgs]
Web filtering threat weight settings. The structure of web block is documented below.
applications List<Property Map>
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection String
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection String
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations List<Property Map>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips Property Map
IPS threat weight settings. The structure of ips block is documented below.
level Property Map
Score mapping for threat weight levels. The structure of level block is documented below.
malware Property Map
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status String
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected String
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs List<Property Map>
Web filtering threat weight settings. The structure of web block is documented below.

Outputs

All input properties are implicitly available as output properties. Additionally, the Threatweight 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 Threatweight Resource

Get an existing Threatweight 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?: ThreatweightState, opts?: CustomResourceOptions): Threatweight
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        applications: Optional[Sequence[ThreatweightApplicationArgs]] = None,
        blocked_connection: Optional[str] = None,
        botnet_connection_detected: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        failed_connection: Optional[str] = None,
        geolocations: Optional[Sequence[ThreatweightGeolocationArgs]] = None,
        get_all_tables: Optional[str] = None,
        ips: Optional[ThreatweightIpsArgs] = None,
        level: Optional[ThreatweightLevelArgs] = None,
        malware: Optional[ThreatweightMalwareArgs] = None,
        status: Optional[str] = None,
        url_block_detected: Optional[str] = None,
        vdomparam: Optional[str] = None,
        webs: Optional[Sequence[ThreatweightWebArgs]] = None) -> Threatweight
func GetThreatweight(ctx *Context, name string, id IDInput, state *ThreatweightState, opts ...ResourceOption) (*Threatweight, error)
public static Threatweight Get(string name, Input<string> id, ThreatweightState? state, CustomResourceOptions? opts = null)
public static Threatweight get(String name, Output<String> id, ThreatweightState state, CustomResourceOptions options)
resources:  _:    type: fortios:log:Threatweight    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Applications List<Pulumiverse.Fortios.Log.Inputs.ThreatweightApplication>
Application-control threat weight settings. The structure of application block is documented below.
BlockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
BotnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
FailedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
Geolocations List<Pulumiverse.Fortios.Log.Inputs.ThreatweightGeolocation>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
Ips Pulumiverse.Fortios.Log.Inputs.ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
Level Pulumiverse.Fortios.Log.Inputs.ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
Malware Pulumiverse.Fortios.Log.Inputs.ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
Status string
Enable/disable the threat weight feature. Valid values: enable, disable.
UrlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
Vdomparam Changes to this property will trigger replacement. 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.
Webs List<Pulumiverse.Fortios.Log.Inputs.ThreatweightWeb>
Web filtering threat weight settings. The structure of web block is documented below.
Applications []ThreatweightApplicationArgs
Application-control threat weight settings. The structure of application block is documented below.
BlockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
BotnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
FailedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
Geolocations []ThreatweightGeolocationArgs
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
Ips ThreatweightIpsArgs
IPS threat weight settings. The structure of ips block is documented below.
Level ThreatweightLevelArgs
Score mapping for threat weight levels. The structure of level block is documented below.
Malware ThreatweightMalwareArgs
Anti-virus malware threat weight settings. The structure of malware block is documented below.
Status string
Enable/disable the threat weight feature. Valid values: enable, disable.
UrlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
Vdomparam Changes to this property will trigger replacement. 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.
Webs []ThreatweightWebArgs
Web filtering threat weight settings. The structure of web block is documented below.
applications List<ThreatweightApplication>
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection String
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection String
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations List<ThreatweightGeolocation>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status String
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected String
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs List<ThreatweightWeb>
Web filtering threat weight settings. The structure of web block is documented below.
applications ThreatweightApplication[]
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection string
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection string
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations ThreatweightGeolocation[]
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIps
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevel
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalware
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status string
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected string
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs ThreatweightWeb[]
Web filtering threat weight settings. The structure of web block is documented below.
applications Sequence[ThreatweightApplicationArgs]
Application-control threat weight settings. The structure of application block is documented below.
blocked_connection str
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnet_connection_detected str
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failed_connection str
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations Sequence[ThreatweightGeolocationArgs]
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips ThreatweightIpsArgs
IPS threat weight settings. The structure of ips block is documented below.
level ThreatweightLevelArgs
Score mapping for threat weight levels. The structure of level block is documented below.
malware ThreatweightMalwareArgs
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status str
Enable/disable the threat weight feature. Valid values: enable, disable.
url_block_detected str
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs Sequence[ThreatweightWebArgs]
Web filtering threat weight settings. The structure of web block is documented below.
applications List<Property Map>
Application-control threat weight settings. The structure of application block is documented below.
blockedConnection String
Threat weight score for blocked connections. Valid values: disable, low, medium, high, critical.
botnetConnectionDetected String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
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 ].
failedConnection String
Threat weight score for failed connections. Valid values: disable, low, medium, high, critical.
geolocations List<Property Map>
Geolocation-based threat weight settings. The structure of geolocation block is documented below.
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.
ips Property Map
IPS threat weight settings. The structure of ips block is documented below.
level Property Map
Score mapping for threat weight levels. The structure of level block is documented below.
malware Property Map
Anti-virus malware threat weight settings. The structure of malware block is documented below.
status String
Enable/disable the threat weight feature. Valid values: enable, disable.
urlBlockDetected String
Threat weight score for URL blocking. Valid values: disable, low, medium, high, critical.
vdomparam Changes to this property will trigger replacement. 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.
webs List<Property Map>
Web filtering threat weight settings. The structure of web block is documented below.

Supporting Types

ThreatweightApplication
, ThreatweightApplicationArgs

Category int
Application category.
Id int
Entry ID.
Level string
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.
Category int
Application category.
Id int
Entry ID.
Level string
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.
category Integer
Application category.
id Integer
Entry ID.
level String
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.
category number
Application category.
id number
Entry ID.
level string
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.
category int
Application category.
id int
Entry ID.
level str
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.
category Number
Application category.
id Number
Entry ID.
level String
Threat weight score for Application events. Valid values: disable, low, medium, high, critical.

ThreatweightGeolocation
, ThreatweightGeolocationArgs

Country string
Country code.
Id int
Entry ID.
Level string
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.
Country string
Country code.
Id int
Entry ID.
Level string
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.
country String
Country code.
id Integer
Entry ID.
level String
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.
country string
Country code.
id number
Entry ID.
level string
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.
country str
Country code.
id int
Entry ID.
level str
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.
country String
Country code.
id Number
Entry ID.
level String
Threat weight score for Geolocation-based events. Valid values: disable, low, medium, high, critical.

ThreatweightIps
, ThreatweightIpsArgs

CriticalSeverity string
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
HighSeverity string
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
InfoSeverity string
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
LowSeverity string
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
MediumSeverity string
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.
CriticalSeverity string
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
HighSeverity string
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
InfoSeverity string
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
LowSeverity string
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
MediumSeverity string
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.
criticalSeverity String
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
highSeverity String
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
infoSeverity String
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
lowSeverity String
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
mediumSeverity String
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.
criticalSeverity string
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
highSeverity string
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
infoSeverity string
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
lowSeverity string
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
mediumSeverity string
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.
critical_severity str
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
high_severity str
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
info_severity str
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
low_severity str
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
medium_severity str
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.
criticalSeverity String
Threat weight score for IPS critical severity events. Valid values: disable, low, medium, high, critical.
highSeverity String
Threat weight score for IPS high severity events. Valid values: disable, low, medium, high, critical.
infoSeverity String
Threat weight score for IPS info severity events. Valid values: disable, low, medium, high, critical.
lowSeverity String
Threat weight score for IPS low severity events. Valid values: disable, low, medium, high, critical.
mediumSeverity String
Threat weight score for IPS medium severity events. Valid values: disable, low, medium, high, critical.

ThreatweightLevel
, ThreatweightLevelArgs

Critical int
Critical level score value (1 - 100).
High int
High level score value (1 - 100).
Low int
Low level score value (1 - 100).
Medium int
Medium level score value (1 - 100).
Critical int
Critical level score value (1 - 100).
High int
High level score value (1 - 100).
Low int
Low level score value (1 - 100).
Medium int
Medium level score value (1 - 100).
critical Integer
Critical level score value (1 - 100).
high Integer
High level score value (1 - 100).
low Integer
Low level score value (1 - 100).
medium Integer
Medium level score value (1 - 100).
critical number
Critical level score value (1 - 100).
high number
High level score value (1 - 100).
low number
Low level score value (1 - 100).
medium number
Medium level score value (1 - 100).
critical int
Critical level score value (1 - 100).
high int
High level score value (1 - 100).
low int
Low level score value (1 - 100).
medium int
Medium level score value (1 - 100).
critical Number
Critical level score value (1 - 100).
high Number
High level score value (1 - 100).
low Number
Low level score value (1 - 100).
medium Number
Medium level score value (1 - 100).

ThreatweightMalware
, ThreatweightMalwareArgs

BotnetConnection string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
CommandBlocked string
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
ContentDisarm string
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
EmsThreatFeed string
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
FileBlocked string
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
Fortiai string
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
Fortindr string
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
Fortisandbox string
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
FsaHighRisk string
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
FsaMalicious string
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
FsaMediumRisk string
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
InlineBlock string
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
MalwareList string
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
Mimefragmented string
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
Oversized string
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
SwitchProto string
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
VirusFileTypeExecutable string
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
VirusInfected string
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
VirusOutbreakPrevention string
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
VirusScanError string
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.
BotnetConnection string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
CommandBlocked string
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
ContentDisarm string
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
EmsThreatFeed string
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
FileBlocked string
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
Fortiai string
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
Fortindr string
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
Fortisandbox string
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
FsaHighRisk string
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
FsaMalicious string
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
FsaMediumRisk string
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
InlineBlock string
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
MalwareList string
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
Mimefragmented string
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
Oversized string
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
SwitchProto string
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
VirusFileTypeExecutable string
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
VirusInfected string
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
VirusOutbreakPrevention string
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
VirusScanError string
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.
botnetConnection String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
commandBlocked String
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
contentDisarm String
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
emsThreatFeed String
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
fileBlocked String
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
fortiai String
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
fortindr String
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
fortisandbox String
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
fsaHighRisk String
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
fsaMalicious String
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
fsaMediumRisk String
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
inlineBlock String
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
malwareList String
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
mimefragmented String
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
oversized String
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
switchProto String
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
virusFileTypeExecutable String
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
virusInfected String
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
virusOutbreakPrevention String
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
virusScanError String
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.
botnetConnection string
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
commandBlocked string
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
contentDisarm string
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
emsThreatFeed string
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
fileBlocked string
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
fortiai string
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
fortindr string
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
fortisandbox string
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
fsaHighRisk string
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
fsaMalicious string
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
fsaMediumRisk string
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
inlineBlock string
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
malwareList string
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
mimefragmented string
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
oversized string
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
switchProto string
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
virusFileTypeExecutable string
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
virusInfected string
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
virusOutbreakPrevention string
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
virusScanError string
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.
botnet_connection str
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
command_blocked str
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
content_disarm str
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
ems_threat_feed str
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
file_blocked str
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
fortiai str
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
fortindr str
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
fortisandbox str
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
fsa_high_risk str
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
fsa_malicious str
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
fsa_medium_risk str
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
inline_block str
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
malware_list str
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
mimefragmented str
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
oversized str
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
switch_proto str
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
virus_file_type_executable str
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
virus_infected str
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
virus_outbreak_prevention str
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
virus_scan_error str
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.
botnetConnection String
Threat weight score for detected botnet connections. Valid values: disable, low, medium, high, critical.
commandBlocked String
Threat weight score for blocked command detected. Valid values: disable, low, medium, high, critical.
contentDisarm String
Threat weight score for virus (content disarm) detected. Valid values: disable, low, medium, high, critical.
emsThreatFeed String
Threat weight score for virus (EMS threat feed) detected. Valid values: disable, low, medium, high, critical.
fileBlocked String
Threat weight score for blocked file detected. Valid values: disable, low, medium, high, critical.
fortiai String
Threat weight score for FortiAI-detected virus. Valid values: disable, low, medium, high, critical.
fortindr String
Threat weight score for FortiNDR-detected virus. Valid values: disable, low, medium, high, critical.
fortisandbox String
Threat weight score for FortiSandbox-detected virus. Valid values: disable, low, medium, high, critical.
fsaHighRisk String
Threat weight score for FortiSandbox high risk malware detected. Valid values: disable, low, medium, high, critical.
fsaMalicious String
Threat weight score for FortiSandbox malicious malware detected. Valid values: disable, low, medium, high, critical.
fsaMediumRisk String
Threat weight score for FortiSandbox medium risk malware detected. Valid values: disable, low, medium, high, critical.
inlineBlock String
Threat weight score for malware detected by inline block. Valid values: disable, low, medium, high, critical.
malwareList String
Threat weight score for virus (malware list) detected. Valid values: disable, low, medium, high, critical.
mimefragmented String
Threat weight score for mimefragmented detected. Valid values: disable, low, medium, high, critical.
oversized String
Threat weight score for oversized file detected. Valid values: disable, low, medium, high, critical.
switchProto String
Threat weight score for switch proto detected. Valid values: disable, low, medium, high, critical.
virusFileTypeExecutable String
Threat weight score for virus (filetype executable) detected. Valid values: disable, low, medium, high, critical.
virusInfected String
Threat weight score for virus (infected) detected. Valid values: disable, low, medium, high, critical.
virusOutbreakPrevention String
Threat weight score for virus (outbreak prevention) event. Valid values: disable, low, medium, high, critical.
virusScanError String
Threat weight score for virus (scan error) detected. Valid values: disable, low, medium, high, critical.

ThreatweightWeb
, ThreatweightWebArgs

Category int
Threat weight score for web category filtering matches.
Id int
Entry ID.
Level string
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.
Category int
Threat weight score for web category filtering matches.
Id int
Entry ID.
Level string
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.
category Integer
Threat weight score for web category filtering matches.
id Integer
Entry ID.
level String
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.
category number
Threat weight score for web category filtering matches.
id number
Entry ID.
level string
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.
category int
Threat weight score for web category filtering matches.
id int
Entry ID.
level str
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.
category Number
Threat weight score for web category filtering matches.
id Number
Entry ID.
level String
Threat weight score for web category filtering matches. Valid values: disable, low, medium, high, critical.

Import

Log ThreatWeight can be imported using any of these accepted formats:

$ pulumi import fortios:log/threatweight:Threatweight labelname LogThreatWeight
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:log/threatweight:Threatweight labelname LogThreatWeight
Copy

$ 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.