For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.security.settings.get(requestConfiguration?: RequestConfiguration<SettingsRequestBuilderGetQueryParameters>): Promise<undefined | Settings>
Description
To list CSPM scan settings, send a GET request to /v2/security/settings.
Parameters
perPage integer optional
Example: 2
Number of items returned per page
Default: 20
Min: 1
Max: 200
page integer optional
Example: 1
Which 'page' of paginated results to return.
Default: 1
Min: 1
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.security.settings.get();
Response Example
Show Response Example
{
"settings": {
"suppressions": {
"resources": []
}
}
}
See /v2/security/settings in the API reference for additional detail on responses, headers, parameters, and more.