static_analysis_ai_prompts
Creates, updates, deletes, gets or lists a static_analysis_ai_prompts resource.
Overview
| Name | static_analysis_ai_prompts |
| Type | Resource |
| Id | datadog.security.static_analysis_ai_prompts |
Fields
The following fields are returned by SELECT queries:
- list_ai_prompts
| Name | Datatype | Description |
|---|---|---|
id | string | The prompt identifier. (example: my-ai-ruleset/my-ai-rule) |
attributes | object | Response attributes of an AI prompt. |
type | string | AI prompt resource type. (ai_prompt) (example: ai_prompt) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_ai_prompts | select | Get all AI prompts, including default prompts and custom AI rule prompts for the authenticated organization. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- list_ai_prompts
Get all AI prompts, including default prompts and custom AI rule prompts for the authenticated organization.
SELECT
id,
attributes,
type
FROM datadog.security.static_analysis_ai_prompts
;