import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Audit Profile resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of audit profile resource and associated audit trails of the audit profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuditProfile = oci.datasafe.getAuditProfile({ * auditProfileId: testAuditProfileOciDataSafeAuditProfile.id, * }); * ``` */ export declare function getAuditProfile(args: GetAuditProfileArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAuditProfile. */ export interface GetAuditProfileArgs { /** * The OCID of the audit. */ auditProfileId: string; } /** * A collection of values returned by getAuditProfile. */ export interface GetAuditProfileResult { /** * Number of audit records collected in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit. */ readonly auditCollectedVolume: string; /** * The OCID of the parent audit. */ readonly auditProfileId: string; /** * Contains the list of available audit trails on the target database. */ readonly auditTrails: outputs.DataSafe.GetAuditProfileAuditTrail[]; readonly changeRetentionTrigger: number; /** * The OCID of the compartment that contains the audit profile. */ 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 audit profile. */ readonly description: string; /** * The display name of the audit profile. */ 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 audit profile. */ readonly id: string; /** * Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see [Data Safe Price List](https://www.oracle.com/cloud/price-list/#data-safe). */ readonly isOverrideGlobalPaidUsage: boolean; /** * Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings. */ readonly isOverrideGlobalRetentionSetting: boolean; /** * Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level. */ readonly isPaidUsageEnabled: boolean; /** * Details about the current state of the audit profile in Data Safe. */ readonly lifecycleDetails: string; /** * Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support. */ readonly offlineMonths: number; /** * The name or the OCID of the resource from which the offline month retention setting is sourced. For example, a global setting or a target database group OCID. */ readonly offlineMonthsSource: string; /** * Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months */ readonly onlineMonths: number; /** * The name or the OCID of the resource from which the online month retention setting is sourced. For example, a global setting or a target database group OCID. */ readonly onlineMonthsSource: string; /** * The name or the OCID of the resource from which the paid usage setting is sourced. For example, a global setting or a target database group OCID. */ readonly paidUsageSource: string; /** * The current state of the audit profile. */ readonly state: 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 the target database or target database group for which the audit profile is created. */ readonly targetId: string; /** * The resource type that is represented by the audit profile. */ readonly targetType: string; /** * The date and time the audit profile was created, in the format defined by RFC3339. */ readonly timeCreated: string; /** * The date and time the audit profile was updated, in the format defined by RFC3339. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Audit Profile resource in Oracle Cloud Infrastructure Data Safe service. * * Gets the details of audit profile resource and associated audit trails of the audit profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAuditProfile = oci.datasafe.getAuditProfile({ * auditProfileId: testAuditProfileOciDataSafeAuditProfile.id, * }); * ``` */ export declare function getAuditProfileOutput(args: GetAuditProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAuditProfile. */ export interface GetAuditProfileOutputArgs { /** * The OCID of the audit. */ auditProfileId: pulumi.Input; } //# sourceMappingURL=getAuditProfile.d.ts.map