Skip to content

Network Scan Global Configs

Operations for the Network Scan Global Configs service collection.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rust
Rubyv1.4.0


OperationDescription
get-global-configs
get_global_configs
Get “global-configs” for the CID
update-global-configs
update_global_configs
Update “global-configs” using provided specifications

Get “global-configs” for the CID

Method GET
Route /netscan/entities/global-configs/v1
Scope Network scanning: READ
PEP 8 get_global_configs
from falconpy import NetworkScanGlobalConfigs
falcon = NetworkScanGlobalConfigs(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.get_global_configs()
print(response)
[
{
"auto_confirm_ownership": {},
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"managed_host_group": {},
"max_concurrent_tasks": 0,
"network_scanning_enabled": false,
"scan_exclusion": {},
"scanners": [],
"scanners_exclusion": [],
"updated_by": "string",
"updated_timestamp": "string"
}
]


Update “global-configs” using provided specifications

Method PATCH
Route /netscan/entities/global-configs/v1
Scope Network scanning: WRITE
PEP 8 update_global_configs
body body · dictionary
Full body payload as JSON formatted dictionary.
auto_confirm_ownership body · object
Conditions for auto confirmation of network ownership
max_concurrent_tasks body · integer
Maximum scan tasks to run in parallel
network_scanning_enabled body · boolean
Attempts to stop ongoing network scans and disables further scans from being executed
scan_exclusion body · object
Describes scan target exclusions including common as well as zone-level like individual IPs, IP ranges, CIDRs (and CIDRs from Network subnets)
scanners body · array
Describes the list of assets that will act as eligible scanners
scanners_exclusion body · array
Describes the list of assets that will always be excluded from being selected as scanners
from falconpy import NetworkScanGlobalConfigs
falcon = NetworkScanGlobalConfigs(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
auto_confirm_ownership = {
"min_managed_assets": "integer"
}
scan_exclusion = {
"exclude_all_managed_hosts": "boolean",
"host_groups": [
"string"
],
"hosts": [
"string"
],
"zone_level_scan_exclusions": [
{
"cidrs": [
"string"
],
"host_groups": [
"string"
],
"hosts": [
"string"
],
"scan_zone_id": "string"
}
]
}
scanners = [
{
"enabled": "boolean",
"id": "string",
"type": "string"
}
]
scanners_exclusion = [
{
"enabled": "boolean",
"id": "string",
"type": "string"
}
]
response = falcon.update_global_configs(auto_confirm_ownership=auto_confirm_ownership,
max_concurrent_tasks=integer,
network_scanning_enabled=boolean,
scan_exclusion=scan_exclusion,
scanners=scanners,
scanners_exclusion=scanners_exclusion)
print(response)
[
{
"auto_confirm_ownership": {},
"cid": "string",
"created_by": "string",
"created_timestamp": "string",
"managed_host_group": {},
"max_concurrent_tasks": 0,
"network_scanning_enabled": false,
"scan_exclusion": {},
"scanners": [],
"scanners_exclusion": [],
"updated_by": "string",
"updated_timestamp": "string"
}
]