oci-datasafe 2.136.1 → 2.137.1
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 +14 -4
- package/lib/client.js +81 -4
- package/lib/client.js.map +1 -1
- package/lib/model/associated-resource-summary.d.ts +1 -0
- package/lib/model/associated-resource-summary.js +1 -0
- package/lib/model/associated-resource-summary.js.map +1 -1
- package/lib/model/audit-trail-status.d.ts +1 -1
- package/lib/model/audit-trail-status.js +1 -1
- package/lib/model/audit-trail-summary.d.ts +1 -1
- package/lib/model/columns-info.d.ts +1 -0
- package/lib/model/columns-info.js +1 -0
- package/lib/model/columns-info.js.map +1 -1
- package/lib/model/create-data-safe-private-endpoint-details.d.ts +11 -0
- package/lib/model/create-data-safe-private-endpoint-details.js.map +1 -1
- package/lib/model/create-target-alert-policy-association-details.d.ts +5 -1
- package/lib/model/create-target-alert-policy-association-details.js.map +1 -1
- package/lib/model/data-safe-private-endpoint-summary.d.ts +11 -0
- package/lib/model/data-safe-private-endpoint-summary.js.map +1 -1
- package/lib/model/data-safe-private-endpoint.d.ts +11 -0
- package/lib/model/data-safe-private-endpoint.js.map +1 -1
- package/lib/model/download-security-assessment-report-details.d.ts +12 -0
- package/lib/model/download-security-assessment-report-details.js.map +1 -1
- package/lib/model/generate-report-details.d.ts +7 -0
- package/lib/model/generate-report-details.js.map +1 -1
- package/lib/model/generate-security-assessment-report-details.d.ts +12 -0
- package/lib/model/generate-security-assessment-report-details.js.map +1 -1
- package/lib/model/include.d.ts +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +8 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/report-definition.d.ts +7 -0
- package/lib/model/report-definition.js.map +1 -1
- package/lib/model/report.d.ts +8 -0
- package/lib/model/report.js.map +1 -1
- package/lib/model/schedule-report-details.d.ts +7 -0
- package/lib/model/schedule-report-details.js.map +1 -1
- package/lib/model/target-alert-policy-association-summary.d.ts +5 -1
- package/lib/model/target-alert-policy-association-summary.js.map +1 -1
- package/lib/model/target-alert-policy-association.d.ts +14 -1
- package/lib/model/target-alert-policy-association.js +10 -0
- package/lib/model/target-alert-policy-association.js.map +1 -1
- package/lib/model/target-alert-policy-unassociated-collection.d.ts +26 -0
- package/lib/model/target-alert-policy-unassociated-collection.js +61 -0
- package/lib/model/target-alert-policy-unassociated-collection.js.map +1 -0
- package/lib/model/target-alert-policy-unassociated-summary.d.ts +62 -0
- package/lib/model/target-alert-policy-unassociated-summary.js +29 -0
- package/lib/model/target-alert-policy-unassociated-summary.js.map +1 -0
- package/lib/model/update-data-safe-private-endpoint-details.d.ts +11 -0
- package/lib/model/update-data-safe-private-endpoint-details.js.map +1 -1
- package/lib/model/work-request-summary.d.ts +1 -0
- package/lib/model/work-request-summary.js +1 -0
- package/lib/model/work-request-summary.js.map +1 -1
- package/lib/model/work-request.d.ts +1 -0
- package/lib/model/work-request.js +1 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-checks-request.d.ts +2 -1
- package/lib/request/list-checks-request.js +1 -0
- package/lib/request/list-checks-request.js.map +1 -1
- package/lib/request/list-findings-request.d.ts +13 -0
- package/lib/request/list-findings-request.js +10 -0
- package/lib/request/list-findings-request.js.map +1 -1
- package/lib/request/list-target-alert-policy-associations-request.d.ts +4 -0
- package/lib/request/list-target-alert-policy-associations-request.js.map +1 -1
- package/lib/request/list-target-alert-policy-unassociated-members-request.d.ts +53 -0
- package/lib/request/list-target-alert-policy-unassociated-members-request.js +29 -0
- package/lib/request/list-target-alert-policy-unassociated-members-request.js.map +1 -0
- package/lib/request/list-users-request.d.ts +4 -0
- package/lib/request/list-users-request.js.map +1 -1
- package/lib/response/index.d.ts +2 -0
- package/lib/response/list-target-alert-policy-unassociated-members-response.d.ts +36 -0
- package/lib/response/list-target-alert-policy-unassociated-members-response.js +15 -0
- package/lib/response/list-target-alert-policy-unassociated-members-response.js.map +1 -0
- package/package.json +3 -4
package/lib/client.d.ts
CHANGED
|
@@ -768,8 +768,8 @@ export declare class DataSafeClient {
|
|
|
768
768
|
*/
|
|
769
769
|
createSdmMaskingPolicyDifference(createSdmMaskingPolicyDifferenceRequest: requests.CreateSdmMaskingPolicyDifferenceRequest): Promise<responses.CreateSdmMaskingPolicyDifferenceResponse>;
|
|
770
770
|
/**
|
|
771
|
-
* Creates a new saved security assessment for
|
|
772
|
-
* it will save the latest
|
|
771
|
+
* Creates a new saved security assessment for a target database or target database group in a compartment. When this operation is performed,
|
|
772
|
+
* it will save the latest assessment in the specified compartment. If a schedule is passed, it will persist the latest assessment,
|
|
773
773
|
* at the defined date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
774
774
|
*
|
|
775
775
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -916,8 +916,8 @@ export declare class DataSafeClient {
|
|
|
916
916
|
*/
|
|
917
917
|
createUnifiedAuditPolicy(createUnifiedAuditPolicyRequest: requests.CreateUnifiedAuditPolicyRequest): Promise<responses.CreateUnifiedAuditPolicyResponse>;
|
|
918
918
|
/**
|
|
919
|
-
* Creates a new saved user assessment for
|
|
920
|
-
* specified compartment. If a
|
|
919
|
+
* Creates a new saved user assessment for a target database or target database group in a compartment. It saves the latest assessment in the
|
|
920
|
+
* specified compartment. If a schedule is passed in, this operation persists the latest assessment that exists at the defined
|
|
921
921
|
* date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
922
922
|
*
|
|
923
923
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -2507,6 +2507,7 @@ export declare class DataSafeClient {
|
|
|
2507
2507
|
* Retrieves a list of all database view access entries in Data Safe.
|
|
2508
2508
|
* <p>
|
|
2509
2509
|
The ListDatabaseViewAccessEntries operation returns only the database view access objects for the specified security policy report.
|
|
2510
|
+
* If targetId is specified, it must match the target associated with the securityPolicyReportId path parameter; otherwise, the request is rejected.
|
|
2510
2511
|
*
|
|
2511
2512
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2512
2513
|
* @param ListDatabaseViewAccessEntriesRequest
|
|
@@ -3623,6 +3624,15 @@ export declare class DataSafeClient {
|
|
|
3623
3624
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListTargetAlertPolicyAssociations.ts.html |here} to see how to use ListTargetAlertPolicyAssociations API.
|
|
3624
3625
|
*/
|
|
3625
3626
|
listTargetAlertPolicyAssociations(listTargetAlertPolicyAssociationsRequest: requests.ListTargetAlertPolicyAssociationsRequest): Promise<responses.ListTargetAlertPolicyAssociationsResponse>;
|
|
3627
|
+
/**
|
|
3628
|
+
* Gets the details of target-alert policy association and its unassociated members by its ID.
|
|
3629
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3630
|
+
* @param ListTargetAlertPolicyUnassociatedMembersRequest
|
|
3631
|
+
* @return ListTargetAlertPolicyUnassociatedMembersResponse
|
|
3632
|
+
* @throws OciError when an error occurs
|
|
3633
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListTargetAlertPolicyUnassociatedMembers.ts.html |here} to see how to use ListTargetAlertPolicyUnassociatedMembers API.
|
|
3634
|
+
*/
|
|
3635
|
+
listTargetAlertPolicyUnassociatedMembers(listTargetAlertPolicyUnassociatedMembersRequest: requests.ListTargetAlertPolicyUnassociatedMembersRequest): Promise<responses.ListTargetAlertPolicyUnassociatedMembersResponse>;
|
|
3626
3636
|
/**
|
|
3627
3637
|
* Retrieves a list of target database groups according to the specified query parameters.
|
|
3628
3638
|
*
|
package/lib/client.js
CHANGED
|
@@ -4311,8 +4311,8 @@ class DataSafeClient {
|
|
|
4311
4311
|
});
|
|
4312
4312
|
}
|
|
4313
4313
|
/**
|
|
4314
|
-
* Creates a new saved security assessment for
|
|
4315
|
-
* it will save the latest
|
|
4314
|
+
* Creates a new saved security assessment for a target database or target database group in a compartment. When this operation is performed,
|
|
4315
|
+
* it will save the latest assessment in the specified compartment. If a schedule is passed, it will persist the latest assessment,
|
|
4316
4316
|
* at the defined date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
4317
4317
|
*
|
|
4318
4318
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -5338,8 +5338,8 @@ class DataSafeClient {
|
|
|
5338
5338
|
});
|
|
5339
5339
|
}
|
|
5340
5340
|
/**
|
|
5341
|
-
* Creates a new saved user assessment for
|
|
5342
|
-
* specified compartment. If a
|
|
5341
|
+
* Creates a new saved user assessment for a target database or target database group in a compartment. It saves the latest assessment in the
|
|
5342
|
+
* specified compartment. If a schedule is passed in, this operation persists the latest assessment that exists at the defined
|
|
5343
5343
|
* date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
5344
5344
|
*
|
|
5345
5345
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -14750,6 +14750,7 @@ class DataSafeClient {
|
|
|
14750
14750
|
* Retrieves a list of all database view access entries in Data Safe.
|
|
14751
14751
|
* <p>
|
|
14752
14752
|
The ListDatabaseViewAccessEntries operation returns only the database view access objects for the specified security policy report.
|
|
14753
|
+
* If targetId is specified, it must match the target associated with the securityPolicyReportId path parameter; otherwise, the request is rejected.
|
|
14753
14754
|
*
|
|
14754
14755
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14755
14756
|
* @param ListDatabaseViewAccessEntriesRequest
|
|
@@ -15261,6 +15262,7 @@ class DataSafeClient {
|
|
|
15261
15262
|
"severity": listFindingsRequest.severity,
|
|
15262
15263
|
"containsSeverity": listFindingsRequest.containsSeverity,
|
|
15263
15264
|
"category": listFindingsRequest.category,
|
|
15265
|
+
"containsOracleDefinedSeverity": listFindingsRequest.containsOracleDefinedSeverity,
|
|
15264
15266
|
"lifecycleState": listFindingsRequest.lifecycleState,
|
|
15265
15267
|
"references": listFindingsRequest.references,
|
|
15266
15268
|
"containsReferences": listFindingsRequest.containsReferences,
|
|
@@ -20182,6 +20184,7 @@ class DataSafeClient {
|
|
|
20182
20184
|
"page": listTargetAlertPolicyAssociationsRequest.page,
|
|
20183
20185
|
"sortOrder": listTargetAlertPolicyAssociationsRequest.sortOrder,
|
|
20184
20186
|
"sortBy": listTargetAlertPolicyAssociationsRequest.sortBy,
|
|
20187
|
+
"targetType": listTargetAlertPolicyAssociationsRequest.targetType,
|
|
20185
20188
|
"timeCreatedGreaterThanOrEqualTo": listTargetAlertPolicyAssociationsRequest.timeCreatedGreaterThanOrEqualTo,
|
|
20186
20189
|
"timeCreatedLessThan": listTargetAlertPolicyAssociationsRequest.timeCreatedLessThan,
|
|
20187
20190
|
"compartmentIdInSubtree": listTargetAlertPolicyAssociationsRequest.compartmentIdInSubtree,
|
|
@@ -20242,6 +20245,79 @@ class DataSafeClient {
|
|
|
20242
20245
|
}
|
|
20243
20246
|
});
|
|
20244
20247
|
}
|
|
20248
|
+
/**
|
|
20249
|
+
* Gets the details of target-alert policy association and its unassociated members by its ID.
|
|
20250
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
20251
|
+
* @param ListTargetAlertPolicyUnassociatedMembersRequest
|
|
20252
|
+
* @return ListTargetAlertPolicyUnassociatedMembersResponse
|
|
20253
|
+
* @throws OciError when an error occurs
|
|
20254
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListTargetAlertPolicyUnassociatedMembers.ts.html |here} to see how to use ListTargetAlertPolicyUnassociatedMembers API.
|
|
20255
|
+
*/
|
|
20256
|
+
listTargetAlertPolicyUnassociatedMembers(listTargetAlertPolicyUnassociatedMembersRequest) {
|
|
20257
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
20258
|
+
if (this.logger)
|
|
20259
|
+
this.logger.debug("Calling operation DataSafeClient#listTargetAlertPolicyUnassociatedMembers.");
|
|
20260
|
+
const operationName = "listTargetAlertPolicyUnassociatedMembers";
|
|
20261
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/TargetAlertPolicyAssociation/ListTargetAlertPolicyUnassociatedMembers";
|
|
20262
|
+
const pathParams = {
|
|
20263
|
+
"{targetAlertPolicyAssociationId}": listTargetAlertPolicyUnassociatedMembersRequest.targetAlertPolicyAssociationId
|
|
20264
|
+
};
|
|
20265
|
+
const queryParams = {
|
|
20266
|
+
"limit": listTargetAlertPolicyUnassociatedMembersRequest.limit,
|
|
20267
|
+
"page": listTargetAlertPolicyUnassociatedMembersRequest.page,
|
|
20268
|
+
"sortBy": listTargetAlertPolicyUnassociatedMembersRequest.sortBy,
|
|
20269
|
+
"sortOrder": listTargetAlertPolicyUnassociatedMembersRequest.sortOrder
|
|
20270
|
+
};
|
|
20271
|
+
let headerParams = {
|
|
20272
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
20273
|
+
"opc-request-id": listTargetAlertPolicyUnassociatedMembersRequest.opcRequestId
|
|
20274
|
+
};
|
|
20275
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
20276
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTargetAlertPolicyUnassociatedMembersRequest.retryConfiguration, specRetryConfiguration);
|
|
20277
|
+
if (this.logger)
|
|
20278
|
+
retrier.logger = this.logger;
|
|
20279
|
+
const request = yield oci_common_2.composeRequest({
|
|
20280
|
+
baseEndpoint: this._endpoint,
|
|
20281
|
+
defaultHeaders: this._defaultHeaders,
|
|
20282
|
+
path: "/targetAlertPolicyAssociations/{targetAlertPolicyAssociationId}/unassociatedTargetMembers",
|
|
20283
|
+
method: "GET",
|
|
20284
|
+
pathParams: pathParams,
|
|
20285
|
+
headerParams: headerParams,
|
|
20286
|
+
queryParams: queryParams
|
|
20287
|
+
});
|
|
20288
|
+
try {
|
|
20289
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
20290
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
20291
|
+
responseObject: {},
|
|
20292
|
+
body: yield response.json(),
|
|
20293
|
+
bodyKey: "targetAlertPolicyUnassociatedCollection",
|
|
20294
|
+
bodyModel: model.TargetAlertPolicyUnassociatedCollection,
|
|
20295
|
+
type: "model.TargetAlertPolicyUnassociatedCollection",
|
|
20296
|
+
responseHeaders: [
|
|
20297
|
+
{
|
|
20298
|
+
value: response.headers.get("opc-request-id"),
|
|
20299
|
+
key: "opcRequestId",
|
|
20300
|
+
dataType: "string"
|
|
20301
|
+
},
|
|
20302
|
+
{
|
|
20303
|
+
value: response.headers.get("opc-next-page"),
|
|
20304
|
+
key: "opcNextPage",
|
|
20305
|
+
dataType: "string"
|
|
20306
|
+
},
|
|
20307
|
+
{
|
|
20308
|
+
value: response.headers.get("opc-prev-page"),
|
|
20309
|
+
key: "opcPrevPage",
|
|
20310
|
+
dataType: "string"
|
|
20311
|
+
}
|
|
20312
|
+
]
|
|
20313
|
+
});
|
|
20314
|
+
return sdkResponse;
|
|
20315
|
+
}
|
|
20316
|
+
catch (err) {
|
|
20317
|
+
throw err;
|
|
20318
|
+
}
|
|
20319
|
+
});
|
|
20320
|
+
}
|
|
20245
20321
|
/**
|
|
20246
20322
|
* Retrieves a list of target database groups according to the specified query parameters.
|
|
20247
20323
|
*
|
|
@@ -21289,6 +21365,7 @@ class DataSafeClient {
|
|
|
21289
21365
|
"timePasswordExpiryGreaterThanOrEqualTo": listUsersRequest.timePasswordExpiryGreaterThanOrEqualTo,
|
|
21290
21366
|
"timePasswordExpiryLessThan": listUsersRequest.timePasswordExpiryLessThan,
|
|
21291
21367
|
"page": listUsersRequest.page,
|
|
21368
|
+
"compartmentId": listUsersRequest.compartmentId,
|
|
21292
21369
|
"sortOrder": listUsersRequest.sortOrder,
|
|
21293
21370
|
"sortBy": listUsersRequest.sortBy,
|
|
21294
21371
|
"schemaList": listUsersRequest.schemaList,
|