import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Security Assessment Check resource in Oracle Cloud Infrastructure Data Safe service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SecurityAssessmentCheck * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe * * Patches one or more checks in the specified template type security assessment. Use it to add or delete checks. * To add check, use CreateCheckDetails as the patch value. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSecurityAssessmentCheck = new oci.datasafe.SecurityAssessmentCheck("test_security_assessment_check", { * securityAssessmentId: testSecurityAssessment.id, * patchOperations: [{ * operation: securityAssessmentCheckPatchOperationsOperation, * selection: securityAssessmentCheckPatchOperationsSelection, * value: securityAssessmentCheckPatchOperationsValue, * }], * }); * ``` * * ## Import * * SecurityAssessmentChecks can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/securityAssessmentCheck:SecurityAssessmentCheck test_security_assessment_check "securityAssessments/{securityAssessmentId}/checks" * ``` */ export declare class SecurityAssessmentCheck extends pulumi.CustomResource { /** * Get an existing SecurityAssessmentCheck resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SecurityAssessmentCheckState, opts?: pulumi.CustomResourceOptions): SecurityAssessmentCheck; /** * Returns true if the given object is an instance of SecurityAssessmentCheck. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SecurityAssessmentCheck; /** * The category to which the check belongs to. */ readonly category: pulumi.Output; /** * A unique identifier for the check. */ readonly key: pulumi.Output; /** * Provides a recommended approach to take to remediate the check reported. */ readonly oneline: pulumi.Output; /** * (Updatable) */ readonly patchOperations: pulumi.Output; /** * Provides information on whether the check is related to a CIS Oracle Database Benchmark recommendation, STIG rule, GDPR Article/Recital or related to the Oracle Best Practice. */ readonly references: pulumi.Output; /** * The explanation of the issue in this check. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation. */ readonly remarks: pulumi.Output; /** * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly securityAssessmentId: pulumi.Output; /** * The severity of the check as suggested by Data Safe security assessment. This will be the default severity in the template baseline security assessment. */ readonly suggestedSeverity: pulumi.Output; /** * The short title for the check. */ readonly title: pulumi.Output; /** * Create a SecurityAssessmentCheck resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SecurityAssessmentCheckArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecurityAssessmentCheck resources. */ export interface SecurityAssessmentCheckState { /** * The category to which the check belongs to. */ category?: pulumi.Input; /** * A unique identifier for the check. */ key?: pulumi.Input; /** * Provides a recommended approach to take to remediate the check reported. */ oneline?: pulumi.Input; /** * (Updatable) */ patchOperations?: pulumi.Input[] | undefined>; /** * Provides information on whether the check is related to a CIS Oracle Database Benchmark recommendation, STIG rule, GDPR Article/Recital or related to the Oracle Best Practice. */ references?: pulumi.Input[] | undefined>; /** * The explanation of the issue in this check. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation. */ remarks?: pulumi.Input; /** * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ securityAssessmentId?: pulumi.Input; /** * The severity of the check as suggested by Data Safe security assessment. This will be the default severity in the template baseline security assessment. */ suggestedSeverity?: pulumi.Input; /** * The short title for the check. */ title?: pulumi.Input; } /** * The set of arguments for constructing a SecurityAssessmentCheck resource. */ export interface SecurityAssessmentCheckArgs { /** * (Updatable) */ patchOperations?: pulumi.Input[] | undefined>; /** * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ securityAssessmentId: pulumi.Input; } //# sourceMappingURL=securityAssessmentCheck.d.ts.map