UNPKG

@datadog/datadog-api-client

Version:

OpenAPI client for Datadog APIs

48 lines (47 loc) 1.56 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 { CloudConfigurationRegoRule } from "./CloudConfigurationRegoRule"; import { AttributeTypeMap } from "../../datadog-api-client-common/util"; /** * Options for cloud_configuration rules. * Fields `resourceType` and `regoRule` are mandatory when managing custom `cloud_configuration` rules. */ export declare class CloudConfigurationComplianceRuleOptions { /** * Whether the rule is a complex one. * Must be set to true if `regoRule.resourceTypes` contains more than one item. Defaults to false. */ "complexRule"?: boolean; /** * Rule details. */ "regoRule"?: CloudConfigurationRegoRule; /** * Main resource type to be checked by the rule. It should be specified again in `regoRule.resourceTypes`. */ "resourceType"?: string; /** * 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(); }