import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific User Assessment resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a user assessment by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUserAssessment = oci.datasafe.getUserAssessment({ * userAssessmentId: testUserAssessmentOciDataSafeUserAssessment.id, * }); * ``` */ export declare function getUserAssessment(args: GetUserAssessmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUserAssessment. */ export interface GetUserAssessmentArgs { /** * The OCID of the user assessment. */ userAssessmentId: string; } /** * A collection of values returned by getUserAssessment. */ export interface GetUserAssessmentResult { /** * The OCID of the compartment that contains the user assessment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The description of the user assessment. */ readonly description: string; /** * The display name of the user assessment. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the user assessment. */ readonly id: string; /** * List containing maps as values. Example: `{"Operations": [ {"CostCenter": "42"} ] }` */ readonly ignoredAssessmentIds: string[]; /** * List containing maps as values. Example: `{"Operations": [ {"CostCenter": "42"} ] }` */ readonly ignoredTargets: outputs.DataSafe.GetUserAssessmentIgnoredTarget[]; /** * Indicates whether the assessment is scheduled to run. */ readonly isAssessmentScheduled: boolean; /** * Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments. */ readonly isBaseline: boolean; /** * Indicates if the user assessment deviates from the baseline. */ readonly isDeviatedFromBaseline: boolean; /** * The OCID of the last user assessment baseline against which the latest assessment was compared. */ readonly lastComparedBaselineId: string; /** * Details about the current state of the user assessment. */ readonly lifecycleDetails: string; /** * Schedule of the assessment that runs periodically in this specified format: ; */ readonly schedule: string; /** * The OCID of the user assessment that is responsible for creating this scheduled save assessment. */ readonly scheduleAssessmentId: string; /** * The current state of the user assessment. */ readonly state: string; /** * Map that contains maps of values. Example: `{"Operations": {"CostCenter": "42"}}` */ readonly statistics: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The OCID of target database group. */ readonly targetDatabaseGroupId: string; readonly targetId: string; /** * Array of database target OCIDs. */ readonly targetIds: string[]; /** * Indicates whether the user assessment is for a target database or a target database group. */ readonly targetType: string; /** * The date and time the user assessment was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeCreated: string; /** * The date and time the user assessment was last executed, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeLastAssessed: string; /** * The date and time the user assessment was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: string; /** * Indicates whether the user assessment was created by the system or the user. */ readonly triggeredBy: string; /** * The type of the user assessment. The possible types are: */ readonly type: string; readonly userAssessmentId: string; } /** * This data source provides details about a specific User Assessment resource in Oracle Cloud Infrastructure Data Safe service. * * Gets a user assessment by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUserAssessment = oci.datasafe.getUserAssessment({ * userAssessmentId: testUserAssessmentOciDataSafeUserAssessment.id, * }); * ``` */ export declare function getUserAssessmentOutput(args: GetUserAssessmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUserAssessment. */ export interface GetUserAssessmentOutputArgs { /** * The OCID of the user assessment. */ userAssessmentId: pulumi.Input; } //# sourceMappingURL=getUserAssessment.d.ts.map