@datadog/datadog-api-client
Version:
OpenAPI client for Datadog APIs
86 lines (85 loc) • 2.34 kB
TypeScript
/**
* 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 { CloudWorkloadSecurityAgentRuleAction } from "./CloudWorkloadSecurityAgentRuleAction";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
/**
* Create a new Cloud Workload Security Agent rule.
*/
export declare class CloudWorkloadSecurityAgentRuleCreateAttributes {
/**
* The array of actions the rule can perform if triggered
*/
"actions"?: Array<CloudWorkloadSecurityAgentRuleAction>;
/**
* Constrain the rule to specific versions of the Datadog Agent.
*/
"agentVersion"?: string;
/**
* The blocking policies that the rule belongs to.
*/
"blocking"?: Array<string>;
/**
* The description of the Agent rule.
*/
"description"?: string;
/**
* The disabled policies that the rule belongs to.
*/
"disabled"?: Array<string>;
/**
* Whether the Agent rule is enabled.
*/
"enabled"?: boolean;
/**
* The SECL expression of the Agent rule.
*/
"expression": string;
/**
* The platforms the Agent rule is supported on.
*/
"filters"?: Array<string>;
/**
* The monitoring policies that the rule belongs to.
*/
"monitoring"?: Array<string>;
/**
* The name of the Agent rule.
*/
"name": string;
/**
* The ID of the policy where the Agent rule is saved.
*/
"policyId"?: string;
/**
* The list of product tags associated with the rule.
*/
"productTags"?: Array<string>;
/**
* Whether the rule is silent.
*/
"silent"?: boolean;
/**
* 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();
}