oci-datasafe 2.103.0 → 2.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +116 -0
- package/lib/client.js +776 -10
- package/lib/client.js.map +1 -1
- package/lib/datasafe-waiter.d.ts +8 -0
- package/lib/datasafe-waiter.js +12 -0
- package/lib/datasafe-waiter.js.map +1 -1
- package/lib/model/change-sensitive-type-group-compartment-details.d.ts +25 -0
- package/lib/model/change-sensitive-type-group-compartment-details.js +29 -0
- package/lib/model/change-sensitive-type-group-compartment-details.js.map +1 -0
- package/lib/model/create-discovery-job-details.d.ts +6 -0
- package/lib/model/create-discovery-job-details.js.map +1 -1
- package/lib/model/create-sensitive-data-model-details.d.ts +6 -0
- package/lib/model/create-sensitive-data-model-details.js.map +1 -1
- package/lib/model/create-sensitive-type-group-details.d.ts +52 -0
- package/lib/model/create-sensitive-type-group-details.js +29 -0
- package/lib/model/create-sensitive-type-group-details.js.map +1 -0
- package/lib/model/discovery-job.d.ts +5 -0
- package/lib/model/discovery-job.js.map +1 -1
- package/lib/model/grouped-sensitive-type-collection.d.ts +26 -0
- package/lib/model/grouped-sensitive-type-collection.js +61 -0
- package/lib/model/grouped-sensitive-type-collection.js.map +1 -0
- package/lib/model/grouped-sensitive-type-summary.d.ts +25 -0
- package/lib/model/grouped-sensitive-type-summary.js +29 -0
- package/lib/model/grouped-sensitive-type-summary.js.map +1 -0
- package/lib/model/index.d.ts +30 -0
- package/lib/model/index.js +39 -9
- package/lib/model/index.js.map +1 -1
- package/lib/model/mask-data-details.d.ts +12 -0
- package/lib/model/mask-data-details.js +5 -0
- package/lib/model/mask-data-details.js.map +1 -1
- package/lib/model/masking-error-collection.d.ts +26 -0
- package/lib/model/masking-error-collection.js +61 -0
- package/lib/model/masking-error-collection.js.map +1 -0
- package/lib/model/masking-error-summary.d.ts +48 -0
- package/lib/model/masking-error-summary.js +40 -0
- package/lib/model/masking-error-summary.js.map +1 -0
- package/lib/model/masking-report-summary.d.ts +21 -0
- package/lib/model/masking-report-summary.js +10 -0
- package/lib/model/masking-report-summary.js.map +1 -1
- package/lib/model/masking-report.d.ts +21 -0
- package/lib/model/masking-report.js +10 -0
- package/lib/model/masking-report.js.map +1 -1
- package/lib/model/patch-grouped-sensitive-types-details.d.ts +26 -0
- package/lib/model/patch-grouped-sensitive-types-details.js +61 -0
- package/lib/model/patch-grouped-sensitive-types-details.js.map +1 -0
- package/lib/model/report-definition-data-source.d.ts +1 -0
- package/lib/model/report-definition-data-source.js +1 -0
- package/lib/model/report-definition-data-source.js.map +1 -1
- package/lib/model/report-definition-summary.d.ts +1 -0
- package/lib/model/report-definition-summary.js +1 -0
- package/lib/model/report-definition-summary.js.map +1 -1
- package/lib/model/report-definition.d.ts +1 -0
- package/lib/model/report-definition.js +1 -0
- package/lib/model/report-definition.js.map +1 -1
- package/lib/model/sensitive-column-analytics-collection.d.ts +26 -0
- package/lib/model/sensitive-column-analytics-collection.js +61 -0
- package/lib/model/sensitive-column-analytics-collection.js.map +1 -0
- package/lib/model/sensitive-column-analytics-dimensions.d.ts +45 -0
- package/lib/model/sensitive-column-analytics-dimensions.js +29 -0
- package/lib/model/sensitive-column-analytics-dimensions.js.map +1 -0
- package/lib/model/sensitive-column-analytics-summary.d.ts +27 -0
- package/lib/model/sensitive-column-analytics-summary.js +57 -0
- package/lib/model/sensitive-column-analytics-summary.js.map +1 -0
- package/lib/model/sensitive-data-model.d.ts +5 -0
- package/lib/model/sensitive-data-model.js.map +1 -1
- package/lib/model/sensitive-type-group-collection.d.ts +26 -0
- package/lib/model/sensitive-type-group-collection.js +61 -0
- package/lib/model/sensitive-type-group-collection.js.map +1 -0
- package/lib/model/sensitive-type-group-lifecycle-state.d.ts +32 -0
- package/lib/model/sensitive-type-group-lifecycle-state.js +43 -0
- package/lib/model/sensitive-type-group-lifecycle-state.js.map +1 -0
- package/lib/model/sensitive-type-group-summary.d.ts +83 -0
- package/lib/model/sensitive-type-group-summary.js +29 -0
- package/lib/model/sensitive-type-group-summary.js.map +1 -0
- package/lib/model/sensitive-type-group.d.ts +83 -0
- package/lib/model/sensitive-type-group.js +29 -0
- package/lib/model/sensitive-type-group.js.map +1 -0
- package/lib/model/update-sensitive-data-model-details.d.ts +5 -0
- package/lib/model/update-sensitive-data-model-details.js.map +1 -1
- package/lib/model/update-sensitive-type-group-details.d.ts +48 -0
- package/lib/model/update-sensitive-type-group-details.js +29 -0
- package/lib/model/update-sensitive-type-group-details.js.map +1 -0
- package/lib/request/change-sensitive-type-group-compartment-request.d.ts +48 -0
- package/lib/request/change-sensitive-type-group-compartment-request.js +15 -0
- package/lib/request/change-sensitive-type-group-compartment-request.js.map +1 -0
- package/lib/request/create-sensitive-type-group-request.d.ts +35 -0
- package/lib/request/create-sensitive-type-group-request.js +15 -0
- package/lib/request/create-sensitive-type-group-request.js.map +1 -0
- package/lib/request/delete-masking-report-request.d.ts +35 -0
- package/lib/request/delete-masking-report-request.js +15 -0
- package/lib/request/delete-masking-report-request.js.map +1 -0
- package/lib/request/delete-sensitive-type-group-request.d.ts +35 -0
- package/lib/request/delete-sensitive-type-group-request.js +15 -0
- package/lib/request/delete-sensitive-type-group-request.js.map +1 -0
- package/lib/request/get-sensitive-type-group-request.d.ts +26 -0
- package/lib/request/get-sensitive-type-group-request.js +15 -0
- package/lib/request/get-sensitive-type-group-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +8 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-findings-request.d.ts +54 -0
- package/lib/request/list-findings-request.js +20 -0
- package/lib/request/list-findings-request.js.map +1 -1
- package/lib/request/list-grouped-sensitive-types-request.d.ts +38 -0
- package/lib/request/list-grouped-sensitive-types-request.js +15 -0
- package/lib/request/list-grouped-sensitive-types-request.js.map +1 -0
- package/lib/request/list-masking-errors-request.d.ts +61 -0
- package/lib/request/list-masking-errors-request.js +35 -0
- package/lib/request/list-masking-errors-request.js.map +1 -0
- package/lib/request/list-sensitive-column-analytics-request.d.ts +91 -0
- package/lib/request/list-sensitive-column-analytics-request.js +30 -0
- package/lib/request/list-sensitive-column-analytics-request.js.map +1 -0
- package/lib/request/list-sensitive-type-groups-request.d.ts +105 -0
- package/lib/request/list-sensitive-type-groups-request.js +34 -0
- package/lib/request/list-sensitive-type-groups-request.js.map +1 -0
- package/lib/request/mask-data-request.d.ts +8 -0
- package/lib/request/patch-grouped-sensitive-types-request.d.ts +40 -0
- package/lib/request/patch-grouped-sensitive-types-request.js +15 -0
- package/lib/request/patch-grouped-sensitive-types-request.js.map +1 -0
- package/lib/request/update-sensitive-type-group-request.d.ts +40 -0
- package/lib/request/update-sensitive-type-group-request.js +15 -0
- package/lib/request/update-sensitive-type-group-request.js.map +1 -0
- package/lib/response/change-sensitive-type-group-compartment-response.d.ts +19 -0
- package/lib/response/change-sensitive-type-group-compartment-response.js +15 -0
- package/lib/response/change-sensitive-type-group-compartment-response.js.map +1 -0
- package/lib/response/create-sensitive-type-group-response.d.ts +38 -0
- package/lib/response/create-sensitive-type-group-response.js +15 -0
- package/lib/response/create-sensitive-type-group-response.js.map +1 -0
- package/lib/response/delete-masking-report-response.d.ts +24 -0
- package/lib/response/delete-masking-report-response.js +15 -0
- package/lib/response/delete-masking-report-response.js.map +1 -0
- package/lib/response/delete-sensitive-type-group-response.d.ts +24 -0
- package/lib/response/delete-sensitive-type-group-response.js +15 -0
- package/lib/response/delete-sensitive-type-group-response.js.map +1 -0
- package/lib/response/get-sensitive-type-group-response.d.ts +29 -0
- package/lib/response/get-sensitive-type-group-response.js +15 -0
- package/lib/response/get-sensitive-type-group-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/list-grouped-sensitive-types-response.d.ts +41 -0
- package/lib/response/list-grouped-sensitive-types-response.js +15 -0
- package/lib/response/list-grouped-sensitive-types-response.js.map +1 -0
- package/lib/response/list-masking-errors-response.d.ts +36 -0
- package/lib/response/list-masking-errors-response.js +15 -0
- package/lib/response/list-masking-errors-response.js.map +1 -0
- package/lib/response/list-sensitive-column-analytics-response.d.ts +36 -0
- package/lib/response/list-sensitive-column-analytics-response.js +15 -0
- package/lib/response/list-sensitive-column-analytics-response.js.map +1 -0
- package/lib/response/list-sensitive-type-groups-response.d.ts +36 -0
- package/lib/response/list-sensitive-type-groups-response.js +15 -0
- package/lib/response/list-sensitive-type-groups-response.js.map +1 -0
- package/lib/response/patch-grouped-sensitive-types-response.d.ts +24 -0
- package/lib/response/patch-grouped-sensitive-types-response.js +15 -0
- package/lib/response/patch-grouped-sensitive-types-response.js.map +1 -0
- package/lib/response/update-sensitive-type-group-response.d.ts +24 -0
- package/lib/response/update-sensitive-type-group-response.js +15 -0
- package/lib/response/update-sensitive-type-group-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -2151,6 +2151,63 @@ class DataSafeClient {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
});
|
|
2153
2153
|
}
|
|
2154
|
+
/**
|
|
2155
|
+
* Moves the sensitive type group to the specified compartment.
|
|
2156
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2157
|
+
* @param ChangeSensitiveTypeGroupCompartmentRequest
|
|
2158
|
+
* @return ChangeSensitiveTypeGroupCompartmentResponse
|
|
2159
|
+
* @throws OciError when an error occurs
|
|
2160
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ChangeSensitiveTypeGroupCompartment.ts.html |here} to see how to use ChangeSensitiveTypeGroupCompartment API.
|
|
2161
|
+
*/
|
|
2162
|
+
changeSensitiveTypeGroupCompartment(changeSensitiveTypeGroupCompartmentRequest) {
|
|
2163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2164
|
+
if (this.logger)
|
|
2165
|
+
this.logger.debug("Calling operation DataSafeClient#changeSensitiveTypeGroupCompartment.");
|
|
2166
|
+
const operationName = "changeSensitiveTypeGroupCompartment";
|
|
2167
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/ChangeSensitiveTypeGroupCompartment";
|
|
2168
|
+
const pathParams = {
|
|
2169
|
+
"{sensitiveTypeGroupId}": changeSensitiveTypeGroupCompartmentRequest.sensitiveTypeGroupId
|
|
2170
|
+
};
|
|
2171
|
+
const queryParams = {};
|
|
2172
|
+
let headerParams = {
|
|
2173
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2174
|
+
"if-match": changeSensitiveTypeGroupCompartmentRequest.ifMatch,
|
|
2175
|
+
"opc-request-id": changeSensitiveTypeGroupCompartmentRequest.opcRequestId,
|
|
2176
|
+
"opc-retry-token": changeSensitiveTypeGroupCompartmentRequest.opcRetryToken
|
|
2177
|
+
};
|
|
2178
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2179
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSensitiveTypeGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2180
|
+
if (this.logger)
|
|
2181
|
+
retrier.logger = this.logger;
|
|
2182
|
+
const request = yield oci_common_2.composeRequest({
|
|
2183
|
+
baseEndpoint: this._endpoint,
|
|
2184
|
+
defaultHeaders: this._defaultHeaders,
|
|
2185
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}/actions/changeCompartment",
|
|
2186
|
+
method: "POST",
|
|
2187
|
+
bodyContent: common.ObjectSerializer.serialize(changeSensitiveTypeGroupCompartmentRequest.changeSensitiveTypeGroupCompartmentDetails, "ChangeSensitiveTypeGroupCompartmentDetails", model.ChangeSensitiveTypeGroupCompartmentDetails.getJsonObj),
|
|
2188
|
+
pathParams: pathParams,
|
|
2189
|
+
headerParams: headerParams,
|
|
2190
|
+
queryParams: queryParams
|
|
2191
|
+
});
|
|
2192
|
+
try {
|
|
2193
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2194
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2195
|
+
responseObject: {},
|
|
2196
|
+
responseHeaders: [
|
|
2197
|
+
{
|
|
2198
|
+
value: response.headers.get("opc-request-id"),
|
|
2199
|
+
key: "opcRequestId",
|
|
2200
|
+
dataType: "string"
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2203
|
+
});
|
|
2204
|
+
return sdkResponse;
|
|
2205
|
+
}
|
|
2206
|
+
catch (err) {
|
|
2207
|
+
throw err;
|
|
2208
|
+
}
|
|
2209
|
+
});
|
|
2210
|
+
}
|
|
2154
2211
|
/**
|
|
2155
2212
|
* Moves the specified sensitive types export into a different compartment.
|
|
2156
2213
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -3907,6 +3964,80 @@ class DataSafeClient {
|
|
|
3907
3964
|
}
|
|
3908
3965
|
});
|
|
3909
3966
|
}
|
|
3967
|
+
/**
|
|
3968
|
+
* Creates a new sensitive type group.
|
|
3969
|
+
*
|
|
3970
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3971
|
+
* @param CreateSensitiveTypeGroupRequest
|
|
3972
|
+
* @return CreateSensitiveTypeGroupResponse
|
|
3973
|
+
* @throws OciError when an error occurs
|
|
3974
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/CreateSensitiveTypeGroup.ts.html |here} to see how to use CreateSensitiveTypeGroup API.
|
|
3975
|
+
*/
|
|
3976
|
+
createSensitiveTypeGroup(createSensitiveTypeGroupRequest) {
|
|
3977
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3978
|
+
if (this.logger)
|
|
3979
|
+
this.logger.debug("Calling operation DataSafeClient#createSensitiveTypeGroup.");
|
|
3980
|
+
const operationName = "createSensitiveTypeGroup";
|
|
3981
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/CreateSensitiveTypeGroup";
|
|
3982
|
+
const pathParams = {};
|
|
3983
|
+
const queryParams = {};
|
|
3984
|
+
let headerParams = {
|
|
3985
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3986
|
+
"opc-retry-token": createSensitiveTypeGroupRequest.opcRetryToken,
|
|
3987
|
+
"opc-request-id": createSensitiveTypeGroupRequest.opcRequestId
|
|
3988
|
+
};
|
|
3989
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3990
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSensitiveTypeGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
3991
|
+
if (this.logger)
|
|
3992
|
+
retrier.logger = this.logger;
|
|
3993
|
+
const request = yield oci_common_2.composeRequest({
|
|
3994
|
+
baseEndpoint: this._endpoint,
|
|
3995
|
+
defaultHeaders: this._defaultHeaders,
|
|
3996
|
+
path: "/sensitiveTypeGroups",
|
|
3997
|
+
method: "POST",
|
|
3998
|
+
bodyContent: common.ObjectSerializer.serialize(createSensitiveTypeGroupRequest.createSensitiveTypeGroupDetails, "CreateSensitiveTypeGroupDetails", model.CreateSensitiveTypeGroupDetails.getJsonObj),
|
|
3999
|
+
pathParams: pathParams,
|
|
4000
|
+
headerParams: headerParams,
|
|
4001
|
+
queryParams: queryParams
|
|
4002
|
+
});
|
|
4003
|
+
try {
|
|
4004
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4005
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4006
|
+
responseObject: {},
|
|
4007
|
+
body: yield response.json(),
|
|
4008
|
+
bodyKey: "sensitiveTypeGroup",
|
|
4009
|
+
bodyModel: model.SensitiveTypeGroup,
|
|
4010
|
+
type: "model.SensitiveTypeGroup",
|
|
4011
|
+
responseHeaders: [
|
|
4012
|
+
{
|
|
4013
|
+
value: response.headers.get("etag"),
|
|
4014
|
+
key: "etag",
|
|
4015
|
+
dataType: "string"
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4019
|
+
key: "opcWorkRequestId",
|
|
4020
|
+
dataType: "string"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
value: response.headers.get("opc-request-id"),
|
|
4024
|
+
key: "opcRequestId",
|
|
4025
|
+
dataType: "string"
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
value: response.headers.get("location"),
|
|
4029
|
+
key: "location",
|
|
4030
|
+
dataType: "string"
|
|
4031
|
+
}
|
|
4032
|
+
]
|
|
4033
|
+
});
|
|
4034
|
+
return sdkResponse;
|
|
4035
|
+
}
|
|
4036
|
+
catch (err) {
|
|
4037
|
+
throw err;
|
|
4038
|
+
}
|
|
4039
|
+
});
|
|
4040
|
+
}
|
|
3910
4041
|
/**
|
|
3911
4042
|
* Generates a downloadable file corresponding to the specified list of sensitive types. It's a prerequisite for the
|
|
3912
4043
|
* DownloadSensitiveTypesExport operation. Use this endpoint to generate a sensitive Types Export file and then use
|
|
@@ -4993,6 +5124,66 @@ class DataSafeClient {
|
|
|
4993
5124
|
}
|
|
4994
5125
|
});
|
|
4995
5126
|
}
|
|
5127
|
+
/**
|
|
5128
|
+
* Deletes the specified masking report.
|
|
5129
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5130
|
+
* @param DeleteMaskingReportRequest
|
|
5131
|
+
* @return DeleteMaskingReportResponse
|
|
5132
|
+
* @throws OciError when an error occurs
|
|
5133
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/DeleteMaskingReport.ts.html |here} to see how to use DeleteMaskingReport API.
|
|
5134
|
+
*/
|
|
5135
|
+
deleteMaskingReport(deleteMaskingReportRequest) {
|
|
5136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5137
|
+
if (this.logger)
|
|
5138
|
+
this.logger.debug("Calling operation DataSafeClient#deleteMaskingReport.");
|
|
5139
|
+
const operationName = "deleteMaskingReport";
|
|
5140
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingReport/DeleteMaskingReport";
|
|
5141
|
+
const pathParams = {
|
|
5142
|
+
"{maskingReportId}": deleteMaskingReportRequest.maskingReportId
|
|
5143
|
+
};
|
|
5144
|
+
const queryParams = {};
|
|
5145
|
+
let headerParams = {
|
|
5146
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5147
|
+
"if-match": deleteMaskingReportRequest.ifMatch,
|
|
5148
|
+
"opc-request-id": deleteMaskingReportRequest.opcRequestId
|
|
5149
|
+
};
|
|
5150
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5151
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMaskingReportRequest.retryConfiguration, specRetryConfiguration);
|
|
5152
|
+
if (this.logger)
|
|
5153
|
+
retrier.logger = this.logger;
|
|
5154
|
+
const request = yield oci_common_2.composeRequest({
|
|
5155
|
+
baseEndpoint: this._endpoint,
|
|
5156
|
+
defaultHeaders: this._defaultHeaders,
|
|
5157
|
+
path: "/maskingReports/{maskingReportId}",
|
|
5158
|
+
method: "DELETE",
|
|
5159
|
+
pathParams: pathParams,
|
|
5160
|
+
headerParams: headerParams,
|
|
5161
|
+
queryParams: queryParams
|
|
5162
|
+
});
|
|
5163
|
+
try {
|
|
5164
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5165
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5166
|
+
responseObject: {},
|
|
5167
|
+
responseHeaders: [
|
|
5168
|
+
{
|
|
5169
|
+
value: response.headers.get("opc-work-request-id"),
|
|
5170
|
+
key: "opcWorkRequestId",
|
|
5171
|
+
dataType: "string"
|
|
5172
|
+
},
|
|
5173
|
+
{
|
|
5174
|
+
value: response.headers.get("opc-request-id"),
|
|
5175
|
+
key: "opcRequestId",
|
|
5176
|
+
dataType: "string"
|
|
5177
|
+
}
|
|
5178
|
+
]
|
|
5179
|
+
});
|
|
5180
|
+
return sdkResponse;
|
|
5181
|
+
}
|
|
5182
|
+
catch (err) {
|
|
5183
|
+
throw err;
|
|
5184
|
+
}
|
|
5185
|
+
});
|
|
5186
|
+
}
|
|
4996
5187
|
/**
|
|
4997
5188
|
* Deletes the specified on-premises connector.
|
|
4998
5189
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -5525,6 +5716,66 @@ class DataSafeClient {
|
|
|
5525
5716
|
}
|
|
5526
5717
|
});
|
|
5527
5718
|
}
|
|
5719
|
+
/**
|
|
5720
|
+
* Deletes the specified sensitive type group.
|
|
5721
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5722
|
+
* @param DeleteSensitiveTypeGroupRequest
|
|
5723
|
+
* @return DeleteSensitiveTypeGroupResponse
|
|
5724
|
+
* @throws OciError when an error occurs
|
|
5725
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/DeleteSensitiveTypeGroup.ts.html |here} to see how to use DeleteSensitiveTypeGroup API.
|
|
5726
|
+
*/
|
|
5727
|
+
deleteSensitiveTypeGroup(deleteSensitiveTypeGroupRequest) {
|
|
5728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5729
|
+
if (this.logger)
|
|
5730
|
+
this.logger.debug("Calling operation DataSafeClient#deleteSensitiveTypeGroup.");
|
|
5731
|
+
const operationName = "deleteSensitiveTypeGroup";
|
|
5732
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/DeleteSensitiveTypeGroup";
|
|
5733
|
+
const pathParams = {
|
|
5734
|
+
"{sensitiveTypeGroupId}": deleteSensitiveTypeGroupRequest.sensitiveTypeGroupId
|
|
5735
|
+
};
|
|
5736
|
+
const queryParams = {};
|
|
5737
|
+
let headerParams = {
|
|
5738
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5739
|
+
"if-match": deleteSensitiveTypeGroupRequest.ifMatch,
|
|
5740
|
+
"opc-request-id": deleteSensitiveTypeGroupRequest.opcRequestId
|
|
5741
|
+
};
|
|
5742
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5743
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSensitiveTypeGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
5744
|
+
if (this.logger)
|
|
5745
|
+
retrier.logger = this.logger;
|
|
5746
|
+
const request = yield oci_common_2.composeRequest({
|
|
5747
|
+
baseEndpoint: this._endpoint,
|
|
5748
|
+
defaultHeaders: this._defaultHeaders,
|
|
5749
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}",
|
|
5750
|
+
method: "DELETE",
|
|
5751
|
+
pathParams: pathParams,
|
|
5752
|
+
headerParams: headerParams,
|
|
5753
|
+
queryParams: queryParams
|
|
5754
|
+
});
|
|
5755
|
+
try {
|
|
5756
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5757
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5758
|
+
responseObject: {},
|
|
5759
|
+
responseHeaders: [
|
|
5760
|
+
{
|
|
5761
|
+
value: response.headers.get("opc-work-request-id"),
|
|
5762
|
+
key: "opcWorkRequestId",
|
|
5763
|
+
dataType: "string"
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
value: response.headers.get("opc-request-id"),
|
|
5767
|
+
key: "opcRequestId",
|
|
5768
|
+
dataType: "string"
|
|
5769
|
+
}
|
|
5770
|
+
]
|
|
5771
|
+
});
|
|
5772
|
+
return sdkResponse;
|
|
5773
|
+
}
|
|
5774
|
+
catch (err) {
|
|
5775
|
+
throw err;
|
|
5776
|
+
}
|
|
5777
|
+
});
|
|
5778
|
+
}
|
|
5528
5779
|
/**
|
|
5529
5780
|
* Deletes the specified sensitive types export.
|
|
5530
5781
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -9867,6 +10118,70 @@ class DataSafeClient {
|
|
|
9867
10118
|
}
|
|
9868
10119
|
});
|
|
9869
10120
|
}
|
|
10121
|
+
/**
|
|
10122
|
+
* Gets the details of the specified sensitive type group.
|
|
10123
|
+
*
|
|
10124
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10125
|
+
* @param GetSensitiveTypeGroupRequest
|
|
10126
|
+
* @return GetSensitiveTypeGroupResponse
|
|
10127
|
+
* @throws OciError when an error occurs
|
|
10128
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/GetSensitiveTypeGroup.ts.html |here} to see how to use GetSensitiveTypeGroup API.
|
|
10129
|
+
*/
|
|
10130
|
+
getSensitiveTypeGroup(getSensitiveTypeGroupRequest) {
|
|
10131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10132
|
+
if (this.logger)
|
|
10133
|
+
this.logger.debug("Calling operation DataSafeClient#getSensitiveTypeGroup.");
|
|
10134
|
+
const operationName = "getSensitiveTypeGroup";
|
|
10135
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/GetSensitiveTypeGroup";
|
|
10136
|
+
const pathParams = {
|
|
10137
|
+
"{sensitiveTypeGroupId}": getSensitiveTypeGroupRequest.sensitiveTypeGroupId
|
|
10138
|
+
};
|
|
10139
|
+
const queryParams = {};
|
|
10140
|
+
let headerParams = {
|
|
10141
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10142
|
+
"opc-request-id": getSensitiveTypeGroupRequest.opcRequestId
|
|
10143
|
+
};
|
|
10144
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10145
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSensitiveTypeGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
10146
|
+
if (this.logger)
|
|
10147
|
+
retrier.logger = this.logger;
|
|
10148
|
+
const request = yield oci_common_2.composeRequest({
|
|
10149
|
+
baseEndpoint: this._endpoint,
|
|
10150
|
+
defaultHeaders: this._defaultHeaders,
|
|
10151
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}",
|
|
10152
|
+
method: "GET",
|
|
10153
|
+
pathParams: pathParams,
|
|
10154
|
+
headerParams: headerParams,
|
|
10155
|
+
queryParams: queryParams
|
|
10156
|
+
});
|
|
10157
|
+
try {
|
|
10158
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10159
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10160
|
+
responseObject: {},
|
|
10161
|
+
body: yield response.json(),
|
|
10162
|
+
bodyKey: "sensitiveTypeGroup",
|
|
10163
|
+
bodyModel: model.SensitiveTypeGroup,
|
|
10164
|
+
type: "model.SensitiveTypeGroup",
|
|
10165
|
+
responseHeaders: [
|
|
10166
|
+
{
|
|
10167
|
+
value: response.headers.get("etag"),
|
|
10168
|
+
key: "etag",
|
|
10169
|
+
dataType: "string"
|
|
10170
|
+
},
|
|
10171
|
+
{
|
|
10172
|
+
value: response.headers.get("opc-request-id"),
|
|
10173
|
+
key: "opcRequestId",
|
|
10174
|
+
dataType: "string"
|
|
10175
|
+
}
|
|
10176
|
+
]
|
|
10177
|
+
});
|
|
10178
|
+
return sdkResponse;
|
|
10179
|
+
}
|
|
10180
|
+
catch (err) {
|
|
10181
|
+
throw err;
|
|
10182
|
+
}
|
|
10183
|
+
});
|
|
10184
|
+
}
|
|
9870
10185
|
/**
|
|
9871
10186
|
* Gets the details of the specified sensitive types export by identifier.
|
|
9872
10187
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -12635,6 +12950,9 @@ class DataSafeClient {
|
|
|
12635
12950
|
"compartmentIdInSubtree": listFindingsRequest.compartmentIdInSubtree,
|
|
12636
12951
|
"accessLevel": listFindingsRequest.accessLevel,
|
|
12637
12952
|
"targetId": listFindingsRequest.targetId,
|
|
12953
|
+
"scimQuery": listFindingsRequest.scimQuery,
|
|
12954
|
+
"field": listFindingsRequest.field,
|
|
12955
|
+
"sortBy": listFindingsRequest.sortBy,
|
|
12638
12956
|
"findingKey": listFindingsRequest.findingKey
|
|
12639
12957
|
};
|
|
12640
12958
|
let headerParams = {
|
|
@@ -12936,23 +13254,101 @@ class DataSafeClient {
|
|
|
12936
13254
|
return oci_common_1.paginateResponses(request, req => this.listGrants(req));
|
|
12937
13255
|
}
|
|
12938
13256
|
/**
|
|
12939
|
-
* Gets
|
|
13257
|
+
* Gets the list of sensitive type Ids present in the specified sensitive type group.
|
|
12940
13258
|
*
|
|
12941
13259
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12942
|
-
* @param
|
|
12943
|
-
* @return
|
|
13260
|
+
* @param ListGroupedSensitiveTypesRequest
|
|
13261
|
+
* @return ListGroupedSensitiveTypesResponse
|
|
12944
13262
|
* @throws OciError when an error occurs
|
|
12945
|
-
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/
|
|
13263
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListGroupedSensitiveTypes.ts.html |here} to see how to use ListGroupedSensitiveTypes API.
|
|
12946
13264
|
*/
|
|
12947
|
-
|
|
13265
|
+
listGroupedSensitiveTypes(listGroupedSensitiveTypesRequest) {
|
|
12948
13266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12949
13267
|
if (this.logger)
|
|
12950
|
-
this.logger.debug("Calling operation DataSafeClient#
|
|
12951
|
-
const operationName = "
|
|
12952
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/
|
|
12953
|
-
const pathParams = {
|
|
13268
|
+
this.logger.debug("Calling operation DataSafeClient#listGroupedSensitiveTypes.");
|
|
13269
|
+
const operationName = "listGroupedSensitiveTypes";
|
|
13270
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/ListGroupedSensitiveTypes";
|
|
13271
|
+
const pathParams = {
|
|
13272
|
+
"{sensitiveTypeGroupId}": listGroupedSensitiveTypesRequest.sensitiveTypeGroupId
|
|
13273
|
+
};
|
|
12954
13274
|
const queryParams = {
|
|
12955
|
-
"
|
|
13275
|
+
"sensitiveTypeId": listGroupedSensitiveTypesRequest.sensitiveTypeId,
|
|
13276
|
+
"limit": listGroupedSensitiveTypesRequest.limit,
|
|
13277
|
+
"page": listGroupedSensitiveTypesRequest.page
|
|
13278
|
+
};
|
|
13279
|
+
let headerParams = {
|
|
13280
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13281
|
+
"opc-request-id": listGroupedSensitiveTypesRequest.opcRequestId
|
|
13282
|
+
};
|
|
13283
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13284
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGroupedSensitiveTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
13285
|
+
if (this.logger)
|
|
13286
|
+
retrier.logger = this.logger;
|
|
13287
|
+
const request = yield oci_common_2.composeRequest({
|
|
13288
|
+
baseEndpoint: this._endpoint,
|
|
13289
|
+
defaultHeaders: this._defaultHeaders,
|
|
13290
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}/groupedSensitiveTypes",
|
|
13291
|
+
method: "GET",
|
|
13292
|
+
pathParams: pathParams,
|
|
13293
|
+
headerParams: headerParams,
|
|
13294
|
+
queryParams: queryParams
|
|
13295
|
+
});
|
|
13296
|
+
try {
|
|
13297
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13298
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13299
|
+
responseObject: {},
|
|
13300
|
+
body: yield response.json(),
|
|
13301
|
+
bodyKey: "groupedSensitiveTypeCollection",
|
|
13302
|
+
bodyModel: model.GroupedSensitiveTypeCollection,
|
|
13303
|
+
type: "model.GroupedSensitiveTypeCollection",
|
|
13304
|
+
responseHeaders: [
|
|
13305
|
+
{
|
|
13306
|
+
value: response.headers.get("etag"),
|
|
13307
|
+
key: "etag",
|
|
13308
|
+
dataType: "string"
|
|
13309
|
+
},
|
|
13310
|
+
{
|
|
13311
|
+
value: response.headers.get("opc-request-id"),
|
|
13312
|
+
key: "opcRequestId",
|
|
13313
|
+
dataType: "string"
|
|
13314
|
+
},
|
|
13315
|
+
{
|
|
13316
|
+
value: response.headers.get("opc-next-page"),
|
|
13317
|
+
key: "opcNextPage",
|
|
13318
|
+
dataType: "string"
|
|
13319
|
+
},
|
|
13320
|
+
{
|
|
13321
|
+
value: response.headers.get("opc-prev-page"),
|
|
13322
|
+
key: "opcPrevPage",
|
|
13323
|
+
dataType: "string"
|
|
13324
|
+
}
|
|
13325
|
+
]
|
|
13326
|
+
});
|
|
13327
|
+
return sdkResponse;
|
|
13328
|
+
}
|
|
13329
|
+
catch (err) {
|
|
13330
|
+
throw err;
|
|
13331
|
+
}
|
|
13332
|
+
});
|
|
13333
|
+
}
|
|
13334
|
+
/**
|
|
13335
|
+
* Gets a list of library masking formats based on the specified query parameters.
|
|
13336
|
+
*
|
|
13337
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13338
|
+
* @param ListLibraryMaskingFormatsRequest
|
|
13339
|
+
* @return ListLibraryMaskingFormatsResponse
|
|
13340
|
+
* @throws OciError when an error occurs
|
|
13341
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListLibraryMaskingFormats.ts.html |here} to see how to use ListLibraryMaskingFormats API.
|
|
13342
|
+
*/
|
|
13343
|
+
listLibraryMaskingFormats(listLibraryMaskingFormatsRequest) {
|
|
13344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13345
|
+
if (this.logger)
|
|
13346
|
+
this.logger.debug("Calling operation DataSafeClient#listLibraryMaskingFormats.");
|
|
13347
|
+
const operationName = "listLibraryMaskingFormats";
|
|
13348
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/LibraryMaskingFormatSummary/ListLibraryMaskingFormats";
|
|
13349
|
+
const pathParams = {};
|
|
13350
|
+
const queryParams = {
|
|
13351
|
+
"libraryMaskingFormatId": listLibraryMaskingFormatsRequest.libraryMaskingFormatId,
|
|
12956
13352
|
"compartmentId": listLibraryMaskingFormatsRequest.compartmentId,
|
|
12957
13353
|
"compartmentIdInSubtree": listLibraryMaskingFormatsRequest.compartmentIdInSubtree,
|
|
12958
13354
|
"accessLevel": listLibraryMaskingFormatsRequest.accessLevel,
|
|
@@ -13261,6 +13657,81 @@ class DataSafeClient {
|
|
|
13261
13657
|
}
|
|
13262
13658
|
});
|
|
13263
13659
|
}
|
|
13660
|
+
/**
|
|
13661
|
+
* Gets a list of masking errors in a masking run based on the specified query parameters.
|
|
13662
|
+
*
|
|
13663
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13664
|
+
* @param ListMaskingErrorsRequest
|
|
13665
|
+
* @return ListMaskingErrorsResponse
|
|
13666
|
+
* @throws OciError when an error occurs
|
|
13667
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListMaskingErrors.ts.html |here} to see how to use ListMaskingErrors API.
|
|
13668
|
+
*/
|
|
13669
|
+
listMaskingErrors(listMaskingErrorsRequest) {
|
|
13670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13671
|
+
if (this.logger)
|
|
13672
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingErrors.");
|
|
13673
|
+
const operationName = "listMaskingErrors";
|
|
13674
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingErrorSummary/ListMaskingErrors";
|
|
13675
|
+
const pathParams = {
|
|
13676
|
+
"{maskingReportId}": listMaskingErrorsRequest.maskingReportId
|
|
13677
|
+
};
|
|
13678
|
+
const queryParams = {
|
|
13679
|
+
"stepName": listMaskingErrorsRequest.stepName,
|
|
13680
|
+
"sortBy": listMaskingErrorsRequest.sortBy,
|
|
13681
|
+
"limit": listMaskingErrorsRequest.limit,
|
|
13682
|
+
"page": listMaskingErrorsRequest.page,
|
|
13683
|
+
"sortOrder": listMaskingErrorsRequest.sortOrder
|
|
13684
|
+
};
|
|
13685
|
+
let headerParams = {
|
|
13686
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13687
|
+
"opc-request-id": listMaskingErrorsRequest.opcRequestId
|
|
13688
|
+
};
|
|
13689
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13690
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
13691
|
+
if (this.logger)
|
|
13692
|
+
retrier.logger = this.logger;
|
|
13693
|
+
const request = yield oci_common_2.composeRequest({
|
|
13694
|
+
baseEndpoint: this._endpoint,
|
|
13695
|
+
defaultHeaders: this._defaultHeaders,
|
|
13696
|
+
path: "/maskingReports/{maskingReportId}/maskingErrors",
|
|
13697
|
+
method: "GET",
|
|
13698
|
+
pathParams: pathParams,
|
|
13699
|
+
headerParams: headerParams,
|
|
13700
|
+
queryParams: queryParams
|
|
13701
|
+
});
|
|
13702
|
+
try {
|
|
13703
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13704
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13705
|
+
responseObject: {},
|
|
13706
|
+
body: yield response.json(),
|
|
13707
|
+
bodyKey: "maskingErrorCollection",
|
|
13708
|
+
bodyModel: model.MaskingErrorCollection,
|
|
13709
|
+
type: "model.MaskingErrorCollection",
|
|
13710
|
+
responseHeaders: [
|
|
13711
|
+
{
|
|
13712
|
+
value: response.headers.get("opc-request-id"),
|
|
13713
|
+
key: "opcRequestId",
|
|
13714
|
+
dataType: "string"
|
|
13715
|
+
},
|
|
13716
|
+
{
|
|
13717
|
+
value: response.headers.get("opc-next-page"),
|
|
13718
|
+
key: "opcNextPage",
|
|
13719
|
+
dataType: "string"
|
|
13720
|
+
},
|
|
13721
|
+
{
|
|
13722
|
+
value: response.headers.get("opc-prev-page"),
|
|
13723
|
+
key: "opcPrevPage",
|
|
13724
|
+
dataType: "string"
|
|
13725
|
+
}
|
|
13726
|
+
]
|
|
13727
|
+
});
|
|
13728
|
+
return sdkResponse;
|
|
13729
|
+
}
|
|
13730
|
+
catch (err) {
|
|
13731
|
+
throw err;
|
|
13732
|
+
}
|
|
13733
|
+
});
|
|
13734
|
+
}
|
|
13264
13735
|
/**
|
|
13265
13736
|
* Gets a list of masking objects present in the specified masking policy and based on the specified query parameters.
|
|
13266
13737
|
*
|
|
@@ -15616,6 +16087,96 @@ class DataSafeClient {
|
|
|
15616
16087
|
}
|
|
15617
16088
|
});
|
|
15618
16089
|
}
|
|
16090
|
+
/**
|
|
16091
|
+
* Gets consolidated sensitive columns analytics data based on the specified query parameters.
|
|
16092
|
+
* <p>
|
|
16093
|
+
When you perform the ListSensitiveColumnAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the
|
|
16094
|
+
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT
|
|
16095
|
+
* permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
|
16096
|
+
* root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
|
16097
|
+
* compartmentId, then \"Not Authorized\" is returned.
|
|
16098
|
+
* <p>
|
|
16099
|
+
To use ListSensitiveColumnAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
16100
|
+
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
16101
|
+
*
|
|
16102
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16103
|
+
* @param ListSensitiveColumnAnalyticsRequest
|
|
16104
|
+
* @return ListSensitiveColumnAnalyticsResponse
|
|
16105
|
+
* @throws OciError when an error occurs
|
|
16106
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListSensitiveColumnAnalytics.ts.html |here} to see how to use ListSensitiveColumnAnalytics API.
|
|
16107
|
+
*/
|
|
16108
|
+
listSensitiveColumnAnalytics(listSensitiveColumnAnalyticsRequest) {
|
|
16109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16110
|
+
if (this.logger)
|
|
16111
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveColumnAnalytics.");
|
|
16112
|
+
const operationName = "listSensitiveColumnAnalytics";
|
|
16113
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveDataModel/ListSensitiveColumnAnalytics";
|
|
16114
|
+
const pathParams = {};
|
|
16115
|
+
const queryParams = {
|
|
16116
|
+
"compartmentId": listSensitiveColumnAnalyticsRequest.compartmentId,
|
|
16117
|
+
"compartmentIdInSubtree": listSensitiveColumnAnalyticsRequest.compartmentIdInSubtree,
|
|
16118
|
+
"accessLevel": listSensitiveColumnAnalyticsRequest.accessLevel,
|
|
16119
|
+
"targetId": listSensitiveColumnAnalyticsRequest.targetId,
|
|
16120
|
+
"sensitiveTypeId": listSensitiveColumnAnalyticsRequest.sensitiveTypeId,
|
|
16121
|
+
"sensitiveTypeGroupId": listSensitiveColumnAnalyticsRequest.sensitiveTypeGroupId,
|
|
16122
|
+
"sensitiveDataModelId": listSensitiveColumnAnalyticsRequest.sensitiveDataModelId,
|
|
16123
|
+
"groupBy": listSensitiveColumnAnalyticsRequest.groupBy,
|
|
16124
|
+
"schemaName": listSensitiveColumnAnalyticsRequest.schemaName,
|
|
16125
|
+
"objectName": listSensitiveColumnAnalyticsRequest.objectName,
|
|
16126
|
+
"columnName": listSensitiveColumnAnalyticsRequest.columnName,
|
|
16127
|
+
"limit": listSensitiveColumnAnalyticsRequest.limit,
|
|
16128
|
+
"page": listSensitiveColumnAnalyticsRequest.page
|
|
16129
|
+
};
|
|
16130
|
+
let headerParams = {
|
|
16131
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16132
|
+
"opc-request-id": listSensitiveColumnAnalyticsRequest.opcRequestId
|
|
16133
|
+
};
|
|
16134
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16135
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveColumnAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
16136
|
+
if (this.logger)
|
|
16137
|
+
retrier.logger = this.logger;
|
|
16138
|
+
const request = yield oci_common_2.composeRequest({
|
|
16139
|
+
baseEndpoint: this._endpoint,
|
|
16140
|
+
defaultHeaders: this._defaultHeaders,
|
|
16141
|
+
path: "/sensitiveColumnAnalytics",
|
|
16142
|
+
method: "GET",
|
|
16143
|
+
pathParams: pathParams,
|
|
16144
|
+
headerParams: headerParams,
|
|
16145
|
+
queryParams: queryParams
|
|
16146
|
+
});
|
|
16147
|
+
try {
|
|
16148
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16149
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16150
|
+
responseObject: {},
|
|
16151
|
+
body: yield response.json(),
|
|
16152
|
+
bodyKey: "sensitiveColumnAnalyticsCollection",
|
|
16153
|
+
bodyModel: model.SensitiveColumnAnalyticsCollection,
|
|
16154
|
+
type: "model.SensitiveColumnAnalyticsCollection",
|
|
16155
|
+
responseHeaders: [
|
|
16156
|
+
{
|
|
16157
|
+
value: response.headers.get("opc-request-id"),
|
|
16158
|
+
key: "opcRequestId",
|
|
16159
|
+
dataType: "string"
|
|
16160
|
+
},
|
|
16161
|
+
{
|
|
16162
|
+
value: response.headers.get("opc-next-page"),
|
|
16163
|
+
key: "opcNextPage",
|
|
16164
|
+
dataType: "string"
|
|
16165
|
+
},
|
|
16166
|
+
{
|
|
16167
|
+
value: response.headers.get("opc-prev-page"),
|
|
16168
|
+
key: "opcPrevPage",
|
|
16169
|
+
dataType: "string"
|
|
16170
|
+
}
|
|
16171
|
+
]
|
|
16172
|
+
});
|
|
16173
|
+
return sdkResponse;
|
|
16174
|
+
}
|
|
16175
|
+
catch (err) {
|
|
16176
|
+
throw err;
|
|
16177
|
+
}
|
|
16178
|
+
});
|
|
16179
|
+
}
|
|
15619
16180
|
/**
|
|
15620
16181
|
* Gets a list of sensitive columns present in the specified sensitive data model based on the specified query parameters.
|
|
15621
16182
|
*
|
|
@@ -16014,6 +16575,86 @@ class DataSafeClient {
|
|
|
16014
16575
|
}
|
|
16015
16576
|
});
|
|
16016
16577
|
}
|
|
16578
|
+
/**
|
|
16579
|
+
* Gets a list of sensitive type groups based on the specified query parameters.
|
|
16580
|
+
*
|
|
16581
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16582
|
+
* @param ListSensitiveTypeGroupsRequest
|
|
16583
|
+
* @return ListSensitiveTypeGroupsResponse
|
|
16584
|
+
* @throws OciError when an error occurs
|
|
16585
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListSensitiveTypeGroups.ts.html |here} to see how to use ListSensitiveTypeGroups API.
|
|
16586
|
+
*/
|
|
16587
|
+
listSensitiveTypeGroups(listSensitiveTypeGroupsRequest) {
|
|
16588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16589
|
+
if (this.logger)
|
|
16590
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveTypeGroups.");
|
|
16591
|
+
const operationName = "listSensitiveTypeGroups";
|
|
16592
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroupSummary/ListSensitiveTypeGroups";
|
|
16593
|
+
const pathParams = {};
|
|
16594
|
+
const queryParams = {
|
|
16595
|
+
"compartmentId": listSensitiveTypeGroupsRequest.compartmentId,
|
|
16596
|
+
"compartmentIdInSubtree": listSensitiveTypeGroupsRequest.compartmentIdInSubtree,
|
|
16597
|
+
"accessLevel": listSensitiveTypeGroupsRequest.accessLevel,
|
|
16598
|
+
"displayName": listSensitiveTypeGroupsRequest.displayName,
|
|
16599
|
+
"limit": listSensitiveTypeGroupsRequest.limit,
|
|
16600
|
+
"page": listSensitiveTypeGroupsRequest.page,
|
|
16601
|
+
"lifecycleState": listSensitiveTypeGroupsRequest.lifecycleState,
|
|
16602
|
+
"sensitiveTypeGroupId": listSensitiveTypeGroupsRequest.sensitiveTypeGroupId,
|
|
16603
|
+
"timeCreatedGreaterThanOrEqualTo": listSensitiveTypeGroupsRequest.timeCreatedGreaterThanOrEqualTo,
|
|
16604
|
+
"timeCreatedLessThan": listSensitiveTypeGroupsRequest.timeCreatedLessThan,
|
|
16605
|
+
"sortOrder": listSensitiveTypeGroupsRequest.sortOrder,
|
|
16606
|
+
"sortBy": listSensitiveTypeGroupsRequest.sortBy
|
|
16607
|
+
};
|
|
16608
|
+
let headerParams = {
|
|
16609
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16610
|
+
"opc-request-id": listSensitiveTypeGroupsRequest.opcRequestId
|
|
16611
|
+
};
|
|
16612
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16613
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveTypeGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
16614
|
+
if (this.logger)
|
|
16615
|
+
retrier.logger = this.logger;
|
|
16616
|
+
const request = yield oci_common_2.composeRequest({
|
|
16617
|
+
baseEndpoint: this._endpoint,
|
|
16618
|
+
defaultHeaders: this._defaultHeaders,
|
|
16619
|
+
path: "/sensitiveTypeGroups",
|
|
16620
|
+
method: "GET",
|
|
16621
|
+
pathParams: pathParams,
|
|
16622
|
+
headerParams: headerParams,
|
|
16623
|
+
queryParams: queryParams
|
|
16624
|
+
});
|
|
16625
|
+
try {
|
|
16626
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16627
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16628
|
+
responseObject: {},
|
|
16629
|
+
body: yield response.json(),
|
|
16630
|
+
bodyKey: "sensitiveTypeGroupCollection",
|
|
16631
|
+
bodyModel: model.SensitiveTypeGroupCollection,
|
|
16632
|
+
type: "model.SensitiveTypeGroupCollection",
|
|
16633
|
+
responseHeaders: [
|
|
16634
|
+
{
|
|
16635
|
+
value: response.headers.get("opc-request-id"),
|
|
16636
|
+
key: "opcRequestId",
|
|
16637
|
+
dataType: "string"
|
|
16638
|
+
},
|
|
16639
|
+
{
|
|
16640
|
+
value: response.headers.get("opc-next-page"),
|
|
16641
|
+
key: "opcNextPage",
|
|
16642
|
+
dataType: "string"
|
|
16643
|
+
},
|
|
16644
|
+
{
|
|
16645
|
+
value: response.headers.get("opc-prev-page"),
|
|
16646
|
+
key: "opcPrevPage",
|
|
16647
|
+
dataType: "string"
|
|
16648
|
+
}
|
|
16649
|
+
]
|
|
16650
|
+
});
|
|
16651
|
+
return sdkResponse;
|
|
16652
|
+
}
|
|
16653
|
+
catch (err) {
|
|
16654
|
+
throw err;
|
|
16655
|
+
}
|
|
16656
|
+
});
|
|
16657
|
+
}
|
|
16017
16658
|
/**
|
|
16018
16659
|
* Gets a list of sensitive types based on the specified query parameters.
|
|
16019
16660
|
*
|
|
@@ -18123,6 +18764,7 @@ class DataSafeClient {
|
|
|
18123
18764
|
const queryParams = {};
|
|
18124
18765
|
let headerParams = {
|
|
18125
18766
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
18767
|
+
"opc-retry-token": maskDataRequest.opcRetryToken,
|
|
18126
18768
|
"opc-request-id": maskDataRequest.opcRequestId
|
|
18127
18769
|
};
|
|
18128
18770
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
@@ -18351,6 +18993,69 @@ class DataSafeClient {
|
|
|
18351
18993
|
}
|
|
18352
18994
|
});
|
|
18353
18995
|
}
|
|
18996
|
+
/**
|
|
18997
|
+
* Patches one or more sensitive types in a sensitive type group. You can use this operation to add or remove
|
|
18998
|
+
* sensitive type ids in a sensitive type group.
|
|
18999
|
+
*
|
|
19000
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
19001
|
+
* @param PatchGroupedSensitiveTypesRequest
|
|
19002
|
+
* @return PatchGroupedSensitiveTypesResponse
|
|
19003
|
+
* @throws OciError when an error occurs
|
|
19004
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/PatchGroupedSensitiveTypes.ts.html |here} to see how to use PatchGroupedSensitiveTypes API.
|
|
19005
|
+
*/
|
|
19006
|
+
patchGroupedSensitiveTypes(patchGroupedSensitiveTypesRequest) {
|
|
19007
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19008
|
+
if (this.logger)
|
|
19009
|
+
this.logger.debug("Calling operation DataSafeClient#patchGroupedSensitiveTypes.");
|
|
19010
|
+
const operationName = "patchGroupedSensitiveTypes";
|
|
19011
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/PatchGroupedSensitiveTypes";
|
|
19012
|
+
const pathParams = {
|
|
19013
|
+
"{sensitiveTypeGroupId}": patchGroupedSensitiveTypesRequest.sensitiveTypeGroupId
|
|
19014
|
+
};
|
|
19015
|
+
const queryParams = {};
|
|
19016
|
+
let headerParams = {
|
|
19017
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
19018
|
+
"if-match": patchGroupedSensitiveTypesRequest.ifMatch,
|
|
19019
|
+
"opc-request-id": patchGroupedSensitiveTypesRequest.opcRequestId
|
|
19020
|
+
};
|
|
19021
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
19022
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchGroupedSensitiveTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
19023
|
+
if (this.logger)
|
|
19024
|
+
retrier.logger = this.logger;
|
|
19025
|
+
const request = yield oci_common_2.composeRequest({
|
|
19026
|
+
baseEndpoint: this._endpoint,
|
|
19027
|
+
defaultHeaders: this._defaultHeaders,
|
|
19028
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}/groupedSensitiveTypes",
|
|
19029
|
+
method: "PATCH",
|
|
19030
|
+
bodyContent: common.ObjectSerializer.serialize(patchGroupedSensitiveTypesRequest.patchGroupedSensitiveTypesDetails, "PatchGroupedSensitiveTypesDetails", model.PatchGroupedSensitiveTypesDetails.getJsonObj),
|
|
19031
|
+
pathParams: pathParams,
|
|
19032
|
+
headerParams: headerParams,
|
|
19033
|
+
queryParams: queryParams
|
|
19034
|
+
});
|
|
19035
|
+
try {
|
|
19036
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
19037
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
19038
|
+
responseObject: {},
|
|
19039
|
+
responseHeaders: [
|
|
19040
|
+
{
|
|
19041
|
+
value: response.headers.get("opc-work-request-id"),
|
|
19042
|
+
key: "opcWorkRequestId",
|
|
19043
|
+
dataType: "string"
|
|
19044
|
+
},
|
|
19045
|
+
{
|
|
19046
|
+
value: response.headers.get("opc-request-id"),
|
|
19047
|
+
key: "opcRequestId",
|
|
19048
|
+
dataType: "string"
|
|
19049
|
+
}
|
|
19050
|
+
]
|
|
19051
|
+
});
|
|
19052
|
+
return sdkResponse;
|
|
19053
|
+
}
|
|
19054
|
+
catch (err) {
|
|
19055
|
+
throw err;
|
|
19056
|
+
}
|
|
19057
|
+
});
|
|
19058
|
+
}
|
|
18354
19059
|
/**
|
|
18355
19060
|
* Patches one or more columns in the specified masking policy. Use it to create, or update
|
|
18356
19061
|
* masking columns. To create masking columns, use CreateMaskingColumnDetails as the patch
|
|
@@ -21510,6 +22215,67 @@ class DataSafeClient {
|
|
|
21510
22215
|
}
|
|
21511
22216
|
});
|
|
21512
22217
|
}
|
|
22218
|
+
/**
|
|
22219
|
+
* Updates one or more attributes of the specified sensitive type group.
|
|
22220
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
22221
|
+
* @param UpdateSensitiveTypeGroupRequest
|
|
22222
|
+
* @return UpdateSensitiveTypeGroupResponse
|
|
22223
|
+
* @throws OciError when an error occurs
|
|
22224
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/UpdateSensitiveTypeGroup.ts.html |here} to see how to use UpdateSensitiveTypeGroup API.
|
|
22225
|
+
*/
|
|
22226
|
+
updateSensitiveTypeGroup(updateSensitiveTypeGroupRequest) {
|
|
22227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22228
|
+
if (this.logger)
|
|
22229
|
+
this.logger.debug("Calling operation DataSafeClient#updateSensitiveTypeGroup.");
|
|
22230
|
+
const operationName = "updateSensitiveTypeGroup";
|
|
22231
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypeGroup/UpdateSensitiveTypeGroup";
|
|
22232
|
+
const pathParams = {
|
|
22233
|
+
"{sensitiveTypeGroupId}": updateSensitiveTypeGroupRequest.sensitiveTypeGroupId
|
|
22234
|
+
};
|
|
22235
|
+
const queryParams = {};
|
|
22236
|
+
let headerParams = {
|
|
22237
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
22238
|
+
"opc-request-id": updateSensitiveTypeGroupRequest.opcRequestId,
|
|
22239
|
+
"if-match": updateSensitiveTypeGroupRequest.ifMatch
|
|
22240
|
+
};
|
|
22241
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
22242
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSensitiveTypeGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
22243
|
+
if (this.logger)
|
|
22244
|
+
retrier.logger = this.logger;
|
|
22245
|
+
const request = yield oci_common_2.composeRequest({
|
|
22246
|
+
baseEndpoint: this._endpoint,
|
|
22247
|
+
defaultHeaders: this._defaultHeaders,
|
|
22248
|
+
path: "/sensitiveTypeGroups/{sensitiveTypeGroupId}",
|
|
22249
|
+
method: "PUT",
|
|
22250
|
+
bodyContent: common.ObjectSerializer.serialize(updateSensitiveTypeGroupRequest.updateSensitiveTypeGroupDetails, "UpdateSensitiveTypeGroupDetails", model.UpdateSensitiveTypeGroupDetails.getJsonObj),
|
|
22251
|
+
pathParams: pathParams,
|
|
22252
|
+
headerParams: headerParams,
|
|
22253
|
+
queryParams: queryParams
|
|
22254
|
+
});
|
|
22255
|
+
try {
|
|
22256
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
22257
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
22258
|
+
responseObject: {},
|
|
22259
|
+
responseHeaders: [
|
|
22260
|
+
{
|
|
22261
|
+
value: response.headers.get("opc-work-request-id"),
|
|
22262
|
+
key: "opcWorkRequestId",
|
|
22263
|
+
dataType: "string"
|
|
22264
|
+
},
|
|
22265
|
+
{
|
|
22266
|
+
value: response.headers.get("opc-request-id"),
|
|
22267
|
+
key: "opcRequestId",
|
|
22268
|
+
dataType: "string"
|
|
22269
|
+
}
|
|
22270
|
+
]
|
|
22271
|
+
});
|
|
22272
|
+
return sdkResponse;
|
|
22273
|
+
}
|
|
22274
|
+
catch (err) {
|
|
22275
|
+
throw err;
|
|
22276
|
+
}
|
|
22277
|
+
});
|
|
22278
|
+
}
|
|
21513
22279
|
/**
|
|
21514
22280
|
* Updates one or more attributes of the specified sensitive types export.
|
|
21515
22281
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|