UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

155 lines (154 loc) 5.12 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 { CalculatedField } from "./CalculatedField"; import { CloudConfigurationRuleComplianceSignalOptions } from "./CloudConfigurationRuleComplianceSignalOptions"; import { SecurityMonitoringFilter } from "./SecurityMonitoringFilter"; import { SecurityMonitoringReferenceTable } from "./SecurityMonitoringReferenceTable"; import { SecurityMonitoringRuleCase } from "./SecurityMonitoringRuleCase"; import { SecurityMonitoringRuleOptions } from "./SecurityMonitoringRuleOptions"; import { SecurityMonitoringRuleTypeRead } from "./SecurityMonitoringRuleTypeRead"; import { SecurityMonitoringSchedulingOptions } from "./SecurityMonitoringSchedulingOptions"; import { SecurityMonitoringStandardRuleQuery } from "./SecurityMonitoringStandardRuleQuery"; import { SecurityMonitoringThirdPartyRuleCase } from "./SecurityMonitoringThirdPartyRuleCase"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Rule. */ export declare class SecurityMonitoringStandardRuleResponse { /** * Calculated fields. Only allowed for scheduled rules - in other words, when schedulingOptions is also defined. */ "calculatedFields"?: Array<CalculatedField>; /** * Cases for generating signals. */ "cases"?: Array<SecurityMonitoringRuleCase>; /** * How to generate compliance signals. Useful for cloud_configuration rules only. */ "complianceSignalOptions"?: CloudConfigurationRuleComplianceSignalOptions; /** * When the rule was created, timestamp in milliseconds. */ "createdAt"?: number; /** * User ID of the user who created the rule. */ "creationAuthorId"?: number; /** * Custom/Overridden message for generated signals (used in case of Default rule update). */ "customMessage"?: string; /** * Custom/Overridden name of the rule (used in case of Default rule update). */ "customName"?: string; /** * Default Tags for default rules (included in tags) */ "defaultTags"?: Array<string>; /** * When the rule will be deprecated, timestamp in milliseconds. */ "deprecationDate"?: number; /** * Additional queries to filter matched events before they are processed. This field is deprecated for log detection, signal correlation, and workload security rules. */ "filters"?: Array<SecurityMonitoringFilter>; /** * Additional grouping to perform on top of the existing groups in the query section. Must be a subset of the existing groups. */ "groupSignalsBy"?: Array<string>; /** * Whether the notifications include the triggering group-by values in their title. */ "hasExtendedTitle"?: boolean; /** * The ID of the rule. */ "id"?: string; /** * Whether the rule is included by default. */ "isDefault"?: boolean; /** * Whether the rule has been deleted. */ "isDeleted"?: boolean; /** * Whether the rule is enabled. */ "isEnabled"?: boolean; /** * Message for generated signals. */ "message"?: string; /** * The name of the rule. */ "name"?: string; /** * Options. */ "options"?: SecurityMonitoringRuleOptions; /** * Queries for selecting logs which are part of the rule. */ "queries"?: Array<SecurityMonitoringStandardRuleQuery>; /** * Reference tables for the rule. */ "referenceTables"?: Array<SecurityMonitoringReferenceTable>; /** * Options for scheduled rules. When this field is present, the rule runs based on the schedule. When absent, it runs real-time on ingested logs. */ "schedulingOptions"?: SecurityMonitoringSchedulingOptions; /** * Tags for generated signals. */ "tags"?: Array<string>; /** * Cases for generating signals from third-party rules. Only available for third-party rules. */ "thirdPartyCases"?: Array<SecurityMonitoringThirdPartyRuleCase>; /** * The rule type. */ "type"?: SecurityMonitoringRuleTypeRead; /** * User ID of the user who updated the rule. */ "updateAuthorId"?: number; /** * The date the rule was last updated, in milliseconds. */ "updatedAt"?: number; /** * The version of the rule. */ "version"?: 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(); }