Adds an open scan for the given target and returns a count of the number of endpoints included in the open scan.
Requires that you have a scheduled scan defined that includes the address or addresses of the scan targets, and that the Allow patterns to scan in this range check box is checked for that scan. The scheduled scan does not need to be in its specified scan time window.
target is a:
- string (IP address)
- list of IP addresses
- node, which is one of the following:
Any nodes which are of the incorrect kind are ignored.
The following is a simple example adding a snapshot scan for a specific IP address: