Response attributes of an AI prompt.

Hierarchy

  • AiPromptResponseAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any

Rule category

checksum: string

Checksum of the prompt content.

content: string

Base64-encoded AI prompt content.

cwe?: string

The CWE identifier associated with this prompt.

description: string

Base64-encoded full description.

directories: string[]

Directory patterns this prompt applies to.

The execution mode for an AI rule revision.

fileSearchKeywords: string[]

Keywords used to search for relevant files.

globs: string[]

File glob patterns this prompt applies to.

isDefault: boolean

Whether this is a default Datadog prompt.

isTesting: boolean

Whether this prompt is for testing only.

language?: Language

Programming language

resultKeywordsExclude: string[]

Keywords to exclude from results.

ruleVersion: string

The version of the rule this prompt is associated with.

Rule severity

shortDescription: string

Base64-encoded short description.

Generated using TypeDoc