provider Service Scorecards GET
/api/v2/scorecard/rules @utdk/datadog
/api/v2/scorecard/rules List all rules
Fetch all rules.
- page[size] query
- Size for a given page. The maximum allowed value is 100.
- integer
- page[offset] query
- Specific offset to use as the beginning of the returned page.
- integer
- include query
- Include related scorecard details in the response.
- string
- filter[rule][id] query
- Filter the rules on a rule ID.
- string
- filter[rule][enabled] query
- Filter for enabled rules only.
- boolean
- filter[rule][custom] query
- Filter for custom rules only.
- boolean
- filter[rule][name] query
- Filter rules on the rule name.
- string
- filter[rule][description] query
- Filter rules on the rule description.
- string
- fields[rule] query
- Return only specific fields in the response for rule attributes.
- string
- fields[scorecard] query
- Return only specific fields in the included response for scorecard attributes.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listscorecardrules({
"page[size]": 10,
"page[offset]": 0
})