Inventory
Scan Inventory
Trigger a resource scan. By default, FortiCNAPP scans cloud integrations in order to generate or update its resource inventory once a day. This endpoint lets you trigger scans manually. This endpoint is useful, for example, after you have onboarded a new cloud integration and want to start collecting and evaluating resources from the system immediately. Manual scans can be run one hour after the last scan has completed.
Usage Example:
curl -X POST -H 'Content-Type: application/json' "https://YourAccount.lacework.net/api/v2/Inventory/scan?csp=AWS" -H "Authorization: Bearer YourAPIToken"
post/api/v2/Inventory/scan
Query parameters
csp'AWS' | 'GCP' | 'Azure' required
Cloud service provider
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Response
No Error (Scan status)