import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Security Assessment Finding resource in Oracle Cloud Infrastructure Data Safe service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SecurityAssessmentFinding
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
 *
 *   Patches one or more findings in the specified template baseline type security assessment. Use it to modify max allowed risk level in template baseline.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testSecurityAssessmentFinding = new oci.datasafe.SecurityAssessmentFinding("test_security_assessment_finding", {
 *     securityAssessmentId: testSecurityAssessment.id,
 *     patchOperations: [{
 *         operation: securityAssessmentFindingPatchOperationsOperation,
 *         selection: securityAssessmentFindingPatchOperationsSelection,
 *         value: securityAssessmentFindingPatchOperationsValue,
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * SecurityAssessmentFindings can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataSafe/securityAssessmentFinding:SecurityAssessmentFinding test_security_assessment_finding "securityAssessments/{securityAssessmentId}/findings"
 * ```
 */
export declare class SecurityAssessmentFinding extends pulumi.CustomResource {
    /**
     * Get an existing SecurityAssessmentFinding 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<pulumi.ID>, state?: SecurityAssessmentFindingState, opts?: pulumi.CustomResourceOptions): SecurityAssessmentFinding;
    /**
     * Returns true if the given object is an instance of SecurityAssessmentFinding.  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 SecurityAssessmentFinding;
    /**
     * The OCID of the assessment that generated this finding.
     */
    readonly assessmentId: pulumi.Output<string>;
    /**
     * The category to which the finding belongs to.
     */
    readonly category: pulumi.Output<string>;
    /**
     * The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
     */
    readonly details: pulumi.Output<string[]>;
    /**
     * Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
     */
    readonly hasTargetDbRiskLevelChanged: pulumi.Output<boolean>;
    /**
     * Determines if this risk level was modified by user.
     */
    readonly isRiskModified: pulumi.Output<boolean>;
    /**
     * Indicates whether a given finding is marked as topFinding or not.
     */
    readonly isTopFinding: pulumi.Output<boolean>;
    /**
     * User provided reason for accepting or modifying this finding if they choose to do so.
     */
    readonly justification: pulumi.Output<string>;
    /**
     * The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
     */
    readonly key: pulumi.Output<string>;
    /**
     * Details about the current state of the finding.
     */
    readonly lifecycleDetails: pulumi.Output<string>;
    /**
     * Provides a recommended approach to take to remediate the finding reported.
     */
    readonly oneline: pulumi.Output<string>;
    /**
     * The severity of the finding as determined by security assessment. This cannot be modified by user.
     */
    readonly oracleDefinedSeverity: pulumi.Output<string>;
    /**
     * (Updatable)
     */
    readonly patchOperations: pulumi.Output<outputs.DataSafe.SecurityAssessmentFindingPatchOperation[] | undefined>;
    /**
     * Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
     */
    readonly references: pulumi.Output<outputs.DataSafe.SecurityAssessmentFindingReference[]>;
    /**
     * The explanation of the issue in this finding. 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<string>;
    /**
     * ** 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<string>;
    /**
     * The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
     */
    readonly severity: pulumi.Output<string>;
    /**
     * The current state of the finding.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
     */
    readonly summary: pulumi.Output<string>;
    /**
     * The OCID of the target database.
     */
    readonly targetId: pulumi.Output<string>;
    /**
     * The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The time until which the change in severity(deferred / modified) of this finding is valid.
     */
    readonly timeValidUntil: pulumi.Output<string>;
    /**
     * The short title for the finding.
     */
    readonly title: pulumi.Output<string>;
    /**
     * Create a SecurityAssessmentFinding 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: SecurityAssessmentFindingArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering SecurityAssessmentFinding resources.
 */
export interface SecurityAssessmentFindingState {
    /**
     * The OCID of the assessment that generated this finding.
     */
    assessmentId?: pulumi.Input<string | undefined>;
    /**
     * The category to which the finding belongs to.
     */
    category?: pulumi.Input<string | undefined>;
    /**
     * The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.
     */
    details?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.
     */
    hasTargetDbRiskLevelChanged?: pulumi.Input<boolean | undefined>;
    /**
     * Determines if this risk level was modified by user.
     */
    isRiskModified?: pulumi.Input<boolean | undefined>;
    /**
     * Indicates whether a given finding is marked as topFinding or not.
     */
    isTopFinding?: pulumi.Input<boolean | undefined>;
    /**
     * User provided reason for accepting or modifying this finding if they choose to do so.
     */
    justification?: pulumi.Input<string | undefined>;
    /**
     * The unique finding key. This is a system-generated identifier. To get the finding key for a finding, use ListFindings.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * Details about the current state of the finding.
     */
    lifecycleDetails?: pulumi.Input<string | undefined>;
    /**
     * Provides a recommended approach to take to remediate the finding reported.
     */
    oneline?: pulumi.Input<string | undefined>;
    /**
     * The severity of the finding as determined by security assessment. This cannot be modified by user.
     */
    oracleDefinedSeverity?: pulumi.Input<string | undefined>;
    /**
     * (Updatable)
     */
    patchOperations?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingPatchOperation>[] | undefined>;
    /**
     * Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, a STIG rule, or a GDPR Article/Recital.
     */
    references?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingReference>[] | undefined>;
    /**
     * The explanation of the issue in this finding. 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<string | 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<string | undefined>;
    /**
     * The severity of the finding as determined by security assessment and is same as oracleDefinedSeverity, unless modified by user.
     */
    severity?: pulumi.Input<string | undefined>;
    /**
     * The current state of the finding.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.
     */
    summary?: pulumi.Input<string | undefined>;
    /**
     * The OCID of the target database.
     */
    targetId?: pulumi.Input<string | undefined>;
    /**
     * The date and time the risk level of finding was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The time until which the change in severity(deferred / modified) of this finding is valid.
     */
    timeValidUntil?: pulumi.Input<string | undefined>;
    /**
     * The short title for the finding.
     */
    title?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a SecurityAssessmentFinding resource.
 */
export interface SecurityAssessmentFindingArgs {
    /**
     * (Updatable)
     */
    patchOperations?: pulumi.Input<pulumi.Input<inputs.DataSafe.SecurityAssessmentFindingPatchOperation>[] | 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<string>;
}
//# sourceMappingURL=securityAssessmentFinding.d.ts.map