"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cspRuleTemplateSchemaV870 = exports.cspRuleTemplateSchemaV840 = exports.cspRuleTemplateSchemaV830 = void 0; var _configSchema = require("@kbn/config-schema"); var _csp_rule_template_metadata = require("./csp_rule_template_metadata"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const cspRuleTemplateSchemaV830 = _configSchema.schema.object({ audit: _configSchema.schema.string(), benchmark: _configSchema.schema.object({ name: _configSchema.schema.string(), version: _configSchema.schema.string() }), default_value: _configSchema.schema.maybe(_configSchema.schema.string()), description: _configSchema.schema.string(), enabled: _configSchema.schema.boolean(), id: _configSchema.schema.string(), impact: _configSchema.schema.maybe(_configSchema.schema.string()), muted: _configSchema.schema.boolean(), name: _configSchema.schema.string(), profile_applicability: _configSchema.schema.string(), rationale: _configSchema.schema.string(), references: _configSchema.schema.maybe(_configSchema.schema.string()), rego_rule_id: _configSchema.schema.string(), remediation: _configSchema.schema.string(), section: _configSchema.schema.string(), tags: _configSchema.schema.arrayOf(_configSchema.schema.string()), version: _configSchema.schema.string() }); exports.cspRuleTemplateSchemaV830 = cspRuleTemplateSchemaV830; const cspRuleTemplateSchemaV840 = _configSchema.schema.object({ enabled: _configSchema.schema.boolean(), metadata: _csp_rule_template_metadata.cspRuleTemplateMetadataSchemaV840, muted: _configSchema.schema.boolean() }); exports.cspRuleTemplateSchemaV840 = cspRuleTemplateSchemaV840; const cspRuleTemplateSchemaV870 = _configSchema.schema.object({ metadata: _csp_rule_template_metadata.cspRuleTemplateMetadataSchemaV870 }); exports.cspRuleTemplateSchemaV870 = cspRuleTemplateSchemaV870;