oci-apiaccesscontrol 2.137.0 → 2.138.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/model/api-metadata-by-entity-type-summary.d.ts +4 -0
- package/lib/model/api-metadata-by-entity-type-summary.js.map +1 -1
- package/lib/model/api-metadata.d.ts +5 -1
- package/lib/model/api-metadata.js.map +1 -1
- package/lib/model/approver-detail.d.ts +4 -0
- package/lib/model/approver-detail.js.map +1 -1
- package/lib/model/approver-group-level.d.ts +35 -0
- package/lib/model/approver-group-level.js +35 -0
- package/lib/model/approver-group-level.js.map +1 -0
- package/lib/model/create-privileged-api-control-details.d.ts +6 -2
- package/lib/model/create-privileged-api-control-details.js +10 -0
- package/lib/model/create-privileged-api-control-details.js.map +1 -1
- package/lib/model/create-privileged-api-request-details.d.ts +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +3 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/privileged-api-control-summary.d.ts +4 -5
- package/lib/model/privileged-api-control-summary.js.map +1 -1
- package/lib/model/privileged-api-control.d.ts +8 -5
- package/lib/model/privileged-api-control.js +10 -0
- package/lib/model/privileged-api-control.js.map +1 -1
- package/lib/model/update-privileged-api-control-details.d.ts +5 -1
- package/lib/model/update-privileged-api-control-details.js +10 -0
- package/lib/model/update-privileged-api-control-details.js.map +1 -1
- package/lib/request/list-api-metadata-by-entity-types-request.d.ts +1 -1
- package/lib/request/list-api-metadata-request.d.ts +1 -1
- package/lib/request/list-privileged-api-controls-request.d.ts +1 -1
- package/lib/request/list-privileged-api-requests-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/package.json +2 -2
|
@@ -21,6 +21,10 @@ import * as model from "../model";
|
|
|
21
21
|
* Summary information about a ApiMetadata.
|
|
22
22
|
*/
|
|
23
23
|
export interface ApiMetadataByEntityTypeSummary {
|
|
24
|
+
/**
|
|
25
|
+
* The OCID of the compartment that contains the Service Provider Action.
|
|
26
|
+
*/
|
|
27
|
+
"compartmentId"?: string;
|
|
24
28
|
/**
|
|
25
29
|
* The entity Type to which the Api belongs to.
|
|
26
30
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-metadata-by-entity-type-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/api-metadata-by-entity-type-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"api-metadata-by-entity-type-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/api-metadata-by-entity-type-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4ClC,IAAiB,8BAA8B,CA6B9C;AA7BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA6B9C"}
|
|
@@ -50,9 +50,13 @@ export interface ApiMetadata {
|
|
|
50
50
|
*/
|
|
51
51
|
"apiName"?: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* deprecated; Use attributes field instead.
|
|
54
54
|
*/
|
|
55
55
|
"fields"?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* List of the fields that is use while calling post or put for the data.
|
|
58
|
+
*/
|
|
59
|
+
"attributes"?: Array<string>;
|
|
56
60
|
/**
|
|
57
61
|
* The date and time the PrivilegedApiControl was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
58
62
|
* <p>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-metadata.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/api-metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;
|
|
1
|
+
{"version":3,"file":"api-metadata.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/api-metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAsGH,IAAiB,WAAW,CAyB3B;AAzBD,WAAiB,WAAW;IAC1B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,0BAAc,KAAd,0BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAyB3B"}
|
|
@@ -28,6 +28,10 @@ export interface ApproverDetail {
|
|
|
28
28
|
* The action done by the approver.
|
|
29
29
|
*/
|
|
30
30
|
"approvalAction"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The group level at which the approver approved. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
|
+
*/
|
|
34
|
+
"approverGroupLevel"?: number;
|
|
31
35
|
/**
|
|
32
36
|
* Comment specified by the approver of the request.
|
|
33
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approver-detail.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/approver-detail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;
|
|
1
|
+
{"version":3,"file":"approver-detail.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/approver-detail.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAqCH,IAAiB,cAAc,CAW9B;AAXD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAW9B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle API Access Control
|
|
3
|
+
* This service is used to restrict the control plane service apis; so that everybody won't be
|
|
4
|
+
able to access those apis.
|
|
5
|
+
There are two main resouces defined as a part of this service
|
|
6
|
+
1. PrivilegedApiControl: This is created by the customer which defines which service apis are
|
|
7
|
+
controlled and who can access it.
|
|
8
|
+
2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
|
|
9
|
+
|
|
10
|
+
* OpenAPI spec version: 20241130
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
17
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* It represents the group level detail for authorization
|
|
21
|
+
*/
|
|
22
|
+
export interface ApproverGroupLevel {
|
|
23
|
+
/**
|
|
24
|
+
* id of the group.
|
|
25
|
+
*/
|
|
26
|
+
"groupId": Array<string>;
|
|
27
|
+
/**
|
|
28
|
+
* level of the group. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
29
|
+
*/
|
|
30
|
+
"groupLevel": number;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace ApproverGroupLevel {
|
|
33
|
+
function getJsonObj(obj: ApproverGroupLevel): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: ApproverGroupLevel): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle API Access Control
|
|
4
|
+
* This service is used to restrict the control plane service apis; so that everybody won't be
|
|
5
|
+
able to access those apis.
|
|
6
|
+
There are two main resouces defined as a part of this service
|
|
7
|
+
1. PrivilegedApiControl: This is created by the customer which defines which service apis are
|
|
8
|
+
controlled and who can access it.
|
|
9
|
+
2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20241130
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.ApproverGroupLevel = void 0;
|
|
22
|
+
var ApproverGroupLevel;
|
|
23
|
+
(function (ApproverGroupLevel) {
|
|
24
|
+
function getJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
ApproverGroupLevel.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
ApproverGroupLevel.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
34
|
+
})(ApproverGroupLevel = exports.ApproverGroupLevel || (exports.ApproverGroupLevel = {}));
|
|
35
|
+
//# sourceMappingURL=approver-group-level.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approver-group-level.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/approver-group-level.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAmBH,IAAiB,kBAAkB,CAWlC;AAXD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,yCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAWlC"}
|
|
@@ -35,13 +35,17 @@ export interface CreatePrivilegedApiControlDetails {
|
|
|
35
35
|
*/
|
|
36
36
|
"compartmentId": string;
|
|
37
37
|
/**
|
|
38
|
-
* The OCID of the OCI Notification topic to publish messages related to this
|
|
38
|
+
* The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
|
|
39
39
|
*/
|
|
40
40
|
"notificationTopicId": string;
|
|
41
41
|
/**
|
|
42
42
|
* List of user IAM group ids who can approve an privilegedApi request associated with a resource governed by this operator control.
|
|
43
43
|
*/
|
|
44
44
|
"approverGroupIdList": Array<string>;
|
|
45
|
+
/**
|
|
46
|
+
* List of Group containing the levels at which the users belonging to the group can authorize.
|
|
47
|
+
*/
|
|
48
|
+
"approverGroupLevelList"?: Array<model.ApproverGroupLevel>;
|
|
45
49
|
/**
|
|
46
50
|
* List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
|
|
47
51
|
*
|
|
@@ -54,7 +58,7 @@ export interface CreatePrivilegedApiControlDetails {
|
|
|
54
58
|
/**
|
|
55
59
|
* contains Resource details
|
|
56
60
|
*/
|
|
57
|
-
"resources"
|
|
61
|
+
"resources"?: Array<string>;
|
|
58
62
|
/**
|
|
59
63
|
* Number of approvers required to approve an privilegedApi request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
64
|
*/
|
|
@@ -43,6 +43,11 @@ var CreatePrivilegedApiControlDetails;
|
|
|
43
43
|
(function (CreatePrivilegedApiControlDetails) {
|
|
44
44
|
function getJsonObj(obj) {
|
|
45
45
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
47
|
+
? obj.approverGroupLevelList.map(item => {
|
|
48
|
+
return model.ApproverGroupLevel.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
46
51
|
"privilegedOperationList": obj.privilegedOperationList
|
|
47
52
|
? obj.privilegedOperationList.map(item => {
|
|
48
53
|
return model.PrivilegedApiDetails.getJsonObj(item);
|
|
@@ -54,6 +59,11 @@ var CreatePrivilegedApiControlDetails;
|
|
|
54
59
|
CreatePrivilegedApiControlDetails.getJsonObj = getJsonObj;
|
|
55
60
|
function getDeserializedJsonObj(obj) {
|
|
56
61
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
63
|
+
? obj.approverGroupLevelList.map(item => {
|
|
64
|
+
return model.ApproverGroupLevel.getDeserializedJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined,
|
|
57
67
|
"privilegedOperationList": obj.privilegedOperationList
|
|
58
68
|
? obj.privilegedOperationList.map(item => {
|
|
59
69
|
return model.PrivilegedApiDetails.getDeserializedJsonObj(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-privileged-api-control-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/create-privileged-api-control-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"create-privileged-api-control-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/create-privileged-api-control-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmElC,IAAiB,iCAAiC,CAuCjD;AAvCD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,4CAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsC;QAC3E,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACpC,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,wDAAsB,yBAkBrC,CAAA;AACH,CAAC,EAvCgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAuCjD"}
|
|
@@ -37,7 +37,7 @@ export interface CreatePrivilegedApiRequestDetails {
|
|
|
37
37
|
/**
|
|
38
38
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
39
39
|
*/
|
|
40
|
-
"compartmentId"
|
|
40
|
+
"compartmentId": string;
|
|
41
41
|
/**
|
|
42
42
|
* The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource.
|
|
43
43
|
*
|
package/lib/model/index.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ import * as ApprovePrivilegedApiRequestDetails from "./approve-privileged-api-re
|
|
|
32
32
|
export import ApprovePrivilegedApiRequestDetails = ApprovePrivilegedApiRequestDetails.ApprovePrivilegedApiRequestDetails;
|
|
33
33
|
import * as ApproverDetail from "./approver-detail";
|
|
34
34
|
export import ApproverDetail = ApproverDetail.ApproverDetail;
|
|
35
|
+
import * as ApproverGroupLevel from "./approver-group-level";
|
|
36
|
+
export import ApproverGroupLevel = ApproverGroupLevel.ApproverGroupLevel;
|
|
35
37
|
import * as ChangePrivilegedApiControlCompartmentDetails from "./change-privileged-api-control-compartment-details";
|
|
36
38
|
export import ChangePrivilegedApiControlCompartmentDetails = ChangePrivilegedApiControlCompartmentDetails.ChangePrivilegedApiControlCompartmentDetails;
|
|
37
39
|
import * as ClosePrivilegedApiRequestDetails from "./close-privileged-api-request-details";
|
package/lib/model/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
37
37
|
return result;
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdatePrivilegedApiControlDetails = exports.SortOrder = exports.RevokePrivilegedApiRequestDetails = exports.RejectPrivilegedApiRequestDetails = exports.PrivilegedApiRequestSummary = exports.PrivilegedApiRequestSeverity = exports.PrivilegedApiRequestOperationDetails = exports.PrivilegedApiRequestCollection = exports.PrivilegedApiRequest = exports.PrivilegedApiDetails = exports.PrivilegedApiControlSummary = exports.PrivilegedApiControlCollection = exports.PrivilegedApiControl = exports.OperationType = exports.OperationStatus = exports.CreatePrivilegedApiRequestDetails = exports.CreatePrivilegedApiControlDetails = exports.ClosePrivilegedApiRequestDetails = exports.ChangePrivilegedApiControlCompartmentDetails = exports.ApproverDetail = exports.ApprovePrivilegedApiRequestDetails = exports.ApiMetadataSummary = exports.ApiMetadataCollection = exports.ApiMetadataByEntityTypeSummary = exports.ApiMetadataByEntityTypeCollection = exports.ApiMetadata = exports.ActionType = void 0;
|
|
40
|
+
exports.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.UpdatePrivilegedApiControlDetails = exports.SortOrder = exports.RevokePrivilegedApiRequestDetails = exports.RejectPrivilegedApiRequestDetails = exports.PrivilegedApiRequestSummary = exports.PrivilegedApiRequestSeverity = exports.PrivilegedApiRequestOperationDetails = exports.PrivilegedApiRequestCollection = exports.PrivilegedApiRequest = exports.PrivilegedApiDetails = exports.PrivilegedApiControlSummary = exports.PrivilegedApiControlCollection = exports.PrivilegedApiControl = exports.OperationType = exports.OperationStatus = exports.CreatePrivilegedApiRequestDetails = exports.CreatePrivilegedApiControlDetails = exports.ClosePrivilegedApiRequestDetails = exports.ChangePrivilegedApiControlCompartmentDetails = exports.ApproverGroupLevel = exports.ApproverDetail = exports.ApprovePrivilegedApiRequestDetails = exports.ApiMetadataSummary = exports.ApiMetadataCollection = exports.ApiMetadataByEntityTypeSummary = exports.ApiMetadataByEntityTypeCollection = exports.ApiMetadata = exports.ActionType = void 0;
|
|
41
41
|
const ActionType = __importStar(require("./action-type"));
|
|
42
42
|
exports.ActionType = ActionType.ActionType;
|
|
43
43
|
const ApiMetadata = __importStar(require("./api-metadata"));
|
|
@@ -54,6 +54,8 @@ const ApprovePrivilegedApiRequestDetails = __importStar(require("./approve-privi
|
|
|
54
54
|
exports.ApprovePrivilegedApiRequestDetails = ApprovePrivilegedApiRequestDetails.ApprovePrivilegedApiRequestDetails;
|
|
55
55
|
const ApproverDetail = __importStar(require("./approver-detail"));
|
|
56
56
|
exports.ApproverDetail = ApproverDetail.ApproverDetail;
|
|
57
|
+
const ApproverGroupLevel = __importStar(require("./approver-group-level"));
|
|
58
|
+
exports.ApproverGroupLevel = ApproverGroupLevel.ApproverGroupLevel;
|
|
57
59
|
const ChangePrivilegedApiControlCompartmentDetails = __importStar(require("./change-privileged-api-control-compartment-details"));
|
|
58
60
|
exports.ChangePrivilegedApiControlCompartmentDetails = ChangePrivilegedApiControlCompartmentDetails.ChangePrivilegedApiControlCompartmentDetails;
|
|
59
61
|
const ClosePrivilegedApiRequestDetails = __importStar(require("./close-privileged-api-request-details"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.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ClD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC"}
|
|
@@ -47,11 +47,10 @@ export interface PrivilegedApiControlSummary {
|
|
|
47
47
|
*/
|
|
48
48
|
"timeCreated": Date;
|
|
49
49
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*/
|
|
50
|
+
* The date and time the PrivilegedApiControl was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
51
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
55
54
|
"timeUpdated"?: Date;
|
|
56
55
|
/**
|
|
57
56
|
* Time when the privilegedApi control was deleted, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privileged-api-control-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;
|
|
1
|
+
{"version":3,"file":"privileged-api-control-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAiFH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
|
|
@@ -50,6 +50,10 @@ export interface PrivilegedApiControl {
|
|
|
50
50
|
* List of IAM user group ids who can approve an privilegedApi request associated with a target resource under the governance of this operator control.
|
|
51
51
|
*/
|
|
52
52
|
"approverGroupIdList"?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
* List of Group containing the levels at which the users belonging to the group can authorize.
|
|
55
|
+
*/
|
|
56
|
+
"approverGroupLevelList"?: Array<model.ApproverGroupLevel>;
|
|
53
57
|
/**
|
|
54
58
|
* resourceType for which the PrivilegedApiControl is applicable
|
|
55
59
|
*/
|
|
@@ -68,11 +72,10 @@ export interface PrivilegedApiControl {
|
|
|
68
72
|
*/
|
|
69
73
|
"numberOfApprovers"?: number;
|
|
70
74
|
/**
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
*/
|
|
75
|
+
* The date and time the PrivilegedApiControl was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
76
|
+
* Example: {@code 2016-08-25T21:10:29.600Z}
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
76
79
|
"timeCreated": Date;
|
|
77
80
|
/**
|
|
78
81
|
* The date and time the PrivilegedApiControl was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
@@ -58,6 +58,11 @@ var PrivilegedApiControl;
|
|
|
58
58
|
})(LifecycleState = PrivilegedApiControl.LifecycleState || (PrivilegedApiControl.LifecycleState = {}));
|
|
59
59
|
function getJsonObj(obj) {
|
|
60
60
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
62
|
+
? obj.approverGroupLevelList.map(item => {
|
|
63
|
+
return model.ApproverGroupLevel.getJsonObj(item);
|
|
64
|
+
})
|
|
65
|
+
: undefined,
|
|
61
66
|
"privilegedOperationList": obj.privilegedOperationList
|
|
62
67
|
? obj.privilegedOperationList.map(item => {
|
|
63
68
|
return model.PrivilegedApiDetails.getJsonObj(item);
|
|
@@ -69,6 +74,11 @@ var PrivilegedApiControl;
|
|
|
69
74
|
PrivilegedApiControl.getJsonObj = getJsonObj;
|
|
70
75
|
function getDeserializedJsonObj(obj) {
|
|
71
76
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
77
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
78
|
+
? obj.approverGroupLevelList.map(item => {
|
|
79
|
+
return model.ApproverGroupLevel.getDeserializedJsonObj(item);
|
|
80
|
+
})
|
|
81
|
+
: undefined,
|
|
72
82
|
"privilegedOperationList": obj.privilegedOperationList
|
|
73
83
|
? obj.privilegedOperationList.map(item => {
|
|
74
84
|
return model.PrivilegedApiDetails.getDeserializedJsonObj(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privileged-api-control.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"privileged-api-control.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-control.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0HlC,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,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,2CAAsB,yBAmBrC,CAAA;AACH,CAAC,EAxDgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAwDpC"}
|
|
@@ -38,13 +38,17 @@ export interface UpdatePrivilegedApiControlDetails {
|
|
|
38
38
|
*/
|
|
39
39
|
"resources"?: Array<string>;
|
|
40
40
|
/**
|
|
41
|
-
* The OCID of the OCI Notification topic to publish messages related to this
|
|
41
|
+
* The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
|
|
42
42
|
*/
|
|
43
43
|
"notificationTopicId"?: string;
|
|
44
44
|
/**
|
|
45
45
|
* List of user IAM group ids who can approve an privilegedApi request associated with a target resource under the governance of this privilegedApi control.
|
|
46
46
|
*/
|
|
47
47
|
"approverGroupIdList"?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* List of Group containing the levels at which the users belonging to the group can authorize.
|
|
50
|
+
*/
|
|
51
|
+
"approverGroupLevelList"?: Array<model.ApproverGroupLevel>;
|
|
48
52
|
/**
|
|
49
53
|
* List of privileged operator operations. If Privileged API Managment is enabled for a resource it will be validated whether the operation done by the operator is a part of privileged operation.
|
|
50
54
|
*
|
|
@@ -43,6 +43,11 @@ var UpdatePrivilegedApiControlDetails;
|
|
|
43
43
|
(function (UpdatePrivilegedApiControlDetails) {
|
|
44
44
|
function getJsonObj(obj) {
|
|
45
45
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
47
|
+
? obj.approverGroupLevelList.map(item => {
|
|
48
|
+
return model.ApproverGroupLevel.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
46
51
|
"privilegedOperationList": obj.privilegedOperationList
|
|
47
52
|
? obj.privilegedOperationList.map(item => {
|
|
48
53
|
return model.PrivilegedApiDetails.getJsonObj(item);
|
|
@@ -54,6 +59,11 @@ var UpdatePrivilegedApiControlDetails;
|
|
|
54
59
|
UpdatePrivilegedApiControlDetails.getJsonObj = getJsonObj;
|
|
55
60
|
function getDeserializedJsonObj(obj) {
|
|
56
61
|
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
"approverGroupLevelList": obj.approverGroupLevelList
|
|
63
|
+
? obj.approverGroupLevelList.map(item => {
|
|
64
|
+
return model.ApproverGroupLevel.getDeserializedJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined,
|
|
57
67
|
"privilegedOperationList": obj.privilegedOperationList
|
|
58
68
|
? obj.privilegedOperationList.map(item => {
|
|
59
69
|
return model.PrivilegedApiDetails.getDeserializedJsonObj(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-privileged-api-control-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/update-privileged-api-control-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"update-privileged-api-control-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/update-privileged-api-control-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8DlC,IAAiB,iCAAiC,CAuCjD;AAvCD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CAAC,GAAsC;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,wBAAwB,EAAE,GAAG,CAAC,sBAAsB;gBAClD,CAAC,CAAC,GAA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
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
21
21
|
*/
|
|
22
|
-
"compartmentId"
|
|
22
|
+
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
24
|
* A filter to return only resources that match the given lifecycle state. The
|
|
25
25
|
* state value is case-insensitive.
|
|
@@ -19,7 +19,7 @@ export interface ListApiMetadataRequest extends common.BaseRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
21
21
|
*/
|
|
22
|
-
"compartmentId"
|
|
22
|
+
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
24
|
* A filter to return only resources that match the given lifecycle state. The
|
|
25
25
|
* state value is case-insensitive.
|
|
@@ -19,7 +19,7 @@ export interface ListPrivilegedApiControlsRequest extends common.BaseRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
21
21
|
*/
|
|
22
|
-
"compartmentId"
|
|
22
|
+
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
24
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
|
|
25
25
|
*/
|
|
@@ -19,7 +19,7 @@ export interface ListPrivilegedApiRequestsRequest extends common.BaseRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
21
21
|
*/
|
|
22
|
-
"compartmentId"
|
|
22
|
+
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
24
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiRequest.
|
|
25
25
|
*/
|
|
@@ -19,7 +19,7 @@ export interface ListWorkRequestsRequest extends common.BaseRequest {
|
|
|
19
19
|
/**
|
|
20
20
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
|
|
21
21
|
*/
|
|
22
|
-
"compartmentId"
|
|
22
|
+
"compartmentId": string;
|
|
23
23
|
/**
|
|
24
24
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
|
|
25
25
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-apiaccesscontrol",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.138.0",
|
|
4
4
|
"description": "OCI NodeJS client for Apiaccesscontrol Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
18
|
+
"oci-common": "2.138.0",
|
|
19
19
|
"opossum": "5.0.1"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|