oci-networkfirewall 2.32.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/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 +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +232 -0
- package/lib/client.js +1302 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/application.d.ts +24 -0
- package/lib/model/application.js +77 -0
- package/lib/model/application.js.map +1 -0
- package/lib/model/change-network-firewall-compartment-details.d.ts +27 -0
- package/lib/model/change-network-firewall-compartment-details.js +29 -0
- package/lib/model/change-network-firewall-compartment-details.js.map +1 -0
- package/lib/model/change-network-firewall-policy-compartment-details.d.ts +27 -0
- package/lib/model/change-network-firewall-policy-compartment-details.js +29 -0
- package/lib/model/change-network-firewall-policy-compartment-details.js.map +1 -0
- package/lib/model/create-network-firewall-details.d.ts +74 -0
- package/lib/model/create-network-firewall-details.js +29 -0
- package/lib/model/create-network-firewall-details.js.map +1 -0
- package/lib/model/create-network-firewall-policy-details.d.ts +105 -0
- package/lib/model/create-network-firewall-policy-details.js +84 -0
- package/lib/model/create-network-firewall-policy-details.js.map +1 -0
- package/lib/model/decryption-profile.d.ts +22 -0
- package/lib/model/decryption-profile.js +69 -0
- package/lib/model/decryption-profile.js.map +1 -0
- package/lib/model/decryption-rule-match-criteria.d.ts +29 -0
- package/lib/model/decryption-rule-match-criteria.js +29 -0
- package/lib/model/decryption-rule-match-criteria.js.map +1 -0
- package/lib/model/decryption-rule.d.ts +54 -0
- package/lib/model/decryption-rule.js +67 -0
- package/lib/model/decryption-rule.js.map +1 -0
- package/lib/model/icmp-application.d.ts +32 -0
- package/lib/model/icmp-application.js +52 -0
- package/lib/model/icmp-application.js.map +1 -0
- package/lib/model/icmp6-application.d.ts +32 -0
- package/lib/model/icmp6-application.js +52 -0
- package/lib/model/icmp6-application.js.map +1 -0
- package/lib/model/index.d.ts +96 -0
- package/lib/model/index.js +119 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +32 -0
- package/lib/model/lifecycle-state.js +43 -0
- package/lib/model/lifecycle-state.js.map +1 -0
- package/lib/model/mapped-secret.d.ts +39 -0
- package/lib/model/mapped-secret.js +75 -0
- package/lib/model/mapped-secret.js.map +1 -0
- package/lib/model/network-firewall-collection.d.ts +26 -0
- package/lib/model/network-firewall-collection.js +61 -0
- package/lib/model/network-firewall-collection.js.map +1 -0
- package/lib/model/network-firewall-policy-summary-collection.d.ts +26 -0
- package/lib/model/network-firewall-policy-summary-collection.js +61 -0
- package/lib/model/network-firewall-policy-summary-collection.js.map +1 -0
- package/lib/model/network-firewall-policy-summary.d.ts +82 -0
- package/lib/model/network-firewall-policy-summary.js +29 -0
- package/lib/model/network-firewall-policy-summary.js.map +1 -0
- package/lib/model/network-firewall-policy.d.ts +144 -0
- package/lib/model/network-firewall-policy.js +84 -0
- package/lib/model/network-firewall-policy.js.map +1 -0
- package/lib/model/network-firewall-summary.d.ts +105 -0
- package/lib/model/network-firewall-summary.js +29 -0
- package/lib/model/network-firewall-summary.js.map +1 -0
- package/lib/model/network-firewall.d.ts +109 -0
- package/lib/model/network-firewall.js +29 -0
- package/lib/model/network-firewall.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +34 -0
- package/lib/model/operation-type.js +45 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/security-rule-match-criteria.d.ts +39 -0
- package/lib/model/security-rule-match-criteria.js +29 -0
- package/lib/model/security-rule-match-criteria.js.map +1 -0
- package/lib/model/security-rule.d.ts +68 -0
- package/lib/model/security-rule.js +79 -0
- package/lib/model/security-rule.js.map +1 -0
- package/lib/model/simple-url-pattern.d.ts +64 -0
- package/lib/model/simple-url-pattern.js +52 -0
- package/lib/model/simple-url-pattern.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/ssl-forward-proxy-profile.d.ts +62 -0
- package/lib/model/ssl-forward-proxy-profile.js +54 -0
- package/lib/model/ssl-forward-proxy-profile.js.map +1 -0
- package/lib/model/ssl-inbound-inspection-profile.d.ts +36 -0
- package/lib/model/ssl-inbound-inspection-profile.js +54 -0
- package/lib/model/ssl-inbound-inspection-profile.js.map +1 -0
- package/lib/model/tcp-application.d.ts +32 -0
- package/lib/model/tcp-application.js +52 -0
- package/lib/model/tcp-application.js.map +1 -0
- package/lib/model/udp-application.d.ts +32 -0
- package/lib/model/udp-application.js +52 -0
- package/lib/model/udp-application.js.map +1 -0
- package/lib/model/update-network-firewall-details.d.ts +51 -0
- package/lib/model/update-network-firewall-details.js +29 -0
- package/lib/model/update-network-firewall-details.js.map +1 -0
- package/lib/model/update-network-firewall-policy-details.d.ts +101 -0
- package/lib/model/update-network-firewall-policy-details.js +84 -0
- package/lib/model/update-network-firewall-policy-details.js.map +1 -0
- package/lib/model/url-pattern.d.ts +23 -0
- package/lib/model/url-pattern.js +65 -0
- package/lib/model/url-pattern.js.map +1 -0
- package/lib/model/vault-mapped-secret.d.ts +32 -0
- package/lib/model/vault-mapped-secret.js +52 -0
- package/lib/model/vault-mapped-secret.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +67 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/networkfirewall-waiter.d.ts +44 -0
- package/lib/networkfirewall-waiter.js +88 -0
- package/lib/networkfirewall-waiter.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -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-network-firewall-compartment-request.d.ts +40 -0
- package/lib/request/change-network-firewall-compartment-request.js +15 -0
- package/lib/request/change-network-firewall-compartment-request.js.map +1 -0
- package/lib/request/change-network-firewall-policy-compartment-request.d.ts +49 -0
- package/lib/request/change-network-firewall-policy-compartment-request.js +15 -0
- package/lib/request/change-network-firewall-policy-compartment-request.js.map +1 -0
- package/lib/request/create-network-firewall-policy-request.d.ts +36 -0
- package/lib/request/create-network-firewall-policy-request.js +15 -0
- package/lib/request/create-network-firewall-policy-request.js.map +1 -0
- package/lib/request/create-network-firewall-request.d.ts +36 -0
- package/lib/request/create-network-firewall-request.js +15 -0
- package/lib/request/create-network-firewall-request.js.map +1 -0
- package/lib/request/delete-network-firewall-policy-request.d.ts +35 -0
- package/lib/request/delete-network-firewall-policy-request.js +15 -0
- package/lib/request/delete-network-firewall-policy-request.js.map +1 -0
- package/lib/request/delete-network-firewall-request.d.ts +35 -0
- package/lib/request/delete-network-firewall-request.js +15 -0
- package/lib/request/delete-network-firewall-request.js.map +1 -0
- package/lib/request/get-network-firewall-policy-request.d.ts +26 -0
- package/lib/request/get-network-firewall-policy-request.js +15 -0
- package/lib/request/get-network-firewall-policy-request.js.map +1 -0
- package/lib/request/get-network-firewall-request.d.ts +26 -0
- package/lib/request/get-network-firewall-request.js +15 -0
- package/lib/request/get-network-firewall-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -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 +46 -0
- package/lib/request/index.js +45 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-network-firewall-policies-request.d.ts +62 -0
- package/lib/request/list-network-firewall-policies-request.js +24 -0
- package/lib/request/list-network-firewall-policies-request.js.map +1 -0
- package/lib/request/list-network-firewalls-request.d.ts +73 -0
- package/lib/request/list-network-firewalls-request.js +24 -0
- package/lib/request/list-network-firewalls-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -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 +49 -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 +61 -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/update-network-firewall-policy-request.d.ts +40 -0
- package/lib/request/update-network-firewall-policy-request.js +15 -0
- package/lib/request/update-network-firewall-policy-request.js.map +1 -0
- package/lib/request/update-network-firewall-request.d.ts +40 -0
- package/lib/request/update-network-firewall-request.js +15 -0
- package/lib/request/update-network-firewall-request.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-network-firewall-compartment-response.d.ts +25 -0
- package/lib/response/change-network-firewall-compartment-response.js +15 -0
- package/lib/response/change-network-firewall-compartment-response.js.map +1 -0
- package/lib/response/change-network-firewall-policy-compartment-response.d.ts +20 -0
- package/lib/response/change-network-firewall-policy-compartment-response.js +15 -0
- package/lib/response/change-network-firewall-policy-compartment-response.js.map +1 -0
- package/lib/response/create-network-firewall-policy-response.d.ts +35 -0
- package/lib/response/create-network-firewall-policy-response.js +15 -0
- package/lib/response/create-network-firewall-policy-response.js.map +1 -0
- package/lib/response/create-network-firewall-response.d.ts +35 -0
- package/lib/response/create-network-firewall-response.js +15 -0
- package/lib/response/create-network-firewall-response.js.map +1 -0
- package/lib/response/delete-network-firewall-policy-response.d.ts +25 -0
- package/lib/response/delete-network-firewall-policy-response.js +15 -0
- package/lib/response/delete-network-firewall-policy-response.js.map +1 -0
- package/lib/response/delete-network-firewall-response.d.ts +25 -0
- package/lib/response/delete-network-firewall-response.js +15 -0
- package/lib/response/delete-network-firewall-response.js.map +1 -0
- package/lib/response/get-network-firewall-policy-response.d.ts +30 -0
- package/lib/response/get-network-firewall-policy-response.js +15 -0
- package/lib/response/get-network-firewall-policy-response.js.map +1 -0
- package/lib/response/get-network-firewall-response.d.ts +30 -0
- package/lib/response/get-network-firewall-response.js +15 -0
- package/lib/response/get-network-firewall-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 +46 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-network-firewall-policies-response.d.ts +50 -0
- package/lib/response/list-network-firewall-policies-response.js +15 -0
- package/lib/response/list-network-firewall-policies-response.js.map +1 -0
- package/lib/response/list-network-firewalls-response.d.ts +50 -0
- package/lib/response/list-network-firewalls-response.js +15 -0
- package/lib/response/list-network-firewalls-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +39 -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 +39 -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 +39 -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/update-network-firewall-policy-response.d.ts +25 -0
- package/lib/response/update-network-firewall-policy-response.js +15 -0
- package/lib/response/update-network-firewall-policy-response.js.map +1 -0
- package/lib/response/update-network-firewall-response.d.ts +25 -0
- package/lib/response/update-network-firewall-response.js +15 -0
- package/lib/response/update-network-firewall-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation status.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["Failed"] = "FAILED";
|
|
25
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
26
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
27
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
34
|
+
(function (OperationStatus) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
44
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Possible operation types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateNetworkFirewall = "CREATE_NETWORK_FIREWALL",
|
|
18
|
+
UpdateNetworkFirewall = "UPDATE_NETWORK_FIREWALL",
|
|
19
|
+
DeleteNetworkFirewall = "DELETE_NETWORK_FIREWALL",
|
|
20
|
+
MoveNetworkFirewall = "MOVE_NETWORK_FIREWALL",
|
|
21
|
+
CreateNetworkFirewallPolicy = "CREATE_NETWORK_FIREWALL_POLICY",
|
|
22
|
+
UpdateNetworkFirewallPolicy = "UPDATE_NETWORK_FIREWALL_POLICY",
|
|
23
|
+
DeleteNetworkFirewallPolicy = "DELETE_NETWORK_FIREWALL_POLICY",
|
|
24
|
+
MoveNetworkFirewallPolicy = "MOVE_NETWORK_FIREWALL_POLICY",
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
30
|
+
}
|
|
31
|
+
export declare namespace OperationType {
|
|
32
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
33
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
34
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation types.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateNetworkFirewall"] = "CREATE_NETWORK_FIREWALL";
|
|
22
|
+
OperationType["UpdateNetworkFirewall"] = "UPDATE_NETWORK_FIREWALL";
|
|
23
|
+
OperationType["DeleteNetworkFirewall"] = "DELETE_NETWORK_FIREWALL";
|
|
24
|
+
OperationType["MoveNetworkFirewall"] = "MOVE_NETWORK_FIREWALL";
|
|
25
|
+
OperationType["CreateNetworkFirewallPolicy"] = "CREATE_NETWORK_FIREWALL_POLICY";
|
|
26
|
+
OperationType["UpdateNetworkFirewallPolicy"] = "UPDATE_NETWORK_FIREWALL_POLICY";
|
|
27
|
+
OperationType["DeleteNetworkFirewallPolicy"] = "DELETE_NETWORK_FIREWALL_POLICY";
|
|
28
|
+
OperationType["MoveNetworkFirewallPolicy"] = "MOVE_NETWORK_FIREWALL_POLICY";
|
|
29
|
+
/**
|
|
30
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
31
|
+
* version of the SDK.
|
|
32
|
+
*/
|
|
33
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
34
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
35
|
+
(function (OperationType) {
|
|
36
|
+
function getJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
OperationType.getJsonObj = getJsonObj;
|
|
40
|
+
function getDeserializedJsonObj(obj) {
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
44
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
45
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAeX;AAfD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,kEAAiD,CAAA;IACjD,kEAAiD,CAAA;IACjD,8DAA6C,CAAA;IAC7C,+EAA8D,CAAA;IAC9D,+EAA8D,CAAA;IAC9D,+EAA8D,CAAA;IAC9D,2EAA0D,CAAA;IAE1D;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAfW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAexB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Criteria to evaluate against network traffic.
|
|
15
|
+
* A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface SecurityRuleMatchCriteria {
|
|
19
|
+
/**
|
|
20
|
+
* An array of IP address list names to be evaluated against the traffic source address.
|
|
21
|
+
*/
|
|
22
|
+
"sources"?: Array<string>;
|
|
23
|
+
/**
|
|
24
|
+
* An array of IP address list names to be evaluated against the traffic destination address.
|
|
25
|
+
*/
|
|
26
|
+
"destinations"?: Array<string>;
|
|
27
|
+
/**
|
|
28
|
+
* An array of application list names to be evaluated against the traffic protocol and protocol-specific parameters.
|
|
29
|
+
*/
|
|
30
|
+
"applications"?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* An array of URL pattern list names to be evaluated against the HTTP(S) request target.
|
|
33
|
+
*/
|
|
34
|
+
"urls"?: Array<string>;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace SecurityRuleMatchCriteria {
|
|
37
|
+
function getJsonObj(obj: SecurityRuleMatchCriteria): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: SecurityRuleMatchCriteria): object;
|
|
39
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SecurityRuleMatchCriteria = void 0;
|
|
16
|
+
var SecurityRuleMatchCriteria;
|
|
17
|
+
(function (SecurityRuleMatchCriteria) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
SecurityRuleMatchCriteria.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
SecurityRuleMatchCriteria.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(SecurityRuleMatchCriteria = exports.SecurityRuleMatchCriteria || (exports.SecurityRuleMatchCriteria = {}));
|
|
29
|
+
//# sourceMappingURL=security-rule-match-criteria.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-rule-match-criteria.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/security-rule-match-criteria.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6BH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Security Rule used in the firewall policy rules.
|
|
16
|
+
* Security Rules determine whether to block or allow a session based on traffic attributes,
|
|
17
|
+
* such as the source and destination IP address, protocol/port, and the HTTP(S) target URL.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export interface SecurityRule {
|
|
21
|
+
/**
|
|
22
|
+
* Name for the Security rule, must be unique within the policy.
|
|
23
|
+
*/
|
|
24
|
+
"name": string;
|
|
25
|
+
"condition": model.SecurityRuleMatchCriteria;
|
|
26
|
+
/**
|
|
27
|
+
* Types of Action on the Traffic flow.
|
|
28
|
+
* <p>
|
|
29
|
+
* ALLOW - Allows the traffic.
|
|
30
|
+
* * DROP - Silently drops the traffic, e.g. without sending a TCP reset.
|
|
31
|
+
* * REJECT - Rejects the traffic, sending a TCP reset to client and/or server as applicable.
|
|
32
|
+
* * INSPECT - Inspects traffic for vulnerability as specified in `inspection`, which may result in rejection.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"action": SecurityRule.Action;
|
|
36
|
+
/**
|
|
37
|
+
* Type of inspection to affect the Traffic flow. This is only applicable if action is INSPECT.
|
|
38
|
+
* <p>
|
|
39
|
+
* INTRUSION_DETECTION - Intrusion Detection.
|
|
40
|
+
* * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"inspection"?: SecurityRule.Inspection;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace SecurityRule {
|
|
46
|
+
enum Action {
|
|
47
|
+
Allow = "ALLOW",
|
|
48
|
+
Drop = "DROP",
|
|
49
|
+
Reject = "REJECT",
|
|
50
|
+
Inspect = "INSPECT",
|
|
51
|
+
/**
|
|
52
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
53
|
+
* version of the SDK.
|
|
54
|
+
*/
|
|
55
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
56
|
+
}
|
|
57
|
+
enum Inspection {
|
|
58
|
+
IntrusionDetection = "INTRUSION_DETECTION",
|
|
59
|
+
IntrusionPrevention = "INTRUSION_PREVENTION",
|
|
60
|
+
/**
|
|
61
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
62
|
+
* version of the SDK.
|
|
63
|
+
*/
|
|
64
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
65
|
+
}
|
|
66
|
+
function getJsonObj(obj: SecurityRule): object;
|
|
67
|
+
function getDeserializedJsonObj(obj: SecurityRule): object;
|
|
68
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.SecurityRule = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SecurityRule;
|
|
37
|
+
(function (SecurityRule) {
|
|
38
|
+
let Action;
|
|
39
|
+
(function (Action) {
|
|
40
|
+
Action["Allow"] = "ALLOW";
|
|
41
|
+
Action["Drop"] = "DROP";
|
|
42
|
+
Action["Reject"] = "REJECT";
|
|
43
|
+
Action["Inspect"] = "INSPECT";
|
|
44
|
+
/**
|
|
45
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
46
|
+
* version of the SDK.
|
|
47
|
+
*/
|
|
48
|
+
Action["UnknownValue"] = "UNKNOWN_VALUE";
|
|
49
|
+
})(Action = SecurityRule.Action || (SecurityRule.Action = {}));
|
|
50
|
+
let Inspection;
|
|
51
|
+
(function (Inspection) {
|
|
52
|
+
Inspection["IntrusionDetection"] = "INTRUSION_DETECTION";
|
|
53
|
+
Inspection["IntrusionPrevention"] = "INTRUSION_PREVENTION";
|
|
54
|
+
/**
|
|
55
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
56
|
+
* version of the SDK.
|
|
57
|
+
*/
|
|
58
|
+
Inspection["UnknownValue"] = "UNKNOWN_VALUE";
|
|
59
|
+
})(Inspection = SecurityRule.Inspection || (SecurityRule.Inspection = {}));
|
|
60
|
+
function getJsonObj(obj) {
|
|
61
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
"condition": obj.condition
|
|
63
|
+
? model.SecurityRuleMatchCriteria.getJsonObj(obj.condition)
|
|
64
|
+
: undefined
|
|
65
|
+
});
|
|
66
|
+
return jsonObj;
|
|
67
|
+
}
|
|
68
|
+
SecurityRule.getJsonObj = getJsonObj;
|
|
69
|
+
function getDeserializedJsonObj(obj) {
|
|
70
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
71
|
+
"condition": obj.condition
|
|
72
|
+
? model.SecurityRuleMatchCriteria.getDeserializedJsonObj(obj.condition)
|
|
73
|
+
: undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
SecurityRule.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
78
|
+
})(SecurityRule = exports.SecurityRule || (exports.SecurityRule = {}));
|
|
79
|
+
//# sourceMappingURL=security-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security-rule.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/security-rule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmClC,IAAiB,YAAY,CA+C5B;AA/CD,WAAiB,YAAY;IAC3B,IAAY,MAUX;IAVD,WAAY,MAAM;QAChB,yBAAe,CAAA;QACf,uBAAa,CAAA;QACb,2BAAiB,CAAA;QACjB,6BAAmB,CAAA;QACnB;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EAVW,MAAM,GAAN,mBAAM,KAAN,mBAAM,QAUjB;IAED,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,wDAA0C,CAAA;QAC1C,0DAA4C,CAAA;QAC5C;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,uBAAU,KAAV,uBAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBAC3D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,uBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAsB,yBAWrC,CAAA;AACH,CAAC,EA/CgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA+C5B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Pattern describing an http/https URL or set thereof
|
|
16
|
+
* as a concatenation of optional host component and optional path component.
|
|
17
|
+
* <p>
|
|
18
|
+
Key points:
|
|
19
|
+
* 1. Use the specific URLs or construct the URL patterns you want to match using wildcard `*` and token characters `./`.
|
|
20
|
+
* 2. In the host component and path component don't enter consecutive wildcard `*` for example: `example.*.*.com`.
|
|
21
|
+
* 3. To match the exact domain and its subdirectories add a trailing slash `/` to your entry.
|
|
22
|
+
* 4. The firewall interprets entries that do not end in a `/` or `*` with an implicit asterisk `*` to their end, which further increases the potential matches.
|
|
23
|
+
* 5. The Use of multiple wildcards in a single pattern can impact the performance of the firewall.
|
|
24
|
+
* <p>
|
|
25
|
+
Domain/subdomains match examples:
|
|
26
|
+
* 1. `*.example.com.*` will match `sub1.sub2.example.com.info.us` and `sub1.example.com.us` and `sub1.example.com/subdirectory` but not match `sub1.example.com`.
|
|
27
|
+
* 2. `*.example.com` will match `sub1.example.com` and `sub1.sub2.example.com` and `sub1.example.com.au` but not match `example.com`.
|
|
28
|
+
* 3. `*.example.com/` will match `sub1.sub2.example.com` and `sub1.example.com` but not match `sub1.example.com.au`.
|
|
29
|
+
* 4. `example.com` will match `example.com` and `example.com.au` and `example.com.info.us` and `example.com/subdirectory`.
|
|
30
|
+
* 5. `example.com/` will match `example.com` and `example.com/foo` but not `example.com.info.us`.
|
|
31
|
+
* 6. `example.*.com` will match `example.sub1.com` and `example.sub1.sub2.com` and `example.sub1.com.au` and `example.sub1.com/subdirecroty`.
|
|
32
|
+
* 7. `example.*.com/` will match `example.sub1.com` and `example.sub1.sub2.com` and `example.sub1.com/subdirecroty` but not match `example.sub1.com.au`.
|
|
33
|
+
* 8. `example.com.*` will match `example.com.us` and `example.com.info.us` and `example.com.us/subdirectory` but not match `sub1.example.com`.
|
|
34
|
+
* <p>
|
|
35
|
+
Subdirectory or path match examples:
|
|
36
|
+
* 1. `example.com/*` will match `example.com/foo` and `example.com/bar` and any `example.com/subdirectory`.
|
|
37
|
+
* 2. `example.com/foo` will match `example.com/foo`.
|
|
38
|
+
* 3. `www.example.com/foo/*` will match `www.exampe.com/foo/subdiectory`, but not match `www.example.com/FOO` or `www.example.com/bar/subdirectory`.
|
|
39
|
+
* 4. `*.example.com/foo/*` will match `sub2.sub.example.com/foo/subdirectory` but not match `sub1.example.com/FOO` or `sub1.example.com/bar/subdirectory`.
|
|
40
|
+
* <p>
|
|
41
|
+
Other examples containing IP addresses in urls:
|
|
42
|
+
* 1. 103.12.14.122/ will match 103.12.14.122 and 103.12.14.122/subdirectory.
|
|
43
|
+
* 2. 103.12.14.122:8081/ will match 103.12.14.122:8081 and 103.12.14.122:8081/subdirectory.
|
|
44
|
+
* 3. 2607:9d80:4680:3f01:0000:0000:00d0:00c0/ will match 2607:9d80:4680:3f01:0000:0000:00d0:00c0 and 2607:9d80:4680:3f01:0000:0000:00d0:00c0/subdirecroty.
|
|
45
|
+
* 4. [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081/ will match [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081 and [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081/subdirecroty.
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
export interface SimpleUrlPattern extends model.UrlPattern {
|
|
49
|
+
/**
|
|
50
|
+
* A string consisting of a concatenation of optional host component and optional path component.
|
|
51
|
+
* The host component may start with `*.` to match the case-insensitive domain and all its subdomains.
|
|
52
|
+
* The path component must start with a `/`, and may end with `*` to match all paths of which it is a case-sensitive prefix.
|
|
53
|
+
* A missing host component matches all request domains, and a missing path component matches all request paths.
|
|
54
|
+
* An empty value matches all requests.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
"pattern": string;
|
|
58
|
+
"type": string;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace SimpleUrlPattern {
|
|
61
|
+
function getJsonObj(obj: SimpleUrlPattern, isParentJsonObj?: boolean): object;
|
|
62
|
+
const type = "SIMPLE";
|
|
63
|
+
function getDeserializedJsonObj(obj: SimpleUrlPattern, isParentJsonObj?: boolean): object;
|
|
64
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.SimpleUrlPattern = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SimpleUrlPattern;
|
|
37
|
+
(function (SimpleUrlPattern) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.UrlPattern.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
SimpleUrlPattern.getJsonObj = getJsonObj;
|
|
43
|
+
SimpleUrlPattern.type = "SIMPLE";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
46
|
+
? obj
|
|
47
|
+
: model.UrlPattern.getDeserializedJsonObj(obj))), {});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
SimpleUrlPattern.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
51
|
+
})(SimpleUrlPattern = exports.SimpleUrlPattern || (exports.SimpleUrlPattern = {}));
|
|
52
|
+
//# sourceMappingURL=simple-url-pattern.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simple-url-pattern.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/simple-url-pattern.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmDlC,IAAiB,gBAAgB,CAoBhC;AApBD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB,EAAE,eAAyB;QACzE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAsB,CAAC,GAChF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,2BAAU,aAOzB,CAAA;IACY,qBAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CAAC,GAAqB,EAAE,eAAyB;QACrF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAsB,CAAC,GACpE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,uCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAoBhC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Sort orders.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SortOrder {
|
|
17
|
+
Asc = "ASC",
|
|
18
|
+
Desc = "DESC"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SortOrder {
|
|
21
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
22
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Network Firewall API
|
|
4
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
5
|
+
* OpenAPI spec version: 20211001
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* 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.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Asc"] = "ASC";
|
|
22
|
+
SortOrder["Desc"] = "DESC";
|
|
23
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
24
|
+
(function (SortOrder) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/networkfirewall/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Network Firewall API
|
|
3
|
+
* Use the Network Firewall API to create network firewalls and configure policies that regulates network traffic in and across VCNs.
|
|
4
|
+
* OpenAPI spec version: 20211001
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* 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.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* SSLForwardProxy used on the firewall policy rules.
|
|
16
|
+
*/
|
|
17
|
+
export interface SslForwardProxyProfile extends model.DecryptionProfile {
|
|
18
|
+
/**
|
|
19
|
+
* Whether to block sessions if server's certificate is expired.
|
|
20
|
+
*/
|
|
21
|
+
"isExpiredCertificateBlocked": boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA).
|
|
24
|
+
*/
|
|
25
|
+
"isUntrustedIssuerBlocked": boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Whether to block sessions if the revocation status check for server's certificate
|
|
28
|
+
* does not succeed within the maximum allowed time (defaulting to 5 seconds).
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"isRevocationStatusTimeoutBlocked": boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether to block sessions if SSL version is not supported.
|
|
34
|
+
*/
|
|
35
|
+
"isUnsupportedVersionBlocked": boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to block sessions if SSL cipher suite is not supported.
|
|
38
|
+
*/
|
|
39
|
+
"isUnsupportedCipherBlocked": boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to block sessions if the revocation status check for server's certificate results in \"unknown\".
|
|
42
|
+
*/
|
|
43
|
+
"isUnknownRevocationStatusBlocked": boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to block sessions if the server's certificate uses extensions other than key usage and/or extended key usage.
|
|
46
|
+
*/
|
|
47
|
+
"areCertificateExtensionsRestricted": boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to automatically append SAN to impersonating certificate if server certificate is missing SAN.
|
|
50
|
+
*/
|
|
51
|
+
"isAutoIncludeAltName": boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to block sessions if the firewall is temporarily unable to decrypt their traffic.
|
|
54
|
+
*/
|
|
55
|
+
"isOutOfCapacityBlocked": boolean;
|
|
56
|
+
"type": string;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace SslForwardProxyProfile {
|
|
59
|
+
function getJsonObj(obj: SslForwardProxyProfile, isParentJsonObj?: boolean): object;
|
|
60
|
+
const type = "SSL_FORWARD_PROXY";
|
|
61
|
+
function getDeserializedJsonObj(obj: SslForwardProxyProfile, isParentJsonObj?: boolean): object;
|
|
62
|
+
}
|