Fortinet white logo
Fortinet white logo

CLI Reference

Raw FortiCNAPP API

Raw FortiCNAPP API

To access raw FortiCNAPP API endpoints, use the command lacework api <method> <path>.

This command is useful when troubleshooting the behavior of commands, or to access functionality that hasn't been exposed via commands.

Note

By default, all requests access APIv2, that is, they are all prefixed with /api/v2.

To explore all available schemas from the FortiCNAPP API run.

lacework api get /schemas

For a complete list of available APIv2 endpoints, visit: https://YourAccount.lacework.net/api/v2/docs

Raw FortiCNAPP API

Raw FortiCNAPP API

To access raw FortiCNAPP API endpoints, use the command lacework api <method> <path>.

This command is useful when troubleshooting the behavior of commands, or to access functionality that hasn't been exposed via commands.

Note

By default, all requests access APIv2, that is, they are all prefixed with /api/v2.

To explore all available schemas from the FortiCNAPP API run.

lacework api get /schemas

For a complete list of available APIv2 endpoints, visit: https://YourAccount.lacework.net/api/v2/docs