Fortinet white logo
Fortinet white logo

User Guide

Creating a tagging rule

Creating a tagging rule

Rule-based tagging allows you to automatically assign tags to assets that meet user-defined conditions. This helps categorize and organize assets enhancing searchability and filtering.

Note

Ensure tags exist before creating tagging rules. See Creating a tag.

To create a tagging rule:
  1. Go to Attack Surface Management > Asset Management.

  2. Select EASM toggle.

  3. Select the Tag Management tab.

  4. Click +Add and select Create Rules. The Create Rule dialog is displayed.

  5. Enter a Rule Name.

  6. (Optional) Enter a Description.

  7. Select Tags and Asset type.

  8. Define your rule using supported conditions.

  9. (Optional) Specify the assets to exclude from the rule.

  10. Click Preview to see a sample of assets the rule would affect displayed in the Assets Tagged section.

  11. Click Save. The new rule is added to the Tag Management > Rules tab.

Note
  • For domains, the tag will be applied to the domain, its associated sub-domains, and its IP addresses.

  • For IP prefixes, the tag will be applied to all IP addresses within the specified prefix.

  • For ASNs, the tag will be applied to the ASN's associated IP prefixes and their corresponding IP addresses.

Supported asset types and conditions

The following table details the supported asset types and conditions for rule-based tagging.

Asset Type

Conditions

Domain
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Technologies (Equals)

  • Services (Equals)

  • Parent Asset (Equals)

Sub-domain
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Technologies (Equals)

  • Services (Equals)

  • Parent Asset (Equals)

IP Address
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Services (Equals)

  • Parent Asset (Equals)

  • Countries (Equals)

  • IP Range (between)

  • Part of Prefix (Equals)

IP Prefix
  • Asset Name (Starts with, Ends with, Wildcard)

  • Parent Asset (Equals)

ASN
  • Asset Name (Starts with, Ends with, Wildcard)

  • Parent Asset (Equals)

Creating a tagging rule

Creating a tagging rule

Rule-based tagging allows you to automatically assign tags to assets that meet user-defined conditions. This helps categorize and organize assets enhancing searchability and filtering.

Note

Ensure tags exist before creating tagging rules. See Creating a tag.

To create a tagging rule:
  1. Go to Attack Surface Management > Asset Management.

  2. Select EASM toggle.

  3. Select the Tag Management tab.

  4. Click +Add and select Create Rules. The Create Rule dialog is displayed.

  5. Enter a Rule Name.

  6. (Optional) Enter a Description.

  7. Select Tags and Asset type.

  8. Define your rule using supported conditions.

  9. (Optional) Specify the assets to exclude from the rule.

  10. Click Preview to see a sample of assets the rule would affect displayed in the Assets Tagged section.

  11. Click Save. The new rule is added to the Tag Management > Rules tab.

Note
  • For domains, the tag will be applied to the domain, its associated sub-domains, and its IP addresses.

  • For IP prefixes, the tag will be applied to all IP addresses within the specified prefix.

  • For ASNs, the tag will be applied to the ASN's associated IP prefixes and their corresponding IP addresses.

Supported asset types and conditions

The following table details the supported asset types and conditions for rule-based tagging.

Asset Type

Conditions

Domain
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Technologies (Equals)

  • Services (Equals)

  • Parent Asset (Equals)

Sub-domain
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Technologies (Equals)

  • Services (Equals)

  • Parent Asset (Equals)

IP Address
  • Port (Equals)

  • Asset Name (Starts with, Ends with, Wildcard)

  • Services (Equals)

  • Parent Asset (Equals)

  • Countries (Equals)

  • IP Range (between)

  • Part of Prefix (Equals)

IP Prefix
  • Asset Name (Starts with, Ends with, Wildcard)

  • Parent Asset (Equals)

ASN
  • Asset Name (Starts with, Ends with, Wildcard)

  • Parent Asset (Equals)