Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DataSafe.getSensitiveDataModelsSensitiveColumn
Explore with Pulumi AI
This data source provides details about a specific Sensitive Data Models Sensitive Column resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified sensitive column.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSensitiveDataModelsSensitiveColumn = oci.DataSafe.getSensitiveDataModelsSensitiveColumn({
sensitiveColumnKey: sensitiveDataModelsSensitiveColumnSensitiveColumnKey,
sensitiveDataModelId: testSensitiveDataModel.id,
});
import pulumi
import pulumi_oci as oci
test_sensitive_data_models_sensitive_column = oci.DataSafe.get_sensitive_data_models_sensitive_column(sensitive_column_key=sensitive_data_models_sensitive_column_sensitive_column_key,
sensitive_data_model_id=test_sensitive_data_model["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetSensitiveDataModelsSensitiveColumn(ctx, &datasafe.GetSensitiveDataModelsSensitiveColumnArgs{
SensitiveColumnKey: sensitiveDataModelsSensitiveColumnSensitiveColumnKey,
SensitiveDataModelId: testSensitiveDataModel.Id,
}, 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 testSensitiveDataModelsSensitiveColumn = Oci.DataSafe.GetSensitiveDataModelsSensitiveColumn.Invoke(new()
{
SensitiveColumnKey = sensitiveDataModelsSensitiveColumnSensitiveColumnKey,
SensitiveDataModelId = testSensitiveDataModel.Id,
});
});
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.GetSensitiveDataModelsSensitiveColumnArgs;
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 testSensitiveDataModelsSensitiveColumn = DataSafeFunctions.getSensitiveDataModelsSensitiveColumn(GetSensitiveDataModelsSensitiveColumnArgs.builder()
.sensitiveColumnKey(sensitiveDataModelsSensitiveColumnSensitiveColumnKey)
.sensitiveDataModelId(testSensitiveDataModel.id())
.build());
}
}
variables:
testSensitiveDataModelsSensitiveColumn:
fn::invoke:
Function: oci:DataSafe:getSensitiveDataModelsSensitiveColumn
Arguments:
sensitiveColumnKey: ${sensitiveDataModelsSensitiveColumnSensitiveColumnKey}
sensitiveDataModelId: ${testSensitiveDataModel.id}
Using getSensitiveDataModelsSensitiveColumn
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 getSensitiveDataModelsSensitiveColumn(args: GetSensitiveDataModelsSensitiveColumnArgs, opts?: InvokeOptions): Promise<GetSensitiveDataModelsSensitiveColumnResult>
function getSensitiveDataModelsSensitiveColumnOutput(args: GetSensitiveDataModelsSensitiveColumnOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataModelsSensitiveColumnResult>
def get_sensitive_data_models_sensitive_column(sensitive_column_key: Optional[str] = None,
sensitive_data_model_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitiveDataModelsSensitiveColumnResult
def get_sensitive_data_models_sensitive_column_output(sensitive_column_key: Optional[pulumi.Input[str]] = None,
sensitive_data_model_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveDataModelsSensitiveColumnResult]
func GetSensitiveDataModelsSensitiveColumn(ctx *Context, args *GetSensitiveDataModelsSensitiveColumnArgs, opts ...InvokeOption) (*GetSensitiveDataModelsSensitiveColumnResult, error)
func GetSensitiveDataModelsSensitiveColumnOutput(ctx *Context, args *GetSensitiveDataModelsSensitiveColumnOutputArgs, opts ...InvokeOption) GetSensitiveDataModelsSensitiveColumnResultOutput
> Note: This function is named GetSensitiveDataModelsSensitiveColumn
in the Go SDK.
public static class GetSensitiveDataModelsSensitiveColumn
{
public static Task<GetSensitiveDataModelsSensitiveColumnResult> InvokeAsync(GetSensitiveDataModelsSensitiveColumnArgs args, InvokeOptions? opts = null)
public static Output<GetSensitiveDataModelsSensitiveColumnResult> Invoke(GetSensitiveDataModelsSensitiveColumnInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSensitiveDataModelsSensitiveColumnResult> getSensitiveDataModelsSensitiveColumn(GetSensitiveDataModelsSensitiveColumnArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getSensitiveDataModelsSensitiveColumn:getSensitiveDataModelsSensitiveColumn
arguments:
# arguments dictionary
The following arguments are supported:
- Sensitive
Column stringKey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- Sensitive
Data stringModel Id - The OCID of the sensitive data model.
- Sensitive
Column stringKey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- Sensitive
Data stringModel Id - The OCID of the sensitive data model.
- sensitive
Column StringKey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
- sensitive
Column stringKey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- sensitive
Data stringModel Id - The OCID of the sensitive data model.
- sensitive_
column_ strkey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- sensitive_
data_ strmodel_ id - The OCID of the sensitive data model.
- sensitive
Column StringKey - The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- sensitive
Data StringModel Id - The OCID of the sensitive data model.
getSensitiveDataModelsSensitiveColumn Result
The following output properties are available:
- App
Defined List<string>Child Column Keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name string - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- Column
Groups List<string> - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- Column
Name string - The name of the sensitive column.
- Data
Type string - The data type of the sensitive column.
- Db
Defined List<string>Child Column Keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Estimated
Data stringValue Count - The estimated number of data values the column has in the associated database.
- Id string
- Key string
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- Lifecycle
Details string - Details about the current state of the sensitive column.
- Object string
- The database object that contains the sensitive column.
- Object
Type string - The type of the database object that contains the sensitive column.
- Parent
Column List<string>Keys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Relation
Type string - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- Sample
Data List<string>Values - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- Schema
Name string - The database schema that contains the sensitive column.
- Sensitive
Column stringKey - Sensitive
Data stringModel Id - The OCID of the sensitive data model that contains the sensitive column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the sensitive column.
- Source string
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- State string
- The current state of the sensitive column.
- Status string
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- Time
Created string - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- Time
Updated string - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
- App
Defined []stringChild Column Keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- App
Name string - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- Column
Groups []string - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- Column
Name string - The name of the sensitive column.
- Data
Type string - The data type of the sensitive column.
- Db
Defined []stringChild Column Keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- Estimated
Data stringValue Count - The estimated number of data values the column has in the associated database.
- Id string
- Key string
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- Lifecycle
Details string - Details about the current state of the sensitive column.
- Object string
- The database object that contains the sensitive column.
- Object
Type string - The type of the database object that contains the sensitive column.
- Parent
Column []stringKeys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- Relation
Type string - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- Sample
Data []stringValues - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- Schema
Name string - The database schema that contains the sensitive column.
- Sensitive
Column stringKey - Sensitive
Data stringModel Id - The OCID of the sensitive data model that contains the sensitive column.
- Sensitive
Type stringId - The OCID of the sensitive type associated with the sensitive column.
- Source string
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- State string
- The current state of the sensitive column.
- Status string
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- Time
Created string - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- Time
Updated string - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
- app
Defined List<String>Child Column Keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name String - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- column
Groups List<String> - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- column
Name String - The name of the sensitive column.
- data
Type String - The data type of the sensitive column.
- db
Defined List<String>Child Column Keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- estimated
Data StringValue Count - The estimated number of data values the column has in the associated database.
- id String
- key String
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- lifecycle
Details String - Details about the current state of the sensitive column.
- object String
- The database object that contains the sensitive column.
- object
Type String - The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- relation
Type String - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- sample
Data List<String>Values - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- schema
Name String - The database schema that contains the sensitive column.
- sensitive
Column StringKey - sensitive
Data StringModel Id - The OCID of the sensitive data model that contains the sensitive column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the sensitive column.
- source String
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- state String
- The current state of the sensitive column.
- status String
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- time
Created String - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- time
Updated String - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
- app
Defined string[]Child Column Keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name string - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- column
Groups string[] - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- column
Name string - The name of the sensitive column.
- data
Type string - The data type of the sensitive column.
- db
Defined string[]Child Column Keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- estimated
Data stringValue Count - The estimated number of data values the column has in the associated database.
- id string
- key string
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- lifecycle
Details string - Details about the current state of the sensitive column.
- object string
- The database object that contains the sensitive column.
- object
Type string - The type of the database object that contains the sensitive column.
- parent
Column string[]Keys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- relation
Type string - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- sample
Data string[]Values - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- schema
Name string - The database schema that contains the sensitive column.
- sensitive
Column stringKey - sensitive
Data stringModel Id - The OCID of the sensitive data model that contains the sensitive column.
- sensitive
Type stringId - The OCID of the sensitive type associated with the sensitive column.
- source string
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- state string
- The current state of the sensitive column.
- status string
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- time
Created string - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- time
Updated string - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
- app_
defined_ Sequence[str]child_ column_ keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app_
name str - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- column_
groups Sequence[str] - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- column_
name str - The name of the sensitive column.
- data_
type str - The data type of the sensitive column.
- db_
defined_ Sequence[str]child_ column_ keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- estimated_
data_ strvalue_ count - The estimated number of data values the column has in the associated database.
- id str
- key str
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- lifecycle_
details str - Details about the current state of the sensitive column.
- object str
- The database object that contains the sensitive column.
- object_
type str - The type of the database object that contains the sensitive column.
- parent_
column_ Sequence[str]keys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- relation_
type str - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- sample_
data_ Sequence[str]values - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- schema_
name str - The database schema that contains the sensitive column.
- sensitive_
column_ strkey - sensitive_
data_ strmodel_ id - The OCID of the sensitive data model that contains the sensitive column.
- sensitive_
type_ strid - The OCID of the sensitive type associated with the sensitive column.
- source str
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- state str
- The current state of the sensitive column.
- status str
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- time_
created str - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- time_
updated str - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
- app
Defined List<String>Child Column Keys - Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column.
- app
Name String - The name of the application associated with the sensitive column. It's useful when the application name is different from the schema name. Otherwise, it can be ignored.
- column
Groups List<String> - The composite key groups to which the sensitive column belongs. If the column is part of a composite key, it's assigned a column group. It helps identify and manage referential relationships that involve composite keys.
- column
Name String - The name of the sensitive column.
- data
Type String - The data type of the sensitive column.
- db
Defined List<String>Child Column Keys - Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column.
- estimated
Data StringValue Count - The estimated number of data values the column has in the associated database.
- id String
- key String
- The unique key that identifies the sensitive column. It's numeric and unique within a sensitive data model.
- lifecycle
Details String - Details about the current state of the sensitive column.
- object String
- The database object that contains the sensitive column.
- object
Type String - The type of the database object that contains the sensitive column.
- parent
Column List<String>Keys - Unique keys identifying the columns that are parents of the sensitive column. At present, it tracks a single parent only.
- relation
Type String - The type of referential relationship the sensitive column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- sample
Data List<String>Values - Original data values collected for the sensitive column from the associated database. Sample data helps review the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data discovery job only if the isSampleDataCollectionEnabled attribute is set to true. At present, only one data value is collected per sensitive column.
- schema
Name String - The database schema that contains the sensitive column.
- sensitive
Column StringKey - sensitive
Data StringModel Id - The OCID of the sensitive data model that contains the sensitive column.
- sensitive
Type StringId - The OCID of the sensitive type associated with the sensitive column.
- source String
- The source of the sensitive column. DISCOVERY indicates that the column was added to the sensitive data model using a data discovery job. MANUAL indicates that the column was added manually.
- state String
- The current state of the sensitive column.
- status String
- The status of the sensitive column. VALID means the column is considered sensitive. INVALID means the column is not considered sensitive. Tracking invalid columns in a sensitive data model helps ensure that an incremental data discovery job does not identify these columns as sensitive again.
- time
Created String - The date and time, in the format defined by RFC3339, the sensitive column was created in the sensitive data model.
- time
Updated String - The date and time, in the format defined by RFC3339, the sensitive column was last updated in the sensitive data model.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.