static_analysis_ai_memories
Creates, updates, deletes, gets or lists a static_analysis_ai_memories resource.
Overview
| Name | static_analysis_ai_memories |
| Type | Resource |
| Id | datadog.security.static_analysis_ai_memories |
Fields
The following fields are returned by SELECT queries:
- list_ai_memory_violation_results
| Name | Datatype | Description |
|---|---|---|
id | string | The numeric identifier of the violation result. (example: 42) |
attributes | object | Response attributes of an AI memory violation result. |
type | string | AI memory violation result resource type. (ai_memory_violation_result) (example: ai_memory_violation_result) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_ai_memory_violation_results | select | Get all AI memory violation results for the authenticated organization. | ||
create_ai_memory_violation_result | insert | Add a new AI memory violation result for the authenticated organization. | ||
delete_ai_memory_violation_result | delete | id | Delete an AI memory violation result by its numeric identifier. |
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 |
|---|---|---|
id | string | The numeric identifier of the memory violation result. |
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_memory_violation_results
Get all AI memory violation results for the authenticated organization.
SELECT
id,
attributes,
type
FROM datadog.security.static_analysis_ai_memories
;
INSERT examples
- create_ai_memory_violation_result
- Manifest
Add a new AI memory violation result for the authenticated organization.
INSERT INTO datadog.security.static_analysis_ai_memories (
data
)
SELECT
'{{ data }}'
;
# Description fields are for documentation purposes
- name: static_analysis_ai_memories
props:
- name: data
description: |
Request data for creating an AI memory violation result.
value:
attributes:
line: {{ line }}
message: "{{ message }}"
name: "{{ name }}"
repository_id: "{{ repository_id }}"
rule: "{{ rule }}"
sha: "{{ sha }}"
type: "{{ type }}"
id: "{{ id }}"
type: "{{ type }}"
DELETE examples
- delete_ai_memory_violation_result
Delete an AI memory violation result by its numeric identifier.
DELETE FROM datadog.security.static_analysis_ai_memories
WHERE id = '{{ id }}' --required
;