Skip to content

Network Scan Templates

Operations for the Network Scan Templates service collection.

LanguageLast Update
Pythonv1.6.1
PowerShellv2.2.9
Gov0.20.0
TypeScriptv0.6.0
Rustv0.7.0
Rubyv1.2.0
OperationDescription
get_template_configs
get_template_configs
Get details on the network scan template configurations
get_templates
get_templates
Get “templates” by their IDs
create_templates
create_templates
Create “templates” using provided specifications
delete_templates
delete_templates
Delete “templates” by their IDs
update_templates
update_templates
Update “templates” using provided specifications
query_templates
query_templates
Get “templates IDs” by filter

Get details on the network scan template configurations

GET /netscan/entities/template-configs/v1
Scope Network Scan: READ Consumes · Produces application/json
PEP 8 get_template_configs
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_template_configs()
print(response)

Get “templates” by their IDs

GET /netscan/entities/templates/v1
Scope Network Scan: READ Consumes · Produces application/json
PEP 8 get_templates
NameTypeData typeDescription
idsquerystring or list of stringsIDs of “templates” to be retrieved (Min: 1, Max: 100)
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_templates(ids=id_list)
print(response)

Create “templates” using provided specifications

POST /netscan/entities/templates/v1
Scope Network Scan: WRITE Consumes · Produces application/json
PEP 8 create_templates
NameTypeData typeDescription
bodybodydictionaryFull body payload as JSON formatted dictionary.
active_check_levelbodystringThe active check level associated with the template
additional_tcp_portsbodyarrayAdditional TCP ports associated with the template
additional_udp_portsbodyarrayAdditional UDP ports associated with the template
auto_include_new_detectionsbodybooleanAutomatically include new detections in the template
detectionsbodyarrayDetections associated with the template
ignore_tcp_resetsbodybooleanIgnore TCP resets associated with the template
namebodystringThe name given to the template
ports_scan_levelbodystringThe port scan level associated with the template
scan_intensitybodystringThe scan intensity at which scans will run from this template
typebodystringThe type of the template
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.create_templates(active_check_level="string",
additional_tcp_ports=["string"],
additional_udp_ports=["string"],
auto_include_new_detections=boolean,
detections=["string"],
ignore_tcp_resets=boolean,
name="string",
ports_scan_level="string",
scan_intensity="string",
type="string")
print(response)

Delete “templates” by their IDs

DELETE /netscan/entities/templates/v1
Scope Network Scan: WRITE Consumes · Produces application/json
PEP 8 delete_templates
NameTypeData typeDescription
idsquerystring or list of stringsIDs of “templates” to be deleted (Min: 1, Max: 100)
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_templates(ids=id_list)
print(response)

Update “templates” using provided specifications

PATCH /netscan/entities/templates/v1
Scope Network Scan: WRITE Consumes · Produces application/json
PEP 8 update_templates
NameTypeData typeDescription
bodybodydictionaryFull body payload as JSON formatted dictionary.
active_check_levelbodystringThe active check level associated with the template
additional_tcp_portsbodyarrayAdditional TCP ports associated with the template
additional_udp_portsbodyarrayAdditional UDP ports associated with the template
auto_include_new_detectionsbodybooleanAutomatically include new detections in the template
detectionsbodyarrayDetections associated with the template
idbodystringThe unique identifier of the template
ignore_tcp_resetsbodybooleanIgnore TCP resets associated with the template
namebodystringThe name given to the template
ports_scan_levelbodystringThe port scan level associated with the template
scan_intensitybodystringThe scan intensity at which scans will run from this template
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.update_templates(active_check_level="string",
additional_tcp_ports=["string"],
additional_udp_ports=["string"],
auto_include_new_detections=boolean,
detections=["string"],
id="string",
ignore_tcp_resets=boolean,
name="string",
ports_scan_level="string",
scan_intensity="string")
print(response)

Get “templates IDs” by filter

GET /netscan/queries/templates/v1
Scope Network Scan: READ Consumes · Produces application/json
PEP 8 query_templates
NameTypeData typeDescription
offsetqueryintegerAn offset used with the limit parameter to manage pagination of results. On your first request, don’t provide an offset. On subsequent requests, add previous offset with the previous limit to continue from that place in the results
limitqueryintegerThe number of “templates IDs” to return in this response (Min: 1, Max: 100, Default: 100)
sortquerystringSort “templates” by their properties. A single sort field is allowed
filterquerystringSearch for “templates” by providing an FQL filter
from falconpy import NetworkScanTemplates
falcon = NetworkScanTemplates(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_templates(offset="string",
limit="string",
sort="string",
filter="string")
print(response)