oci-apiaccesscontrol 2.111.2
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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +37 -0
- package/index.js +60 -0
- package/index.js.map +1 -0
- package/lib/apimetadata-waiter.d.ts +35 -0
- package/lib/apimetadata-waiter.js +71 -0
- package/lib/apimetadata-waiter.js.map +1 -0
- package/lib/client.d.ts +551 -0
- package/lib/client.js +2115 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +38 -0
- package/lib/model/action-type.js +49 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/api-metadata-by-entity-type-collection.d.ts +32 -0
- package/lib/model/api-metadata-by-entity-type-collection.js +67 -0
- package/lib/model/api-metadata-by-entity-type-collection.js.map +1 -0
- package/lib/model/api-metadata-by-entity-type-summary.d.ts +69 -0
- package/lib/model/api-metadata-by-entity-type-summary.js +67 -0
- package/lib/model/api-metadata-by-entity-type-summary.js.map +1 -0
- package/lib/model/api-metadata-collection.d.ts +32 -0
- package/lib/model/api-metadata-collection.js +67 -0
- package/lib/model/api-metadata-collection.js.map +1 -0
- package/lib/model/api-metadata-summary.d.ts +107 -0
- package/lib/model/api-metadata-summary.js +35 -0
- package/lib/model/api-metadata-summary.js.map +1 -0
- package/lib/model/api-metadata.d.ts +137 -0
- package/lib/model/api-metadata.js +49 -0
- package/lib/model/api-metadata.js.map +1 -0
- package/lib/model/approve-privileged-api-request-details.d.ts +36 -0
- package/lib/model/approve-privileged-api-request-details.js +35 -0
- package/lib/model/approve-privileged-api-request-details.js.map +1 -0
- package/lib/model/approver-detail.d.ts +49 -0
- package/lib/model/approver-detail.js +35 -0
- package/lib/model/approver-detail.js.map +1 -0
- package/lib/model/change-privileged-api-control-compartment-details.d.ts +32 -0
- package/lib/model/change-privileged-api-control-compartment-details.js +35 -0
- package/lib/model/change-privileged-api-control-compartment-details.js.map +1 -0
- package/lib/model/close-privileged-api-request-details.d.ts +31 -0
- package/lib/model/close-privileged-api-request-details.js +35 -0
- package/lib/model/close-privileged-api-request-details.js.map +1 -0
- package/lib/model/create-privileged-api-control-details.d.ts +88 -0
- package/lib/model/create-privileged-api-control-details.js +67 -0
- package/lib/model/create-privileged-api-control-details.js.map +1 -0
- package/lib/model/create-privileged-api-request-details.d.ts +107 -0
- package/lib/model/create-privileged-api-request-details.js +67 -0
- package/lib/model/create-privileged-api-request-details.js.map +1 -0
- package/lib/model/index.d.ts +90 -0
- package/lib/model/index.js +113 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/operation-status.d.ts +40 -0
- package/lib/model/operation-status.js +51 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +55 -0
- package/lib/model/operation-type.js +66 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/privileged-api-control-collection.d.ts +32 -0
- package/lib/model/privileged-api-control-collection.js +67 -0
- package/lib/model/privileged-api-control-collection.js.map +1 -0
- package/lib/model/privileged-api-control-summary.d.ts +108 -0
- package/lib/model/privileged-api-control-summary.js +35 -0
- package/lib/model/privileged-api-control-summary.js.map +1 -0
- package/lib/model/privileged-api-control.d.ts +162 -0
- package/lib/model/privileged-api-control.js +82 -0
- package/lib/model/privileged-api-control.js.map +1 -0
- package/lib/model/privileged-api-details.d.ts +39 -0
- package/lib/model/privileged-api-details.js +35 -0
- package/lib/model/privileged-api-details.js.map +1 -0
- package/lib/model/privileged-api-request-collection.d.ts +32 -0
- package/lib/model/privileged-api-request-collection.js +67 -0
- package/lib/model/privileged-api-request-collection.js.map +1 -0
- package/lib/model/privileged-api-request-operation-details.d.ts +35 -0
- package/lib/model/privileged-api-request-operation-details.js +35 -0
- package/lib/model/privileged-api-request-operation-details.js.map +1 -0
- package/lib/model/privileged-api-request-severity.d.ts +36 -0
- package/lib/model/privileged-api-request-severity.js +47 -0
- package/lib/model/privileged-api-request-severity.js.map +1 -0
- package/lib/model/privileged-api-request-summary.d.ts +139 -0
- package/lib/model/privileged-api-request-summary.js +67 -0
- package/lib/model/privileged-api-request-summary.js.map +1 -0
- package/lib/model/privileged-api-request.d.ts +232 -0
- package/lib/model/privileged-api-request.js +116 -0
- package/lib/model/privileged-api-request.js.map +1 -0
- package/lib/model/reject-privileged-api-request-details.d.ts +31 -0
- package/lib/model/reject-privileged-api-request-details.js +35 -0
- package/lib/model/reject-privileged-api-request-details.js.map +1 -0
- package/lib/model/revoke-privileged-api-request-details.d.ts +31 -0
- package/lib/model/revoke-privileged-api-request-details.js +35 -0
- package/lib/model/revoke-privileged-api-request-details.js.map +1 -0
- package/lib/model/sort-order.d.ts +36 -0
- package/lib/model/sort-order.js +47 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-privileged-api-control-details.d.ts +83 -0
- package/lib/model/update-privileged-api-control-details.js +67 -0
- package/lib/model/update-privileged-api-control-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +32 -0
- package/lib/model/work-request-error-collection.js +67 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +43 -0
- package/lib/model/work-request-error.js +35 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +32 -0
- package/lib/model/work-request-log-entry-collection.js +67 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +37 -0
- package/lib/model/work-request-log-entry.js +35 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +33 -0
- package/lib/model/work-request-resource-metadata-key.js +44 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +54 -0
- package/lib/model/work-request-resource.js +35 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +32 -0
- package/lib/model/work-request-summary-collection.js +67 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +79 -0
- package/lib/model/work-request-summary.js +67 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +82 -0
- package/lib/model/work-request.js +67 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/privilegedapicontrol-waiter.d.ts +35 -0
- package/lib/privilegedapicontrol-waiter.js +71 -0
- package/lib/privilegedapicontrol-waiter.js.map +1 -0
- package/lib/privilegedapirequests-waiter.d.ts +35 -0
- package/lib/privilegedapirequests-waiter.js +51 -0
- package/lib/privilegedapirequests-waiter.js.map +1 -0
- package/lib/privilegedapiworkrequest-waiter.d.ts +33 -0
- package/lib/privilegedapiworkrequest-waiter.js +50 -0
- package/lib/privilegedapiworkrequest-waiter.js.map +1 -0
- package/lib/request/approve-privileged-api-request-request.d.ts +52 -0
- package/lib/request/approve-privileged-api-request-request.js +15 -0
- package/lib/request/approve-privileged-api-request-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +38 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-privileged-api-control-compartment-request.d.ts +52 -0
- package/lib/request/change-privileged-api-control-compartment-request.js +15 -0
- package/lib/request/change-privileged-api-control-compartment-request.js.map +1 -0
- package/lib/request/close-privileged-api-request-request.d.ts +52 -0
- package/lib/request/close-privileged-api-request-request.js +15 -0
- package/lib/request/close-privileged-api-request-request.js.map +1 -0
- package/lib/request/create-privileged-api-control-request.d.ts +40 -0
- package/lib/request/create-privileged-api-control-request.js +15 -0
- package/lib/request/create-privileged-api-control-request.js.map +1 -0
- package/lib/request/create-privileged-api-request-request.d.ts +40 -0
- package/lib/request/create-privileged-api-request-request.js +15 -0
- package/lib/request/create-privileged-api-request-request.js.map +1 -0
- package/lib/request/delete-privileged-api-control-request.d.ts +42 -0
- package/lib/request/delete-privileged-api-control-request.js +15 -0
- package/lib/request/delete-privileged-api-control-request.js.map +1 -0
- package/lib/request/get-api-metadata-request.d.ts +30 -0
- package/lib/request/get-api-metadata-request.js +15 -0
- package/lib/request/get-api-metadata-request.js.map +1 -0
- package/lib/request/get-privileged-api-control-request.d.ts +30 -0
- package/lib/request/get-privileged-api-control-request.js +15 -0
- package/lib/request/get-privileged-api-control-request.js.map +1 -0
- package/lib/request/get-privileged-api-request-request.d.ts +30 -0
- package/lib/request/get-privileged-api-request-request.js +15 -0
- package/lib/request/get-privileged-api-request-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +30 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +60 -0
- package/lib/request/index.js +55 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-api-metadata-by-entity-types-request.d.ts +75 -0
- package/lib/request/list-api-metadata-by-entity-types-request.js +24 -0
- package/lib/request/list-api-metadata-by-entity-types-request.js.map +1 -0
- package/lib/request/list-api-metadata-request.d.ts +75 -0
- package/lib/request/list-api-metadata-request.js +24 -0
- package/lib/request/list-api-metadata-request.js.map +1 -0
- package/lib/request/list-privileged-api-controls-request.d.ts +79 -0
- package/lib/request/list-privileged-api-controls-request.js +24 -0
- package/lib/request/list-privileged-api-controls-request.js.map +1 -0
- package/lib/request/list-privileged-api-requests-request.d.ts +89 -0
- package/lib/request/list-privileged-api-requests-request.js +24 -0
- package/lib/request/list-privileged-api-requests-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +71 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/reject-privileged-api-request-request.d.ts +52 -0
- package/lib/request/reject-privileged-api-request-request.js +15 -0
- package/lib/request/reject-privileged-api-request-request.js.map +1 -0
- package/lib/request/revoke-privileged-api-request-request.d.ts +52 -0
- package/lib/request/revoke-privileged-api-request-request.js +15 -0
- package/lib/request/revoke-privileged-api-request-request.js.map +1 -0
- package/lib/request/update-privileged-api-control-request.d.ts +43 -0
- package/lib/request/update-privileged-api-control-request.js +15 -0
- package/lib/request/update-privileged-api-control-request.js.map +1 -0
- package/lib/response/approve-privileged-api-request-response.d.ts +26 -0
- package/lib/response/approve-privileged-api-request-response.js +15 -0
- package/lib/response/approve-privileged-api-request-response.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-privileged-api-control-compartment-response.d.ts +26 -0
- package/lib/response/change-privileged-api-control-compartment-response.js +15 -0
- package/lib/response/change-privileged-api-control-compartment-response.js.map +1 -0
- package/lib/response/close-privileged-api-request-response.d.ts +26 -0
- package/lib/response/close-privileged-api-request-response.js +15 -0
- package/lib/response/close-privileged-api-request-response.js.map +1 -0
- package/lib/response/create-privileged-api-control-response.d.ts +44 -0
- package/lib/response/create-privileged-api-control-response.js +15 -0
- package/lib/response/create-privileged-api-control-response.js.map +1 -0
- package/lib/response/create-privileged-api-request-response.d.ts +44 -0
- package/lib/response/create-privileged-api-request-response.js +15 -0
- package/lib/response/create-privileged-api-request-response.js.map +1 -0
- package/lib/response/delete-privileged-api-control-response.d.ts +26 -0
- package/lib/response/delete-privileged-api-control-response.js +15 -0
- package/lib/response/delete-privileged-api-control-response.js.map +1 -0
- package/lib/response/get-api-metadata-response.d.ts +30 -0
- package/lib/response/get-api-metadata-response.js +15 -0
- package/lib/response/get-api-metadata-response.js.map +1 -0
- package/lib/response/get-privileged-api-control-response.d.ts +30 -0
- package/lib/response/get-privileged-api-control-response.js +15 -0
- package/lib/response/get-privileged-api-control-response.js.map +1 -0
- package/lib/response/get-privileged-api-request-response.d.ts +30 -0
- package/lib/response/get-privileged-api-request-response.js +15 -0
- package/lib/response/get-privileged-api-request-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +60 -0
- package/lib/response/index.js +21 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-api-metadata-by-entity-types-response.d.ts +31 -0
- package/lib/response/list-api-metadata-by-entity-types-response.js +15 -0
- package/lib/response/list-api-metadata-by-entity-types-response.js.map +1 -0
- package/lib/response/list-api-metadata-response.d.ts +31 -0
- package/lib/response/list-api-metadata-response.js +15 -0
- package/lib/response/list-api-metadata-response.js.map +1 -0
- package/lib/response/list-privileged-api-controls-response.d.ts +31 -0
- package/lib/response/list-privileged-api-controls-response.js +15 -0
- package/lib/response/list-privileged-api-controls-response.js.map +1 -0
- package/lib/response/list-privileged-api-requests-response.d.ts +31 -0
- package/lib/response/list-privileged-api-requests-response.js +15 -0
- package/lib/response/list-privileged-api-requests-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +31 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/reject-privileged-api-request-response.d.ts +26 -0
- package/lib/response/reject-privileged-api-request-response.js +15 -0
- package/lib/response/reject-privileged-api-request-response.js.map +1 -0
- package/lib/response/revoke-privileged-api-request-response.d.ts +26 -0
- package/lib/response/revoke-privileged-api-request-response.js +15 -0
- package/lib/response/revoke-privileged-api-request-response.js.map +1 -0
- package/lib/response/update-privileged-api-control-response.d.ts +26 -0
- package/lib/response/update-privileged-api-control-response.js +15 -0
- package/lib/response/update-privileged-api-control-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,82 @@
|
|
|
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, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PrivilegedApiControl = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var PrivilegedApiControl;
|
|
43
|
+
(function (PrivilegedApiControl) {
|
|
44
|
+
let LifecycleState;
|
|
45
|
+
(function (LifecycleState) {
|
|
46
|
+
LifecycleState["Creating"] = "CREATING";
|
|
47
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
48
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
49
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
50
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
51
|
+
LifecycleState["Failed"] = "FAILED";
|
|
52
|
+
LifecycleState["NeedsAttention"] = "NEEDS_ATTENTION";
|
|
53
|
+
/**
|
|
54
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
55
|
+
* version of the SDK.
|
|
56
|
+
*/
|
|
57
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
58
|
+
})(LifecycleState = PrivilegedApiControl.LifecycleState || (PrivilegedApiControl.LifecycleState = {}));
|
|
59
|
+
function getJsonObj(obj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
61
|
+
"privilegedOperationList": obj.privilegedOperationList
|
|
62
|
+
? obj.privilegedOperationList.map(item => {
|
|
63
|
+
return model.PrivilegedApiDetails.getJsonObj(item);
|
|
64
|
+
})
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
PrivilegedApiControl.getJsonObj = getJsonObj;
|
|
70
|
+
function getDeserializedJsonObj(obj) {
|
|
71
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
72
|
+
"privilegedOperationList": obj.privilegedOperationList
|
|
73
|
+
? obj.privilegedOperationList.map(item => {
|
|
74
|
+
return model.PrivilegedApiDetails.getDeserializedJsonObj(item);
|
|
75
|
+
})
|
|
76
|
+
: undefined
|
|
77
|
+
});
|
|
78
|
+
return jsonObj;
|
|
79
|
+
}
|
|
80
|
+
PrivilegedApiControl.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
81
|
+
})(PrivilegedApiControl = exports.PrivilegedApiControl || (exports.PrivilegedApiControl = {}));
|
|
82
|
+
//# sourceMappingURL=privileged-api-control.js.map
|
|
@@ -0,0 +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;AAuHlC,IAAiB,oBAAoB,CA4CpC;AA5CD,WAAiB,oBAAoB;IACnC,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,oDAAkC,CAAA;QAClC;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,mCAAc,KAAd,mCAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IAbe,+BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,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;IAbe,2CAAsB,yBAarC,CAAA;AACH,CAAC,EA5CgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QA4CpC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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, 2025, 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 api details of the service
|
|
21
|
+
*/
|
|
22
|
+
export interface PrivilegedApiDetails {
|
|
23
|
+
/**
|
|
24
|
+
* type of the entity which needs to be protected.
|
|
25
|
+
*/
|
|
26
|
+
"entityType"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* name of the api which needs to be protected.
|
|
29
|
+
*/
|
|
30
|
+
"apiName": string;
|
|
31
|
+
/**
|
|
32
|
+
* list of attributes belonging to the above api which needs to be protected.
|
|
33
|
+
*/
|
|
34
|
+
"attributeNames"?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace PrivilegedApiDetails {
|
|
37
|
+
function getJsonObj(obj: PrivilegedApiDetails): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: PrivilegedApiDetails): object;
|
|
39
|
+
}
|
|
@@ -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, 2025, 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.PrivilegedApiDetails = void 0;
|
|
22
|
+
var PrivilegedApiDetails;
|
|
23
|
+
(function (PrivilegedApiDetails) {
|
|
24
|
+
function getJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
PrivilegedApiDetails.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
PrivilegedApiDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
34
|
+
})(PrivilegedApiDetails = exports.PrivilegedApiDetails || (exports.PrivilegedApiDetails = {}));
|
|
35
|
+
//# sourceMappingURL=privileged-api-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privileged-api-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAuBH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, 2025, 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
|
+
import * as model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* Results of privilegedApi request search, which contains summary of privilegedApi request.
|
|
22
|
+
*/
|
|
23
|
+
export interface PrivilegedApiRequestCollection {
|
|
24
|
+
/**
|
|
25
|
+
* contains PrivilegedApiRequestSummary
|
|
26
|
+
*/
|
|
27
|
+
"items": Array<model.PrivilegedApiRequestSummary>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace PrivilegedApiRequestCollection {
|
|
30
|
+
function getJsonObj(obj: PrivilegedApiRequestCollection): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: PrivilegedApiRequestCollection): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PrivilegedApiRequestCollection = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var PrivilegedApiRequestCollection;
|
|
43
|
+
(function (PrivilegedApiRequestCollection) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"items": obj.items
|
|
47
|
+
? obj.items.map(item => {
|
|
48
|
+
return model.PrivilegedApiRequestSummary.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PrivilegedApiRequestCollection.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"items": obj.items
|
|
58
|
+
? obj.items.map(item => {
|
|
59
|
+
return model.PrivilegedApiRequestSummary.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
PrivilegedApiRequestCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(PrivilegedApiRequestCollection = exports.PrivilegedApiRequestCollection || (exports.PrivilegedApiRequestCollection = {}));
|
|
67
|
+
//# sourceMappingURL=privileged-api-request-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privileged-api-request-collection.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-request-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,8BAA8B,CA6B9C;AA7BD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5D,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,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxE,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"}
|
|
@@ -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, 2025, 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 api details of the service
|
|
21
|
+
*/
|
|
22
|
+
export interface PrivilegedApiRequestOperationDetails {
|
|
23
|
+
/**
|
|
24
|
+
* name of the api which needs to be protected.
|
|
25
|
+
*/
|
|
26
|
+
"apiName": string;
|
|
27
|
+
/**
|
|
28
|
+
* list of attributes belonging to the above api which needs to be protected.
|
|
29
|
+
*/
|
|
30
|
+
"attributeNames"?: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace PrivilegedApiRequestOperationDetails {
|
|
33
|
+
function getJsonObj(obj: PrivilegedApiRequestOperationDetails): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: PrivilegedApiRequestOperationDetails): 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, 2025, 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.PrivilegedApiRequestOperationDetails = void 0;
|
|
22
|
+
var PrivilegedApiRequestOperationDetails;
|
|
23
|
+
(function (PrivilegedApiRequestOperationDetails) {
|
|
24
|
+
function getJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
PrivilegedApiRequestOperationDetails.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
PrivilegedApiRequestOperationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
34
|
+
})(PrivilegedApiRequestOperationDetails = exports.PrivilegedApiRequestOperationDetails || (exports.PrivilegedApiRequestOperationDetails = {}));
|
|
35
|
+
//# sourceMappingURL=privileged-api-request-operation-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privileged-api-request-operation-details.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-request-operation-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAmBH,IAAiB,oCAAoC,CAWpD;AAXD,WAAiB,oCAAoC;IACnD,SAAgB,UAAU,CAAC,GAAyC;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyC;QAC9E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAWpD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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, 2025, 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
|
+
* Levels of priorities associated with an privilegedApi request
|
|
21
|
+
**/
|
|
22
|
+
export declare enum PrivilegedApiRequestSeverity {
|
|
23
|
+
Sev1 = "SEV_1",
|
|
24
|
+
Sev2 = "SEV_2",
|
|
25
|
+
Sev3 = "SEV_3",
|
|
26
|
+
Sev4 = "SEV_4",
|
|
27
|
+
/**
|
|
28
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
29
|
+
* version of the SDK.
|
|
30
|
+
*/
|
|
31
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
32
|
+
}
|
|
33
|
+
export declare namespace PrivilegedApiRequestSeverity {
|
|
34
|
+
function getJsonObj(obj: PrivilegedApiRequestSeverity): PrivilegedApiRequestSeverity;
|
|
35
|
+
function getDeserializedJsonObj(obj: PrivilegedApiRequestSeverity): PrivilegedApiRequestSeverity;
|
|
36
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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, 2025, 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.PrivilegedApiRequestSeverity = void 0;
|
|
22
|
+
/**
|
|
23
|
+
* Levels of priorities associated with an privilegedApi request
|
|
24
|
+
**/
|
|
25
|
+
var PrivilegedApiRequestSeverity;
|
|
26
|
+
(function (PrivilegedApiRequestSeverity) {
|
|
27
|
+
PrivilegedApiRequestSeverity["Sev1"] = "SEV_1";
|
|
28
|
+
PrivilegedApiRequestSeverity["Sev2"] = "SEV_2";
|
|
29
|
+
PrivilegedApiRequestSeverity["Sev3"] = "SEV_3";
|
|
30
|
+
PrivilegedApiRequestSeverity["Sev4"] = "SEV_4";
|
|
31
|
+
/**
|
|
32
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
33
|
+
* version of the SDK.
|
|
34
|
+
*/
|
|
35
|
+
PrivilegedApiRequestSeverity["UnknownValue"] = "UNKNOWN_VALUE";
|
|
36
|
+
})(PrivilegedApiRequestSeverity = exports.PrivilegedApiRequestSeverity || (exports.PrivilegedApiRequestSeverity = {}));
|
|
37
|
+
(function (PrivilegedApiRequestSeverity) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
return obj;
|
|
40
|
+
}
|
|
41
|
+
PrivilegedApiRequestSeverity.getJsonObj = getJsonObj;
|
|
42
|
+
function getDeserializedJsonObj(obj) {
|
|
43
|
+
return obj;
|
|
44
|
+
}
|
|
45
|
+
PrivilegedApiRequestSeverity.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
46
|
+
})(PrivilegedApiRequestSeverity = exports.PrivilegedApiRequestSeverity || (exports.PrivilegedApiRequestSeverity = {}));
|
|
47
|
+
//# sourceMappingURL=privileged-api-request-severity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privileged-api-request-severity.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-request-severity.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAKH;;IAEI;AACJ,IAAY,4BAWX;AAXD,WAAY,4BAA4B;IACtC,8CAAc,CAAA;IACd,8CAAc,CAAA;IACd,8CAAc,CAAA;IACd,8CAAc,CAAA;IAEd;;;OAGG;IACH,8DAA8B,CAAA;AAChC,CAAC,EAXW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAWvC;AAED,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,uCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAiC;QAEjC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,mDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAS5C"}
|
|
@@ -0,0 +1,139 @@
|
|
|
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, 2025, 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
|
+
import * as model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* Summary of access request.
|
|
22
|
+
*/
|
|
23
|
+
export interface PrivilegedApiRequestSummary {
|
|
24
|
+
/**
|
|
25
|
+
* The OCID of the access request.
|
|
26
|
+
*/
|
|
27
|
+
"id": string;
|
|
28
|
+
/**
|
|
29
|
+
* Name of the privilegedApi control. The name must be unique.
|
|
30
|
+
*/
|
|
31
|
+
"displayName"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* This is a system-generated identifier to identity a Request in human readable form in the form of REQYYYYMMDD<number>.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"requestId"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Comment associated with the privilegedApi request.
|
|
39
|
+
*/
|
|
40
|
+
"reasonSummary": string;
|
|
41
|
+
/**
|
|
42
|
+
* The OCID of the compartment that contains the privilegedApi request.
|
|
43
|
+
*/
|
|
44
|
+
"compartmentId"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* resourceName for which the PrivilegedApiRequest is applicable
|
|
47
|
+
*/
|
|
48
|
+
"resourceName"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The OCID of the target resource associated with the privilegedApi request. The operator raises an privilegedApi request to get approval to access the target resource.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
"resourceId": string;
|
|
54
|
+
/**
|
|
55
|
+
* The subresource names requested for approval.
|
|
56
|
+
*/
|
|
57
|
+
"subResourceNameList"?: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
* resourceType for which the PrivilegedApiRequest is applicable
|
|
60
|
+
*/
|
|
61
|
+
"resourceType"?: string;
|
|
62
|
+
/**
|
|
63
|
+
* List of api names, attributes for which approval is sought by the user.
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"privilegedOperationList"?: Array<model.PrivilegedApiRequestOperationDetails>;
|
|
67
|
+
/**
|
|
68
|
+
* The current state of the Access Request.
|
|
69
|
+
*/
|
|
70
|
+
"state"?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The current state of the PrivilegedApiRequest.
|
|
73
|
+
*/
|
|
74
|
+
"lifecycleState"?: string;
|
|
75
|
+
/**
|
|
76
|
+
* More in detail about the lifeCycleState.
|
|
77
|
+
*/
|
|
78
|
+
"lifecycleDetails"?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Time when the privilegedApi request was created by the operator user in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z'
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
"timeCreated"?: Date;
|
|
84
|
+
/**
|
|
85
|
+
* Time when the privilegedApi request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.Example: '2020-05-22T21:10:29.600Z'
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
"timeUpdated"?: Date;
|
|
89
|
+
/**
|
|
90
|
+
* Duration in hours for which access is sought on the target resource. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
91
|
+
*/
|
|
92
|
+
"durationInHrs"?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Priority assigned to the privilegedApi request by the operator
|
|
95
|
+
*/
|
|
96
|
+
"severity"?: model.PrivilegedApiRequestSeverity;
|
|
97
|
+
/**
|
|
98
|
+
* Time in future when the user for the access request needs to be created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
"timeRequestedForFutureAccess"?: Date;
|
|
102
|
+
/**
|
|
103
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
104
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
105
|
+
* <p>
|
|
106
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
107
|
+
*
|
|
108
|
+
*/
|
|
109
|
+
"freeformTags"?: {
|
|
110
|
+
[key: string]: string;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
114
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
115
|
+
* <p>
|
|
116
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
117
|
+
*
|
|
118
|
+
*/
|
|
119
|
+
"definedTags"?: {
|
|
120
|
+
[key: string]: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
126
|
+
* <p>
|
|
127
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
"systemTags"?: {
|
|
131
|
+
[key: string]: {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
export declare namespace PrivilegedApiRequestSummary {
|
|
137
|
+
function getJsonObj(obj: PrivilegedApiRequestSummary): object;
|
|
138
|
+
function getDeserializedJsonObj(obj: PrivilegedApiRequestSummary): object;
|
|
139
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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, 2025, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PrivilegedApiRequestSummary = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var PrivilegedApiRequestSummary;
|
|
43
|
+
(function (PrivilegedApiRequestSummary) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"privilegedOperationList": obj.privilegedOperationList
|
|
47
|
+
? obj.privilegedOperationList.map(item => {
|
|
48
|
+
return model.PrivilegedApiRequestOperationDetails.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
PrivilegedApiRequestSummary.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"privilegedOperationList": obj.privilegedOperationList
|
|
58
|
+
? obj.privilegedOperationList.map(item => {
|
|
59
|
+
return model.PrivilegedApiRequestOperationDetails.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
PrivilegedApiRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(PrivilegedApiRequestSummary = exports.PrivilegedApiRequestSummary || (exports.PrivilegedApiRequestSummary = {}));
|
|
67
|
+
//# sourceMappingURL=privileged-api-request-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privileged-api-request-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/privileged-api-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8GlC,IAAiB,2BAA2B,CA6B3C;AA7BD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,oCAAoC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6B3C"}
|