Configure pattern settings

Still need help?

The Atlassian Community is here for you.

Ask the community

The Pattern settings tab allows you to manage which pattern groups and patterns will be applied when Assets Discovery is executed. 

When you start the Discovery-Tool settings the first time, a preset of default patterns are selected.

If you don't want to execute particular pattern files in a specific Scan setting you can disable pattern files for Scan Settings.

Pattern groups

Individual patterns are grouped together into pattern groups. With the Pattern-Group list, you can easily select a group (for example, Windows).

To select all patterns across all pattern groups:

  1. Select All in Pattern-Group.
  2. Select the Select all button.

To use a default selection of patterns across all pattern groups:

  1. Select All in Pattern-Group.
  2. Select the Select all button.

To use a default selection of patterns for a particular pattern group:

  1. Select a particular Pattern-Group. The available pattern groups are:
    1. All - all available pattern-groups.
    2. Windows - patterns specific to Microsoft Windows devices.
    3. Linux - patterns specific to Linux and similar distributions.
    4. MacOS - patterns specific to MacOS.
    5. SNMP - patterns specific to Simple Network Management Protocol (SNMP) devices.
    6. ESXi - patterns from VMware ESXi, an enterprise-class, type-1 hypervisor.
    7. IBM - patterns from IBM.
    8. Solaris - patterns from Solaris.
    9. Custom - custom patterns. This pattern-group is empty by default.
  2. Select which patterns to enable or disable:
    1. Select default
    2. Select all
    3. Disable all

To apply only individual patterns:

  1. Select All in Pattern-Group.
  2. Select Disable all.
  3. Select a particular Pattern-Group.
  4. For each pattern-group, select which individual patterns to enable.

View and edit a pattern

It's not possible to modify the existing default patterns. You can just view the pattern or create a copy of an existing default pattern by using the Pattern Editor view (select the View or Copy button next to the pattern name). The pattern copy will be available in the Custom pattern group.

Pattern group settings Pattern editor view

If there’s any missing Information, the best practice is to add a new pattern. The missing Information will be merged to the Discovery-Object.

New custom patterns and copies of existing patterns are automatically saved to a secure storage file (patterns.bpat) in the Discovery Tools installation folder. This file can only be used on the machine where Discovery Tool is installed. You can edit custom patterns after saving them.

If needed, you can create a pattern from the existing *.pat file by importing it to Pattern Editor view. In the Pattern tab, select Create pattern, and then Import pattern from file.

Remove a pattern

  • You can disable a pattern in general by navigating to the Pattern tab and by clearing the checkbox against the unwanted pattern.
  • You can disable a pattern for a specific scan range by navigating to the Scan settings tab and selecting the pattern files that you don't want to use.
  • You can remove a custom pattern from the Pattern Editor view.

Export a pattern

You can export a created custom patterns to *.pat files by using the -exportpatterns. More about Assets commands

Last modified on Jan 6, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.