Triggering Scans of New Assets
Use events that are processed by the custom rules engine (CRE) to trigger scans on new assets when they are assigned new IP addresses.
You must have the correct license capabilities to perform the following scanning operations. If you need assistance to obtain a new or updated license key, contact your Juniper Customer Support.
Create a scan profile with the On Demand Scanning enabled.
- From the Log Activity tab, click Rules
You can also get to the rules menu from the Offenses and Network Activity tabs.
- From the Actions menu, click New Event Rule.
- Click Events, and then click Next to continue.
- Add tests to your rule list.
Click the add icon (+) icon beside when the events were detected by one or more of these log sources test.
Click the add icon (+) beside when the event QID is one of the following QIDs test.
Click the add icon (+) beside and when the source IP is one of the following IP addresses test.
- In the Rule pane, edit each rule value.
For the first rule, click these log sources and add the Asset Profiler item from the list.
For the second rule, click QIDs, then search for QIDs that are described in the following table, and add these QIDs to your rule.
Table 1: QID Names and Descriptions to Add to Rule
IP Address Created
This event occurs when a new IP address record is created for an asset.
This event occurs when a new asset is created.
For the third rule, click and so it changes to and NOT, then click IP addresses and add 127.0.0.1
The following example is the output of this rule configuration:
and NOT when the source IP is one of the following 127.0.0.1
- In the Apply text box, type a unique name for this rule, and leave Local as the default system setting, and then click Next.
- In the Rule Response section, click Trigger
From the Scan Profile to be used as a template menu, select the scan profile that you want to use.
You must select the On Demand Scanning option in the scan profile that you want to use with this rule.
Click Source for the Local IPs to Scan option.
Enter values for the Response Limiter setting.
Configure appropriate intervals to avoid a potential overload on your system.
If you don't want to start watching events right away, clear the Enable Rule option and then click Finish.