UNPKG

@datadog/datadog-api-client

Version:
100 lines (99 loc) 2.7 kB
/** * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2020-Present Datadog, Inc. */ import { AiCustomRuleRevisionExecutionMode } from "./AiCustomRuleRevisionExecutionMode"; import { CustomRuleRevisionAttributesCategory } from "./CustomRuleRevisionAttributesCategory"; import { CustomRuleRevisionAttributesSeverity } from "./CustomRuleRevisionAttributesSeverity"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Response attributes of an AI custom rule revision. */ export declare class AiCustomRuleRevisionResponseAttributes { /** * Rule category */ "category": CustomRuleRevisionAttributesCategory; /** * Checksum of the revision content. */ "checksum": string; /** * Base64-encoded AI model content for this revision. */ "content": string; /** * The creation timestamp. */ "createdAt": Date; /** * The identifier of the user who created the revision. */ "createdBy": string; /** * The associated CWE identifier. */ "cwe": string | null; /** * Base64-encoded full description. */ "description": string; /** * Directory patterns this rule applies to. */ "directories": Array<string>; /** * The execution mode for an AI rule revision. */ "executionMode": AiCustomRuleRevisionExecutionMode; /** * File glob patterns this rule applies to. */ "globs": Array<string>; /** * Whether this is a default Datadog rule. */ "isDefault": boolean; /** * Whether this revision is published. */ "isPublished": boolean; /** * Whether this revision is for testing only. */ "isTesting": boolean; /** * Rule severity */ "severity": CustomRuleRevisionAttributesSeverity; /** * Base64-encoded short description. */ "shortDescription": string; /** * The version identifier for this revision. */ "versionId": number; /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with * the 'additionalProperties' keyword in the OAS document. */ "additionalProperties"?: { [key: string]: any; }; /** * @ignore */ "_unparsed"?: boolean; /** * @ignore */ static readonly attributeTypeMap: AttributeTypeMap; /** * @ignore */ static getAttributeTypeMap(): AttributeTypeMap; constructor(); }