Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi
oci.DataSafe.getAuditProfileTargetOverrides
Explore with Pulumi AI
This data source provides the list of Audit Profile Target Overrides in Oracle Cloud Infrastructure Data Safe service.
Gets a list of all targets whose audit settings override the target group setting.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAuditProfileTargetOverrides = oci.DataSafe.getAuditProfileTargetOverrides({
auditProfileId: testAuditProfile.id,
displayName: auditProfileTargetOverrideDisplayName,
});
import pulumi
import pulumi_oci as oci
test_audit_profile_target_overrides = oci.DataSafe.get_audit_profile_target_overrides(audit_profile_id=test_audit_profile["id"],
display_name=audit_profile_target_override_display_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetAuditProfileTargetOverrides(ctx, &datasafe.GetAuditProfileTargetOverridesArgs{
AuditProfileId: testAuditProfile.Id,
DisplayName: pulumi.StringRef(auditProfileTargetOverrideDisplayName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAuditProfileTargetOverrides = Oci.DataSafe.GetAuditProfileTargetOverrides.Invoke(new()
{
AuditProfileId = testAuditProfile.Id,
DisplayName = auditProfileTargetOverrideDisplayName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetAuditProfileTargetOverridesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAuditProfileTargetOverrides = DataSafeFunctions.getAuditProfileTargetOverrides(GetAuditProfileTargetOverridesArgs.builder()
.auditProfileId(testAuditProfile.id())
.displayName(auditProfileTargetOverrideDisplayName)
.build());
}
}
variables:
testAuditProfileTargetOverrides:
fn::invoke:
function: oci:DataSafe:getAuditProfileTargetOverrides
arguments:
auditProfileId: ${testAuditProfile.id}
displayName: ${auditProfileTargetOverrideDisplayName}
Using getAuditProfileTargetOverrides
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAuditProfileTargetOverrides(args: GetAuditProfileTargetOverridesArgs, opts?: InvokeOptions): Promise<GetAuditProfileTargetOverridesResult>
function getAuditProfileTargetOverridesOutput(args: GetAuditProfileTargetOverridesOutputArgs, opts?: InvokeOptions): Output<GetAuditProfileTargetOverridesResult>
def get_audit_profile_target_overrides(audit_profile_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetAuditProfileTargetOverridesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetAuditProfileTargetOverridesResult
def get_audit_profile_target_overrides_output(audit_profile_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAuditProfileTargetOverridesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuditProfileTargetOverridesResult]
func GetAuditProfileTargetOverrides(ctx *Context, args *GetAuditProfileTargetOverridesArgs, opts ...InvokeOption) (*GetAuditProfileTargetOverridesResult, error)
func GetAuditProfileTargetOverridesOutput(ctx *Context, args *GetAuditProfileTargetOverridesOutputArgs, opts ...InvokeOption) GetAuditProfileTargetOverridesResultOutput
> Note: This function is named GetAuditProfileTargetOverrides
in the Go SDK.
public static class GetAuditProfileTargetOverrides
{
public static Task<GetAuditProfileTargetOverridesResult> InvokeAsync(GetAuditProfileTargetOverridesArgs args, InvokeOptions? opts = null)
public static Output<GetAuditProfileTargetOverridesResult> Invoke(GetAuditProfileTargetOverridesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuditProfileTargetOverridesResult> getAuditProfileTargetOverrides(GetAuditProfileTargetOverridesArgs args, InvokeOptions options)
public static Output<GetAuditProfileTargetOverridesResult> getAuditProfileTargetOverrides(GetAuditProfileTargetOverridesArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getAuditProfileTargetOverrides:getAuditProfileTargetOverrides
arguments:
# arguments dictionary
The following arguments are supported:
- Audit
Profile stringId - The OCID of the audit.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
List<Get
Audit Profile Target Overrides Filter>
- Audit
Profile stringId - The OCID of the audit.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
[]Get
Audit Profile Target Overrides Filter
- audit
Profile StringId - The OCID of the audit.
- display
Name String - A filter to return only resources that match the specified display name.
- filters
List<Get
Audit Profile Target Overrides Filter>
- audit
Profile stringId - The OCID of the audit.
- display
Name string - A filter to return only resources that match the specified display name.
- filters
Get
Audit Profile Target Overrides Filter[]
- audit_
profile_ strid - The OCID of the audit.
- display_
name str - A filter to return only resources that match the specified display name.
- filters
Sequence[Get
Audit Profile Target Overrides Filter]
- audit
Profile StringId - The OCID of the audit.
- display
Name String - A filter to return only resources that match the specified display name.
- filters List<Property Map>
getAuditProfileTargetOverrides Result
The following output properties are available:
- Audit
Profile stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Target
Override List<GetCollections Audit Profile Target Overrides Target Override Collection> - The list of target_override_collection.
- Display
Name string - Filters
List<Get
Audit Profile Target Overrides Filter>
- Audit
Profile stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Target
Override []GetCollections Audit Profile Target Overrides Target Override Collection - The list of target_override_collection.
- Display
Name string - Filters
[]Get
Audit Profile Target Overrides Filter
- audit
Profile StringId - id String
- The provider-assigned unique ID for this managed resource.
- target
Override List<GetCollections Audit Profile Target Overrides Target Override Collection> - The list of target_override_collection.
- display
Name String - filters
List<Get
Audit Profile Target Overrides Filter>
- audit
Profile stringId - id string
- The provider-assigned unique ID for this managed resource.
- target
Override GetCollections Audit Profile Target Overrides Target Override Collection[] - The list of target_override_collection.
- display
Name string - filters
Get
Audit Profile Target Overrides Filter[]
- audit_
profile_ strid - id str
- The provider-assigned unique ID for this managed resource.
- target_
override_ Sequence[Getcollections Audit Profile Target Overrides Target Override Collection] - The list of target_override_collection.
- display_
name str - filters
Sequence[Get
Audit Profile Target Overrides Filter]
- audit
Profile StringId - id String
- The provider-assigned unique ID for this managed resource.
- target
Override List<Property Map>Collections - The list of target_override_collection.
- display
Name String - filters List<Property Map>
Supporting Types
GetAuditProfileTargetOverridesFilter
GetAuditProfileTargetOverridesTargetOverrideCollection
- Items
List<Get
Audit Profile Target Overrides Target Override Collection Item> - Array of target database override summary.
- Targets
Conforming intCount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- Targets
Count int - Number of target databases within the target database group.
- Targets
Overriding intCount - Number of target databases within the target database group that override the audit profile of the target database group.
- Targets
Overriding intOffline Months Count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- Targets
Overriding intOnline Months Count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- Targets
Overriding intPaid Usage Count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
- Items
[]Get
Audit Profile Target Overrides Target Override Collection Item - Array of target database override summary.
- Targets
Conforming intCount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- Targets
Count int - Number of target databases within the target database group.
- Targets
Overriding intCount - Number of target databases within the target database group that override the audit profile of the target database group.
- Targets
Overriding intOffline Months Count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- Targets
Overriding intOnline Months Count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- Targets
Overriding intPaid Usage Count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
- items
List<Get
Audit Profile Target Overrides Target Override Collection Item> - Array of target database override summary.
- targets
Conforming IntegerCount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- targets
Count Integer - Number of target databases within the target database group.
- targets
Overriding IntegerCount - Number of target databases within the target database group that override the audit profile of the target database group.
- targets
Overriding IntegerOffline Months Count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- targets
Overriding IntegerOnline Months Count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- targets
Overriding IntegerPaid Usage Count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
- items
Get
Audit Profile Target Overrides Target Override Collection Item[] - Array of target database override summary.
- targets
Conforming numberCount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- targets
Count number - Number of target databases within the target database group.
- targets
Overriding numberCount - Number of target databases within the target database group that override the audit profile of the target database group.
- targets
Overriding numberOffline Months Count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- targets
Overriding numberOnline Months Count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- targets
Overriding numberPaid Usage Count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
- items
Sequence[Get
Audit Profile Target Overrides Target Override Collection Item] - Array of target database override summary.
- targets_
conforming_ intcount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- targets_
count int - Number of target databases within the target database group.
- targets_
overriding_ intcount - Number of target databases within the target database group that override the audit profile of the target database group.
- targets_
overriding_ intoffline_ months_ count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- targets_
overriding_ intonline_ months_ count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- targets_
overriding_ intpaid_ usage_ count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
- items List<Property Map>
- Array of target database override summary.
- targets
Conforming NumberCount - Number of target databases within the target database group that conform with the audit profile of the target database group.
- targets
Count Number - Number of target databases within the target database group.
- targets
Overriding NumberCount - Number of target databases within the target database group that override the audit profile of the target database group.
- targets
Overriding NumberOffline Months Count - Number of target databases within the group that override the offline retention setting of the audit profile for the target database group.
- targets
Overriding NumberOnline Months Count - Number of target databases within the group that override the online retention setting of the audit profile for the target database group.
- targets
Overriding NumberPaid Usage Count - Number of target databases within the group that override the paid usage setting of the audit profile for the target database group.
GetAuditProfileTargetOverridesTargetOverrideCollectionItem
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, 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 Example:
{"Department": "Finance"}
- Is
Paid boolUsage Enabled - 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.
- Offline
Months int - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- Offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- Online
Months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- Online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- Paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- Dictionary<string, 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"}
- Target
Database stringId - The OCID of the target database that overrides from the audit profile of the target database group.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- map[string]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 Example:
{"Department": "Finance"}
- Is
Paid boolUsage Enabled - 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.
- Offline
Months int - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- Offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- Online
Months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- Online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- Paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- map[string]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"}
- Target
Database stringId - The OCID of the target database that overrides from the audit profile of the target database group.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<String,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 Example:
{"Department": "Finance"}
- is
Paid BooleanUsage Enabled - 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.
- offline
Months Integer - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- offline
Months StringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- online
Months Integer - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months StringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- paid
Usage StringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- Map<String,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"}
- target
Database StringId - The OCID of the target database that overrides from the audit profile of the target database group.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- {[key: string]: 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 Example:
{"Department": "Finance"}
- is
Paid booleanUsage Enabled - 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.
- offline
Months number - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- offline
Months stringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- online
Months number - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months stringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- paid
Usage stringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- {[key: string]: 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"}
- target
Database stringId - The OCID of the target database that overrides from the audit profile of the target database group.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- 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 Example:
{"Department": "Finance"}
- is_
paid_ boolusage_ enabled - 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.
- offline_
months int - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- offline_
months_ strsource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- online_
months int - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online_
months_ strsource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- paid_
usage_ strsource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- Mapping[str, str]
- 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"}
- target_
database_ strid - The OCID of the target database that overrides from the audit profile of the target database group.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<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 Example:
{"Department": "Finance"}
- is
Paid BooleanUsage Enabled - 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.
- offline
Months Number - 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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- offline
Months StringSource - The name or the OCID of the resource from which the offline month retention setting is sourced. For example a target database group OCID or global.
- online
Months Number - Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months
- online
Months StringSource - The name or the OCID of the resource from which the online month retention setting is sourced. For example a target database group OCID or global.
- paid
Usage StringSource - The name or the OCID of the resource from which the paid usage setting is sourced. For example a target database group OCID or global.
- Map<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"}
- target
Database StringId - The OCID of the target database that overrides from the audit profile of the target database group.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.