endorctl or curl. For a more detailed guide, see Getting started with the REST API.
The following is an example request to get the number of findings in your namespace:
- endorctl
- curl
- Run
endorctl initand your browser window will open automatically. Select your authentication provider from the available options and complete the authentication process.
- Use the
endorctlcommand-line tool to make your request. Note that you do not have to provide the namespace or access token when usingendorctlto access the Endor Labs REST API. For more information, see the Endor Labs CLI documentation.