oci-cloudguard 2.84.0 → 2.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +662 -268
- package/lib/client.js +2011 -392
- package/lib/client.js.map +1 -1
- package/lib/cloudguard-waiter.d.ts +16 -0
- package/lib/cloudguard-waiter.js +24 -0
- package/lib/cloudguard-waiter.js.map +1 -1
- package/lib/model/absolute-time-start-policy.d.ts +2 -2
- package/lib/model/action-type.d.ts +1 -1
- package/lib/model/action-type.js +1 -1
- package/lib/model/activity-problem-aggregation-collection.d.ts +2 -2
- package/lib/model/activity-problem-aggregation.d.ts +2 -2
- package/lib/model/actor-type.d.ts +1 -1
- package/lib/model/actor-type.js +1 -1
- package/lib/model/add-compartment-details.d.ts +1 -1
- package/lib/model/adhoc-query-collection.d.ts +33 -0
- package/lib/model/adhoc-query-collection.js +74 -0
- package/lib/model/adhoc-query-collection.js.map +1 -0
- package/lib/model/adhoc-query-details.d.ts +33 -0
- package/lib/model/adhoc-query-details.js +64 -0
- package/lib/model/adhoc-query-details.js.map +1 -0
- package/lib/model/adhoc-query-regional-details.d.ts +53 -0
- package/lib/model/adhoc-query-regional-details.js +32 -0
- package/lib/model/adhoc-query-regional-details.js.map +1 -0
- package/lib/model/adhoc-query-resource.d.ts +36 -0
- package/lib/model/adhoc-query-resource.js +32 -0
- package/lib/model/adhoc-query-resource.js.map +1 -0
- package/lib/model/adhoc-query-result-collection.d.ts +29 -0
- package/lib/model/adhoc-query-result-collection.js +64 -0
- package/lib/model/adhoc-query-result-collection.js.map +1 -0
- package/lib/model/adhoc-query-result-state.d.ts +36 -0
- package/lib/model/adhoc-query-result-state.js +47 -0
- package/lib/model/adhoc-query-result-state.js.map +1 -0
- package/lib/model/adhoc-query-result-summary.d.ts +88 -0
- package/lib/model/adhoc-query-result-summary.js +32 -0
- package/lib/model/adhoc-query-result-summary.js.map +1 -0
- package/lib/model/adhoc-query-status.d.ts +36 -0
- package/lib/model/adhoc-query-status.js +47 -0
- package/lib/model/adhoc-query-status.js.map +1 -0
- package/lib/model/adhoc-query-summary.d.ts +95 -0
- package/lib/model/adhoc-query-summary.js +70 -0
- package/lib/model/adhoc-query-summary.js.map +1 -0
- package/lib/model/adhoc-query.d.ts +95 -0
- package/lib/model/adhoc-query.js +80 -0
- package/lib/model/adhoc-query.js.map +1 -0
- package/lib/model/all-targets-selected.d.ts +1 -1
- package/lib/model/attach-target-detector-recipe-details.d.ts +5 -2
- package/lib/model/attach-target-detector-recipe-details.js.map +1 -1
- package/lib/model/attach-target-responder-recipe-details.d.ts +5 -2
- package/lib/model/attach-target-responder-recipe-details.js.map +1 -1
- package/lib/model/candidate-responder-rule.d.ts +4 -4
- package/lib/model/change-data-source-compartment-details.d.ts +2 -2
- package/lib/model/change-detector-recipe-compartment-details.d.ts +2 -2
- package/lib/model/change-managed-list-compartment-details.d.ts +2 -2
- package/lib/model/change-responder-recipe-compartment-details.d.ts +2 -2
- package/lib/model/change-saved-query-compartment-details.d.ts +28 -0
- package/lib/model/change-saved-query-compartment-details.js +32 -0
- package/lib/model/change-saved-query-compartment-details.js.map +1 -0
- package/lib/model/change-security-policy-compartment-details.d.ts +1 -1
- package/lib/model/change-security-recipe-compartment-details.d.ts +1 -1
- package/lib/model/change-security-zone-compartment-details.d.ts +1 -1
- package/lib/model/classification-status.d.ts +1 -1
- package/lib/model/classification-status.js +1 -1
- package/lib/model/cloud-guard-status.d.ts +1 -1
- package/lib/model/cloud-guard-status.js +1 -1
- package/lib/model/composite-condition.d.ts +4 -1
- package/lib/model/composite-condition.js.map +1 -1
- package/lib/model/condition-filter-type.d.ts +1 -1
- package/lib/model/condition-filter-type.js +1 -1
- package/lib/model/condition-group.d.ts +2 -2
- package/lib/model/condition-metadata-type-collection.d.ts +6 -2
- package/lib/model/condition-metadata-type-collection.js +10 -0
- package/lib/model/condition-metadata-type-collection.js.map +1 -1
- package/lib/model/condition-metadata-type-summary.d.ts +7 -3
- package/lib/model/condition-metadata-type-summary.js +34 -2
- package/lib/model/condition-metadata-type-summary.js.map +1 -1
- package/lib/model/condition-metadata-type.d.ts +6 -2
- package/lib/model/condition-metadata-type.js +10 -0
- package/lib/model/condition-metadata-type.js.map +1 -1
- package/lib/model/condition-operator-name.d.ts +1 -1
- package/lib/model/condition-operator-name.js +1 -1
- package/lib/model/condition-operator.d.ts +3 -3
- package/lib/model/condition-type-enum.d.ts +1 -0
- package/lib/model/condition-type-enum.js +1 -0
- package/lib/model/condition-type-enum.js.map +1 -1
- package/lib/model/condition-value-type.d.ts +1 -1
- package/lib/model/condition-value-type.js +1 -1
- package/lib/model/condition.d.ts +1 -1
- package/lib/model/confidence.d.ts +1 -1
- package/lib/model/confidence.js +1 -1
- package/lib/model/config-value.d.ts +4 -4
- package/lib/model/configuration-lifecycle-state.d.ts +31 -0
- package/lib/model/configuration-lifecycle-state.js +42 -0
- package/lib/model/configuration-lifecycle-state.js.map +1 -0
- package/lib/model/configuration-list-item-type.d.ts +1 -1
- package/lib/model/configuration-list-item-type.js +1 -1
- package/lib/model/configuration.d.ts +7 -3
- package/lib/model/configuration.js +34 -2
- package/lib/model/configuration.js.map +1 -1
- package/lib/model/continuous-query-start-policy.d.ts +1 -1
- package/lib/model/create-adhoc-query-details.d.ts +50 -0
- package/lib/model/create-adhoc-query-details.js +60 -0
- package/lib/model/create-adhoc-query-details.js.map +1 -0
- package/lib/model/create-data-mask-rule-details.d.ts +8 -8
- package/lib/model/create-data-source-details.d.ts +6 -6
- package/lib/model/create-data-source-details.js.map +1 -1
- package/lib/model/create-detector-recipe-details.d.ts +5 -5
- package/lib/model/create-detector-recipe-detector-rule-details.d.ts +1 -1
- package/lib/model/create-detector-rule-details.d.ts +9 -9
- package/lib/model/create-managed-list-details.d.ts +6 -6
- package/lib/model/create-responder-recipe-details.d.ts +4 -4
- package/lib/model/create-saved-query-details.d.ts +60 -0
- package/lib/model/create-saved-query-details.js +32 -0
- package/lib/model/create-saved-query-details.js.map +1 -0
- package/lib/model/create-security-policy-details.d.ts +6 -6
- package/lib/model/create-security-recipe-details.d.ts +8 -5
- package/lib/model/create-security-recipe-details.js.map +1 -1
- package/lib/model/create-security-zone-details.d.ts +3 -3
- package/lib/model/create-target-details.d.ts +7 -7
- package/lib/model/create-target-detector-recipe-details.d.ts +3 -3
- package/lib/model/create-target-responder-recipe-details.d.ts +5 -3
- package/lib/model/create-target-responder-recipe-details.js.map +1 -1
- package/lib/model/create-wlp-agent-details.d.ts +64 -0
- package/lib/model/create-wlp-agent-details.js +32 -0
- package/lib/model/create-wlp-agent-details.js.map +1 -0
- package/lib/model/cve-risk-level.d.ts +35 -0
- package/lib/model/cve-risk-level.js +46 -0
- package/lib/model/cve-risk-level.js.map +1 -0
- package/lib/model/data-mask-category.d.ts +1 -1
- package/lib/model/data-mask-category.js +1 -1
- package/lib/model/data-mask-rule-collection.d.ts +6 -2
- package/lib/model/data-mask-rule-collection.js +10 -0
- package/lib/model/data-mask-rule-collection.js.map +1 -1
- package/lib/model/data-mask-rule-status.d.ts +1 -1
- package/lib/model/data-mask-rule-status.js +1 -1
- package/lib/model/data-mask-rule-summary.d.ts +10 -10
- package/lib/model/data-mask-rule.d.ts +14 -10
- package/lib/model/data-mask-rule.js +10 -0
- package/lib/model/data-mask-rule.js.map +1 -1
- package/lib/model/data-source-collection.d.ts +6 -2
- package/lib/model/data-source-collection.js +10 -0
- package/lib/model/data-source-collection.js.map +1 -1
- package/lib/model/data-source-details.js +4 -0
- package/lib/model/data-source-details.js.map +1 -1
- package/lib/model/data-source-event-collection.d.ts +6 -2
- package/lib/model/data-source-event-collection.js +10 -0
- package/lib/model/data-source-event-collection.js.map +1 -1
- package/lib/model/data-source-event-info-status.d.ts +1 -1
- package/lib/model/data-source-event-info-status.js +1 -1
- package/lib/model/data-source-event-info.d.ts +4 -1
- package/lib/model/data-source-event-info.js.map +1 -1
- package/lib/model/data-source-event-summary.d.ts +4 -4
- package/lib/model/data-source-feed-provider.d.ts +2 -1
- package/lib/model/data-source-feed-provider.js +2 -1
- package/lib/model/data-source-feed-provider.js.map +1 -1
- package/lib/model/data-source-mapping-info.d.ts +3 -3
- package/lib/model/data-source-status.d.ts +1 -1
- package/lib/model/data-source-status.js +1 -1
- package/lib/model/data-source-summary-details.d.ts +1 -1
- package/lib/model/data-source-summary-details.js +4 -0
- package/lib/model/data-source-summary-details.js.map +1 -1
- package/lib/model/data-source-summary.d.ts +8 -8
- package/lib/model/data-source-summary.js.map +1 -1
- package/lib/model/data-source.d.ts +12 -8
- package/lib/model/data-source.js +10 -0
- package/lib/model/data-source.js.map +1 -1
- package/lib/model/detector-collection.d.ts +2 -2
- package/lib/model/detector-configuration.d.ts +13 -5
- package/lib/model/detector-configuration.js +10 -0
- package/lib/model/detector-configuration.js.map +1 -1
- package/lib/model/detector-details.d.ts +23 -7
- package/lib/model/detector-details.js +10 -0
- package/lib/model/detector-details.js.map +1 -1
- package/lib/model/detector-enum.d.ts +1 -0
- package/lib/model/detector-enum.js +1 -0
- package/lib/model/detector-enum.js.map +1 -1
- package/lib/model/detector-recipe-collection.d.ts +6 -2
- package/lib/model/detector-recipe-collection.js +10 -0
- package/lib/model/detector-recipe-collection.js.map +1 -1
- package/lib/model/detector-recipe-detector-rule-collection.d.ts +6 -2
- package/lib/model/detector-recipe-detector-rule-collection.js +10 -0
- package/lib/model/detector-recipe-detector-rule-collection.js.map +1 -1
- package/lib/model/detector-recipe-detector-rule-summary.d.ts +13 -13
- package/lib/model/detector-recipe-detector-rule.d.ts +17 -13
- package/lib/model/detector-recipe-detector-rule.js +10 -0
- package/lib/model/detector-recipe-detector-rule.js.map +1 -1
- package/lib/model/detector-recipe-enum.d.ts +33 -0
- package/lib/model/detector-recipe-enum.js +44 -0
- package/lib/model/detector-recipe-enum.js.map +1 -0
- package/lib/model/detector-recipe-summary.d.ts +13 -9
- package/lib/model/detector-recipe-summary.js.map +1 -1
- package/lib/model/detector-recipe.d.ts +14 -10
- package/lib/model/detector-recipe.js.map +1 -1
- package/lib/model/detector-rule-collection.d.ts +2 -2
- package/lib/model/detector-rule-summary.d.ts +12 -12
- package/lib/model/detector-rule.d.ts +14 -10
- package/lib/model/detector-rule.js +10 -0
- package/lib/model/detector-rule.js.map +1 -1
- package/lib/model/detector-summary.d.ts +8 -4
- package/lib/model/detector-summary.js +34 -2
- package/lib/model/detector-summary.js.map +1 -1
- package/lib/model/detector.d.ts +3 -3
- package/lib/model/entities-mapping.d.ts +3 -3
- package/lib/model/entity-details.d.ts +1 -1
- package/lib/model/entity-type.d.ts +1 -1
- package/lib/model/entity-type.js +1 -1
- package/lib/model/execute-responder-execution-details.d.ts +2 -2
- package/lib/model/feed-provider-type.d.ts +1 -1
- package/lib/model/feed-provider-type.js +1 -1
- package/lib/model/geographical-location.d.ts +3 -3
- package/lib/model/impacted-resource-collection.d.ts +6 -2
- package/lib/model/impacted-resource-collection.js +10 -0
- package/lib/model/impacted-resource-collection.js.map +1 -1
- package/lib/model/impacted-resource-summary.d.ts +9 -9
- package/lib/model/index.d.ts +86 -0
- package/lib/model/index.js +93 -6
- package/lib/model/index.js.map +1 -1
- package/lib/model/insight-type-logging-query-details.d.ts +1 -1
- package/lib/model/instance-security-service-configuration.d.ts +31 -0
- package/lib/model/instance-security-service-configuration.js +57 -0
- package/lib/model/instance-security-service-configuration.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +1 -1
- package/lib/model/lifecycle-state.js +1 -1
- package/lib/model/logging-event-info.d.ts +13 -1
- package/lib/model/logging-event-info.js.map +1 -1
- package/lib/model/logging-query-data-source-details.d.ts +7 -7
- package/lib/model/logging-query-data-source-summary-details.d.ts +4 -4
- package/lib/model/logging-query-details.d.ts +1 -1
- package/lib/model/logging-query-type.d.ts +1 -1
- package/lib/model/logging-query-type.js +1 -1
- package/lib/model/managed-list-collection.d.ts +6 -2
- package/lib/model/managed-list-collection.js +10 -0
- package/lib/model/managed-list-collection.js.map +1 -1
- package/lib/model/managed-list-summary.d.ts +13 -13
- package/lib/model/managed-list-type-collection.d.ts +6 -2
- package/lib/model/managed-list-type-collection.js +10 -0
- package/lib/model/managed-list-type-collection.js.map +1 -1
- package/lib/model/managed-list-type-summary.d.ts +7 -3
- package/lib/model/managed-list-type-summary.js +34 -2
- package/lib/model/managed-list-type-summary.js.map +1 -1
- package/lib/model/managed-list-type.d.ts +1 -1
- package/lib/model/managed-list-type.js +1 -1
- package/lib/model/managed-list.d.ts +13 -13
- package/lib/model/monitoring-service.d.ts +30 -0
- package/lib/model/monitoring-service.js +41 -0
- package/lib/model/monitoring-service.js.map +1 -0
- package/lib/model/no-delay-start-policy.d.ts +1 -1
- package/lib/model/operation-status.d.ts +1 -1
- package/lib/model/operation-status.js +1 -1
- package/lib/model/operation-type.d.ts +1 -1
- package/lib/model/operation-type.js +1 -1
- package/lib/model/operator-summary.d.ts +7 -7
- package/lib/model/operator-type.d.ts +1 -1
- package/lib/model/operator-type.js +1 -1
- package/lib/model/owner-type.d.ts +1 -1
- package/lib/model/owner-type.js +1 -1
- package/lib/model/package-detail.d.ts +48 -0
- package/lib/model/package-detail.js +32 -0
- package/lib/model/package-detail.js.map +1 -0
- package/lib/model/policy-collection.d.ts +5 -1
- package/lib/model/policy-collection.js +10 -0
- package/lib/model/policy-collection.js.map +1 -1
- package/lib/model/political-location.d.ts +4 -4
- package/lib/model/problem-aggregation-collection.d.ts +2 -2
- package/lib/model/problem-aggregation.d.ts +2 -2
- package/lib/model/problem-category-enum.d.ts +1 -1
- package/lib/model/problem-category-enum.js +1 -1
- package/lib/model/problem-collection.d.ts +6 -2
- package/lib/model/problem-collection.js +10 -0
- package/lib/model/problem-collection.js.map +1 -1
- package/lib/model/problem-dimension.d.ts +1 -1
- package/lib/model/problem-dimension.js +1 -1
- package/lib/model/problem-endpoint-collection.d.ts +6 -2
- package/lib/model/problem-endpoint-collection.js +10 -0
- package/lib/model/problem-endpoint-collection.js.map +1 -1
- package/lib/model/problem-endpoint-summary.d.ts +9 -9
- package/lib/model/problem-entity-collection.d.ts +5 -1
- package/lib/model/problem-entity-collection.js +10 -0
- package/lib/model/problem-entity-collection.js.map +1 -1
- package/lib/model/problem-entity-summary.d.ts +4 -4
- package/lib/model/problem-history-collection.d.ts +6 -2
- package/lib/model/problem-history-collection.js +10 -0
- package/lib/model/problem-history-collection.js.map +1 -1
- package/lib/model/problem-history-summary.d.ts +12 -8
- package/lib/model/problem-history-summary.js +34 -2
- package/lib/model/problem-history-summary.js.map +1 -1
- package/lib/model/problem-summary.d.ts +19 -15
- package/lib/model/problem-summary.js +34 -2
- package/lib/model/problem-summary.js.map +1 -1
- package/lib/model/problem-trend-aggregation-collection.d.ts +2 -2
- package/lib/model/problem-trend-aggregation.d.ts +3 -3
- package/lib/model/problem.d.ts +24 -20
- package/lib/model/problem.js +34 -2
- package/lib/model/problem.js.map +1 -1
- package/lib/model/property-tuple.d.ts +32 -0
- package/lib/model/property-tuple.js +32 -0
- package/lib/model/property-tuple.js.map +1 -0
- package/lib/model/query-replication-status.d.ts +1 -1
- package/lib/model/query-replication-status.js +1 -1
- package/lib/model/recommendation-summary-collection.d.ts +6 -2
- package/lib/model/recommendation-summary-collection.js +10 -0
- package/lib/model/recommendation-summary-collection.js.map +1 -1
- package/lib/model/recommendation-summary.d.ts +12 -12
- package/lib/model/recommendation-type.d.ts +1 -1
- package/lib/model/recommendation-type.js +1 -1
- package/lib/model/region-status-detail.d.ts +3 -3
- package/lib/model/remove-compartment-details.d.ts +1 -1
- package/lib/model/request-summarized-trend-resource-risk-scores-details.d.ts +3 -3
- package/lib/model/resource-additional-details.d.ts +28 -0
- package/lib/model/resource-additional-details.js +32 -0
- package/lib/model/resource-additional-details.js.map +1 -0
- package/lib/model/resource-collection.d.ts +29 -0
- package/lib/model/resource-collection.js +64 -0
- package/lib/model/resource-collection.js.map +1 -0
- package/lib/model/resource-lock.d.ts +55 -0
- package/lib/model/resource-lock.js +42 -0
- package/lib/model/resource-lock.js.map +1 -0
- package/lib/model/resource-port-collection.d.ts +29 -0
- package/lib/model/resource-port-collection.js +64 -0
- package/lib/model/resource-port-collection.js.map +1 -0
- package/lib/model/resource-port-summary.d.ts +69 -0
- package/lib/model/resource-port-summary.js +32 -0
- package/lib/model/resource-port-summary.js.map +1 -0
- package/lib/model/resource-profile-collection.d.ts +6 -2
- package/lib/model/resource-profile-collection.js +10 -0
- package/lib/model/resource-profile-collection.js.map +1 -1
- package/lib/model/resource-profile-endpoint-collection.d.ts +2 -2
- package/lib/model/resource-profile-endpoint-summary.d.ts +15 -15
- package/lib/model/resource-profile-impacted-resource-collection.d.ts +5 -1
- package/lib/model/resource-profile-impacted-resource-collection.js +10 -0
- package/lib/model/resource-profile-impacted-resource-collection.js.map +1 -1
- package/lib/model/resource-profile-impacted-resource-summary.d.ts +10 -10
- package/lib/model/resource-profile-risk-score-aggregation-summary-collection.d.ts +2 -2
- package/lib/model/resource-profile-risk-score-aggregation-summary.d.ts +3 -3
- package/lib/model/resource-profile-summary.d.ts +8 -8
- package/lib/model/resource-profile.d.ts +18 -14
- package/lib/model/resource-profile.js +10 -0
- package/lib/model/resource-profile.js.map +1 -1
- package/lib/model/resource-risk-score-aggregation-collection.d.ts +5 -5
- package/lib/model/resource-risk-score-aggregation.d.ts +3 -3
- package/lib/model/resource-summary.d.ts +102 -0
- package/lib/model/resource-summary.js +32 -0
- package/lib/model/resource-summary.js.map +1 -0
- package/lib/model/resource-type-collection.d.ts +6 -2
- package/lib/model/resource-type-collection.js +10 -0
- package/lib/model/resource-type-collection.js.map +1 -1
- package/lib/model/resource-type-summary.d.ts +7 -3
- package/lib/model/resource-type-summary.js +10 -0
- package/lib/model/resource-type-summary.js.map +1 -1
- package/lib/model/resource-vulnerability-collection.d.ts +29 -0
- package/lib/model/resource-vulnerability-collection.js +64 -0
- package/lib/model/resource-vulnerability-collection.js.map +1 -0
- package/lib/model/resource-vulnerability-summary.d.ts +70 -0
- package/lib/model/resource-vulnerability-summary.js +32 -0
- package/lib/model/resource-vulnerability-summary.js.map +1 -0
- package/lib/model/resource-vulnerability.d.ts +98 -0
- package/lib/model/resource-vulnerability.js +64 -0
- package/lib/model/resource-vulnerability.js.map +1 -0
- package/lib/model/resource.d.ts +111 -0
- package/lib/model/resource.js +60 -0
- package/lib/model/resource.js.map +1 -0
- package/lib/model/responder-activity-collection.d.ts +2 -2
- package/lib/model/responder-activity-summary.d.ts +10 -10
- package/lib/model/responder-activity-type.d.ts +1 -1
- package/lib/model/responder-activity-type.js +1 -1
- package/lib/model/responder-configuration.d.ts +4 -4
- package/lib/model/responder-dimension.d.ts +1 -1
- package/lib/model/responder-dimension.js +1 -1
- package/lib/model/responder-execution-aggregation-collection.d.ts +2 -2
- package/lib/model/responder-execution-aggregation.d.ts +1 -1
- package/lib/model/responder-execution-collection.d.ts +8 -2
- package/lib/model/responder-execution-collection.js +10 -0
- package/lib/model/responder-execution-collection.js.map +1 -1
- package/lib/model/responder-execution-summary.d.ts +9 -9
- package/lib/model/responder-execution-trend-aggregation-collection.d.ts +2 -2
- package/lib/model/responder-execution-trend-aggregation.d.ts +3 -3
- package/lib/model/responder-execution.d.ts +17 -13
- package/lib/model/responder-execution.js +10 -0
- package/lib/model/responder-execution.js.map +1 -1
- package/lib/model/responder-mode-types.d.ts +1 -1
- package/lib/model/responder-mode-types.js +1 -1
- package/lib/model/responder-recipe-collection.d.ts +6 -2
- package/lib/model/responder-recipe-collection.js +10 -0
- package/lib/model/responder-recipe-collection.js.map +1 -1
- package/lib/model/responder-recipe-responder-rule-collection.d.ts +2 -2
- package/lib/model/responder-recipe-responder-rule-summary.d.ts +10 -10
- package/lib/model/responder-recipe-responder-rule.d.ts +34 -11
- package/lib/model/responder-recipe-responder-rule.js +11 -1
- package/lib/model/responder-recipe-responder-rule.js.map +1 -1
- package/lib/model/responder-recipe-summary.d.ts +10 -10
- package/lib/model/responder-recipe.d.ts +27 -11
- package/lib/model/responder-recipe.js.map +1 -1
- package/lib/model/responder-rule-collection.d.ts +6 -2
- package/lib/model/responder-rule-collection.js +10 -0
- package/lib/model/responder-rule-collection.js.map +1 -1
- package/lib/model/responder-rule-details.d.ts +4 -4
- package/lib/model/responder-rule-execution-details.d.ts +2 -2
- package/lib/model/responder-rule-summary.d.ts +9 -9
- package/lib/model/responder-rule.d.ts +23 -10
- package/lib/model/responder-rule.js +11 -1
- package/lib/model/responder-rule.js.map +1 -1
- package/lib/model/risk-level.d.ts +1 -1
- package/lib/model/risk-level.js +1 -1
- package/lib/model/risk-score-aggregation-collection.d.ts +2 -2
- package/lib/model/risk-score-aggregation.d.ts +1 -1
- package/lib/model/rule-summary.d.ts +4 -4
- package/lib/model/saved-query-collection.d.ts +33 -0
- package/lib/model/saved-query-collection.js +74 -0
- package/lib/model/saved-query-collection.js.map +1 -0
- package/lib/model/saved-query-summary.d.ts +98 -0
- package/lib/model/saved-query-summary.js +64 -0
- package/lib/model/saved-query-summary.js.map +1 -0
- package/lib/model/saved-query.d.ts +90 -0
- package/lib/model/saved-query.js +32 -0
- package/lib/model/saved-query.js.map +1 -0
- package/lib/model/scheduled-query-data-source-obj-details.d.ts +43 -0
- package/lib/model/scheduled-query-data-source-obj-details.js +69 -0
- package/lib/model/scheduled-query-data-source-obj-details.js.map +1 -0
- package/lib/model/scheduled-query-data-source-summary-obj-details.d.ts +43 -0
- package/lib/model/scheduled-query-data-source-summary-obj-details.js +79 -0
- package/lib/model/scheduled-query-data-source-summary-obj-details.js.map +1 -0
- package/lib/model/scheduled-query-scope-detail.d.ts +36 -0
- package/lib/model/scheduled-query-scope-detail.js +32 -0
- package/lib/model/scheduled-query-scope-detail.js.map +1 -0
- package/lib/model/security-policy-collection.d.ts +6 -2
- package/lib/model/security-policy-collection.js +10 -0
- package/lib/model/security-policy-collection.js.map +1 -1
- package/lib/model/security-policy-summary.d.ts +10 -8
- package/lib/model/security-policy-summary.js.map +1 -1
- package/lib/model/security-policy.d.ts +14 -6
- package/lib/model/security-policy.js +34 -2
- package/lib/model/security-policy.js.map +1 -1
- package/lib/model/security-rating.d.ts +1 -1
- package/lib/model/security-rating.js +1 -1
- package/lib/model/security-recipe-collection.d.ts +41 -2
- package/lib/model/security-recipe-collection.js +10 -0
- package/lib/model/security-recipe-collection.js.map +1 -1
- package/lib/model/security-recipe-summary.d.ts +5 -5
- package/lib/model/security-recipe.d.ts +9 -6
- package/lib/model/security-recipe.js.map +1 -1
- package/lib/model/security-score-aggregation-collection.d.ts +2 -2
- package/lib/model/security-score-aggregation.d.ts +3 -3
- package/lib/model/security-score-trend-aggregation-collection.d.ts +2 -2
- package/lib/model/security-score-trend-aggregation.d.ts +2 -2
- package/lib/model/security-zone-collection.d.ts +6 -2
- package/lib/model/security-zone-collection.js +10 -0
- package/lib/model/security-zone-collection.js.map +1 -1
- package/lib/model/security-zone-summary.d.ts +7 -5
- package/lib/model/security-zone-summary.js.map +1 -1
- package/lib/model/security-zone-target-details.d.ts +4 -4
- package/lib/model/security-zone.d.ts +8 -5
- package/lib/model/security-zone.js.map +1 -1
- package/lib/model/service-configuration.d.ts +25 -0
- package/lib/model/service-configuration.js +71 -0
- package/lib/model/service-configuration.js.map +1 -0
- package/lib/model/service-type-summary.d.ts +3 -3
- package/lib/model/severity.d.ts +1 -1
- package/lib/model/severity.js +1 -1
- package/lib/model/sighting-collection.d.ts +6 -2
- package/lib/model/sighting-collection.js +10 -0
- package/lib/model/sighting-collection.js.map +1 -1
- package/lib/model/sighting-endpoint-collection.d.ts +2 -2
- package/lib/model/sighting-endpoint-summary.d.ts +13 -13
- package/lib/model/sighting-impacted-resource-collection.d.ts +6 -2
- package/lib/model/sighting-impacted-resource-collection.js +10 -0
- package/lib/model/sighting-impacted-resource-collection.js.map +1 -1
- package/lib/model/sighting-impacted-resource-summary.d.ts +7 -7
- package/lib/model/sighting-summary.d.ts +14 -14
- package/lib/model/sighting-type.d.ts +6 -6
- package/lib/model/sighting.d.ts +15 -11
- package/lib/model/sighting.js +34 -2
- package/lib/model/sighting.js.map +1 -1
- package/lib/model/simple-condition.d.ts +5 -5
- package/lib/model/skip-bulk-responder-execution-details.d.ts +2 -2
- package/lib/model/sort-orders.d.ts +1 -1
- package/lib/model/sort-orders.js +1 -1
- package/lib/model/tactic-collection.d.ts +6 -2
- package/lib/model/tactic-collection.js +10 -0
- package/lib/model/tactic-collection.js.map +1 -1
- package/lib/model/tactic-summary.d.ts +2 -2
- package/lib/model/target-collection.d.ts +6 -2
- package/lib/model/target-collection.js +10 -0
- package/lib/model/target-collection.js.map +1 -1
- package/lib/model/target-detector-details.d.ts +7 -7
- package/lib/model/target-detector-recipe-collection.d.ts +6 -2
- package/lib/model/target-detector-recipe-collection.js +10 -0
- package/lib/model/target-detector-recipe-collection.js.map +1 -1
- package/lib/model/target-detector-recipe-detector-rule-collection.d.ts +6 -2
- package/lib/model/target-detector-recipe-detector-rule-collection.js +10 -0
- package/lib/model/target-detector-recipe-detector-rule-collection.js.map +1 -1
- package/lib/model/target-detector-recipe-detector-rule-summary.d.ts +16 -12
- package/lib/model/target-detector-recipe-detector-rule-summary.js +10 -0
- package/lib/model/target-detector-recipe-detector-rule-summary.js.map +1 -1
- package/lib/model/target-detector-recipe-detector-rule.d.ts +42 -15
- package/lib/model/target-detector-recipe-detector-rule.js +10 -0
- package/lib/model/target-detector-recipe-detector-rule.js.map +1 -1
- package/lib/model/target-detector-recipe-summary.d.ts +17 -9
- package/lib/model/target-detector-recipe-summary.js +34 -2
- package/lib/model/target-detector-recipe-summary.js.map +1 -1
- package/lib/model/target-detector-recipe.d.ts +32 -11
- package/lib/model/target-detector-recipe.js +10 -0
- package/lib/model/target-detector-recipe.js.map +1 -1
- package/lib/model/target-ids-selected.d.ts +2 -2
- package/lib/model/target-resource-types-selected.d.ts +2 -2
- package/lib/model/target-responder-recipe-collection.d.ts +6 -2
- package/lib/model/target-responder-recipe-collection.js +10 -0
- package/lib/model/target-responder-recipe-collection.js.map +1 -1
- package/lib/model/target-responder-recipe-responder-rule-collection.d.ts +2 -2
- package/lib/model/target-responder-recipe-responder-rule-summary.d.ts +10 -10
- package/lib/model/target-responder-recipe-responder-rule.d.ts +25 -11
- package/lib/model/target-responder-recipe-responder-rule.js.map +1 -1
- package/lib/model/target-responder-recipe-summary.d.ts +13 -9
- package/lib/model/target-responder-recipe-summary.js +34 -2
- package/lib/model/target-responder-recipe-summary.js.map +1 -1
- package/lib/model/target-responder-recipe.d.ts +28 -10
- package/lib/model/target-responder-recipe.js +10 -0
- package/lib/model/target-responder-recipe.js.map +1 -1
- package/lib/model/target-selected.d.ts +1 -1
- package/lib/model/target-summary.d.ts +8 -8
- package/lib/model/target.d.ts +14 -11
- package/lib/model/target.js.map +1 -1
- package/lib/model/technique-collection.d.ts +6 -2
- package/lib/model/technique-collection.js +10 -0
- package/lib/model/technique-collection.js.map +1 -1
- package/lib/model/technique-summary.d.ts +2 -2
- package/lib/model/trigger-responder-details.d.ts +3 -3
- package/lib/model/update-bulk-problem-status-details.d.ts +3 -3
- package/lib/model/update-configuration-details.d.ts +7 -3
- package/lib/model/update-configuration-details.js +34 -2
- package/lib/model/update-configuration-details.js.map +1 -1
- package/lib/model/update-data-mask-rule-details.d.ts +6 -6
- package/lib/model/update-data-source-details.d.ts +4 -4
- package/lib/model/update-data-source-details.js.map +1 -1
- package/lib/model/update-detector-recipe-details.d.ts +4 -3
- package/lib/model/update-detector-recipe-details.js.map +1 -1
- package/lib/model/update-detector-recipe-detector-rule-details.d.ts +1 -1
- package/lib/model/update-detector-recipe-detector-rule.d.ts +2 -2
- package/lib/model/update-detector-rule-details.d.ts +9 -9
- package/lib/model/update-managed-list-details.d.ts +2 -2
- package/lib/model/update-problem-status-details.d.ts +2 -2
- package/lib/model/update-responder-recipe-details.d.ts +4 -4
- package/lib/model/update-responder-recipe-responder-rule-details.d.ts +1 -1
- package/lib/model/update-responder-recipe-responder-rule.d.ts +2 -2
- package/lib/model/update-responder-rule-details.d.ts +2 -2
- package/lib/model/update-saved-query-details.d.ts +56 -0
- package/lib/model/update-saved-query-details.js +32 -0
- package/lib/model/update-saved-query-details.js.map +1 -0
- package/lib/model/update-security-policy-details.d.ts +2 -2
- package/lib/model/update-security-recipe-details.d.ts +3 -3
- package/lib/model/update-security-zone-details.d.ts +3 -3
- package/lib/model/update-target-details.d.ts +4 -4
- package/lib/model/update-target-detector-recipe-details.d.ts +4 -4
- package/lib/model/update-target-detector-recipe-detector-rule-details.d.ts +1 -1
- package/lib/model/update-target-detector-recipe.d.ts +3 -3
- package/lib/model/update-target-detector-rule-details.d.ts +1 -1
- package/lib/model/update-target-recipe-detector-rule-details.d.ts +2 -2
- package/lib/model/update-target-recipe-responder-rule-details.d.ts +2 -2
- package/lib/model/update-target-responder-recipe-details.d.ts +7 -2
- package/lib/model/update-target-responder-recipe-details.js.map +1 -1
- package/lib/model/update-target-responder-recipe-responder-rule-details.d.ts +1 -1
- package/lib/model/update-target-responder-recipe.d.ts +3 -3
- package/lib/model/update-target-responder-rule-details.d.ts +7 -3
- package/lib/model/update-target-responder-rule-details.js.map +1 -1
- package/lib/model/update-wlp-agent-details.d.ts +50 -0
- package/lib/model/update-wlp-agent-details.js +32 -0
- package/lib/model/update-wlp-agent-details.js.map +1 -0
- package/lib/model/wlp-agent-collection.d.ts +33 -0
- package/lib/model/wlp-agent-collection.js +74 -0
- package/lib/model/wlp-agent-collection.js.map +1 -0
- package/lib/model/wlp-agent-summary.d.ts +94 -0
- package/lib/model/wlp-agent-summary.js +32 -0
- package/lib/model/wlp-agent-summary.js.map +1 -0
- package/lib/model/wlp-agent.d.ts +104 -0
- package/lib/model/wlp-agent.js +64 -0
- package/lib/model/wlp-agent.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +5 -2
- package/lib/model/work-request-error-collection.js.map +1 -1
- package/lib/model/work-request-error.d.ts +6 -4
- package/lib/model/work-request-error.js.map +1 -1
- package/lib/model/work-request-log-entry-collection.d.ts +9 -2
- package/lib/model/work-request-log-entry-collection.js +10 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -1
- package/lib/model/work-request-log-entry.d.ts +2 -2
- package/lib/model/work-request-resource-metadata-key.d.ts +1 -1
- package/lib/model/work-request-resource-metadata-key.js +1 -1
- package/lib/model/work-request-resource.d.ts +4 -4
- package/lib/model/work-request-summary-collection.d.ts +6 -2
- package/lib/model/work-request-summary-collection.js +10 -0
- package/lib/model/work-request-summary-collection.js.map +1 -1
- package/lib/model/work-request-summary.d.ts +8 -8
- package/lib/model/work-request.d.ts +15 -11
- package/lib/model/work-request.js +10 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/add-compartment-request.d.ts +3 -3
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-data-source-compartment-request.d.ts +3 -3
- package/lib/request/change-detector-recipe-compartment-request.d.ts +3 -3
- package/lib/request/change-managed-list-compartment-request.d.ts +3 -3
- package/lib/request/change-responder-recipe-compartment-request.d.ts +3 -3
- package/lib/request/change-saved-query-compartment-request.d.ts +49 -0
- package/lib/request/change-saved-query-compartment-request.js +15 -0
- package/lib/request/change-saved-query-compartment-request.js.map +1 -0
- package/lib/request/change-security-recipe-compartment-request.d.ts +3 -3
- package/lib/request/change-security-zone-compartment-request.d.ts +3 -3
- package/lib/request/create-adhoc-query-request.d.ts +36 -0
- package/lib/request/create-adhoc-query-request.js +15 -0
- package/lib/request/create-adhoc-query-request.js.map +1 -0
- package/lib/request/create-data-mask-rule-request.d.ts +2 -2
- package/lib/request/create-data-source-request.d.ts +2 -2
- package/lib/request/create-detector-recipe-detector-rule-request.d.ts +3 -3
- package/lib/request/create-detector-recipe-request.d.ts +2 -2
- package/lib/request/create-managed-list-request.d.ts +2 -2
- package/lib/request/create-responder-recipe-request.d.ts +2 -2
- package/lib/request/create-saved-query-request.d.ts +36 -0
- package/lib/request/create-saved-query-request.js +15 -0
- package/lib/request/create-saved-query-request.js.map +1 -0
- package/lib/request/create-security-recipe-request.d.ts +2 -2
- package/lib/request/create-security-zone-request.d.ts +2 -2
- package/lib/request/create-target-detector-recipe-request.d.ts +3 -3
- package/lib/request/create-target-request.d.ts +2 -2
- package/lib/request/create-target-responder-recipe-request.d.ts +3 -3
- package/lib/request/create-wlp-agent-request.d.ts +36 -0
- package/lib/request/create-wlp-agent-request.js +15 -0
- package/lib/request/create-wlp-agent-request.js.map +1 -0
- package/lib/request/delete-adhoc-query-request.d.ts +44 -0
- package/lib/request/delete-adhoc-query-request.js +15 -0
- package/lib/request/delete-adhoc-query-request.js.map +1 -0
- package/lib/request/delete-data-mask-rule-request.d.ts +2 -2
- package/lib/request/delete-data-source-request.d.ts +2 -2
- package/lib/request/delete-detector-recipe-detector-rule-data-source-request.d.ts +4 -4
- package/lib/request/delete-detector-recipe-detector-rule-request.d.ts +3 -3
- package/lib/request/delete-detector-recipe-request.d.ts +2 -2
- package/lib/request/delete-managed-list-request.d.ts +2 -2
- package/lib/request/delete-responder-recipe-request.d.ts +2 -2
- package/lib/request/delete-saved-query-request.d.ts +44 -0
- package/lib/request/delete-saved-query-request.js +15 -0
- package/lib/request/delete-saved-query-request.js.map +1 -0
- package/lib/request/delete-security-recipe-request.d.ts +2 -2
- package/lib/request/delete-security-zone-request.d.ts +2 -2
- package/lib/request/delete-target-detector-recipe-request.d.ts +3 -3
- package/lib/request/delete-target-request.d.ts +2 -2
- package/lib/request/delete-target-responder-recipe-request.d.ts +3 -3
- package/lib/request/delete-wlp-agent-request.d.ts +44 -0
- package/lib/request/delete-wlp-agent-request.js +15 -0
- package/lib/request/delete-wlp-agent-request.js.map +1 -0
- package/lib/request/execute-responder-execution-request.d.ts +4 -4
- package/lib/request/get-adhoc-query-request.d.ts +26 -0
- package/lib/request/get-adhoc-query-request.js +15 -0
- package/lib/request/get-adhoc-query-request.js.map +1 -0
- package/lib/request/get-adhoc-query-result-content-request.d.ts +26 -0
- package/lib/request/get-adhoc-query-result-content-request.js +15 -0
- package/lib/request/get-adhoc-query-result-content-request.js.map +1 -0
- package/lib/request/get-condition-metadata-type-request.d.ts +4 -4
- package/lib/request/get-configuration-request.d.ts +2 -2
- package/lib/request/get-data-mask-rule-request.d.ts +2 -2
- package/lib/request/get-data-source-request.d.ts +2 -2
- package/lib/request/get-detector-recipe-detector-rule-request.d.ts +3 -3
- package/lib/request/get-detector-recipe-request.d.ts +2 -2
- package/lib/request/get-detector-request.d.ts +2 -2
- package/lib/request/get-detector-rule-request.d.ts +3 -3
- package/lib/request/get-managed-list-request.d.ts +2 -2
- package/lib/request/get-problem-request.d.ts +2 -2
- package/lib/request/get-resource-profile-request.d.ts +1 -1
- package/lib/request/get-resource-request.d.ts +26 -0
- package/lib/request/get-resource-request.js +15 -0
- package/lib/request/get-resource-request.js.map +1 -0
- package/lib/request/get-resource-vulnerability-request.d.ts +30 -0
- package/lib/request/get-resource-vulnerability-request.js +15 -0
- package/lib/request/get-resource-vulnerability-request.js.map +1 -0
- package/lib/request/get-responder-execution-request.d.ts +2 -2
- package/lib/request/get-responder-recipe-request.d.ts +2 -2
- package/lib/request/get-responder-recipe-responder-rule-request.d.ts +3 -3
- package/lib/request/get-responder-rule-request.d.ts +2 -2
- package/lib/request/get-saved-query-request.d.ts +26 -0
- package/lib/request/get-saved-query-request.js +15 -0
- package/lib/request/get-saved-query-request.js.map +1 -0
- package/lib/request/get-security-policy-request.d.ts +2 -2
- package/lib/request/get-security-recipe-request.d.ts +2 -2
- package/lib/request/get-security-zone-request.d.ts +2 -2
- package/lib/request/get-sighting-request.d.ts +1 -1
- package/lib/request/get-target-detector-recipe-detector-rule-request.d.ts +4 -4
- package/lib/request/get-target-detector-recipe-request.d.ts +3 -3
- package/lib/request/get-target-request.d.ts +2 -2
- package/lib/request/get-target-responder-recipe-request.d.ts +3 -3
- package/lib/request/get-target-responder-recipe-responder-rule-request.d.ts +4 -4
- package/lib/request/get-wlp-agent-request.d.ts +26 -0
- package/lib/request/get-wlp-agent-request.js +15 -0
- package/lib/request/get-wlp-agent-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +44 -0
- package/lib/request/index.js +16 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-adhoc-queries-request.d.ts +83 -0
- package/lib/request/list-adhoc-queries-request.js +29 -0
- package/lib/request/list-adhoc-queries-request.js.map +1 -0
- package/lib/request/list-adhoc-query-results-request.d.ts +54 -0
- package/lib/request/list-adhoc-query-results-request.js +24 -0
- package/lib/request/list-adhoc-query-results-request.js.map +1 -0
- package/lib/request/list-condition-metadata-types-request.d.ts +5 -5
- package/lib/request/list-data-mask-rules-request.d.ts +8 -8
- package/lib/request/list-data-source-events-request.d.ts +5 -5
- package/lib/request/list-data-sources-request.d.ts +8 -8
- package/lib/request/list-detector-recipe-detector-rules-request.d.ts +6 -6
- package/lib/request/list-detector-recipes-request.d.ts +8 -8
- package/lib/request/list-detector-rules-request.d.ts +6 -6
- package/lib/request/list-detectors-request.d.ts +5 -5
- package/lib/request/list-impacted-resources-request.d.ts +4 -4
- package/lib/request/list-managed-list-types-request.d.ts +5 -5
- package/lib/request/list-managed-lists-request.d.ts +9 -9
- package/lib/request/list-policies-request.d.ts +4 -4
- package/lib/request/list-problem-endpoints-request.d.ts +4 -4
- package/lib/request/list-problem-entities-request.d.ts +4 -4
- package/lib/request/list-problem-histories-request.d.ts +5 -5
- package/lib/request/list-problems-request.d.ts +15 -15
- package/lib/request/list-recommendations-request.d.ts +7 -7
- package/lib/request/list-resource-ports-request.d.ts +54 -0
- package/lib/request/list-resource-ports-request.js +24 -0
- package/lib/request/list-resource-ports-request.js.map +1 -0
- package/lib/request/list-resource-profile-endpoints-request.d.ts +3 -3
- package/lib/request/list-resource-profile-impacted-resources-request.d.ts +3 -3
- package/lib/request/list-resource-profiles-request.d.ts +9 -9
- package/lib/request/list-resource-types-request.d.ts +6 -6
- package/lib/request/list-resource-vulnerabilities-request.d.ts +58 -0
- package/lib/request/list-resource-vulnerabilities-request.js +24 -0
- package/lib/request/list-resource-vulnerabilities-request.js.map +1 -0
- package/lib/request/list-resources-request.d.ts +116 -0
- package/lib/request/list-resources-request.js +29 -0
- package/lib/request/list-resources-request.js.map +1 -0
- package/lib/request/list-responder-activities-request.d.ts +4 -4
- package/lib/request/list-responder-executions-request.d.ts +12 -12
- package/lib/request/list-responder-recipe-responder-rules-request.d.ts +6 -6
- package/lib/request/list-responder-recipes-request.d.ts +8 -8
- package/lib/request/list-responder-rules-request.d.ts +5 -5
- package/lib/request/list-saved-queries-request.d.ts +75 -0
- package/lib/request/list-saved-queries-request.js +29 -0
- package/lib/request/list-saved-queries-request.js.map +1 -0
- package/lib/request/list-security-policies-request.d.ts +6 -6
- package/lib/request/list-security-recipes-request.d.ts +6 -6
- package/lib/request/list-security-zones-request.d.ts +8 -8
- package/lib/request/list-sighting-endpoints-request.d.ts +3 -3
- package/lib/request/list-sighting-impacted-resources-request.d.ts +3 -3
- package/lib/request/list-sightings-request.d.ts +5 -5
- package/lib/request/list-tactics-request.d.ts +5 -5
- package/lib/request/list-target-detector-recipe-detector-rules-request.d.ts +7 -7
- package/lib/request/list-target-detector-recipes-request.d.ts +6 -6
- package/lib/request/list-target-responder-recipe-responder-rules-request.d.ts +7 -7
- package/lib/request/list-target-responder-recipes-request.d.ts +6 -6
- package/lib/request/list-targets-request.d.ts +6 -6
- package/lib/request/list-techniques-request.d.ts +5 -5
- package/lib/request/list-wlp-agents-request.d.ts +50 -0
- package/lib/request/list-wlp-agents-request.js +24 -0
- package/lib/request/list-wlp-agents-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +3 -3
- package/lib/request/list-work-request-logs-request.d.ts +3 -3
- package/lib/request/list-work-requests-request.d.ts +5 -5
- package/lib/request/remove-compartment-request.d.ts +3 -3
- package/lib/request/request-risk-scores-request.d.ts +3 -3
- package/lib/request/request-security-score-summarized-trend-request.d.ts +3 -3
- package/lib/request/request-security-scores-request.d.ts +3 -3
- package/lib/request/request-summarized-activity-problems-request.d.ts +4 -4
- package/lib/request/request-summarized-problems-request.d.ts +4 -4
- package/lib/request/request-summarized-responder-executions-request.d.ts +9 -9
- package/lib/request/request-summarized-risk-scores-request.d.ts +3 -3
- package/lib/request/request-summarized-security-scores-request.d.ts +3 -3
- package/lib/request/request-summarized-top-trend-resource-profile-risk-scores-request.d.ts +4 -4
- package/lib/request/request-summarized-trend-problems-request.d.ts +4 -4
- package/lib/request/request-summarized-trend-resource-risk-scores-request.d.ts +5 -5
- package/lib/request/request-summarized-trend-responder-executions-request.d.ts +6 -6
- package/lib/request/request-summarized-trend-security-scores-request.d.ts +3 -3
- package/lib/request/skip-bulk-responder-execution-request.d.ts +2 -2
- package/lib/request/skip-responder-execution-request.d.ts +3 -3
- package/lib/request/trigger-responder-request.d.ts +3 -3
- package/lib/request/update-bulk-problem-status-request.d.ts +2 -2
- package/lib/request/update-configuration-request.d.ts +3 -3
- package/lib/request/update-data-mask-rule-request.d.ts +3 -3
- package/lib/request/update-data-source-request.d.ts +3 -3
- package/lib/request/update-detector-recipe-detector-rule-request.d.ts +4 -4
- package/lib/request/update-detector-recipe-request.d.ts +2 -2
- package/lib/request/update-managed-list-request.d.ts +3 -3
- package/lib/request/update-problem-status-request.d.ts +3 -3
- package/lib/request/update-responder-recipe-request.d.ts +3 -3
- package/lib/request/update-responder-recipe-responder-rule-request.d.ts +4 -4
- package/lib/request/update-saved-query-request.d.ts +49 -0
- package/lib/request/update-saved-query-request.js +15 -0
- package/lib/request/update-saved-query-request.js.map +1 -0
- package/lib/request/update-security-recipe-request.d.ts +3 -3
- package/lib/request/update-security-zone-request.d.ts +3 -3
- package/lib/request/update-target-detector-recipe-detector-rule-request.d.ts +5 -5
- package/lib/request/update-target-detector-recipe-request.d.ts +4 -4
- package/lib/request/update-target-request.d.ts +3 -3
- package/lib/request/update-target-responder-recipe-request.d.ts +4 -4
- package/lib/request/update-target-responder-recipe-responder-rule-request.d.ts +5 -5
- package/lib/request/update-wlp-agent-request.d.ts +49 -0
- package/lib/request/update-wlp-agent-request.js +15 -0
- package/lib/request/update-wlp-agent-request.js.map +1 -0
- package/lib/response/change-saved-query-compartment-response.d.ts +20 -0
- package/lib/response/change-saved-query-compartment-response.js +15 -0
- package/lib/response/change-saved-query-compartment-response.js.map +1 -0
- package/lib/response/create-adhoc-query-response.d.ts +30 -0
- package/lib/response/create-adhoc-query-response.js +15 -0
- package/lib/response/create-adhoc-query-response.js.map +1 -0
- package/lib/response/create-saved-query-response.d.ts +30 -0
- package/lib/response/create-saved-query-response.js +15 -0
- package/lib/response/create-saved-query-response.js.map +1 -0
- package/lib/response/create-wlp-agent-response.d.ts +30 -0
- package/lib/response/create-wlp-agent-response.js +15 -0
- package/lib/response/create-wlp-agent-response.js.map +1 -0
- package/lib/response/delete-adhoc-query-response.d.ts +20 -0
- package/lib/response/delete-adhoc-query-response.js +15 -0
- package/lib/response/delete-adhoc-query-response.js.map +1 -0
- package/lib/response/delete-saved-query-response.d.ts +20 -0
- package/lib/response/delete-saved-query-response.js +15 -0
- package/lib/response/delete-saved-query-response.js.map +1 -0
- package/lib/response/delete-wlp-agent-response.d.ts +20 -0
- package/lib/response/delete-wlp-agent-response.js +15 -0
- package/lib/response/delete-wlp-agent-response.js.map +1 -0
- package/lib/response/get-adhoc-query-response.d.ts +30 -0
- package/lib/response/get-adhoc-query-response.js +15 -0
- package/lib/response/get-adhoc-query-response.js.map +1 -0
- package/lib/response/get-adhoc-query-result-content-response.d.ts +31 -0
- package/lib/response/get-adhoc-query-result-content-response.js +15 -0
- package/lib/response/get-adhoc-query-result-content-response.js.map +1 -0
- package/lib/response/get-resource-response.d.ts +30 -0
- package/lib/response/get-resource-response.js +15 -0
- package/lib/response/get-resource-response.js.map +1 -0
- package/lib/response/get-resource-vulnerability-response.d.ts +32 -0
- package/lib/response/get-resource-vulnerability-response.js +15 -0
- package/lib/response/get-resource-vulnerability-response.js.map +1 -0
- package/lib/response/get-saved-query-response.d.ts +30 -0
- package/lib/response/get-saved-query-response.js +15 -0
- package/lib/response/get-saved-query-response.js.map +1 -0
- package/lib/response/get-wlp-agent-response.d.ts +30 -0
- package/lib/response/get-wlp-agent-response.js +15 -0
- package/lib/response/get-wlp-agent-response.js.map +1 -0
- package/lib/response/index.d.ts +44 -0
- package/lib/response/list-adhoc-queries-response.d.ts +32 -0
- package/lib/response/list-adhoc-queries-response.js +15 -0
- package/lib/response/list-adhoc-queries-response.js.map +1 -0
- package/lib/response/list-adhoc-query-results-response.d.ts +32 -0
- package/lib/response/list-adhoc-query-results-response.js +15 -0
- package/lib/response/list-adhoc-query-results-response.js.map +1 -0
- package/lib/response/list-resource-ports-response.d.ts +32 -0
- package/lib/response/list-resource-ports-response.js +15 -0
- package/lib/response/list-resource-ports-response.js.map +1 -0
- package/lib/response/list-resource-vulnerabilities-response.d.ts +32 -0
- package/lib/response/list-resource-vulnerabilities-response.js +15 -0
- package/lib/response/list-resource-vulnerabilities-response.js.map +1 -0
- package/lib/response/list-resources-response.d.ts +32 -0
- package/lib/response/list-resources-response.js +15 -0
- package/lib/response/list-resources-response.js.map +1 -0
- package/lib/response/list-saved-queries-response.d.ts +32 -0
- package/lib/response/list-saved-queries-response.js +15 -0
- package/lib/response/list-saved-queries-response.js.map +1 -0
- package/lib/response/list-wlp-agents-response.d.ts +32 -0
- package/lib/response/list-wlp-agents-response.js +15 -0
- package/lib/response/list-wlp-agents-response.js.map +1 -0
- package/lib/response/update-saved-query-response.d.ts +30 -0
- package/lib/response/update-saved-query-response.js +15 -0
- package/lib/response/update-saved-query-response.js.map +1 -0
- package/lib/response/update-wlp-agent-response.d.ts +30 -0
- package/lib/response/update-wlp-agent-response.js +15 -0
- package/lib/response/update-wlp-agent-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -194,12 +194,23 @@ class CloudGuardClient {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
|
-
*
|
|
197
|
+
* Close the client once it is no longer needed
|
|
198
|
+
*/
|
|
199
|
+
close() {
|
|
200
|
+
this.shutdownCircuitBreaker();
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Adds a compartment to an existing security zone (SecurityZone resource), identified by
|
|
204
|
+
* securityZoneId. Specify parameters in an AddCompartmentDetails resource that you pass.
|
|
205
|
+
* If you previously removed a subcompartment from a security zone, you can add it back to the
|
|
206
|
+
* same security zone. The security zone ensures that resources in the subcompartment comply with
|
|
207
|
+
* the security zone's policies.
|
|
208
|
+
*
|
|
198
209
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
199
210
|
* @param AddCompartmentRequest
|
|
200
211
|
* @return AddCompartmentResponse
|
|
201
212
|
* @throws OciError when an error occurs
|
|
202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/AddCompartment.ts.html |here} to see how to use AddCompartment API.
|
|
203
214
|
*/
|
|
204
215
|
addCompartment(addCompartmentRequest) {
|
|
205
216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -260,12 +271,12 @@ class CloudGuardClient {
|
|
|
260
271
|
});
|
|
261
272
|
}
|
|
262
273
|
/**
|
|
263
|
-
* Cancels
|
|
274
|
+
* Cancels a work request identified by workRequestId.
|
|
264
275
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
265
276
|
* @param CancelWorkRequestRequest
|
|
266
277
|
* @return CancelWorkRequestResponse
|
|
267
278
|
* @throws OciError when an error occurs
|
|
268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
269
280
|
*/
|
|
270
281
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
271
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -315,12 +326,15 @@ class CloudGuardClient {
|
|
|
315
326
|
});
|
|
316
327
|
}
|
|
317
328
|
/**
|
|
318
|
-
* Moves
|
|
329
|
+
* Moves a data source (DataSource resource), identified by parameters
|
|
330
|
+
* passed in a ChangeDataSourceCompartmentDetails resource, from the current
|
|
331
|
+
* compartment to another.
|
|
332
|
+
*
|
|
319
333
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
320
334
|
* @param ChangeDataSourceCompartmentRequest
|
|
321
335
|
* @return ChangeDataSourceCompartmentResponse
|
|
322
336
|
* @throws OciError when an error occurs
|
|
323
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeDataSourceCompartment.ts.html |here} to see how to use ChangeDataSourceCompartment API.
|
|
324
338
|
*/
|
|
325
339
|
changeDataSourceCompartment(changeDataSourceCompartmentRequest) {
|
|
326
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -377,12 +391,16 @@ class CloudGuardClient {
|
|
|
377
391
|
});
|
|
378
392
|
}
|
|
379
393
|
/**
|
|
380
|
-
* Moves the detector recipe (DetectorRecipe
|
|
394
|
+
* Moves the detector recipe (DetectorRecipe resource),
|
|
395
|
+
* identified by detectorRecipeId, from the current compartment to
|
|
396
|
+
* another compartment. When provided, If-Match is checked against
|
|
397
|
+
* etag values of the resource.
|
|
398
|
+
*
|
|
381
399
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
382
400
|
* @param ChangeDetectorRecipeCompartmentRequest
|
|
383
401
|
* @return ChangeDetectorRecipeCompartmentResponse
|
|
384
402
|
* @throws OciError when an error occurs
|
|
385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
403
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeDetectorRecipeCompartment.ts.html |here} to see how to use ChangeDetectorRecipeCompartment API.
|
|
386
404
|
*/
|
|
387
405
|
changeDetectorRecipeCompartment(changeDetectorRecipeCompartmentRequest) {
|
|
388
406
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -434,12 +452,12 @@ class CloudGuardClient {
|
|
|
434
452
|
});
|
|
435
453
|
}
|
|
436
454
|
/**
|
|
437
|
-
* Moves the managed list (ManagedList
|
|
455
|
+
* Moves the managed list (ManagedList resource), identified by managedListId, from the current compartment to another compartment.
|
|
438
456
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
439
457
|
* @param ChangeManagedListCompartmentRequest
|
|
440
458
|
* @return ChangeManagedListCompartmentResponse
|
|
441
459
|
* @throws OciError when an error occurs
|
|
442
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeManagedListCompartment.ts.html |here} to see how to use ChangeManagedListCompartment API.
|
|
443
461
|
*/
|
|
444
462
|
changeManagedListCompartment(changeManagedListCompartmentRequest) {
|
|
445
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -491,12 +509,15 @@ class CloudGuardClient {
|
|
|
491
509
|
});
|
|
492
510
|
}
|
|
493
511
|
/**
|
|
494
|
-
* Moves the ResponderRecipe
|
|
512
|
+
* Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId
|
|
513
|
+
* in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment.
|
|
514
|
+
* When provided, if-match is checked against etag values of the resource.
|
|
515
|
+
*
|
|
495
516
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
496
517
|
* @param ChangeResponderRecipeCompartmentRequest
|
|
497
518
|
* @return ChangeResponderRecipeCompartmentResponse
|
|
498
519
|
* @throws OciError when an error occurs
|
|
499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
520
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeResponderRecipeCompartment.ts.html |here} to see how to use ChangeResponderRecipeCompartment API.
|
|
500
521
|
*/
|
|
501
522
|
changeResponderRecipeCompartment(changeResponderRecipeCompartmentRequest) {
|
|
502
523
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -548,12 +569,72 @@ class CloudGuardClient {
|
|
|
548
569
|
});
|
|
549
570
|
}
|
|
550
571
|
/**
|
|
551
|
-
* Moves
|
|
572
|
+
* Moves the SavedQuery resource into a different compartment. When provided, If-Match is checked against etag values of the resource.
|
|
573
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
574
|
+
* @param ChangeSavedQueryCompartmentRequest
|
|
575
|
+
* @return ChangeSavedQueryCompartmentResponse
|
|
576
|
+
* @throws OciError when an error occurs
|
|
577
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSavedQueryCompartment.ts.html |here} to see how to use ChangeSavedQueryCompartment API.
|
|
578
|
+
*/
|
|
579
|
+
changeSavedQueryCompartment(changeSavedQueryCompartmentRequest) {
|
|
580
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
581
|
+
if (this.logger)
|
|
582
|
+
this.logger.debug("Calling operation CloudGuardClient#changeSavedQueryCompartment.");
|
|
583
|
+
const operationName = "changeSavedQueryCompartment";
|
|
584
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ChangeSavedQueryCompartment";
|
|
585
|
+
const pathParams = {
|
|
586
|
+
"{savedQueryId}": changeSavedQueryCompartmentRequest.savedQueryId
|
|
587
|
+
};
|
|
588
|
+
const queryParams = {};
|
|
589
|
+
let headerParams = {
|
|
590
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
591
|
+
"if-match": changeSavedQueryCompartmentRequest.ifMatch,
|
|
592
|
+
"opc-request-id": changeSavedQueryCompartmentRequest.opcRequestId,
|
|
593
|
+
"opc-retry-token": changeSavedQueryCompartmentRequest.opcRetryToken
|
|
594
|
+
};
|
|
595
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
596
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSavedQueryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
597
|
+
if (this.logger)
|
|
598
|
+
retrier.logger = this.logger;
|
|
599
|
+
const request = yield oci_common_1.composeRequest({
|
|
600
|
+
baseEndpoint: this._endpoint,
|
|
601
|
+
defaultHeaders: this._defaultHeaders,
|
|
602
|
+
path: "/savedQueries/{savedQueryId}/actions/changeCompartment",
|
|
603
|
+
method: "POST",
|
|
604
|
+
bodyContent: common.ObjectSerializer.serialize(changeSavedQueryCompartmentRequest.changeSavedQueryCompartmentDetails, "ChangeSavedQueryCompartmentDetails", model.ChangeSavedQueryCompartmentDetails.getJsonObj),
|
|
605
|
+
pathParams: pathParams,
|
|
606
|
+
headerParams: headerParams,
|
|
607
|
+
queryParams: queryParams
|
|
608
|
+
});
|
|
609
|
+
try {
|
|
610
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
611
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
612
|
+
responseObject: {},
|
|
613
|
+
responseHeaders: [
|
|
614
|
+
{
|
|
615
|
+
value: response.headers.get("opc-request-id"),
|
|
616
|
+
key: "opcRequestId",
|
|
617
|
+
dataType: "string"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
});
|
|
621
|
+
return sdkResponse;
|
|
622
|
+
}
|
|
623
|
+
catch (err) {
|
|
624
|
+
throw err;
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId,
|
|
630
|
+
* from the current compartment to another compartment. When provided, `if-match` is checked
|
|
631
|
+
* against `etag` values of the resource.
|
|
632
|
+
*
|
|
552
633
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
553
634
|
* @param ChangeSecurityRecipeCompartmentRequest
|
|
554
635
|
* @return ChangeSecurityRecipeCompartmentResponse
|
|
555
636
|
* @throws OciError when an error occurs
|
|
556
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSecurityRecipeCompartment.ts.html |here} to see how to use ChangeSecurityRecipeCompartment API.
|
|
557
638
|
*/
|
|
558
639
|
changeSecurityRecipeCompartment(changeSecurityRecipeCompartmentRequest) {
|
|
559
640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -605,12 +686,15 @@ class CloudGuardClient {
|
|
|
605
686
|
});
|
|
606
687
|
}
|
|
607
688
|
/**
|
|
608
|
-
* Moves a security zone to a different compartment.
|
|
689
|
+
* Moves a security zone, identified by securityZoneId, to a different compartment.
|
|
690
|
+
* Pass parameters through a ChangeSecurityZoneCompartmentDetails resource.
|
|
691
|
+
* When provided, `if-match` is checked against `etag` values of the resource.
|
|
692
|
+
*
|
|
609
693
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
610
694
|
* @param ChangeSecurityZoneCompartmentRequest
|
|
611
695
|
* @return ChangeSecurityZoneCompartmentResponse
|
|
612
696
|
* @throws OciError when an error occurs
|
|
613
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSecurityZoneCompartment.ts.html |here} to see how to use ChangeSecurityZoneCompartment API.
|
|
614
698
|
*/
|
|
615
699
|
changeSecurityZoneCompartment(changeSecurityZoneCompartmentRequest) {
|
|
616
700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -662,13 +746,77 @@ class CloudGuardClient {
|
|
|
662
746
|
});
|
|
663
747
|
}
|
|
664
748
|
/**
|
|
665
|
-
* Creates a
|
|
749
|
+
* Creates a AdhocQuery resource.
|
|
750
|
+
*
|
|
751
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
752
|
+
* @param CreateAdhocQueryRequest
|
|
753
|
+
* @return CreateAdhocQueryResponse
|
|
754
|
+
* @throws OciError when an error occurs
|
|
755
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateAdhocQuery.ts.html |here} to see how to use CreateAdhocQuery API.
|
|
756
|
+
*/
|
|
757
|
+
createAdhocQuery(createAdhocQueryRequest) {
|
|
758
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
759
|
+
if (this.logger)
|
|
760
|
+
this.logger.debug("Calling operation CloudGuardClient#createAdhocQuery.");
|
|
761
|
+
const operationName = "createAdhocQuery";
|
|
762
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/CreateAdhocQuery";
|
|
763
|
+
const pathParams = {};
|
|
764
|
+
const queryParams = {};
|
|
765
|
+
let headerParams = {
|
|
766
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
767
|
+
"opc-retry-token": createAdhocQueryRequest.opcRetryToken,
|
|
768
|
+
"opc-request-id": createAdhocQueryRequest.opcRequestId
|
|
769
|
+
};
|
|
770
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
771
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
772
|
+
if (this.logger)
|
|
773
|
+
retrier.logger = this.logger;
|
|
774
|
+
const request = yield oci_common_1.composeRequest({
|
|
775
|
+
baseEndpoint: this._endpoint,
|
|
776
|
+
defaultHeaders: this._defaultHeaders,
|
|
777
|
+
path: "/adhocQueries",
|
|
778
|
+
method: "POST",
|
|
779
|
+
bodyContent: common.ObjectSerializer.serialize(createAdhocQueryRequest.createAdhocQueryDetails, "CreateAdhocQueryDetails", model.CreateAdhocQueryDetails.getJsonObj),
|
|
780
|
+
pathParams: pathParams,
|
|
781
|
+
headerParams: headerParams,
|
|
782
|
+
queryParams: queryParams
|
|
783
|
+
});
|
|
784
|
+
try {
|
|
785
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
786
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
787
|
+
responseObject: {},
|
|
788
|
+
body: yield response.json(),
|
|
789
|
+
bodyKey: "adhocQuery",
|
|
790
|
+
bodyModel: model.AdhocQuery,
|
|
791
|
+
type: "model.AdhocQuery",
|
|
792
|
+
responseHeaders: [
|
|
793
|
+
{
|
|
794
|
+
value: response.headers.get("opc-request-id"),
|
|
795
|
+
key: "opcRequestId",
|
|
796
|
+
dataType: "string"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
value: response.headers.get("etag"),
|
|
800
|
+
key: "etag",
|
|
801
|
+
dataType: "string"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
});
|
|
805
|
+
return sdkResponse;
|
|
806
|
+
}
|
|
807
|
+
catch (err) {
|
|
808
|
+
throw err;
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
/**
|
|
813
|
+
* Creates a new DataMaskRule resource definition.
|
|
666
814
|
*
|
|
667
815
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
668
816
|
* @param CreateDataMaskRuleRequest
|
|
669
817
|
* @return CreateDataMaskRuleResponse
|
|
670
818
|
* @throws OciError when an error occurs
|
|
671
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDataMaskRule.ts.html |here} to see how to use CreateDataMaskRule API.
|
|
672
820
|
*/
|
|
673
821
|
createDataMaskRule(createDataMaskRuleRequest) {
|
|
674
822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -726,13 +874,14 @@ class CloudGuardClient {
|
|
|
726
874
|
});
|
|
727
875
|
}
|
|
728
876
|
/**
|
|
729
|
-
* Creates a DataSource
|
|
877
|
+
* Creates a data source (DataSource resource), using parameters passed
|
|
878
|
+
* through a CreateDataSourceDetails resource.
|
|
730
879
|
*
|
|
731
880
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
732
881
|
* @param CreateDataSourceRequest
|
|
733
882
|
* @return CreateDataSourceResponse
|
|
734
883
|
* @throws OciError when an error occurs
|
|
735
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
884
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
|
|
736
885
|
*/
|
|
737
886
|
createDataSource(createDataSourceRequest) {
|
|
738
887
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -786,13 +935,13 @@ class CloudGuardClient {
|
|
|
786
935
|
});
|
|
787
936
|
}
|
|
788
937
|
/**
|
|
789
|
-
* Creates a new DetectorRecipe
|
|
938
|
+
* Creates a new DetectorRecipe resource.
|
|
790
939
|
*
|
|
791
940
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
792
941
|
* @param CreateDetectorRecipeRequest
|
|
793
942
|
* @return CreateDetectorRecipeResponse
|
|
794
943
|
* @throws OciError when an error occurs
|
|
795
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDetectorRecipe.ts.html |here} to see how to use CreateDetectorRecipe API.
|
|
796
945
|
*/
|
|
797
946
|
createDetectorRecipe(createDetectorRecipeRequest) {
|
|
798
947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -850,12 +999,12 @@ class CloudGuardClient {
|
|
|
850
999
|
});
|
|
851
1000
|
}
|
|
852
1001
|
/**
|
|
853
|
-
*
|
|
1002
|
+
* Creates a detector rule.
|
|
854
1003
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
855
1004
|
* @param CreateDetectorRecipeDetectorRuleRequest
|
|
856
1005
|
* @return CreateDetectorRecipeDetectorRuleResponse
|
|
857
1006
|
* @throws OciError when an error occurs
|
|
858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1007
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDetectorRecipeDetectorRule.ts.html |here} to see how to use CreateDetectorRecipeDetectorRule API.
|
|
859
1008
|
*/
|
|
860
1009
|
createDetectorRecipeDetectorRule(createDetectorRecipeDetectorRuleRequest) {
|
|
861
1010
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -915,13 +1064,13 @@ class CloudGuardClient {
|
|
|
915
1064
|
});
|
|
916
1065
|
}
|
|
917
1066
|
/**
|
|
918
|
-
* Creates a new ManagedList
|
|
1067
|
+
* Creates a new ManagedList resource.
|
|
919
1068
|
*
|
|
920
1069
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
921
1070
|
* @param CreateManagedListRequest
|
|
922
1071
|
* @return CreateManagedListResponse
|
|
923
1072
|
* @throws OciError when an error occurs
|
|
924
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1073
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateManagedList.ts.html |here} to see how to use CreateManagedList API.
|
|
925
1074
|
*/
|
|
926
1075
|
createManagedList(createManagedListRequest) {
|
|
927
1076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -979,13 +1128,14 @@ class CloudGuardClient {
|
|
|
979
1128
|
});
|
|
980
1129
|
}
|
|
981
1130
|
/**
|
|
982
|
-
*
|
|
1131
|
+
* Creates a responder recipe (ResponderRecipe resource), from values passed in a
|
|
1132
|
+
* CreateResponderRecipeDetails resource.
|
|
983
1133
|
*
|
|
984
1134
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
985
1135
|
* @param CreateResponderRecipeRequest
|
|
986
1136
|
* @return CreateResponderRecipeResponse
|
|
987
1137
|
* @throws OciError when an error occurs
|
|
988
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateResponderRecipe.ts.html |here} to see how to use CreateResponderRecipe API.
|
|
989
1139
|
*/
|
|
990
1140
|
createResponderRecipe(createResponderRecipeRequest) {
|
|
991
1141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1043,13 +1193,78 @@ class CloudGuardClient {
|
|
|
1043
1193
|
});
|
|
1044
1194
|
}
|
|
1045
1195
|
/**
|
|
1046
|
-
* Creates a
|
|
1196
|
+
* Creates a SavedQuery resource.
|
|
1197
|
+
*
|
|
1198
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1199
|
+
* @param CreateSavedQueryRequest
|
|
1200
|
+
* @return CreateSavedQueryResponse
|
|
1201
|
+
* @throws OciError when an error occurs
|
|
1202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSavedQuery.ts.html |here} to see how to use CreateSavedQuery API.
|
|
1203
|
+
*/
|
|
1204
|
+
createSavedQuery(createSavedQueryRequest) {
|
|
1205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1206
|
+
if (this.logger)
|
|
1207
|
+
this.logger.debug("Calling operation CloudGuardClient#createSavedQuery.");
|
|
1208
|
+
const operationName = "createSavedQuery";
|
|
1209
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/CreateSavedQuery";
|
|
1210
|
+
const pathParams = {};
|
|
1211
|
+
const queryParams = {};
|
|
1212
|
+
let headerParams = {
|
|
1213
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1214
|
+
"opc-retry-token": createSavedQueryRequest.opcRetryToken,
|
|
1215
|
+
"opc-request-id": createSavedQueryRequest.opcRequestId
|
|
1216
|
+
};
|
|
1217
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1218
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSavedQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
1219
|
+
if (this.logger)
|
|
1220
|
+
retrier.logger = this.logger;
|
|
1221
|
+
const request = yield oci_common_1.composeRequest({
|
|
1222
|
+
baseEndpoint: this._endpoint,
|
|
1223
|
+
defaultHeaders: this._defaultHeaders,
|
|
1224
|
+
path: "/savedQueries",
|
|
1225
|
+
method: "POST",
|
|
1226
|
+
bodyContent: common.ObjectSerializer.serialize(createSavedQueryRequest.createSavedQueryDetails, "CreateSavedQueryDetails", model.CreateSavedQueryDetails.getJsonObj),
|
|
1227
|
+
pathParams: pathParams,
|
|
1228
|
+
headerParams: headerParams,
|
|
1229
|
+
queryParams: queryParams
|
|
1230
|
+
});
|
|
1231
|
+
try {
|
|
1232
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1233
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1234
|
+
responseObject: {},
|
|
1235
|
+
body: yield response.json(),
|
|
1236
|
+
bodyKey: "savedQuery",
|
|
1237
|
+
bodyModel: model.SavedQuery,
|
|
1238
|
+
type: "model.SavedQuery",
|
|
1239
|
+
responseHeaders: [
|
|
1240
|
+
{
|
|
1241
|
+
value: response.headers.get("etag"),
|
|
1242
|
+
key: "etag",
|
|
1243
|
+
dataType: "string"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
value: response.headers.get("opc-request-id"),
|
|
1247
|
+
key: "opcRequestId",
|
|
1248
|
+
dataType: "string"
|
|
1249
|
+
}
|
|
1250
|
+
]
|
|
1251
|
+
});
|
|
1252
|
+
return sdkResponse;
|
|
1253
|
+
}
|
|
1254
|
+
catch (err) {
|
|
1255
|
+
throw err;
|
|
1256
|
+
}
|
|
1257
|
+
});
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* Creates a security zone recipe (SecurityRecipe resource), using parameters
|
|
1261
|
+
* passed in a CreateSecurityRecipeDetails resource.
|
|
1047
1262
|
*
|
|
1048
1263
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1049
1264
|
* @param CreateSecurityRecipeRequest
|
|
1050
1265
|
* @return CreateSecurityRecipeResponse
|
|
1051
1266
|
* @throws OciError when an error occurs
|
|
1052
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSecurityRecipe.ts.html |here} to see how to use CreateSecurityRecipe API.
|
|
1053
1268
|
*/
|
|
1054
1269
|
createSecurityRecipe(createSecurityRecipeRequest) {
|
|
1055
1270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1107,13 +1322,14 @@ class CloudGuardClient {
|
|
|
1107
1322
|
});
|
|
1108
1323
|
}
|
|
1109
1324
|
/**
|
|
1110
|
-
* Creates a security zone for a compartment.
|
|
1325
|
+
* Creates a security zone (SecurityZone resource) for a compartment. Pass parameters
|
|
1326
|
+
* through a CreateSecurityZoneDetails resource.
|
|
1111
1327
|
*
|
|
1112
1328
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1113
1329
|
* @param CreateSecurityZoneRequest
|
|
1114
1330
|
* @return CreateSecurityZoneResponse
|
|
1115
1331
|
* @throws OciError when an error occurs
|
|
1116
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSecurityZone.ts.html |here} to see how to use CreateSecurityZone API.
|
|
1117
1333
|
*/
|
|
1118
1334
|
createSecurityZone(createSecurityZoneRequest) {
|
|
1119
1335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1171,13 +1387,13 @@ class CloudGuardClient {
|
|
|
1171
1387
|
});
|
|
1172
1388
|
}
|
|
1173
1389
|
/**
|
|
1174
|
-
* Creates a
|
|
1390
|
+
* Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.
|
|
1175
1391
|
*
|
|
1176
1392
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1177
1393
|
* @param CreateTargetRequest
|
|
1178
1394
|
* @return CreateTargetResponse
|
|
1179
1395
|
* @throws OciError when an error occurs
|
|
1180
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTarget.ts.html |here} to see how to use CreateTarget API.
|
|
1181
1397
|
*/
|
|
1182
1398
|
createTarget(createTargetRequest) {
|
|
1183
1399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1235,13 +1451,15 @@ class CloudGuardClient {
|
|
|
1235
1451
|
});
|
|
1236
1452
|
}
|
|
1237
1453
|
/**
|
|
1454
|
+
* Attaches a DetectorRecipe to a target (Target resource) identified by targetId,
|
|
1455
|
+
* using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource.
|
|
1238
1456
|
* Attach a DetectorRecipe with the Target
|
|
1239
1457
|
*
|
|
1240
1458
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1241
1459
|
* @param CreateTargetDetectorRecipeRequest
|
|
1242
1460
|
* @return CreateTargetDetectorRecipeResponse
|
|
1243
1461
|
* @throws OciError when an error occurs
|
|
1244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTargetDetectorRecipe.ts.html |here} to see how to use CreateTargetDetectorRecipe API.
|
|
1245
1463
|
*/
|
|
1246
1464
|
createTargetDetectorRecipe(createTargetDetectorRecipeRequest) {
|
|
1247
1465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1301,13 +1519,13 @@ class CloudGuardClient {
|
|
|
1301
1519
|
});
|
|
1302
1520
|
}
|
|
1303
1521
|
/**
|
|
1304
|
-
*
|
|
1522
|
+
* Attaches a responder recipe to a target.
|
|
1305
1523
|
*
|
|
1306
1524
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1307
1525
|
* @param CreateTargetResponderRecipeRequest
|
|
1308
1526
|
* @return CreateTargetResponderRecipeResponse
|
|
1309
1527
|
* @throws OciError when an error occurs
|
|
1310
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1528
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTargetResponderRecipe.ts.html |here} to see how to use CreateTargetResponderRecipe API.
|
|
1311
1529
|
*/
|
|
1312
1530
|
createTargetResponderRecipe(createTargetResponderRecipeRequest) {
|
|
1313
1531
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,12 +1585,133 @@ class CloudGuardClient {
|
|
|
1367
1585
|
});
|
|
1368
1586
|
}
|
|
1369
1587
|
/**
|
|
1370
|
-
*
|
|
1588
|
+
* Creates and registers a WLP agent for an
|
|
1589
|
+
* on-premise resource.
|
|
1590
|
+
*
|
|
1591
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1592
|
+
* @param CreateWlpAgentRequest
|
|
1593
|
+
* @return CreateWlpAgentResponse
|
|
1594
|
+
* @throws OciError when an error occurs
|
|
1595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateWlpAgent.ts.html |here} to see how to use CreateWlpAgent API.
|
|
1596
|
+
*/
|
|
1597
|
+
createWlpAgent(createWlpAgentRequest) {
|
|
1598
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1599
|
+
if (this.logger)
|
|
1600
|
+
this.logger.debug("Calling operation CloudGuardClient#createWlpAgent.");
|
|
1601
|
+
const operationName = "createWlpAgent";
|
|
1602
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/CreateWlpAgent";
|
|
1603
|
+
const pathParams = {};
|
|
1604
|
+
const queryParams = {};
|
|
1605
|
+
let headerParams = {
|
|
1606
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1607
|
+
"opc-retry-token": createWlpAgentRequest.opcRetryToken,
|
|
1608
|
+
"opc-request-id": createWlpAgentRequest.opcRequestId
|
|
1609
|
+
};
|
|
1610
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1611
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWlpAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
1612
|
+
if (this.logger)
|
|
1613
|
+
retrier.logger = this.logger;
|
|
1614
|
+
const request = yield oci_common_1.composeRequest({
|
|
1615
|
+
baseEndpoint: this._endpoint,
|
|
1616
|
+
defaultHeaders: this._defaultHeaders,
|
|
1617
|
+
path: "/wlpAgents",
|
|
1618
|
+
method: "POST",
|
|
1619
|
+
bodyContent: common.ObjectSerializer.serialize(createWlpAgentRequest.createWlpAgentDetails, "CreateWlpAgentDetails", model.CreateWlpAgentDetails.getJsonObj),
|
|
1620
|
+
pathParams: pathParams,
|
|
1621
|
+
headerParams: headerParams,
|
|
1622
|
+
queryParams: queryParams
|
|
1623
|
+
});
|
|
1624
|
+
try {
|
|
1625
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1626
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1627
|
+
responseObject: {},
|
|
1628
|
+
body: yield response.json(),
|
|
1629
|
+
bodyKey: "wlpAgent",
|
|
1630
|
+
bodyModel: model.WlpAgent,
|
|
1631
|
+
type: "model.WlpAgent",
|
|
1632
|
+
responseHeaders: [
|
|
1633
|
+
{
|
|
1634
|
+
value: response.headers.get("etag"),
|
|
1635
|
+
key: "etag",
|
|
1636
|
+
dataType: "string"
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
value: response.headers.get("opc-request-id"),
|
|
1640
|
+
key: "opcRequestId",
|
|
1641
|
+
dataType: "string"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
});
|
|
1645
|
+
return sdkResponse;
|
|
1646
|
+
}
|
|
1647
|
+
catch (err) {
|
|
1648
|
+
throw err;
|
|
1649
|
+
}
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
* Deletes a AdhocQuery resource identified by adhocQueryId.
|
|
1654
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1655
|
+
* @param DeleteAdhocQueryRequest
|
|
1656
|
+
* @return DeleteAdhocQueryResponse
|
|
1657
|
+
* @throws OciError when an error occurs
|
|
1658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteAdhocQuery.ts.html |here} to see how to use DeleteAdhocQuery API.
|
|
1659
|
+
*/
|
|
1660
|
+
deleteAdhocQuery(deleteAdhocQueryRequest) {
|
|
1661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1662
|
+
if (this.logger)
|
|
1663
|
+
this.logger.debug("Calling operation CloudGuardClient#deleteAdhocQuery.");
|
|
1664
|
+
const operationName = "deleteAdhocQuery";
|
|
1665
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/DeleteAdhocQuery";
|
|
1666
|
+
const pathParams = {
|
|
1667
|
+
"{adhocQueryId}": deleteAdhocQueryRequest.adhocQueryId
|
|
1668
|
+
};
|
|
1669
|
+
const queryParams = {};
|
|
1670
|
+
let headerParams = {
|
|
1671
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1672
|
+
"if-match": deleteAdhocQueryRequest.ifMatch,
|
|
1673
|
+
"opc-request-id": deleteAdhocQueryRequest.opcRequestId,
|
|
1674
|
+
"opc-retry-token": deleteAdhocQueryRequest.opcRetryToken
|
|
1675
|
+
};
|
|
1676
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1677
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
1678
|
+
if (this.logger)
|
|
1679
|
+
retrier.logger = this.logger;
|
|
1680
|
+
const request = yield oci_common_1.composeRequest({
|
|
1681
|
+
baseEndpoint: this._endpoint,
|
|
1682
|
+
defaultHeaders: this._defaultHeaders,
|
|
1683
|
+
path: "/adhocQueries/{adhocQueryId}",
|
|
1684
|
+
method: "DELETE",
|
|
1685
|
+
pathParams: pathParams,
|
|
1686
|
+
headerParams: headerParams,
|
|
1687
|
+
queryParams: queryParams
|
|
1688
|
+
});
|
|
1689
|
+
try {
|
|
1690
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1691
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1692
|
+
responseObject: {},
|
|
1693
|
+
responseHeaders: [
|
|
1694
|
+
{
|
|
1695
|
+
value: response.headers.get("opc-request-id"),
|
|
1696
|
+
key: "opcRequestId",
|
|
1697
|
+
dataType: "string"
|
|
1698
|
+
}
|
|
1699
|
+
]
|
|
1700
|
+
});
|
|
1701
|
+
return sdkResponse;
|
|
1702
|
+
}
|
|
1703
|
+
catch (err) {
|
|
1704
|
+
throw err;
|
|
1705
|
+
}
|
|
1706
|
+
});
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1709
|
+
* Deletes a DataMaskRule resource, identified by dataMaskRuleId.
|
|
1371
1710
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1372
1711
|
* @param DeleteDataMaskRuleRequest
|
|
1373
1712
|
* @return DeleteDataMaskRuleResponse
|
|
1374
1713
|
* @throws OciError when an error occurs
|
|
1375
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDataMaskRule.ts.html |here} to see how to use DeleteDataMaskRule API.
|
|
1376
1715
|
*/
|
|
1377
1716
|
deleteDataMaskRule(deleteDataMaskRuleRequest) {
|
|
1378
1717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1422,12 +1761,12 @@ class CloudGuardClient {
|
|
|
1422
1761
|
});
|
|
1423
1762
|
}
|
|
1424
1763
|
/**
|
|
1425
|
-
* Deletes a DataSource identified by dataSourceId
|
|
1764
|
+
* Deletes a data source (DataSource resource) identified by dataSourceId.
|
|
1426
1765
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1427
1766
|
* @param DeleteDataSourceRequest
|
|
1428
1767
|
* @return DeleteDataSourceResponse
|
|
1429
1768
|
* @throws OciError when an error occurs
|
|
1430
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1769
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
|
|
1431
1770
|
*/
|
|
1432
1771
|
deleteDataSource(deleteDataSourceRequest) {
|
|
1433
1772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1483,12 +1822,12 @@ class CloudGuardClient {
|
|
|
1483
1822
|
});
|
|
1484
1823
|
}
|
|
1485
1824
|
/**
|
|
1486
|
-
* Deletes a detector recipe (DetectorRecipe
|
|
1825
|
+
* Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
|
|
1487
1826
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1488
1827
|
* @param DeleteDetectorRecipeRequest
|
|
1489
1828
|
* @return DeleteDetectorRecipeResponse
|
|
1490
1829
|
* @throws OciError when an error occurs
|
|
1491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1830
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipe.ts.html |here} to see how to use DeleteDetectorRecipe API.
|
|
1492
1831
|
*/
|
|
1493
1832
|
deleteDetectorRecipe(deleteDetectorRecipeRequest) {
|
|
1494
1833
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1539,12 +1878,12 @@ class CloudGuardClient {
|
|
|
1539
1878
|
});
|
|
1540
1879
|
}
|
|
1541
1880
|
/**
|
|
1542
|
-
* Deletes DetectorRecipeDetectorRule
|
|
1881
|
+
* Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.
|
|
1543
1882
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1544
1883
|
* @param DeleteDetectorRecipeDetectorRuleRequest
|
|
1545
1884
|
* @return DeleteDetectorRecipeDetectorRuleResponse
|
|
1546
1885
|
* @throws OciError when an error occurs
|
|
1547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipeDetectorRule.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRule API.
|
|
1548
1887
|
*/
|
|
1549
1888
|
deleteDetectorRecipeDetectorRule(deleteDetectorRecipeDetectorRuleRequest) {
|
|
1550
1889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1595,12 +1934,12 @@ class CloudGuardClient {
|
|
|
1595
1934
|
});
|
|
1596
1935
|
}
|
|
1597
1936
|
/**
|
|
1598
|
-
*
|
|
1937
|
+
* Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.
|
|
1599
1938
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1600
1939
|
* @param DeleteDetectorRecipeDetectorRuleDataSourceRequest
|
|
1601
1940
|
* @return DeleteDetectorRecipeDetectorRuleDataSourceResponse
|
|
1602
1941
|
* @throws OciError when an error occurs
|
|
1603
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1942
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRuleDataSource API.
|
|
1604
1943
|
*/
|
|
1605
1944
|
deleteDetectorRecipeDetectorRuleDataSource(deleteDetectorRecipeDetectorRuleDataSourceRequest) {
|
|
1606
1945
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1657,7 +1996,7 @@ class CloudGuardClient {
|
|
|
1657
1996
|
* @param DeleteManagedListRequest
|
|
1658
1997
|
* @return DeleteManagedListResponse
|
|
1659
1998
|
* @throws OciError when an error occurs
|
|
1660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteManagedList.ts.html |here} to see how to use DeleteManagedList API.
|
|
1661
2000
|
*/
|
|
1662
2001
|
deleteManagedList(deleteManagedListRequest) {
|
|
1663
2002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1708,12 +2047,12 @@ class CloudGuardClient {
|
|
|
1708
2047
|
});
|
|
1709
2048
|
}
|
|
1710
2049
|
/**
|
|
1711
|
-
*
|
|
2050
|
+
* Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
|
|
1712
2051
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1713
2052
|
* @param DeleteResponderRecipeRequest
|
|
1714
2053
|
* @return DeleteResponderRecipeResponse
|
|
1715
2054
|
* @throws OciError when an error occurs
|
|
1716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteResponderRecipe.ts.html |here} to see how to use DeleteResponderRecipe API.
|
|
1717
2056
|
*/
|
|
1718
2057
|
deleteResponderRecipe(deleteResponderRecipeRequest) {
|
|
1719
2058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1763,36 +2102,37 @@ class CloudGuardClient {
|
|
|
1763
2102
|
});
|
|
1764
2103
|
}
|
|
1765
2104
|
/**
|
|
1766
|
-
* Deletes a
|
|
2105
|
+
* Deletes a SavedQuery resource identified by savedQueryId.
|
|
1767
2106
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1768
|
-
* @param
|
|
1769
|
-
* @return
|
|
2107
|
+
* @param DeleteSavedQueryRequest
|
|
2108
|
+
* @return DeleteSavedQueryResponse
|
|
1770
2109
|
* @throws OciError when an error occurs
|
|
1771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSavedQuery.ts.html |here} to see how to use DeleteSavedQuery API.
|
|
1772
2111
|
*/
|
|
1773
|
-
|
|
2112
|
+
deleteSavedQuery(deleteSavedQueryRequest) {
|
|
1774
2113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1775
2114
|
if (this.logger)
|
|
1776
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
1777
|
-
const operationName = "
|
|
1778
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/
|
|
2115
|
+
this.logger.debug("Calling operation CloudGuardClient#deleteSavedQuery.");
|
|
2116
|
+
const operationName = "deleteSavedQuery";
|
|
2117
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/DeleteSavedQuery";
|
|
1779
2118
|
const pathParams = {
|
|
1780
|
-
"{
|
|
2119
|
+
"{savedQueryId}": deleteSavedQueryRequest.savedQueryId
|
|
1781
2120
|
};
|
|
1782
2121
|
const queryParams = {};
|
|
1783
2122
|
let headerParams = {
|
|
1784
2123
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1785
|
-
"if-match":
|
|
1786
|
-
"opc-request-id":
|
|
2124
|
+
"if-match": deleteSavedQueryRequest.ifMatch,
|
|
2125
|
+
"opc-request-id": deleteSavedQueryRequest.opcRequestId,
|
|
2126
|
+
"opc-retry-token": deleteSavedQueryRequest.opcRetryToken
|
|
1787
2127
|
};
|
|
1788
2128
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1789
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2129
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSavedQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
1790
2130
|
if (this.logger)
|
|
1791
2131
|
retrier.logger = this.logger;
|
|
1792
2132
|
const request = yield oci_common_1.composeRequest({
|
|
1793
2133
|
baseEndpoint: this._endpoint,
|
|
1794
2134
|
defaultHeaders: this._defaultHeaders,
|
|
1795
|
-
path: "/
|
|
2135
|
+
path: "/savedQueries/{savedQueryId}",
|
|
1796
2136
|
method: "DELETE",
|
|
1797
2137
|
pathParams: pathParams,
|
|
1798
2138
|
headerParams: headerParams,
|
|
@@ -1818,18 +2158,73 @@ class CloudGuardClient {
|
|
|
1818
2158
|
});
|
|
1819
2159
|
}
|
|
1820
2160
|
/**
|
|
1821
|
-
* Deletes
|
|
2161
|
+
* Deletes a security zone recipe, identified by securityRecipeId. The recipe can't be associated with an existing security zone.
|
|
1822
2162
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1823
|
-
* @param
|
|
1824
|
-
* @return
|
|
2163
|
+
* @param DeleteSecurityRecipeRequest
|
|
2164
|
+
* @return DeleteSecurityRecipeResponse
|
|
1825
2165
|
* @throws OciError when an error occurs
|
|
1826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSecurityRecipe.ts.html |here} to see how to use DeleteSecurityRecipe API.
|
|
1827
2167
|
*/
|
|
1828
|
-
|
|
2168
|
+
deleteSecurityRecipe(deleteSecurityRecipeRequest) {
|
|
1829
2169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1830
2170
|
if (this.logger)
|
|
1831
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
1832
|
-
const operationName = "
|
|
2171
|
+
this.logger.debug("Calling operation CloudGuardClient#deleteSecurityRecipe.");
|
|
2172
|
+
const operationName = "deleteSecurityRecipe";
|
|
2173
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/DeleteSecurityRecipe";
|
|
2174
|
+
const pathParams = {
|
|
2175
|
+
"{securityRecipeId}": deleteSecurityRecipeRequest.securityRecipeId
|
|
2176
|
+
};
|
|
2177
|
+
const queryParams = {};
|
|
2178
|
+
let headerParams = {
|
|
2179
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2180
|
+
"if-match": deleteSecurityRecipeRequest.ifMatch,
|
|
2181
|
+
"opc-request-id": deleteSecurityRecipeRequest.opcRequestId
|
|
2182
|
+
};
|
|
2183
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2184
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSecurityRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
2185
|
+
if (this.logger)
|
|
2186
|
+
retrier.logger = this.logger;
|
|
2187
|
+
const request = yield oci_common_1.composeRequest({
|
|
2188
|
+
baseEndpoint: this._endpoint,
|
|
2189
|
+
defaultHeaders: this._defaultHeaders,
|
|
2190
|
+
path: "/securityRecipes/{securityRecipeId}",
|
|
2191
|
+
method: "DELETE",
|
|
2192
|
+
pathParams: pathParams,
|
|
2193
|
+
headerParams: headerParams,
|
|
2194
|
+
queryParams: queryParams
|
|
2195
|
+
});
|
|
2196
|
+
try {
|
|
2197
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2198
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2199
|
+
responseObject: {},
|
|
2200
|
+
responseHeaders: [
|
|
2201
|
+
{
|
|
2202
|
+
value: response.headers.get("opc-request-id"),
|
|
2203
|
+
key: "opcRequestId",
|
|
2204
|
+
dataType: "string"
|
|
2205
|
+
}
|
|
2206
|
+
]
|
|
2207
|
+
});
|
|
2208
|
+
return sdkResponse;
|
|
2209
|
+
}
|
|
2210
|
+
catch (err) {
|
|
2211
|
+
throw err;
|
|
2212
|
+
}
|
|
2213
|
+
});
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* Deletes a security zone, identified by securityZoneId.
|
|
2217
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2218
|
+
* @param DeleteSecurityZoneRequest
|
|
2219
|
+
* @return DeleteSecurityZoneResponse
|
|
2220
|
+
* @throws OciError when an error occurs
|
|
2221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSecurityZone.ts.html |here} to see how to use DeleteSecurityZone API.
|
|
2222
|
+
*/
|
|
2223
|
+
deleteSecurityZone(deleteSecurityZoneRequest) {
|
|
2224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2225
|
+
if (this.logger)
|
|
2226
|
+
this.logger.debug("Calling operation CloudGuardClient#deleteSecurityZone.");
|
|
2227
|
+
const operationName = "deleteSecurityZone";
|
|
1833
2228
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/DeleteSecurityZone";
|
|
1834
2229
|
const pathParams = {
|
|
1835
2230
|
"{securityZoneId}": deleteSecurityZoneRequest.securityZoneId
|
|
@@ -1873,12 +2268,12 @@ class CloudGuardClient {
|
|
|
1873
2268
|
});
|
|
1874
2269
|
}
|
|
1875
2270
|
/**
|
|
1876
|
-
* Deletes a Target identified by targetId
|
|
2271
|
+
* Deletes a target (Target resource) identified by targetId.
|
|
1877
2272
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1878
2273
|
* @param DeleteTargetRequest
|
|
1879
2274
|
* @return DeleteTargetResponse
|
|
1880
2275
|
* @throws OciError when an error occurs
|
|
1881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTarget.ts.html |here} to see how to use DeleteTarget API.
|
|
1882
2277
|
*/
|
|
1883
2278
|
deleteTarget(deleteTargetRequest) {
|
|
1884
2279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1928,12 +2323,14 @@ class CloudGuardClient {
|
|
|
1928
2323
|
});
|
|
1929
2324
|
}
|
|
1930
2325
|
/**
|
|
1931
|
-
*
|
|
2326
|
+
* Deletes the target detector recipe (TargetDetectorRecipe resource) identified by
|
|
2327
|
+
* targetDetectorRecipeId, from a target (Target resource) identified by targetId.
|
|
2328
|
+
*
|
|
1932
2329
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1933
2330
|
* @param DeleteTargetDetectorRecipeRequest
|
|
1934
2331
|
* @return DeleteTargetDetectorRecipeResponse
|
|
1935
2332
|
* @throws OciError when an error occurs
|
|
1936
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTargetDetectorRecipe.ts.html |here} to see how to use DeleteTargetDetectorRecipe API.
|
|
1937
2334
|
*/
|
|
1938
2335
|
deleteTargetDetectorRecipe(deleteTargetDetectorRecipeRequest) {
|
|
1939
2336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1984,12 +2381,15 @@ class CloudGuardClient {
|
|
|
1984
2381
|
});
|
|
1985
2382
|
}
|
|
1986
2383
|
/**
|
|
1987
|
-
*
|
|
2384
|
+
* Detaches a target responder recipe (TargetResponderRecipe resource)
|
|
2385
|
+
* identified by targetResponderRecipeId, from a target (Target resource)
|
|
2386
|
+
* identified by targetId.
|
|
2387
|
+
*
|
|
1988
2388
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1989
2389
|
* @param DeleteTargetResponderRecipeRequest
|
|
1990
2390
|
* @return DeleteTargetResponderRecipeResponse
|
|
1991
2391
|
* @throws OciError when an error occurs
|
|
1992
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTargetResponderRecipe.ts.html |here} to see how to use DeleteTargetResponderRecipe API.
|
|
1993
2393
|
*/
|
|
1994
2394
|
deleteTargetResponderRecipe(deleteTargetResponderRecipeRequest) {
|
|
1995
2395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2040,12 +2440,103 @@ class CloudGuardClient {
|
|
|
2040
2440
|
});
|
|
2041
2441
|
}
|
|
2042
2442
|
/**
|
|
2043
|
-
*
|
|
2443
|
+
* Deletes and unregisters the WLP agent for an on-premise resource.
|
|
2444
|
+
* x-obmcs-splat:
|
|
2445
|
+
* routing:
|
|
2446
|
+
* strategy: route-to-any-ad
|
|
2447
|
+
* serviceList: [ 'cloudguard-cp-SPLAT_ENV' ]
|
|
2448
|
+
* resources:
|
|
2449
|
+
* wlpAgent:
|
|
2450
|
+
* serviceResourceName: WlpAgent
|
|
2451
|
+
* targetCompartmentId: downstream.getOr404('cloudguard-cp-SPLAT_ENV', 'GetWlpAgent', request.resourceId).compartmentId
|
|
2452
|
+
* actionKind: delete
|
|
2453
|
+
* resourceOcid: request.resourceId
|
|
2454
|
+
* reconciliationCanStartAfterSecs: 30
|
|
2455
|
+
* permissions: [ \"WLP_AGENT_DELETE\" ]
|
|
2456
|
+
* authorization:
|
|
2457
|
+
* mode: automated
|
|
2458
|
+
* check: resources['wlpAgent'].grantedPermissions.contains('WLP_AGENT_DELETE')
|
|
2459
|
+
* allowCrossTenancy: true
|
|
2460
|
+
* tagStore:
|
|
2461
|
+
* mode: automated
|
|
2462
|
+
* maximumAttemptCount: 3
|
|
2463
|
+
* throttling:
|
|
2464
|
+
* perUserLimit:
|
|
2465
|
+
* rpsLimit: 15
|
|
2466
|
+
* perTenantLimit:
|
|
2467
|
+
* rpsLimit: 30
|
|
2468
|
+
* quotas:
|
|
2469
|
+
* mode: automated
|
|
2470
|
+
* search:
|
|
2471
|
+
* mode: backfilling
|
|
2472
|
+
* operationResourceName: wlpAgent
|
|
2473
|
+
* lock:
|
|
2474
|
+
* mode: test
|
|
2475
|
+
* operationResourceName: wlpAgent
|
|
2476
|
+
*
|
|
2477
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2478
|
+
* @param DeleteWlpAgentRequest
|
|
2479
|
+
* @return DeleteWlpAgentResponse
|
|
2480
|
+
* @throws OciError when an error occurs
|
|
2481
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteWlpAgent.ts.html |here} to see how to use DeleteWlpAgent API.
|
|
2482
|
+
*/
|
|
2483
|
+
deleteWlpAgent(deleteWlpAgentRequest) {
|
|
2484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2485
|
+
if (this.logger)
|
|
2486
|
+
this.logger.debug("Calling operation CloudGuardClient#deleteWlpAgent.");
|
|
2487
|
+
const operationName = "deleteWlpAgent";
|
|
2488
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/DeleteWlpAgent";
|
|
2489
|
+
const pathParams = {
|
|
2490
|
+
"{wlpAgentId}": deleteWlpAgentRequest.wlpAgentId
|
|
2491
|
+
};
|
|
2492
|
+
const queryParams = {};
|
|
2493
|
+
let headerParams = {
|
|
2494
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2495
|
+
"if-match": deleteWlpAgentRequest.ifMatch,
|
|
2496
|
+
"opc-request-id": deleteWlpAgentRequest.opcRequestId,
|
|
2497
|
+
"opc-retry-token": deleteWlpAgentRequest.opcRetryToken
|
|
2498
|
+
};
|
|
2499
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2500
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWlpAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
2501
|
+
if (this.logger)
|
|
2502
|
+
retrier.logger = this.logger;
|
|
2503
|
+
const request = yield oci_common_1.composeRequest({
|
|
2504
|
+
baseEndpoint: this._endpoint,
|
|
2505
|
+
defaultHeaders: this._defaultHeaders,
|
|
2506
|
+
path: "/wlpAgents/{wlpAgentId}",
|
|
2507
|
+
method: "DELETE",
|
|
2508
|
+
pathParams: pathParams,
|
|
2509
|
+
headerParams: headerParams,
|
|
2510
|
+
queryParams: queryParams
|
|
2511
|
+
});
|
|
2512
|
+
try {
|
|
2513
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2514
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2515
|
+
responseObject: {},
|
|
2516
|
+
responseHeaders: [
|
|
2517
|
+
{
|
|
2518
|
+
value: response.headers.get("opc-request-id"),
|
|
2519
|
+
key: "opcRequestId",
|
|
2520
|
+
dataType: "string"
|
|
2521
|
+
}
|
|
2522
|
+
]
|
|
2523
|
+
});
|
|
2524
|
+
return sdkResponse;
|
|
2525
|
+
}
|
|
2526
|
+
catch (err) {
|
|
2527
|
+
throw err;
|
|
2528
|
+
}
|
|
2529
|
+
});
|
|
2530
|
+
}
|
|
2531
|
+
/**
|
|
2532
|
+
* Executes the responder execution. When provided, if-match is checked
|
|
2533
|
+
* against etag values of the resource.
|
|
2534
|
+
*
|
|
2044
2535
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2045
2536
|
* @param ExecuteResponderExecutionRequest
|
|
2046
2537
|
* @return ExecuteResponderExecutionResponse
|
|
2047
2538
|
* @throws OciError when an error occurs
|
|
2048
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ExecuteResponderExecution.ts.html |here} to see how to use ExecuteResponderExecution API.
|
|
2049
2540
|
*/
|
|
2050
2541
|
executeResponderExecution(executeResponderExecutionRequest) {
|
|
2051
2542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2099,13 +2590,138 @@ class CloudGuardClient {
|
|
|
2099
2590
|
});
|
|
2100
2591
|
}
|
|
2101
2592
|
/**
|
|
2102
|
-
* Returns
|
|
2593
|
+
* Returns an adhoc query identified by adhocQueryId.
|
|
2594
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2595
|
+
* @param GetAdhocQueryRequest
|
|
2596
|
+
* @return GetAdhocQueryResponse
|
|
2597
|
+
* @throws OciError when an error occurs
|
|
2598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetAdhocQuery.ts.html |here} to see how to use GetAdhocQuery API.
|
|
2599
|
+
*/
|
|
2600
|
+
getAdhocQuery(getAdhocQueryRequest) {
|
|
2601
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2602
|
+
if (this.logger)
|
|
2603
|
+
this.logger.debug("Calling operation CloudGuardClient#getAdhocQuery.");
|
|
2604
|
+
const operationName = "getAdhocQuery";
|
|
2605
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/GetAdhocQuery";
|
|
2606
|
+
const pathParams = {
|
|
2607
|
+
"{adhocQueryId}": getAdhocQueryRequest.adhocQueryId
|
|
2608
|
+
};
|
|
2609
|
+
const queryParams = {};
|
|
2610
|
+
let headerParams = {
|
|
2611
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2612
|
+
"opc-request-id": getAdhocQueryRequest.opcRequestId
|
|
2613
|
+
};
|
|
2614
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2615
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
2616
|
+
if (this.logger)
|
|
2617
|
+
retrier.logger = this.logger;
|
|
2618
|
+
const request = yield oci_common_1.composeRequest({
|
|
2619
|
+
baseEndpoint: this._endpoint,
|
|
2620
|
+
defaultHeaders: this._defaultHeaders,
|
|
2621
|
+
path: "/adhocQueries/{adhocQueryId}",
|
|
2622
|
+
method: "GET",
|
|
2623
|
+
pathParams: pathParams,
|
|
2624
|
+
headerParams: headerParams,
|
|
2625
|
+
queryParams: queryParams
|
|
2626
|
+
});
|
|
2627
|
+
try {
|
|
2628
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2629
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2630
|
+
responseObject: {},
|
|
2631
|
+
body: yield response.json(),
|
|
2632
|
+
bodyKey: "adhocQuery",
|
|
2633
|
+
bodyModel: model.AdhocQuery,
|
|
2634
|
+
type: "model.AdhocQuery",
|
|
2635
|
+
responseHeaders: [
|
|
2636
|
+
{
|
|
2637
|
+
value: response.headers.get("etag"),
|
|
2638
|
+
key: "etag",
|
|
2639
|
+
dataType: "string"
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
value: response.headers.get("opc-request-id"),
|
|
2643
|
+
key: "opcRequestId",
|
|
2644
|
+
dataType: "string"
|
|
2645
|
+
}
|
|
2646
|
+
]
|
|
2647
|
+
});
|
|
2648
|
+
return sdkResponse;
|
|
2649
|
+
}
|
|
2650
|
+
catch (err) {
|
|
2651
|
+
throw err;
|
|
2652
|
+
}
|
|
2653
|
+
});
|
|
2654
|
+
}
|
|
2655
|
+
/**
|
|
2656
|
+
* Downloads the results for a given adhoc ID (from includes results from all monitoring regions).
|
|
2657
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2658
|
+
* @param GetAdhocQueryResultContentRequest
|
|
2659
|
+
* @return GetAdhocQueryResultContentResponse
|
|
2660
|
+
* @throws OciError when an error occurs
|
|
2661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetAdhocQueryResultContent.ts.html |here} to see how to use GetAdhocQueryResultContent API.
|
|
2662
|
+
*/
|
|
2663
|
+
getAdhocQueryResultContent(getAdhocQueryResultContentRequest) {
|
|
2664
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2665
|
+
if (this.logger)
|
|
2666
|
+
this.logger.debug("Calling operation CloudGuardClient#getAdhocQueryResultContent.");
|
|
2667
|
+
const operationName = "getAdhocQueryResultContent";
|
|
2668
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/GetAdhocQueryResultContent";
|
|
2669
|
+
const pathParams = {
|
|
2670
|
+
"{adhocQueryId}": getAdhocQueryResultContentRequest.adhocQueryId
|
|
2671
|
+
};
|
|
2672
|
+
const queryParams = {};
|
|
2673
|
+
let headerParams = {
|
|
2674
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2675
|
+
"opc-request-id": getAdhocQueryResultContentRequest.opcRequestId
|
|
2676
|
+
};
|
|
2677
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2678
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdhocQueryResultContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2679
|
+
if (this.logger)
|
|
2680
|
+
retrier.logger = this.logger;
|
|
2681
|
+
const request = yield oci_common_1.composeRequest({
|
|
2682
|
+
baseEndpoint: this._endpoint,
|
|
2683
|
+
defaultHeaders: this._defaultHeaders,
|
|
2684
|
+
path: "/adhocQueries/{adhocQueryId}/results/content",
|
|
2685
|
+
method: "GET",
|
|
2686
|
+
pathParams: pathParams,
|
|
2687
|
+
headerParams: headerParams,
|
|
2688
|
+
queryParams: queryParams
|
|
2689
|
+
});
|
|
2690
|
+
try {
|
|
2691
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2692
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2693
|
+
responseObject: {},
|
|
2694
|
+
body: response.body,
|
|
2695
|
+
bodyKey: "value",
|
|
2696
|
+
bodyModel: "string",
|
|
2697
|
+
responseHeaders: [
|
|
2698
|
+
{
|
|
2699
|
+
value: response.headers.get("etag"),
|
|
2700
|
+
key: "etag",
|
|
2701
|
+
dataType: "string"
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
value: response.headers.get("opc-request-id"),
|
|
2705
|
+
key: "opcRequestId",
|
|
2706
|
+
dataType: "string"
|
|
2707
|
+
}
|
|
2708
|
+
]
|
|
2709
|
+
});
|
|
2710
|
+
return sdkResponse;
|
|
2711
|
+
}
|
|
2712
|
+
catch (err) {
|
|
2713
|
+
throw err;
|
|
2714
|
+
}
|
|
2715
|
+
});
|
|
2716
|
+
}
|
|
2717
|
+
/**
|
|
2718
|
+
* Returns a ConditionMetatDataType resource with its details.
|
|
2103
2719
|
*
|
|
2104
2720
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2105
2721
|
* @param GetConditionMetadataTypeRequest
|
|
2106
2722
|
* @return GetConditionMetadataTypeResponse
|
|
2107
2723
|
* @throws OciError when an error occurs
|
|
2108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2724
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetConditionMetadataType.ts.html |here} to see how to use GetConditionMetadataType API.
|
|
2109
2725
|
*/
|
|
2110
2726
|
getConditionMetadataType(getConditionMetadataTypeRequest) {
|
|
2111
2727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2166,12 +2782,14 @@ class CloudGuardClient {
|
|
|
2166
2782
|
});
|
|
2167
2783
|
}
|
|
2168
2784
|
/**
|
|
2169
|
-
* Returns the configuration details for a Cloud Guard tenancy,
|
|
2785
|
+
* Returns the configuration details for a Cloud Guard tenancy,
|
|
2786
|
+
* identified by root compartment OCID.
|
|
2787
|
+
*
|
|
2170
2788
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2171
2789
|
* @param GetConfigurationRequest
|
|
2172
2790
|
* @return GetConfigurationResponse
|
|
2173
2791
|
* @throws OciError when an error occurs
|
|
2174
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
|
|
2175
2793
|
*/
|
|
2176
2794
|
getConfiguration(getConfigurationRequest) {
|
|
2177
2795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2234,12 +2852,12 @@ class CloudGuardClient {
|
|
|
2234
2852
|
});
|
|
2235
2853
|
}
|
|
2236
2854
|
/**
|
|
2237
|
-
* Returns a DataMaskRule
|
|
2855
|
+
* Returns a DataMaskRule resource, identified by dataMaskRuleId.
|
|
2238
2856
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2239
2857
|
* @param GetDataMaskRuleRequest
|
|
2240
2858
|
* @return GetDataMaskRuleResponse
|
|
2241
2859
|
* @throws OciError when an error occurs
|
|
2242
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDataMaskRule.ts.html |here} to see how to use GetDataMaskRule API.
|
|
2243
2861
|
*/
|
|
2244
2862
|
getDataMaskRule(getDataMaskRuleRequest) {
|
|
2245
2863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2297,12 +2915,12 @@ class CloudGuardClient {
|
|
|
2297
2915
|
});
|
|
2298
2916
|
}
|
|
2299
2917
|
/**
|
|
2300
|
-
* Returns a DataSource identified by dataSourceId
|
|
2918
|
+
* Returns a data source (DataSource resource) identified by dataSourceId.
|
|
2301
2919
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2302
2920
|
* @param GetDataSourceRequest
|
|
2303
2921
|
* @return GetDataSourceResponse
|
|
2304
2922
|
* @throws OciError when an error occurs
|
|
2305
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDataSource.ts.html |here} to see how to use GetDataSource API.
|
|
2306
2924
|
*/
|
|
2307
2925
|
getDataSource(getDataSourceRequest) {
|
|
2308
2926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2360,13 +2978,13 @@ class CloudGuardClient {
|
|
|
2360
2978
|
});
|
|
2361
2979
|
}
|
|
2362
2980
|
/**
|
|
2363
|
-
* Returns a Detector
|
|
2981
|
+
* Returns a Detector resource, identified by detectorId.
|
|
2364
2982
|
*
|
|
2365
2983
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2366
2984
|
* @param GetDetectorRequest
|
|
2367
2985
|
* @return GetDetectorResponse
|
|
2368
2986
|
* @throws OciError when an error occurs
|
|
2369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetector.ts.html |here} to see how to use GetDetector API.
|
|
2370
2988
|
*/
|
|
2371
2989
|
getDetector(getDetectorRequest) {
|
|
2372
2990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2424,12 +3042,12 @@ class CloudGuardClient {
|
|
|
2424
3042
|
});
|
|
2425
3043
|
}
|
|
2426
3044
|
/**
|
|
2427
|
-
* Returns a detector recipe (DetectorRecipe
|
|
3045
|
+
* Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
|
|
2428
3046
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2429
3047
|
* @param GetDetectorRecipeRequest
|
|
2430
3048
|
* @return GetDetectorRecipeResponse
|
|
2431
3049
|
* @throws OciError when an error occurs
|
|
2432
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3050
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRecipe.ts.html |here} to see how to use GetDetectorRecipe API.
|
|
2433
3051
|
*/
|
|
2434
3052
|
getDetectorRecipe(getDetectorRecipeRequest) {
|
|
2435
3053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2487,12 +3105,12 @@ class CloudGuardClient {
|
|
|
2487
3105
|
});
|
|
2488
3106
|
}
|
|
2489
3107
|
/**
|
|
2490
|
-
* Returns a detector rule (DetectorRule
|
|
3108
|
+
* Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
|
|
2491
3109
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2492
3110
|
* @param GetDetectorRecipeDetectorRuleRequest
|
|
2493
3111
|
* @return GetDetectorRecipeDetectorRuleResponse
|
|
2494
3112
|
* @throws OciError when an error occurs
|
|
2495
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetDetectorRecipeDetectorRule API.
|
|
2496
3114
|
*/
|
|
2497
3115
|
getDetectorRecipeDetectorRule(getDetectorRecipeDetectorRuleRequest) {
|
|
2498
3116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2551,13 +3169,13 @@ class CloudGuardClient {
|
|
|
2551
3169
|
});
|
|
2552
3170
|
}
|
|
2553
3171
|
/**
|
|
2554
|
-
* Returns a detector rule (DetectorRule
|
|
3172
|
+
* Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
|
|
2555
3173
|
*
|
|
2556
3174
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2557
3175
|
* @param GetDetectorRuleRequest
|
|
2558
3176
|
* @return GetDetectorRuleResponse
|
|
2559
3177
|
* @throws OciError when an error occurs
|
|
2560
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3178
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRule.ts.html |here} to see how to use GetDetectorRule API.
|
|
2561
3179
|
*/
|
|
2562
3180
|
getDetectorRule(getDetectorRuleRequest) {
|
|
2563
3181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2626,7 +3244,7 @@ class CloudGuardClient {
|
|
|
2626
3244
|
* @param GetManagedListRequest
|
|
2627
3245
|
* @return GetManagedListResponse
|
|
2628
3246
|
* @throws OciError when an error occurs
|
|
2629
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetManagedList.ts.html |here} to see how to use GetManagedList API.
|
|
2630
3248
|
*/
|
|
2631
3249
|
getManagedList(getManagedListRequest) {
|
|
2632
3250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2684,12 +3302,12 @@ class CloudGuardClient {
|
|
|
2684
3302
|
});
|
|
2685
3303
|
}
|
|
2686
3304
|
/**
|
|
2687
|
-
* Returns the Problem
|
|
3305
|
+
* Returns the Problem resource identified by problemId.
|
|
2688
3306
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2689
3307
|
* @param GetProblemRequest
|
|
2690
3308
|
* @return GetProblemResponse
|
|
2691
3309
|
* @throws OciError when an error occurs
|
|
2692
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetProblem.ts.html |here} to see how to use GetProblem API.
|
|
2693
3311
|
*/
|
|
2694
3312
|
getProblem(getProblemRequest) {
|
|
2695
3313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2747,35 +3365,35 @@ class CloudGuardClient {
|
|
|
2747
3365
|
});
|
|
2748
3366
|
}
|
|
2749
3367
|
/**
|
|
2750
|
-
* Returns resource
|
|
3368
|
+
* Returns a resource identified by resourceId
|
|
2751
3369
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2752
|
-
* @param
|
|
2753
|
-
* @return
|
|
3370
|
+
* @param GetResourceRequest
|
|
3371
|
+
* @return GetResourceResponse
|
|
2754
3372
|
* @throws OciError when an error occurs
|
|
2755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3373
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResource.ts.html |here} to see how to use GetResource API.
|
|
2756
3374
|
*/
|
|
2757
|
-
|
|
3375
|
+
getResource(getResourceRequest) {
|
|
2758
3376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2759
3377
|
if (this.logger)
|
|
2760
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
2761
|
-
const operationName = "
|
|
2762
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/
|
|
3378
|
+
this.logger.debug("Calling operation CloudGuardClient#getResource.");
|
|
3379
|
+
const operationName = "getResource";
|
|
3380
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/GetResource";
|
|
2763
3381
|
const pathParams = {
|
|
2764
|
-
"{
|
|
3382
|
+
"{resourceId}": getResourceRequest.resourceId
|
|
2765
3383
|
};
|
|
2766
3384
|
const queryParams = {};
|
|
2767
3385
|
let headerParams = {
|
|
2768
3386
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2769
|
-
"opc-request-id":
|
|
3387
|
+
"opc-request-id": getResourceRequest.opcRequestId
|
|
2770
3388
|
};
|
|
2771
3389
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2772
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3390
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceRequest.retryConfiguration, specRetryConfiguration);
|
|
2773
3391
|
if (this.logger)
|
|
2774
3392
|
retrier.logger = this.logger;
|
|
2775
3393
|
const request = yield oci_common_1.composeRequest({
|
|
2776
3394
|
baseEndpoint: this._endpoint,
|
|
2777
3395
|
defaultHeaders: this._defaultHeaders,
|
|
2778
|
-
path: "/
|
|
3396
|
+
path: "/resources/{resourceId}",
|
|
2779
3397
|
method: "GET",
|
|
2780
3398
|
pathParams: pathParams,
|
|
2781
3399
|
headerParams: headerParams,
|
|
@@ -2786,18 +3404,18 @@ class CloudGuardClient {
|
|
|
2786
3404
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2787
3405
|
responseObject: {},
|
|
2788
3406
|
body: yield response.json(),
|
|
2789
|
-
bodyKey: "
|
|
2790
|
-
bodyModel: model.
|
|
2791
|
-
type: "model.
|
|
3407
|
+
bodyKey: "resource",
|
|
3408
|
+
bodyModel: model.Resource,
|
|
3409
|
+
type: "model.Resource",
|
|
2792
3410
|
responseHeaders: [
|
|
2793
3411
|
{
|
|
2794
|
-
value: response.headers.get("
|
|
2795
|
-
key: "
|
|
3412
|
+
value: response.headers.get("etag"),
|
|
3413
|
+
key: "etag",
|
|
2796
3414
|
dataType: "string"
|
|
2797
3415
|
},
|
|
2798
3416
|
{
|
|
2799
|
-
value: response.headers.get("
|
|
2800
|
-
key: "
|
|
3417
|
+
value: response.headers.get("opc-request-id"),
|
|
3418
|
+
key: "opcRequestId",
|
|
2801
3419
|
dataType: "string"
|
|
2802
3420
|
}
|
|
2803
3421
|
]
|
|
@@ -2810,36 +3428,35 @@ class CloudGuardClient {
|
|
|
2810
3428
|
});
|
|
2811
3429
|
}
|
|
2812
3430
|
/**
|
|
2813
|
-
* Returns a
|
|
2814
|
-
*
|
|
3431
|
+
* Returns details for a resource profile, identified by resourceProfileId.
|
|
2815
3432
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2816
|
-
* @param
|
|
2817
|
-
* @return
|
|
3433
|
+
* @param GetResourceProfileRequest
|
|
3434
|
+
* @return GetResourceProfileResponse
|
|
2818
3435
|
* @throws OciError when an error occurs
|
|
2819
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3436
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResourceProfile.ts.html |here} to see how to use GetResourceProfile API.
|
|
2820
3437
|
*/
|
|
2821
|
-
|
|
3438
|
+
getResourceProfile(getResourceProfileRequest) {
|
|
2822
3439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2823
3440
|
if (this.logger)
|
|
2824
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
2825
|
-
const operationName = "
|
|
2826
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/
|
|
3441
|
+
this.logger.debug("Calling operation CloudGuardClient#getResourceProfile.");
|
|
3442
|
+
const operationName = "getResourceProfile";
|
|
3443
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfile/GetResourceProfile";
|
|
2827
3444
|
const pathParams = {
|
|
2828
|
-
"{
|
|
3445
|
+
"{resourceProfileId}": getResourceProfileRequest.resourceProfileId
|
|
2829
3446
|
};
|
|
2830
3447
|
const queryParams = {};
|
|
2831
3448
|
let headerParams = {
|
|
2832
3449
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2833
|
-
"opc-request-id":
|
|
3450
|
+
"opc-request-id": getResourceProfileRequest.opcRequestId
|
|
2834
3451
|
};
|
|
2835
3452
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2836
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3453
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceProfileRequest.retryConfiguration, specRetryConfiguration);
|
|
2837
3454
|
if (this.logger)
|
|
2838
3455
|
retrier.logger = this.logger;
|
|
2839
3456
|
const request = yield oci_common_1.composeRequest({
|
|
2840
3457
|
baseEndpoint: this._endpoint,
|
|
2841
3458
|
defaultHeaders: this._defaultHeaders,
|
|
2842
|
-
path: "/
|
|
3459
|
+
path: "/resourceProfiles/{resourceProfileId}",
|
|
2843
3460
|
method: "GET",
|
|
2844
3461
|
pathParams: pathParams,
|
|
2845
3462
|
headerParams: headerParams,
|
|
@@ -2850,18 +3467,18 @@ class CloudGuardClient {
|
|
|
2850
3467
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2851
3468
|
responseObject: {},
|
|
2852
3469
|
body: yield response.json(),
|
|
2853
|
-
bodyKey: "
|
|
2854
|
-
bodyModel: model.
|
|
2855
|
-
type: "model.
|
|
3470
|
+
bodyKey: "resourceProfile",
|
|
3471
|
+
bodyModel: model.ResourceProfile,
|
|
3472
|
+
type: "model.ResourceProfile",
|
|
2856
3473
|
responseHeaders: [
|
|
2857
3474
|
{
|
|
2858
|
-
value: response.headers.get("
|
|
2859
|
-
key: "
|
|
3475
|
+
value: response.headers.get("opc-request-id"),
|
|
3476
|
+
key: "opcRequestId",
|
|
2860
3477
|
dataType: "string"
|
|
2861
3478
|
},
|
|
2862
3479
|
{
|
|
2863
|
-
value: response.headers.get("
|
|
2864
|
-
key: "
|
|
3480
|
+
value: response.headers.get("etag"),
|
|
3481
|
+
key: "etag",
|
|
2865
3482
|
dataType: "string"
|
|
2866
3483
|
}
|
|
2867
3484
|
]
|
|
@@ -2874,14 +3491,142 @@ class CloudGuardClient {
|
|
|
2874
3491
|
});
|
|
2875
3492
|
}
|
|
2876
3493
|
/**
|
|
2877
|
-
*
|
|
3494
|
+
* Returns the vulnerability details associated with the cveId where resource is an instance
|
|
2878
3495
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2879
|
-
* @param
|
|
2880
|
-
* @return
|
|
3496
|
+
* @param GetResourceVulnerabilityRequest
|
|
3497
|
+
* @return GetResourceVulnerabilityResponse
|
|
2881
3498
|
* @throws OciError when an error occurs
|
|
2882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResourceVulnerability.ts.html |here} to see how to use GetResourceVulnerability API.
|
|
2883
3500
|
*/
|
|
2884
|
-
|
|
3501
|
+
getResourceVulnerability(getResourceVulnerabilityRequest) {
|
|
3502
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3503
|
+
if (this.logger)
|
|
3504
|
+
this.logger.debug("Calling operation CloudGuardClient#getResourceVulnerability.");
|
|
3505
|
+
const operationName = "getResourceVulnerability";
|
|
3506
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerability/GetResourceVulnerability";
|
|
3507
|
+
const pathParams = {
|
|
3508
|
+
"{resourceId}": getResourceVulnerabilityRequest.resourceId,
|
|
3509
|
+
"{vulnerabilityKey}": getResourceVulnerabilityRequest.vulnerabilityKey
|
|
3510
|
+
};
|
|
3511
|
+
const queryParams = {};
|
|
3512
|
+
let headerParams = {
|
|
3513
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3514
|
+
"opc-request-id": getResourceVulnerabilityRequest.opcRequestId
|
|
3515
|
+
};
|
|
3516
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3517
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceVulnerabilityRequest.retryConfiguration, specRetryConfiguration);
|
|
3518
|
+
if (this.logger)
|
|
3519
|
+
retrier.logger = this.logger;
|
|
3520
|
+
const request = yield oci_common_1.composeRequest({
|
|
3521
|
+
baseEndpoint: this._endpoint,
|
|
3522
|
+
defaultHeaders: this._defaultHeaders,
|
|
3523
|
+
path: "/resources/{resourceId}/vulnerabilities/{vulnerabilityKey}",
|
|
3524
|
+
method: "GET",
|
|
3525
|
+
pathParams: pathParams,
|
|
3526
|
+
headerParams: headerParams,
|
|
3527
|
+
queryParams: queryParams
|
|
3528
|
+
});
|
|
3529
|
+
try {
|
|
3530
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3531
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3532
|
+
responseObject: {},
|
|
3533
|
+
body: yield response.json(),
|
|
3534
|
+
bodyKey: "resourceVulnerability",
|
|
3535
|
+
bodyModel: model.ResourceVulnerability,
|
|
3536
|
+
type: "model.ResourceVulnerability",
|
|
3537
|
+
responseHeaders: [
|
|
3538
|
+
{
|
|
3539
|
+
value: response.headers.get("opc-request-id"),
|
|
3540
|
+
key: "opcRequestId",
|
|
3541
|
+
dataType: "string"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
value: response.headers.get("opc-next-page"),
|
|
3545
|
+
key: "opcNextPage",
|
|
3546
|
+
dataType: "string"
|
|
3547
|
+
}
|
|
3548
|
+
]
|
|
3549
|
+
});
|
|
3550
|
+
return sdkResponse;
|
|
3551
|
+
}
|
|
3552
|
+
catch (err) {
|
|
3553
|
+
throw err;
|
|
3554
|
+
}
|
|
3555
|
+
});
|
|
3556
|
+
}
|
|
3557
|
+
/**
|
|
3558
|
+
* Returns a responder execution identified by responderExecutionId.
|
|
3559
|
+
*
|
|
3560
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3561
|
+
* @param GetResponderExecutionRequest
|
|
3562
|
+
* @return GetResponderExecutionResponse
|
|
3563
|
+
* @throws OciError when an error occurs
|
|
3564
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderExecution.ts.html |here} to see how to use GetResponderExecution API.
|
|
3565
|
+
*/
|
|
3566
|
+
getResponderExecution(getResponderExecutionRequest) {
|
|
3567
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3568
|
+
if (this.logger)
|
|
3569
|
+
this.logger.debug("Calling operation CloudGuardClient#getResponderExecution.");
|
|
3570
|
+
const operationName = "getResponderExecution";
|
|
3571
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/GetResponderExecution";
|
|
3572
|
+
const pathParams = {
|
|
3573
|
+
"{responderExecutionId}": getResponderExecutionRequest.responderExecutionId
|
|
3574
|
+
};
|
|
3575
|
+
const queryParams = {};
|
|
3576
|
+
let headerParams = {
|
|
3577
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3578
|
+
"opc-request-id": getResponderExecutionRequest.opcRequestId
|
|
3579
|
+
};
|
|
3580
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3581
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResponderExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
3582
|
+
if (this.logger)
|
|
3583
|
+
retrier.logger = this.logger;
|
|
3584
|
+
const request = yield oci_common_1.composeRequest({
|
|
3585
|
+
baseEndpoint: this._endpoint,
|
|
3586
|
+
defaultHeaders: this._defaultHeaders,
|
|
3587
|
+
path: "/responderExecutions/{responderExecutionId}",
|
|
3588
|
+
method: "GET",
|
|
3589
|
+
pathParams: pathParams,
|
|
3590
|
+
headerParams: headerParams,
|
|
3591
|
+
queryParams: queryParams
|
|
3592
|
+
});
|
|
3593
|
+
try {
|
|
3594
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3595
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3596
|
+
responseObject: {},
|
|
3597
|
+
body: yield response.json(),
|
|
3598
|
+
bodyKey: "responderExecution",
|
|
3599
|
+
bodyModel: model.ResponderExecution,
|
|
3600
|
+
type: "model.ResponderExecution",
|
|
3601
|
+
responseHeaders: [
|
|
3602
|
+
{
|
|
3603
|
+
value: response.headers.get("etag"),
|
|
3604
|
+
key: "etag",
|
|
3605
|
+
dataType: "string"
|
|
3606
|
+
},
|
|
3607
|
+
{
|
|
3608
|
+
value: response.headers.get("opc-request-id"),
|
|
3609
|
+
key: "opcRequestId",
|
|
3610
|
+
dataType: "string"
|
|
3611
|
+
}
|
|
3612
|
+
]
|
|
3613
|
+
});
|
|
3614
|
+
return sdkResponse;
|
|
3615
|
+
}
|
|
3616
|
+
catch (err) {
|
|
3617
|
+
throw err;
|
|
3618
|
+
}
|
|
3619
|
+
});
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
* Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
|
|
3623
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3624
|
+
* @param GetResponderRecipeRequest
|
|
3625
|
+
* @return GetResponderRecipeResponse
|
|
3626
|
+
* @throws OciError when an error occurs
|
|
3627
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRecipe.ts.html |here} to see how to use GetResponderRecipe API.
|
|
3628
|
+
*/
|
|
3629
|
+
getResponderRecipe(getResponderRecipeRequest) {
|
|
2885
3630
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2886
3631
|
if (this.logger)
|
|
2887
3632
|
this.logger.debug("Calling operation CloudGuardClient#getResponderRecipe.");
|
|
@@ -2937,12 +3682,12 @@ class CloudGuardClient {
|
|
|
2937
3682
|
});
|
|
2938
3683
|
}
|
|
2939
3684
|
/**
|
|
2940
|
-
*
|
|
3685
|
+
* Returns a responder rule (ResponderRule resource) identified by responderRuleId.
|
|
2941
3686
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2942
3687
|
* @param GetResponderRecipeResponderRuleRequest
|
|
2943
3688
|
* @return GetResponderRecipeResponderRuleResponse
|
|
2944
3689
|
* @throws OciError when an error occurs
|
|
2945
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRecipeResponderRule.ts.html |here} to see how to use GetResponderRecipeResponderRule API.
|
|
2946
3691
|
*/
|
|
2947
3692
|
getResponderRecipeResponderRule(getResponderRecipeResponderRuleRequest) {
|
|
2948
3693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3001,12 +3746,12 @@ class CloudGuardClient {
|
|
|
3001
3746
|
});
|
|
3002
3747
|
}
|
|
3003
3748
|
/**
|
|
3004
|
-
*
|
|
3749
|
+
* Returns a responder rule (ResponderRule resource) identified by resonderRuleId.
|
|
3005
3750
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3006
3751
|
* @param GetResponderRuleRequest
|
|
3007
3752
|
* @return GetResponderRuleResponse
|
|
3008
3753
|
* @throws OciError when an error occurs
|
|
3009
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3754
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRule.ts.html |here} to see how to use GetResponderRule API.
|
|
3010
3755
|
*/
|
|
3011
3756
|
getResponderRule(getResponderRuleRequest) {
|
|
3012
3757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3064,12 +3809,78 @@ class CloudGuardClient {
|
|
|
3064
3809
|
});
|
|
3065
3810
|
}
|
|
3066
3811
|
/**
|
|
3067
|
-
*
|
|
3812
|
+
* Returns a SavedQuery resource identified by savedQueryId.
|
|
3813
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3814
|
+
* @param GetSavedQueryRequest
|
|
3815
|
+
* @return GetSavedQueryResponse
|
|
3816
|
+
* @throws OciError when an error occurs
|
|
3817
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSavedQuery.ts.html |here} to see how to use GetSavedQuery API.
|
|
3818
|
+
*/
|
|
3819
|
+
getSavedQuery(getSavedQueryRequest) {
|
|
3820
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3821
|
+
if (this.logger)
|
|
3822
|
+
this.logger.debug("Calling operation CloudGuardClient#getSavedQuery.");
|
|
3823
|
+
const operationName = "getSavedQuery";
|
|
3824
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/GetSavedQuery";
|
|
3825
|
+
const pathParams = {
|
|
3826
|
+
"{savedQueryId}": getSavedQueryRequest.savedQueryId
|
|
3827
|
+
};
|
|
3828
|
+
const queryParams = {};
|
|
3829
|
+
let headerParams = {
|
|
3830
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3831
|
+
"opc-request-id": getSavedQueryRequest.opcRequestId
|
|
3832
|
+
};
|
|
3833
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3834
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSavedQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
3835
|
+
if (this.logger)
|
|
3836
|
+
retrier.logger = this.logger;
|
|
3837
|
+
const request = yield oci_common_1.composeRequest({
|
|
3838
|
+
baseEndpoint: this._endpoint,
|
|
3839
|
+
defaultHeaders: this._defaultHeaders,
|
|
3840
|
+
path: "/savedQueries/{savedQueryId}",
|
|
3841
|
+
method: "GET",
|
|
3842
|
+
pathParams: pathParams,
|
|
3843
|
+
headerParams: headerParams,
|
|
3844
|
+
queryParams: queryParams
|
|
3845
|
+
});
|
|
3846
|
+
try {
|
|
3847
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3848
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3849
|
+
responseObject: {},
|
|
3850
|
+
body: yield response.json(),
|
|
3851
|
+
bodyKey: "savedQuery",
|
|
3852
|
+
bodyModel: model.SavedQuery,
|
|
3853
|
+
type: "model.SavedQuery",
|
|
3854
|
+
responseHeaders: [
|
|
3855
|
+
{
|
|
3856
|
+
value: response.headers.get("etag"),
|
|
3857
|
+
key: "etag",
|
|
3858
|
+
dataType: "string"
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
value: response.headers.get("opc-request-id"),
|
|
3862
|
+
key: "opcRequestId",
|
|
3863
|
+
dataType: "string"
|
|
3864
|
+
}
|
|
3865
|
+
]
|
|
3866
|
+
});
|
|
3867
|
+
return sdkResponse;
|
|
3868
|
+
}
|
|
3869
|
+
catch (err) {
|
|
3870
|
+
throw err;
|
|
3871
|
+
}
|
|
3872
|
+
});
|
|
3873
|
+
}
|
|
3874
|
+
/**
|
|
3875
|
+
* Returns a security zone policy (SecurityPolicy resource), identified by its unique ID
|
|
3876
|
+
* (securityPolicyId). When a policy is enabled in a security zone, then any action in
|
|
3877
|
+
* the zone that attempts to violate that policy is blocked.
|
|
3878
|
+
*
|
|
3068
3879
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3069
3880
|
* @param GetSecurityPolicyRequest
|
|
3070
3881
|
* @return GetSecurityPolicyResponse
|
|
3071
3882
|
* @throws OciError when an error occurs
|
|
3072
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3883
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityPolicy.ts.html |here} to see how to use GetSecurityPolicy API.
|
|
3073
3884
|
*/
|
|
3074
3885
|
getSecurityPolicy(getSecurityPolicyRequest) {
|
|
3075
3886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3127,12 +3938,12 @@ class CloudGuardClient {
|
|
|
3127
3938
|
});
|
|
3128
3939
|
}
|
|
3129
3940
|
/**
|
|
3130
|
-
*
|
|
3941
|
+
* Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId.
|
|
3131
3942
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3132
3943
|
* @param GetSecurityRecipeRequest
|
|
3133
3944
|
* @return GetSecurityRecipeResponse
|
|
3134
3945
|
* @throws OciError when an error occurs
|
|
3135
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3946
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityRecipe.ts.html |here} to see how to use GetSecurityRecipe API.
|
|
3136
3947
|
*/
|
|
3137
3948
|
getSecurityRecipe(getSecurityRecipeRequest) {
|
|
3138
3949
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3190,12 +4001,12 @@ class CloudGuardClient {
|
|
|
3190
4001
|
});
|
|
3191
4002
|
}
|
|
3192
4003
|
/**
|
|
3193
|
-
*
|
|
4004
|
+
* Returns a security zone (SecurityZone resource) identified by securityZoneId.
|
|
3194
4005
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3195
4006
|
* @param GetSecurityZoneRequest
|
|
3196
4007
|
* @return GetSecurityZoneResponse
|
|
3197
4008
|
* @throws OciError when an error occurs
|
|
3198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4009
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityZone.ts.html |here} to see how to use GetSecurityZone API.
|
|
3199
4010
|
*/
|
|
3200
4011
|
getSecurityZone(getSecurityZoneRequest) {
|
|
3201
4012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3253,12 +4064,12 @@ class CloudGuardClient {
|
|
|
3253
4064
|
});
|
|
3254
4065
|
}
|
|
3255
4066
|
/**
|
|
3256
|
-
* Returns Sighting
|
|
4067
|
+
* Returns a single sighting (Sighting resource) identified by sightingId.
|
|
3257
4068
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3258
4069
|
* @param GetSightingRequest
|
|
3259
4070
|
* @return GetSightingResponse
|
|
3260
4071
|
* @throws OciError when an error occurs
|
|
3261
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4072
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSighting.ts.html |here} to see how to use GetSighting API.
|
|
3262
4073
|
*/
|
|
3263
4074
|
getSighting(getSightingRequest) {
|
|
3264
4075
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3316,12 +4127,12 @@ class CloudGuardClient {
|
|
|
3316
4127
|
});
|
|
3317
4128
|
}
|
|
3318
4129
|
/**
|
|
3319
|
-
* Returns a Target identified by targetId
|
|
4130
|
+
* Returns a target (Target resource) identified by targetId.
|
|
3320
4131
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3321
4132
|
* @param GetTargetRequest
|
|
3322
4133
|
* @return GetTargetResponse
|
|
3323
4134
|
* @throws OciError when an error occurs
|
|
3324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4135
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTarget.ts.html |here} to see how to use GetTarget API.
|
|
3325
4136
|
*/
|
|
3326
4137
|
getTarget(getTargetRequest) {
|
|
3327
4138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3379,12 +4190,12 @@ class CloudGuardClient {
|
|
|
3379
4190
|
});
|
|
3380
4191
|
}
|
|
3381
4192
|
/**
|
|
3382
|
-
*
|
|
4193
|
+
* Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.
|
|
3383
4194
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3384
4195
|
* @param GetTargetDetectorRecipeRequest
|
|
3385
4196
|
* @return GetTargetDetectorRecipeResponse
|
|
3386
4197
|
* @throws OciError when an error occurs
|
|
3387
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4198
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetDetectorRecipe.ts.html |here} to see how to use GetTargetDetectorRecipe API.
|
|
3388
4199
|
*/
|
|
3389
4200
|
getTargetDetectorRecipe(getTargetDetectorRecipeRequest) {
|
|
3390
4201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3443,12 +4254,12 @@ class CloudGuardClient {
|
|
|
3443
4254
|
});
|
|
3444
4255
|
}
|
|
3445
4256
|
/**
|
|
3446
|
-
*
|
|
4257
|
+
* Returns DetectorRule resource by identified by targetDetectorRecipeId.
|
|
3447
4258
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3448
4259
|
* @param GetTargetDetectorRecipeDetectorRuleRequest
|
|
3449
4260
|
* @return GetTargetDetectorRecipeDetectorRuleResponse
|
|
3450
4261
|
* @throws OciError when an error occurs
|
|
3451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4262
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetTargetDetectorRecipeDetectorRule API.
|
|
3452
4263
|
*/
|
|
3453
4264
|
getTargetDetectorRecipeDetectorRule(getTargetDetectorRecipeDetectorRuleRequest) {
|
|
3454
4265
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3508,12 +4319,14 @@ class CloudGuardClient {
|
|
|
3508
4319
|
});
|
|
3509
4320
|
}
|
|
3510
4321
|
/**
|
|
3511
|
-
*
|
|
4322
|
+
* Returns a target responder recipe (TargetResponderRecipe) identified by
|
|
4323
|
+
* targetResponderRecipeId for a target (Target resource) identified by targetId.
|
|
4324
|
+
*
|
|
3512
4325
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3513
4326
|
* @param GetTargetResponderRecipeRequest
|
|
3514
4327
|
* @return GetTargetResponderRecipeResponse
|
|
3515
4328
|
* @throws OciError when an error occurs
|
|
3516
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetResponderRecipe.ts.html |here} to see how to use GetTargetResponderRecipe API.
|
|
3517
4330
|
*/
|
|
3518
4331
|
getTargetResponderRecipe(getTargetResponderRecipeRequest) {
|
|
3519
4332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3522,22 +4335,217 @@ class CloudGuardClient {
|
|
|
3522
4335
|
const operationName = "getTargetResponderRecipe";
|
|
3523
4336
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/GetTargetResponderRecipe";
|
|
3524
4337
|
const pathParams = {
|
|
3525
|
-
"{targetId}": getTargetResponderRecipeRequest.targetId,
|
|
3526
|
-
"{targetResponderRecipeId}": getTargetResponderRecipeRequest.targetResponderRecipeId
|
|
4338
|
+
"{targetId}": getTargetResponderRecipeRequest.targetId,
|
|
4339
|
+
"{targetResponderRecipeId}": getTargetResponderRecipeRequest.targetResponderRecipeId
|
|
4340
|
+
};
|
|
4341
|
+
const queryParams = {};
|
|
4342
|
+
let headerParams = {
|
|
4343
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4344
|
+
"opc-request-id": getTargetResponderRecipeRequest.opcRequestId
|
|
4345
|
+
};
|
|
4346
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4347
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
4348
|
+
if (this.logger)
|
|
4349
|
+
retrier.logger = this.logger;
|
|
4350
|
+
const request = yield oci_common_1.composeRequest({
|
|
4351
|
+
baseEndpoint: this._endpoint,
|
|
4352
|
+
defaultHeaders: this._defaultHeaders,
|
|
4353
|
+
path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}",
|
|
4354
|
+
method: "GET",
|
|
4355
|
+
pathParams: pathParams,
|
|
4356
|
+
headerParams: headerParams,
|
|
4357
|
+
queryParams: queryParams
|
|
4358
|
+
});
|
|
4359
|
+
try {
|
|
4360
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4361
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4362
|
+
responseObject: {},
|
|
4363
|
+
body: yield response.json(),
|
|
4364
|
+
bodyKey: "targetResponderRecipe",
|
|
4365
|
+
bodyModel: model.TargetResponderRecipe,
|
|
4366
|
+
type: "model.TargetResponderRecipe",
|
|
4367
|
+
responseHeaders: [
|
|
4368
|
+
{
|
|
4369
|
+
value: response.headers.get("etag"),
|
|
4370
|
+
key: "etag",
|
|
4371
|
+
dataType: "string"
|
|
4372
|
+
},
|
|
4373
|
+
{
|
|
4374
|
+
value: response.headers.get("opc-request-id"),
|
|
4375
|
+
key: "opcRequestId",
|
|
4376
|
+
dataType: "string"
|
|
4377
|
+
}
|
|
4378
|
+
]
|
|
4379
|
+
});
|
|
4380
|
+
return sdkResponse;
|
|
4381
|
+
}
|
|
4382
|
+
catch (err) {
|
|
4383
|
+
throw err;
|
|
4384
|
+
}
|
|
4385
|
+
});
|
|
4386
|
+
}
|
|
4387
|
+
/**
|
|
4388
|
+
* Returns a responder rule (ResponderRule resource) identified by
|
|
4389
|
+
* responderRuleId, from a target responder recipe (TargetResponderRecipe resource)
|
|
4390
|
+
* identified by targetResponderRecipeId, attached to a target (Target resource)
|
|
4391
|
+
* identified by targetId.
|
|
4392
|
+
*
|
|
4393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4394
|
+
* @param GetTargetResponderRecipeResponderRuleRequest
|
|
4395
|
+
* @return GetTargetResponderRecipeResponderRuleResponse
|
|
4396
|
+
* @throws OciError when an error occurs
|
|
4397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetResponderRecipeResponderRule.ts.html |here} to see how to use GetTargetResponderRecipeResponderRule API.
|
|
4398
|
+
*/
|
|
4399
|
+
getTargetResponderRecipeResponderRule(getTargetResponderRecipeResponderRuleRequest) {
|
|
4400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4401
|
+
if (this.logger)
|
|
4402
|
+
this.logger.debug("Calling operation CloudGuardClient#getTargetResponderRecipeResponderRule.");
|
|
4403
|
+
const operationName = "getTargetResponderRecipeResponderRule";
|
|
4404
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/GetTargetResponderRecipeResponderRule";
|
|
4405
|
+
const pathParams = {
|
|
4406
|
+
"{targetId}": getTargetResponderRecipeResponderRuleRequest.targetId,
|
|
4407
|
+
"{targetResponderRecipeId}": getTargetResponderRecipeResponderRuleRequest.targetResponderRecipeId,
|
|
4408
|
+
"{responderRuleId}": getTargetResponderRecipeResponderRuleRequest.responderRuleId
|
|
4409
|
+
};
|
|
4410
|
+
const queryParams = {};
|
|
4411
|
+
let headerParams = {
|
|
4412
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4413
|
+
"opc-request-id": getTargetResponderRecipeResponderRuleRequest.opcRequestId
|
|
4414
|
+
};
|
|
4415
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4416
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeResponderRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
4417
|
+
if (this.logger)
|
|
4418
|
+
retrier.logger = this.logger;
|
|
4419
|
+
const request = yield oci_common_1.composeRequest({
|
|
4420
|
+
baseEndpoint: this._endpoint,
|
|
4421
|
+
defaultHeaders: this._defaultHeaders,
|
|
4422
|
+
path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRules/{responderRuleId}",
|
|
4423
|
+
method: "GET",
|
|
4424
|
+
pathParams: pathParams,
|
|
4425
|
+
headerParams: headerParams,
|
|
4426
|
+
queryParams: queryParams
|
|
4427
|
+
});
|
|
4428
|
+
try {
|
|
4429
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4430
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4431
|
+
responseObject: {},
|
|
4432
|
+
body: yield response.json(),
|
|
4433
|
+
bodyKey: "targetResponderRecipeResponderRule",
|
|
4434
|
+
bodyModel: model.TargetResponderRecipeResponderRule,
|
|
4435
|
+
type: "model.TargetResponderRecipeResponderRule",
|
|
4436
|
+
responseHeaders: [
|
|
4437
|
+
{
|
|
4438
|
+
value: response.headers.get("etag"),
|
|
4439
|
+
key: "etag",
|
|
4440
|
+
dataType: "string"
|
|
4441
|
+
},
|
|
4442
|
+
{
|
|
4443
|
+
value: response.headers.get("opc-request-id"),
|
|
4444
|
+
key: "opcRequestId",
|
|
4445
|
+
dataType: "string"
|
|
4446
|
+
}
|
|
4447
|
+
]
|
|
4448
|
+
});
|
|
4449
|
+
return sdkResponse;
|
|
4450
|
+
}
|
|
4451
|
+
catch (err) {
|
|
4452
|
+
throw err;
|
|
4453
|
+
}
|
|
4454
|
+
});
|
|
4455
|
+
}
|
|
4456
|
+
/**
|
|
4457
|
+
* Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.
|
|
4458
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4459
|
+
* @param GetWlpAgentRequest
|
|
4460
|
+
* @return GetWlpAgentResponse
|
|
4461
|
+
* @throws OciError when an error occurs
|
|
4462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetWlpAgent.ts.html |here} to see how to use GetWlpAgent API.
|
|
4463
|
+
*/
|
|
4464
|
+
getWlpAgent(getWlpAgentRequest) {
|
|
4465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4466
|
+
if (this.logger)
|
|
4467
|
+
this.logger.debug("Calling operation CloudGuardClient#getWlpAgent.");
|
|
4468
|
+
const operationName = "getWlpAgent";
|
|
4469
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/GetWlpAgent";
|
|
4470
|
+
const pathParams = {
|
|
4471
|
+
"{wlpAgentId}": getWlpAgentRequest.wlpAgentId
|
|
4472
|
+
};
|
|
4473
|
+
const queryParams = {};
|
|
4474
|
+
let headerParams = {
|
|
4475
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4476
|
+
"opc-request-id": getWlpAgentRequest.opcRequestId
|
|
4477
|
+
};
|
|
4478
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4479
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWlpAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
4480
|
+
if (this.logger)
|
|
4481
|
+
retrier.logger = this.logger;
|
|
4482
|
+
const request = yield oci_common_1.composeRequest({
|
|
4483
|
+
baseEndpoint: this._endpoint,
|
|
4484
|
+
defaultHeaders: this._defaultHeaders,
|
|
4485
|
+
path: "/wlpAgents/{wlpAgentId}",
|
|
4486
|
+
method: "GET",
|
|
4487
|
+
pathParams: pathParams,
|
|
4488
|
+
headerParams: headerParams,
|
|
4489
|
+
queryParams: queryParams
|
|
4490
|
+
});
|
|
4491
|
+
try {
|
|
4492
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4493
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4494
|
+
responseObject: {},
|
|
4495
|
+
body: yield response.json(),
|
|
4496
|
+
bodyKey: "wlpAgent",
|
|
4497
|
+
bodyModel: model.WlpAgent,
|
|
4498
|
+
type: "model.WlpAgent",
|
|
4499
|
+
responseHeaders: [
|
|
4500
|
+
{
|
|
4501
|
+
value: response.headers.get("etag"),
|
|
4502
|
+
key: "etag",
|
|
4503
|
+
dataType: "string"
|
|
4504
|
+
},
|
|
4505
|
+
{
|
|
4506
|
+
value: response.headers.get("opc-request-id"),
|
|
4507
|
+
key: "opcRequestId",
|
|
4508
|
+
dataType: "string"
|
|
4509
|
+
}
|
|
4510
|
+
]
|
|
4511
|
+
});
|
|
4512
|
+
return sdkResponse;
|
|
4513
|
+
}
|
|
4514
|
+
catch (err) {
|
|
4515
|
+
throw err;
|
|
4516
|
+
}
|
|
4517
|
+
});
|
|
4518
|
+
}
|
|
4519
|
+
/**
|
|
4520
|
+
* Returns details for a work request (WorkRequest resource) identified by workRequestId.
|
|
4521
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4522
|
+
* @param GetWorkRequestRequest
|
|
4523
|
+
* @return GetWorkRequestResponse
|
|
4524
|
+
* @throws OciError when an error occurs
|
|
4525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4526
|
+
*/
|
|
4527
|
+
getWorkRequest(getWorkRequestRequest) {
|
|
4528
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4529
|
+
if (this.logger)
|
|
4530
|
+
this.logger.debug("Calling operation CloudGuardClient#getWorkRequest.");
|
|
4531
|
+
const operationName = "getWorkRequest";
|
|
4532
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/GetWorkRequest";
|
|
4533
|
+
const pathParams = {
|
|
4534
|
+
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
3527
4535
|
};
|
|
3528
4536
|
const queryParams = {};
|
|
3529
4537
|
let headerParams = {
|
|
3530
4538
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3531
|
-
"opc-request-id":
|
|
4539
|
+
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
3532
4540
|
};
|
|
3533
4541
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3534
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4542
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3535
4543
|
if (this.logger)
|
|
3536
4544
|
retrier.logger = this.logger;
|
|
3537
4545
|
const request = yield oci_common_1.composeRequest({
|
|
3538
4546
|
baseEndpoint: this._endpoint,
|
|
3539
4547
|
defaultHeaders: this._defaultHeaders,
|
|
3540
|
-
path: "/
|
|
4548
|
+
path: "/workRequests/{workRequestId}",
|
|
3541
4549
|
method: "GET",
|
|
3542
4550
|
pathParams: pathParams,
|
|
3543
4551
|
headerParams: headerParams,
|
|
@@ -3548,9 +4556,9 @@ class CloudGuardClient {
|
|
|
3548
4556
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3549
4557
|
responseObject: {},
|
|
3550
4558
|
body: yield response.json(),
|
|
3551
|
-
bodyKey: "
|
|
3552
|
-
bodyModel: model.
|
|
3553
|
-
type: "model.
|
|
4559
|
+
bodyKey: "workRequest",
|
|
4560
|
+
bodyModel: model.WorkRequest,
|
|
4561
|
+
type: "model.WorkRequest",
|
|
3554
4562
|
responseHeaders: [
|
|
3555
4563
|
{
|
|
3556
4564
|
value: response.headers.get("etag"),
|
|
@@ -3561,6 +4569,11 @@ class CloudGuardClient {
|
|
|
3561
4569
|
value: response.headers.get("opc-request-id"),
|
|
3562
4570
|
key: "opcRequestId",
|
|
3563
4571
|
dataType: "string"
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
value: response.headers.get("retry-after"),
|
|
4575
|
+
key: "retryAfter",
|
|
4576
|
+
dataType: "number"
|
|
3564
4577
|
}
|
|
3565
4578
|
]
|
|
3566
4579
|
});
|
|
@@ -3572,37 +4585,61 @@ class CloudGuardClient {
|
|
|
3572
4585
|
});
|
|
3573
4586
|
}
|
|
3574
4587
|
/**
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
4588
|
+
* Returns a list of all adhoc queries (AdhocQuery resources) for a compartment
|
|
4589
|
+
* identified by compartmentId. List is returned in a AdhocQueryCollection resource
|
|
4590
|
+
* with page of AdhocQuerySummary resources.
|
|
4591
|
+
* <p>
|
|
4592
|
+
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
|
|
4593
|
+
* The list does not include any subcompartments of the compartmentId passed.
|
|
4594
|
+
* <p>
|
|
4595
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
4596
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
4597
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
4598
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
4599
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
4600
|
+
* <p>
|
|
4601
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
|
|
4602
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
4603
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
4604
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
4605
|
+
*
|
|
4606
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4607
|
+
* @param ListAdhocQueriesRequest
|
|
4608
|
+
* @return ListAdhocQueriesResponse
|
|
4609
|
+
* @throws OciError when an error occurs
|
|
4610
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListAdhocQueries.ts.html |here} to see how to use ListAdhocQueries API.
|
|
4611
|
+
*/
|
|
4612
|
+
listAdhocQueries(listAdhocQueriesRequest) {
|
|
3583
4613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3584
4614
|
if (this.logger)
|
|
3585
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
3586
|
-
const operationName = "
|
|
3587
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/
|
|
3588
|
-
const pathParams = {
|
|
3589
|
-
|
|
3590
|
-
"
|
|
3591
|
-
"
|
|
4615
|
+
this.logger.debug("Calling operation CloudGuardClient#listAdhocQueries.");
|
|
4616
|
+
const operationName = "listAdhocQueries";
|
|
4617
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/ListAdhocQueries";
|
|
4618
|
+
const pathParams = {};
|
|
4619
|
+
const queryParams = {
|
|
4620
|
+
"compartmentId": listAdhocQueriesRequest.compartmentId,
|
|
4621
|
+
"adhocQueryStatus": listAdhocQueriesRequest.adhocQueryStatus,
|
|
4622
|
+
"timeStartedFilterQueryParam": listAdhocQueriesRequest.timeStartedFilterQueryParam,
|
|
4623
|
+
"timeEndedFilterQueryParam": listAdhocQueriesRequest.timeEndedFilterQueryParam,
|
|
4624
|
+
"limit": listAdhocQueriesRequest.limit,
|
|
4625
|
+
"page": listAdhocQueriesRequest.page,
|
|
4626
|
+
"compartmentIdInSubtree": listAdhocQueriesRequest.compartmentIdInSubtree,
|
|
4627
|
+
"accessLevel": listAdhocQueriesRequest.accessLevel,
|
|
4628
|
+
"sortOrder": listAdhocQueriesRequest.sortOrder,
|
|
4629
|
+
"sortBy": listAdhocQueriesRequest.sortBy
|
|
3592
4630
|
};
|
|
3593
|
-
const queryParams = {};
|
|
3594
4631
|
let headerParams = {
|
|
3595
4632
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3596
|
-
"opc-request-id":
|
|
4633
|
+
"opc-request-id": listAdhocQueriesRequest.opcRequestId
|
|
3597
4634
|
};
|
|
3598
4635
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3599
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4636
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdhocQueriesRequest.retryConfiguration, specRetryConfiguration);
|
|
3600
4637
|
if (this.logger)
|
|
3601
4638
|
retrier.logger = this.logger;
|
|
3602
4639
|
const request = yield oci_common_1.composeRequest({
|
|
3603
4640
|
baseEndpoint: this._endpoint,
|
|
3604
4641
|
defaultHeaders: this._defaultHeaders,
|
|
3605
|
-
path: "/
|
|
4642
|
+
path: "/adhocQueries",
|
|
3606
4643
|
method: "GET",
|
|
3607
4644
|
pathParams: pathParams,
|
|
3608
4645
|
headerParams: headerParams,
|
|
@@ -3613,18 +4650,18 @@ class CloudGuardClient {
|
|
|
3613
4650
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3614
4651
|
responseObject: {},
|
|
3615
4652
|
body: yield response.json(),
|
|
3616
|
-
bodyKey: "
|
|
3617
|
-
bodyModel: model.
|
|
3618
|
-
type: "model.
|
|
4653
|
+
bodyKey: "adhocQueryCollection",
|
|
4654
|
+
bodyModel: model.AdhocQueryCollection,
|
|
4655
|
+
type: "model.AdhocQueryCollection",
|
|
3619
4656
|
responseHeaders: [
|
|
3620
4657
|
{
|
|
3621
|
-
value: response.headers.get("
|
|
3622
|
-
key: "
|
|
4658
|
+
value: response.headers.get("opc-request-id"),
|
|
4659
|
+
key: "opcRequestId",
|
|
3623
4660
|
dataType: "string"
|
|
3624
4661
|
},
|
|
3625
4662
|
{
|
|
3626
|
-
value: response.headers.get("opc-
|
|
3627
|
-
key: "
|
|
4663
|
+
value: response.headers.get("opc-next-page"),
|
|
4664
|
+
key: "opcNextPage",
|
|
3628
4665
|
dataType: "string"
|
|
3629
4666
|
}
|
|
3630
4667
|
]
|
|
@@ -3637,35 +4674,41 @@ class CloudGuardClient {
|
|
|
3637
4674
|
});
|
|
3638
4675
|
}
|
|
3639
4676
|
/**
|
|
3640
|
-
*
|
|
4677
|
+
* Lists the results for a given adhoc ID (from includes results from all monitoring regions).
|
|
3641
4678
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3642
|
-
* @param
|
|
3643
|
-
* @return
|
|
4679
|
+
* @param ListAdhocQueryResultsRequest
|
|
4680
|
+
* @return ListAdhocQueryResultsResponse
|
|
3644
4681
|
* @throws OciError when an error occurs
|
|
3645
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListAdhocQueryResults.ts.html |here} to see how to use ListAdhocQueryResults API.
|
|
3646
4683
|
*/
|
|
3647
|
-
|
|
4684
|
+
listAdhocQueryResults(listAdhocQueryResultsRequest) {
|
|
3648
4685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3649
4686
|
if (this.logger)
|
|
3650
|
-
this.logger.debug("Calling operation CloudGuardClient#
|
|
3651
|
-
const operationName = "
|
|
3652
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/
|
|
4687
|
+
this.logger.debug("Calling operation CloudGuardClient#listAdhocQueryResults.");
|
|
4688
|
+
const operationName = "listAdhocQueryResults";
|
|
4689
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/ListAdhocQueryResults";
|
|
3653
4690
|
const pathParams = {
|
|
3654
|
-
"{
|
|
4691
|
+
"{adhocQueryId}": listAdhocQueryResultsRequest.adhocQueryId
|
|
4692
|
+
};
|
|
4693
|
+
const queryParams = {
|
|
4694
|
+
"compartmentId": listAdhocQueryResultsRequest.compartmentId,
|
|
4695
|
+
"limit": listAdhocQueryResultsRequest.limit,
|
|
4696
|
+
"page": listAdhocQueryResultsRequest.page,
|
|
4697
|
+
"sortOrder": listAdhocQueryResultsRequest.sortOrder,
|
|
4698
|
+
"sortBy": listAdhocQueryResultsRequest.sortBy
|
|
3655
4699
|
};
|
|
3656
|
-
const queryParams = {};
|
|
3657
4700
|
let headerParams = {
|
|
3658
4701
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3659
|
-
"opc-request-id":
|
|
4702
|
+
"opc-request-id": listAdhocQueryResultsRequest.opcRequestId
|
|
3660
4703
|
};
|
|
3661
4704
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3662
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4705
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdhocQueryResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
3663
4706
|
if (this.logger)
|
|
3664
4707
|
retrier.logger = this.logger;
|
|
3665
4708
|
const request = yield oci_common_1.composeRequest({
|
|
3666
4709
|
baseEndpoint: this._endpoint,
|
|
3667
4710
|
defaultHeaders: this._defaultHeaders,
|
|
3668
|
-
path: "/
|
|
4711
|
+
path: "/adhocQueries/{adhocQueryId}/results",
|
|
3669
4712
|
method: "GET",
|
|
3670
4713
|
pathParams: pathParams,
|
|
3671
4714
|
headerParams: headerParams,
|
|
@@ -3676,24 +4719,19 @@ class CloudGuardClient {
|
|
|
3676
4719
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3677
4720
|
responseObject: {},
|
|
3678
4721
|
body: yield response.json(),
|
|
3679
|
-
bodyKey: "
|
|
3680
|
-
bodyModel: model.
|
|
3681
|
-
type: "model.
|
|
4722
|
+
bodyKey: "adhocQueryResultCollection",
|
|
4723
|
+
bodyModel: model.AdhocQueryResultCollection,
|
|
4724
|
+
type: "model.AdhocQueryResultCollection",
|
|
3682
4725
|
responseHeaders: [
|
|
3683
|
-
{
|
|
3684
|
-
value: response.headers.get("etag"),
|
|
3685
|
-
key: "etag",
|
|
3686
|
-
dataType: "string"
|
|
3687
|
-
},
|
|
3688
4726
|
{
|
|
3689
4727
|
value: response.headers.get("opc-request-id"),
|
|
3690
4728
|
key: "opcRequestId",
|
|
3691
4729
|
dataType: "string"
|
|
3692
4730
|
},
|
|
3693
4731
|
{
|
|
3694
|
-
value: response.headers.get("
|
|
3695
|
-
key: "
|
|
3696
|
-
dataType: "
|
|
4732
|
+
value: response.headers.get("opc-next-page"),
|
|
4733
|
+
key: "opcNextPage",
|
|
4734
|
+
dataType: "string"
|
|
3697
4735
|
}
|
|
3698
4736
|
]
|
|
3699
4737
|
});
|
|
@@ -3705,13 +4743,13 @@ class CloudGuardClient {
|
|
|
3705
4743
|
});
|
|
3706
4744
|
}
|
|
3707
4745
|
/**
|
|
3708
|
-
* Returns a list of ConditionMetadataType
|
|
4746
|
+
* Returns a list of ConditionMetadataType resources.
|
|
3709
4747
|
*
|
|
3710
4748
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3711
4749
|
* @param ListConditionMetadataTypesRequest
|
|
3712
4750
|
* @return ListConditionMetadataTypesResponse
|
|
3713
4751
|
* @throws OciError when an error occurs
|
|
3714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4752
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListConditionMetadataTypes.ts.html |here} to see how to use ListConditionMetadataTypes API.
|
|
3715
4753
|
*/
|
|
3716
4754
|
listConditionMetadataTypes(listConditionMetadataTypesRequest) {
|
|
3717
4755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3774,13 +4812,13 @@ class CloudGuardClient {
|
|
|
3774
4812
|
});
|
|
3775
4813
|
}
|
|
3776
4814
|
/**
|
|
3777
|
-
* Returns a list of all DataMaskRule
|
|
4815
|
+
* Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.
|
|
3778
4816
|
*
|
|
3779
4817
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3780
4818
|
* @param ListDataMaskRulesRequest
|
|
3781
4819
|
* @return ListDataMaskRulesResponse
|
|
3782
4820
|
* @throws OciError when an error occurs
|
|
3783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4821
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataMaskRules.ts.html |here} to see how to use ListDataMaskRules API.
|
|
3784
4822
|
*/
|
|
3785
4823
|
listDataMaskRules(listDataMaskRulesRequest) {
|
|
3786
4824
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3849,13 +4887,15 @@ class CloudGuardClient {
|
|
|
3849
4887
|
});
|
|
3850
4888
|
}
|
|
3851
4889
|
/**
|
|
3852
|
-
* Returns a list of
|
|
4890
|
+
* Returns a list of data source events
|
|
4891
|
+
* (DataSourceEventCollection resource) from the data source
|
|
4892
|
+
* (DataSource resource) identified by dataSourceId.
|
|
3853
4893
|
*
|
|
3854
4894
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3855
4895
|
* @param ListDataSourceEventsRequest
|
|
3856
4896
|
* @return ListDataSourceEventsResponse
|
|
3857
4897
|
* @throws OciError when an error occurs
|
|
3858
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4898
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataSourceEvents.ts.html |here} to see how to use ListDataSourceEvents API.
|
|
3859
4899
|
*/
|
|
3860
4900
|
listDataSourceEvents(listDataSourceEventsRequest) {
|
|
3861
4901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3919,9 +4959,11 @@ class CloudGuardClient {
|
|
|
3919
4959
|
});
|
|
3920
4960
|
}
|
|
3921
4961
|
/**
|
|
3922
|
-
* Returns a list of all
|
|
4962
|
+
* Returns a list of all data sources (DataSource resources) for a compartment
|
|
4963
|
+
* identified by compartmentId. List is returned in a DataSourceCollection resource
|
|
4964
|
+
* with page of DataSourceSummary resources.
|
|
3923
4965
|
* <p>
|
|
3924
|
-
The
|
|
4966
|
+
The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
|
|
3925
4967
|
* The list does not include any subcompartments of the compartmentId passed.
|
|
3926
4968
|
* <p>
|
|
3927
4969
|
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
@@ -3930,7 +4972,7 @@ class CloudGuardClient {
|
|
|
3930
4972
|
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
3931
4973
|
* `compartmentIdInSubtree` is set to `true`.
|
|
3932
4974
|
* <p>
|
|
3933
|
-
The parameter `compartmentIdInSubtree` applies when you perform
|
|
4975
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
|
|
3934
4976
|
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
3935
4977
|
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
3936
4978
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
@@ -3939,7 +4981,7 @@ class CloudGuardClient {
|
|
|
3939
4981
|
* @param ListDataSourcesRequest
|
|
3940
4982
|
* @return ListDataSourcesResponse
|
|
3941
4983
|
* @throws OciError when an error occurs
|
|
3942
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4984
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataSources.ts.html |here} to see how to use ListDataSources API.
|
|
3943
4985
|
*/
|
|
3944
4986
|
listDataSources(listDataSourcesRequest) {
|
|
3945
4987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4007,13 +5049,13 @@ class CloudGuardClient {
|
|
|
4007
5049
|
});
|
|
4008
5050
|
}
|
|
4009
5051
|
/**
|
|
4010
|
-
* Returns a list of detector rules (DetectorRule
|
|
5052
|
+
* Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId.
|
|
4011
5053
|
*
|
|
4012
5054
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4013
5055
|
* @param ListDetectorRecipeDetectorRulesRequest
|
|
4014
5056
|
* @return ListDetectorRecipeDetectorRulesResponse
|
|
4015
5057
|
* @throws OciError when an error occurs
|
|
4016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5058
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRecipeDetectorRules.ts.html |here} to see how to use ListDetectorRecipeDetectorRules API.
|
|
4017
5059
|
*/
|
|
4018
5060
|
listDetectorRecipeDetectorRules(listDetectorRecipeDetectorRulesRequest) {
|
|
4019
5061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4079,7 +5121,7 @@ class CloudGuardClient {
|
|
|
4079
5121
|
});
|
|
4080
5122
|
}
|
|
4081
5123
|
/**
|
|
4082
|
-
* Returns a list of all detector recipes (DetectorRecipe
|
|
5124
|
+
* Returns a list of all detector recipes (DetectorRecipe resources) in a compartment, identified by compartmentId.
|
|
4083
5125
|
* <p>
|
|
4084
5126
|
The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed.
|
|
4085
5127
|
* The list does not include any subcompartments of the compartmentId passed.
|
|
@@ -4099,7 +5141,7 @@ class CloudGuardClient {
|
|
|
4099
5141
|
* @param ListDetectorRecipesRequest
|
|
4100
5142
|
* @return ListDetectorRecipesResponse
|
|
4101
5143
|
* @throws OciError when an error occurs
|
|
4102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5144
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRecipes.ts.html |here} to see how to use ListDetectorRecipes API.
|
|
4103
5145
|
*/
|
|
4104
5146
|
listDetectorRecipes(listDetectorRecipesRequest) {
|
|
4105
5147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4166,13 +5208,13 @@ class CloudGuardClient {
|
|
|
4166
5208
|
});
|
|
4167
5209
|
}
|
|
4168
5210
|
/**
|
|
4169
|
-
* Returns a list of detector rules for the DetectorRecipe
|
|
5211
|
+
* Returns a list of detector rules for the DetectorRecipe resource identified by detectorId.
|
|
4170
5212
|
*
|
|
4171
5213
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4172
5214
|
* @param ListDetectorRulesRequest
|
|
4173
5215
|
* @return ListDetectorRulesResponse
|
|
4174
5216
|
* @throws OciError when an error occurs
|
|
4175
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRules.ts.html |here} to see how to use ListDetectorRules API.
|
|
4176
5218
|
*/
|
|
4177
5219
|
listDetectorRules(listDetectorRulesRequest) {
|
|
4178
5220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4238,13 +5280,13 @@ class CloudGuardClient {
|
|
|
4238
5280
|
});
|
|
4239
5281
|
}
|
|
4240
5282
|
/**
|
|
4241
|
-
* Returns a detector catalog (DetectorCollection
|
|
5283
|
+
* Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources.
|
|
4242
5284
|
*
|
|
4243
5285
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4244
5286
|
* @param ListDetectorsRequest
|
|
4245
5287
|
* @return ListDetectorsResponse
|
|
4246
5288
|
* @throws OciError when an error occurs
|
|
4247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectors.ts.html |here} to see how to use ListDetectors API.
|
|
4248
5290
|
*/
|
|
4249
5291
|
listDetectors(listDetectorsRequest) {
|
|
4250
5292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4307,13 +5349,13 @@ class CloudGuardClient {
|
|
|
4307
5349
|
});
|
|
4308
5350
|
}
|
|
4309
5351
|
/**
|
|
4310
|
-
* Returns a list of impacted resources for a
|
|
5352
|
+
* Returns a list of impacted resources for a problem identified by problemId.
|
|
4311
5353
|
*
|
|
4312
5354
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4313
5355
|
* @param ListImpactedResourcesRequest
|
|
4314
5356
|
* @return ListImpactedResourcesResponse
|
|
4315
5357
|
* @throws OciError when an error occurs
|
|
4316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5358
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListImpactedResources.ts.html |here} to see how to use ListImpactedResources API.
|
|
4317
5359
|
*/
|
|
4318
5360
|
listImpactedResources(listImpactedResourcesRequest) {
|
|
4319
5361
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4381,7 +5423,7 @@ class CloudGuardClient {
|
|
|
4381
5423
|
* @param ListManagedListTypesRequest
|
|
4382
5424
|
* @return ListManagedListTypesResponse
|
|
4383
5425
|
* @throws OciError when an error occurs
|
|
4384
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5426
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListManagedListTypes.ts.html |here} to see how to use ListManagedListTypes API.
|
|
4385
5427
|
*/
|
|
4386
5428
|
listManagedListTypes(listManagedListTypesRequest) {
|
|
4387
5429
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4444,7 +5486,7 @@ class CloudGuardClient {
|
|
|
4444
5486
|
});
|
|
4445
5487
|
}
|
|
4446
5488
|
/**
|
|
4447
|
-
* Returns a list of all ManagedList
|
|
5489
|
+
* Returns a list of all ManagedList resources in a compartment, identified by compartmentId.
|
|
4448
5490
|
* The ListManagedLists operation returns only the managed lists in `compartmentId` passed.
|
|
4449
5491
|
* The list does not include any subcompartments of the compartmentId passed.
|
|
4450
5492
|
* <p>
|
|
@@ -4463,7 +5505,7 @@ class CloudGuardClient {
|
|
|
4463
5505
|
* @param ListManagedListsRequest
|
|
4464
5506
|
* @return ListManagedListsResponse
|
|
4465
5507
|
* @throws OciError when an error occurs
|
|
4466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5508
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListManagedLists.ts.html |here} to see how to use ListManagedLists API.
|
|
4467
5509
|
*/
|
|
4468
5510
|
listManagedLists(listManagedListsRequest) {
|
|
4469
5511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4537,7 +5579,7 @@ class CloudGuardClient {
|
|
|
4537
5579
|
* @param ListPoliciesRequest
|
|
4538
5580
|
* @return ListPoliciesResponse
|
|
4539
5581
|
* @throws OciError when an error occurs
|
|
4540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListPolicies.ts.html |here} to see how to use ListPolicies API.
|
|
4541
5583
|
*/
|
|
4542
5584
|
listPolicies(listPoliciesRequest) {
|
|
4543
5585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4605,7 +5647,7 @@ class CloudGuardClient {
|
|
|
4605
5647
|
* @param ListProblemEndpointsRequest
|
|
4606
5648
|
* @return ListProblemEndpointsResponse
|
|
4607
5649
|
* @throws OciError when an error occurs
|
|
4608
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemEndpoints.ts.html |here} to see how to use ListProblemEndpoints API.
|
|
4609
5651
|
*/
|
|
4610
5652
|
listProblemEndpoints(listProblemEndpointsRequest) {
|
|
4611
5653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4668,13 +5710,13 @@ class CloudGuardClient {
|
|
|
4668
5710
|
});
|
|
4669
5711
|
}
|
|
4670
5712
|
/**
|
|
4671
|
-
* Returns a list of entities for a
|
|
5713
|
+
* Returns a list of entities for a problem.
|
|
4672
5714
|
*
|
|
4673
5715
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4674
5716
|
* @param ListProblemEntitiesRequest
|
|
4675
5717
|
* @return ListProblemEntitiesResponse
|
|
4676
5718
|
* @throws OciError when an error occurs
|
|
4677
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemEntities.ts.html |here} to see how to use ListProblemEntities API.
|
|
4678
5720
|
*/
|
|
4679
5721
|
listProblemEntities(listProblemEntitiesRequest) {
|
|
4680
5722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4737,13 +5779,13 @@ class CloudGuardClient {
|
|
|
4737
5779
|
});
|
|
4738
5780
|
}
|
|
4739
5781
|
/**
|
|
4740
|
-
* Returns a list of actions taken on a
|
|
5782
|
+
* Returns a list of actions taken on a problem.
|
|
4741
5783
|
*
|
|
4742
5784
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4743
5785
|
* @param ListProblemHistoriesRequest
|
|
4744
5786
|
* @return ListProblemHistoriesResponse
|
|
4745
5787
|
* @throws OciError when an error occurs
|
|
4746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemHistories.ts.html |here} to see how to use ListProblemHistories API.
|
|
4747
5789
|
*/
|
|
4748
5790
|
listProblemHistories(listProblemHistoriesRequest) {
|
|
4749
5791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4827,7 +5869,7 @@ class CloudGuardClient {
|
|
|
4827
5869
|
* @param ListProblemsRequest
|
|
4828
5870
|
* @return ListProblemsResponse
|
|
4829
5871
|
* @throws OciError when an error occurs
|
|
4830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblems.ts.html |here} to see how to use ListProblems API.
|
|
4831
5873
|
*/
|
|
4832
5874
|
listProblems(listProblemsRequest) {
|
|
4833
5875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4909,13 +5951,14 @@ class CloudGuardClient {
|
|
|
4909
5951
|
});
|
|
4910
5952
|
}
|
|
4911
5953
|
/**
|
|
4912
|
-
* Returns a list of
|
|
5954
|
+
* Returns a list of recommendations (RecommendationSummaryCollection resource with a page of
|
|
5955
|
+
* RecommendationSummary resources) for a specified compartment OCID.
|
|
4913
5956
|
*
|
|
4914
5957
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4915
5958
|
* @param ListRecommendationsRequest
|
|
4916
5959
|
* @return ListRecommendationsResponse
|
|
4917
5960
|
* @throws OciError when an error occurs
|
|
4918
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5961
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
|
|
4919
5962
|
*/
|
|
4920
5963
|
listRecommendations(listRecommendationsRequest) {
|
|
4921
5964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4982,12 +6025,83 @@ class CloudGuardClient {
|
|
|
4982
6025
|
});
|
|
4983
6026
|
}
|
|
4984
6027
|
/**
|
|
4985
|
-
* Returns
|
|
6028
|
+
* Returns the list of open ports associated with the resourceId where resource is an instance
|
|
6029
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6030
|
+
* @param ListResourcePortsRequest
|
|
6031
|
+
* @return ListResourcePortsResponse
|
|
6032
|
+
* @throws OciError when an error occurs
|
|
6033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourcePorts.ts.html |here} to see how to use ListResourcePorts API.
|
|
6034
|
+
*/
|
|
6035
|
+
listResourcePorts(listResourcePortsRequest) {
|
|
6036
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6037
|
+
if (this.logger)
|
|
6038
|
+
this.logger.debug("Calling operation CloudGuardClient#listResourcePorts.");
|
|
6039
|
+
const operationName = "listResourcePorts";
|
|
6040
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourcePortCollection/ListResourcePorts";
|
|
6041
|
+
const pathParams = {
|
|
6042
|
+
"{resourceId}": listResourcePortsRequest.resourceId
|
|
6043
|
+
};
|
|
6044
|
+
const queryParams = {
|
|
6045
|
+
"openPort": listResourcePortsRequest.openPort,
|
|
6046
|
+
"limit": listResourcePortsRequest.limit,
|
|
6047
|
+
"page": listResourcePortsRequest.page,
|
|
6048
|
+
"sortOrder": listResourcePortsRequest.sortOrder,
|
|
6049
|
+
"sortBy": listResourcePortsRequest.sortBy
|
|
6050
|
+
};
|
|
6051
|
+
let headerParams = {
|
|
6052
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6053
|
+
"opc-request-id": listResourcePortsRequest.opcRequestId
|
|
6054
|
+
};
|
|
6055
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6056
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourcePortsRequest.retryConfiguration, specRetryConfiguration);
|
|
6057
|
+
if (this.logger)
|
|
6058
|
+
retrier.logger = this.logger;
|
|
6059
|
+
const request = yield oci_common_1.composeRequest({
|
|
6060
|
+
baseEndpoint: this._endpoint,
|
|
6061
|
+
defaultHeaders: this._defaultHeaders,
|
|
6062
|
+
path: "/resources/{resourceId}/ports",
|
|
6063
|
+
method: "GET",
|
|
6064
|
+
pathParams: pathParams,
|
|
6065
|
+
headerParams: headerParams,
|
|
6066
|
+
queryParams: queryParams
|
|
6067
|
+
});
|
|
6068
|
+
try {
|
|
6069
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6070
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6071
|
+
responseObject: {},
|
|
6072
|
+
body: yield response.json(),
|
|
6073
|
+
bodyKey: "resourcePortCollection",
|
|
6074
|
+
bodyModel: model.ResourcePortCollection,
|
|
6075
|
+
type: "model.ResourcePortCollection",
|
|
6076
|
+
responseHeaders: [
|
|
6077
|
+
{
|
|
6078
|
+
value: response.headers.get("opc-request-id"),
|
|
6079
|
+
key: "opcRequestId",
|
|
6080
|
+
dataType: "string"
|
|
6081
|
+
},
|
|
6082
|
+
{
|
|
6083
|
+
value: response.headers.get("opc-next-page"),
|
|
6084
|
+
key: "opcNextPage",
|
|
6085
|
+
dataType: "string"
|
|
6086
|
+
}
|
|
6087
|
+
]
|
|
6088
|
+
});
|
|
6089
|
+
return sdkResponse;
|
|
6090
|
+
}
|
|
6091
|
+
catch (err) {
|
|
6092
|
+
throw err;
|
|
6093
|
+
}
|
|
6094
|
+
});
|
|
6095
|
+
}
|
|
6096
|
+
/**
|
|
6097
|
+
* Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of
|
|
6098
|
+
* ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId.
|
|
6099
|
+
*
|
|
4986
6100
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4987
6101
|
* @param ListResourceProfileEndpointsRequest
|
|
4988
6102
|
* @return ListResourceProfileEndpointsResponse
|
|
4989
6103
|
* @throws OciError when an error occurs
|
|
4990
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6104
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfileEndpoints.ts.html |here} to see how to use ListResourceProfileEndpoints API.
|
|
4991
6105
|
*/
|
|
4992
6106
|
listResourceProfileEndpoints(listResourceProfileEndpointsRequest) {
|
|
4993
6107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5050,12 +6164,15 @@ class CloudGuardClient {
|
|
|
5050
6164
|
});
|
|
5051
6165
|
}
|
|
5052
6166
|
/**
|
|
5053
|
-
* Returns a list of impacted resources
|
|
6167
|
+
* Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource
|
|
6168
|
+
* with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile
|
|
6169
|
+
* identified by resourceProfileId.
|
|
6170
|
+
*
|
|
5054
6171
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5055
6172
|
* @param ListResourceProfileImpactedResourcesRequest
|
|
5056
6173
|
* @return ListResourceProfileImpactedResourcesResponse
|
|
5057
6174
|
* @throws OciError when an error occurs
|
|
5058
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6175
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfileImpactedResources.ts.html |here} to see how to use ListResourceProfileImpactedResources API.
|
|
5059
6176
|
*/
|
|
5060
6177
|
listResourceProfileImpactedResources(listResourceProfileImpactedResourcesRequest) {
|
|
5061
6178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5118,8 +6235,8 @@ class CloudGuardClient {
|
|
|
5118
6235
|
});
|
|
5119
6236
|
}
|
|
5120
6237
|
/**
|
|
5121
|
-
* Returns a list of all resource
|
|
5122
|
-
*
|
|
6238
|
+
* Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of
|
|
6239
|
+
* ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified.
|
|
5123
6240
|
* <p>
|
|
5124
6241
|
The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed.
|
|
5125
6242
|
* The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
@@ -5137,7 +6254,7 @@ class CloudGuardClient {
|
|
|
5137
6254
|
* @param ListResourceProfilesRequest
|
|
5138
6255
|
* @return ListResourceProfilesResponse
|
|
5139
6256
|
* @throws OciError when an error occurs
|
|
5140
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6257
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfiles.ts.html |here} to see how to use ListResourceProfiles API.
|
|
5141
6258
|
*/
|
|
5142
6259
|
listResourceProfiles(listResourceProfilesRequest) {
|
|
5143
6260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5210,42 +6327,208 @@ class CloudGuardClient {
|
|
|
5210
6327
|
});
|
|
5211
6328
|
}
|
|
5212
6329
|
/**
|
|
5213
|
-
* Returns a list of resource types
|
|
6330
|
+
* Returns a single ResourceTypeCollection resource, containing a list of resource types,
|
|
6331
|
+
* identified by parameters specified.
|
|
5214
6332
|
*
|
|
5215
6333
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5216
6334
|
* @param ListResourceTypesRequest
|
|
5217
6335
|
* @return ListResourceTypesResponse
|
|
5218
6336
|
* @throws OciError when an error occurs
|
|
5219
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
5220
6338
|
*/
|
|
5221
6339
|
listResourceTypes(listResourceTypesRequest) {
|
|
5222
6340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5223
6341
|
if (this.logger)
|
|
5224
|
-
this.logger.debug("Calling operation CloudGuardClient#listResourceTypes.");
|
|
5225
|
-
const operationName = "listResourceTypes";
|
|
5226
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceTypeSummary/ListResourceTypes";
|
|
6342
|
+
this.logger.debug("Calling operation CloudGuardClient#listResourceTypes.");
|
|
6343
|
+
const operationName = "listResourceTypes";
|
|
6344
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceTypeSummary/ListResourceTypes";
|
|
6345
|
+
const pathParams = {};
|
|
6346
|
+
const queryParams = {
|
|
6347
|
+
"compartmentId": listResourceTypesRequest.compartmentId,
|
|
6348
|
+
"detectorId": listResourceTypesRequest.detectorId,
|
|
6349
|
+
"lifecycleState": listResourceTypesRequest.lifecycleState,
|
|
6350
|
+
"limit": listResourceTypesRequest.limit,
|
|
6351
|
+
"page": listResourceTypesRequest.page,
|
|
6352
|
+
"sortOrder": listResourceTypesRequest.sortOrder,
|
|
6353
|
+
"sortBy": listResourceTypesRequest.sortBy
|
|
6354
|
+
};
|
|
6355
|
+
let headerParams = {
|
|
6356
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6357
|
+
"opc-request-id": listResourceTypesRequest.opcRequestId
|
|
6358
|
+
};
|
|
6359
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6360
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
6361
|
+
if (this.logger)
|
|
6362
|
+
retrier.logger = this.logger;
|
|
6363
|
+
const request = yield oci_common_1.composeRequest({
|
|
6364
|
+
baseEndpoint: this._endpoint,
|
|
6365
|
+
defaultHeaders: this._defaultHeaders,
|
|
6366
|
+
path: "/resourceTypes",
|
|
6367
|
+
method: "GET",
|
|
6368
|
+
pathParams: pathParams,
|
|
6369
|
+
headerParams: headerParams,
|
|
6370
|
+
queryParams: queryParams
|
|
6371
|
+
});
|
|
6372
|
+
try {
|
|
6373
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6374
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6375
|
+
responseObject: {},
|
|
6376
|
+
body: yield response.json(),
|
|
6377
|
+
bodyKey: "resourceTypeCollection",
|
|
6378
|
+
bodyModel: model.ResourceTypeCollection,
|
|
6379
|
+
type: "model.ResourceTypeCollection",
|
|
6380
|
+
responseHeaders: [
|
|
6381
|
+
{
|
|
6382
|
+
value: response.headers.get("opc-request-id"),
|
|
6383
|
+
key: "opcRequestId",
|
|
6384
|
+
dataType: "string"
|
|
6385
|
+
},
|
|
6386
|
+
{
|
|
6387
|
+
value: response.headers.get("opc-next-page"),
|
|
6388
|
+
key: "opcNextPage",
|
|
6389
|
+
dataType: "string"
|
|
6390
|
+
}
|
|
6391
|
+
]
|
|
6392
|
+
});
|
|
6393
|
+
return sdkResponse;
|
|
6394
|
+
}
|
|
6395
|
+
catch (err) {
|
|
6396
|
+
throw err;
|
|
6397
|
+
}
|
|
6398
|
+
});
|
|
6399
|
+
}
|
|
6400
|
+
/**
|
|
6401
|
+
* Returns the list of vulnerabilities associated with the resourceId where resource is an instance
|
|
6402
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6403
|
+
* @param ListResourceVulnerabilitiesRequest
|
|
6404
|
+
* @return ListResourceVulnerabilitiesResponse
|
|
6405
|
+
* @throws OciError when an error occurs
|
|
6406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceVulnerabilities.ts.html |here} to see how to use ListResourceVulnerabilities API.
|
|
6407
|
+
*/
|
|
6408
|
+
listResourceVulnerabilities(listResourceVulnerabilitiesRequest) {
|
|
6409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6410
|
+
if (this.logger)
|
|
6411
|
+
this.logger.debug("Calling operation CloudGuardClient#listResourceVulnerabilities.");
|
|
6412
|
+
const operationName = "listResourceVulnerabilities";
|
|
6413
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerabilityCollection/ListResourceVulnerabilities";
|
|
6414
|
+
const pathParams = {
|
|
6415
|
+
"{resourceId}": listResourceVulnerabilitiesRequest.resourceId
|
|
6416
|
+
};
|
|
6417
|
+
const queryParams = {
|
|
6418
|
+
"cveId": listResourceVulnerabilitiesRequest.cveId,
|
|
6419
|
+
"riskLevel": listResourceVulnerabilitiesRequest.riskLevel,
|
|
6420
|
+
"limit": listResourceVulnerabilitiesRequest.limit,
|
|
6421
|
+
"page": listResourceVulnerabilitiesRequest.page,
|
|
6422
|
+
"sortOrder": listResourceVulnerabilitiesRequest.sortOrder,
|
|
6423
|
+
"sortBy": listResourceVulnerabilitiesRequest.sortBy
|
|
6424
|
+
};
|
|
6425
|
+
let headerParams = {
|
|
6426
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6427
|
+
"opc-request-id": listResourceVulnerabilitiesRequest.opcRequestId
|
|
6428
|
+
};
|
|
6429
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6430
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
6431
|
+
if (this.logger)
|
|
6432
|
+
retrier.logger = this.logger;
|
|
6433
|
+
const request = yield oci_common_1.composeRequest({
|
|
6434
|
+
baseEndpoint: this._endpoint,
|
|
6435
|
+
defaultHeaders: this._defaultHeaders,
|
|
6436
|
+
path: "/resources/{resourceId}/vulnerabilities",
|
|
6437
|
+
method: "GET",
|
|
6438
|
+
pathParams: pathParams,
|
|
6439
|
+
headerParams: headerParams,
|
|
6440
|
+
queryParams: queryParams
|
|
6441
|
+
});
|
|
6442
|
+
try {
|
|
6443
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6444
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6445
|
+
responseObject: {},
|
|
6446
|
+
body: yield response.json(),
|
|
6447
|
+
bodyKey: "resourceVulnerabilityCollection",
|
|
6448
|
+
bodyModel: model.ResourceVulnerabilityCollection,
|
|
6449
|
+
type: "model.ResourceVulnerabilityCollection",
|
|
6450
|
+
responseHeaders: [
|
|
6451
|
+
{
|
|
6452
|
+
value: response.headers.get("opc-request-id"),
|
|
6453
|
+
key: "opcRequestId",
|
|
6454
|
+
dataType: "string"
|
|
6455
|
+
},
|
|
6456
|
+
{
|
|
6457
|
+
value: response.headers.get("opc-next-page"),
|
|
6458
|
+
key: "opcNextPage",
|
|
6459
|
+
dataType: "string"
|
|
6460
|
+
}
|
|
6461
|
+
]
|
|
6462
|
+
});
|
|
6463
|
+
return sdkResponse;
|
|
6464
|
+
}
|
|
6465
|
+
catch (err) {
|
|
6466
|
+
throw err;
|
|
6467
|
+
}
|
|
6468
|
+
});
|
|
6469
|
+
}
|
|
6470
|
+
/**
|
|
6471
|
+
* Returns a list of all resources in a compartment
|
|
6472
|
+
* <p>
|
|
6473
|
+
The ListResources operation returns only the resources in `compartmentId` passed.
|
|
6474
|
+
* The list does not include any subcompartments of the compartmentId passed.
|
|
6475
|
+
* <p>
|
|
6476
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
6477
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
6478
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
6479
|
+
* Principal doesn't have access to even one of the child compartments. This is valid only when
|
|
6480
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
6481
|
+
* <p>
|
|
6482
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListResources on the
|
|
6483
|
+
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
6484
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
6485
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
6486
|
+
*
|
|
6487
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6488
|
+
* @param ListResourcesRequest
|
|
6489
|
+
* @return ListResourcesResponse
|
|
6490
|
+
* @throws OciError when an error occurs
|
|
6491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResources.ts.html |here} to see how to use ListResources API.
|
|
6492
|
+
*/
|
|
6493
|
+
listResources(listResourcesRequest) {
|
|
6494
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6495
|
+
if (this.logger)
|
|
6496
|
+
this.logger.debug("Calling operation CloudGuardClient#listResources.");
|
|
6497
|
+
const operationName = "listResources";
|
|
6498
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/ListResources";
|
|
5227
6499
|
const pathParams = {};
|
|
5228
6500
|
const queryParams = {
|
|
5229
|
-
"compartmentId":
|
|
5230
|
-
"
|
|
5231
|
-
"
|
|
5232
|
-
"
|
|
5233
|
-
"
|
|
5234
|
-
"
|
|
5235
|
-
"
|
|
6501
|
+
"compartmentId": listResourcesRequest.compartmentId,
|
|
6502
|
+
"targetId": listResourcesRequest.targetId,
|
|
6503
|
+
"region": listResourcesRequest.region,
|
|
6504
|
+
"cvssScore": listResourcesRequest.cvssScore,
|
|
6505
|
+
"cvssScoreGreaterThan": listResourcesRequest.cvssScoreGreaterThan,
|
|
6506
|
+
"cvssScoreLessThan": listResourcesRequest.cvssScoreLessThan,
|
|
6507
|
+
"cveId": listResourcesRequest.cveId,
|
|
6508
|
+
"riskLevel": listResourcesRequest.riskLevel,
|
|
6509
|
+
"riskLevelGreaterThan": listResourcesRequest.riskLevelGreaterThan,
|
|
6510
|
+
"riskLevelLessThan": listResourcesRequest.riskLevelLessThan,
|
|
6511
|
+
"detectorRuleIdList": listResourcesRequest.detectorRuleIdList,
|
|
6512
|
+
"detectorType": listResourcesRequest.detectorType,
|
|
6513
|
+
"limit": listResourcesRequest.limit,
|
|
6514
|
+
"page": listResourcesRequest.page,
|
|
6515
|
+
"compartmentIdInSubtree": listResourcesRequest.compartmentIdInSubtree,
|
|
6516
|
+
"accessLevel": listResourcesRequest.accessLevel,
|
|
6517
|
+
"sortOrder": listResourcesRequest.sortOrder,
|
|
6518
|
+
"sortBy": listResourcesRequest.sortBy
|
|
5236
6519
|
};
|
|
5237
6520
|
let headerParams = {
|
|
5238
6521
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5239
|
-
"opc-request-id":
|
|
6522
|
+
"opc-request-id": listResourcesRequest.opcRequestId
|
|
5240
6523
|
};
|
|
5241
6524
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5242
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
6525
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
5243
6526
|
if (this.logger)
|
|
5244
6527
|
retrier.logger = this.logger;
|
|
5245
6528
|
const request = yield oci_common_1.composeRequest({
|
|
5246
6529
|
baseEndpoint: this._endpoint,
|
|
5247
6530
|
defaultHeaders: this._defaultHeaders,
|
|
5248
|
-
path: "/
|
|
6531
|
+
path: "/resources",
|
|
5249
6532
|
method: "GET",
|
|
5250
6533
|
pathParams: pathParams,
|
|
5251
6534
|
headerParams: headerParams,
|
|
@@ -5256,9 +6539,9 @@ class CloudGuardClient {
|
|
|
5256
6539
|
const sdkResponse = oci_common_1.composeResponse({
|
|
5257
6540
|
responseObject: {},
|
|
5258
6541
|
body: yield response.json(),
|
|
5259
|
-
bodyKey: "
|
|
5260
|
-
bodyModel: model.
|
|
5261
|
-
type: "model.
|
|
6542
|
+
bodyKey: "resourceCollection",
|
|
6543
|
+
bodyModel: model.ResourceCollection,
|
|
6544
|
+
type: "model.ResourceCollection",
|
|
5262
6545
|
responseHeaders: [
|
|
5263
6546
|
{
|
|
5264
6547
|
value: response.headers.get("opc-request-id"),
|
|
@@ -5280,13 +6563,14 @@ class CloudGuardClient {
|
|
|
5280
6563
|
});
|
|
5281
6564
|
}
|
|
5282
6565
|
/**
|
|
5283
|
-
* Returns a list of
|
|
6566
|
+
* Returns a list of responder activities for a problem, identified by problemId, in a
|
|
6567
|
+
* ResponderActivityCollection resource, with a page of ResponderActivitySummary resources.
|
|
5284
6568
|
*
|
|
5285
6569
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5286
6570
|
* @param ListResponderActivitiesRequest
|
|
5287
6571
|
* @return ListResponderActivitiesResponse
|
|
5288
6572
|
* @throws OciError when an error occurs
|
|
5289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderActivities.ts.html |here} to see how to use ListResponderActivities API.
|
|
5290
6574
|
*/
|
|
5291
6575
|
listResponderActivities(listResponderActivitiesRequest) {
|
|
5292
6576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5349,13 +6633,14 @@ class CloudGuardClient {
|
|
|
5349
6633
|
});
|
|
5350
6634
|
}
|
|
5351
6635
|
/**
|
|
5352
|
-
* Returns a list of
|
|
6636
|
+
* Returns a list of responder executions. A responder execution is an entity that tracks
|
|
6637
|
+
* the collective execution of multiple responder rule executions for a given problem.
|
|
5353
6638
|
*
|
|
5354
6639
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5355
6640
|
* @param ListResponderExecutionsRequest
|
|
5356
6641
|
* @return ListResponderExecutionsResponse
|
|
5357
6642
|
* @throws OciError when an error occurs
|
|
5358
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6643
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderExecutions.ts.html |here} to see how to use ListResponderExecutions API.
|
|
5359
6644
|
*/
|
|
5360
6645
|
listResponderExecutions(listResponderExecutionsRequest) {
|
|
5361
6646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5429,13 +6714,15 @@ class CloudGuardClient {
|
|
|
5429
6714
|
});
|
|
5430
6715
|
}
|
|
5431
6716
|
/**
|
|
5432
|
-
* Returns a list of ResponderRule
|
|
6717
|
+
* Returns a list of responder rules (ResponderRule resources in a
|
|
6718
|
+
* responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources),
|
|
6719
|
+
* for a responder recipe (ResponderRecipe resource), identified by responderRecipeId.
|
|
5433
6720
|
*
|
|
5434
6721
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5435
6722
|
* @param ListResponderRecipeResponderRulesRequest
|
|
5436
6723
|
* @return ListResponderRecipeResponderRulesResponse
|
|
5437
6724
|
* @throws OciError when an error occurs
|
|
5438
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRecipeResponderRules.ts.html |here} to see how to use ListResponderRecipeResponderRules API.
|
|
5439
6726
|
*/
|
|
5440
6727
|
listResponderRecipeResponderRules(listResponderRecipeResponderRulesRequest) {
|
|
5441
6728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5501,7 +6788,8 @@ class CloudGuardClient {
|
|
|
5501
6788
|
});
|
|
5502
6789
|
}
|
|
5503
6790
|
/**
|
|
5504
|
-
* Returns a list
|
|
6791
|
+
* Returns a list (ResponderRecipeCollection resource, with a page of ResponderRecipeSummary resources)
|
|
6792
|
+
* of all responder recipes (RespponderRecipe resources) in a compartment, identified by compartmentId.
|
|
5505
6793
|
* The ListResponderRecipe operation returns only the targets in `compartmentId` passed.
|
|
5506
6794
|
* The list does not include any subcompartments of the compartmentId passed.
|
|
5507
6795
|
* <p>
|
|
@@ -5520,7 +6808,7 @@ class CloudGuardClient {
|
|
|
5520
6808
|
* @param ListResponderRecipesRequest
|
|
5521
6809
|
* @return ListResponderRecipesResponse
|
|
5522
6810
|
* @throws OciError when an error occurs
|
|
5523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRecipes.ts.html |here} to see how to use ListResponderRecipes API.
|
|
5524
6812
|
*/
|
|
5525
6813
|
listResponderRecipes(listResponderRecipesRequest) {
|
|
5526
6814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5587,13 +6875,15 @@ class CloudGuardClient {
|
|
|
5587
6875
|
});
|
|
5588
6876
|
}
|
|
5589
6877
|
/**
|
|
5590
|
-
* Returns a list of
|
|
6878
|
+
* Returns a list of responder rules for the ResponderRecipe resource
|
|
6879
|
+
* identified by responderId. The list is contained in a ResponderRuleCollection
|
|
6880
|
+
* resource with a page of ResponderRuleSummary resources.
|
|
5591
6881
|
*
|
|
5592
6882
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5593
6883
|
* @param ListResponderRulesRequest
|
|
5594
6884
|
* @return ListResponderRulesResponse
|
|
5595
6885
|
* @throws OciError when an error occurs
|
|
5596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRules.ts.html |here} to see how to use ListResponderRules API.
|
|
5597
6887
|
*/
|
|
5598
6888
|
listResponderRules(listResponderRulesRequest) {
|
|
5599
6889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5657,13 +6947,85 @@ class CloudGuardClient {
|
|
|
5657
6947
|
});
|
|
5658
6948
|
}
|
|
5659
6949
|
/**
|
|
5660
|
-
* Returns a list of
|
|
6950
|
+
* Returns a list of saved queries run in a tenancy.
|
|
6951
|
+
*
|
|
6952
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6953
|
+
* @param ListSavedQueriesRequest
|
|
6954
|
+
* @return ListSavedQueriesResponse
|
|
6955
|
+
* @throws OciError when an error occurs
|
|
6956
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSavedQueries.ts.html |here} to see how to use ListSavedQueries API.
|
|
6957
|
+
*/
|
|
6958
|
+
listSavedQueries(listSavedQueriesRequest) {
|
|
6959
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6960
|
+
if (this.logger)
|
|
6961
|
+
this.logger.debug("Calling operation CloudGuardClient#listSavedQueries.");
|
|
6962
|
+
const operationName = "listSavedQueries";
|
|
6963
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ListSavedQueries";
|
|
6964
|
+
const pathParams = {};
|
|
6965
|
+
const queryParams = {
|
|
6966
|
+
"compartmentId": listSavedQueriesRequest.compartmentId,
|
|
6967
|
+
"displayName": listSavedQueriesRequest.displayName,
|
|
6968
|
+
"limit": listSavedQueriesRequest.limit,
|
|
6969
|
+
"page": listSavedQueriesRequest.page,
|
|
6970
|
+
"compartmentIdInSubtree": listSavedQueriesRequest.compartmentIdInSubtree,
|
|
6971
|
+
"accessLevel": listSavedQueriesRequest.accessLevel,
|
|
6972
|
+
"sortOrder": listSavedQueriesRequest.sortOrder,
|
|
6973
|
+
"sortBy": listSavedQueriesRequest.sortBy
|
|
6974
|
+
};
|
|
6975
|
+
let headerParams = {
|
|
6976
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6977
|
+
"opc-request-id": listSavedQueriesRequest.opcRequestId
|
|
6978
|
+
};
|
|
6979
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6980
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSavedQueriesRequest.retryConfiguration, specRetryConfiguration);
|
|
6981
|
+
if (this.logger)
|
|
6982
|
+
retrier.logger = this.logger;
|
|
6983
|
+
const request = yield oci_common_1.composeRequest({
|
|
6984
|
+
baseEndpoint: this._endpoint,
|
|
6985
|
+
defaultHeaders: this._defaultHeaders,
|
|
6986
|
+
path: "/savedQueries",
|
|
6987
|
+
method: "GET",
|
|
6988
|
+
pathParams: pathParams,
|
|
6989
|
+
headerParams: headerParams,
|
|
6990
|
+
queryParams: queryParams
|
|
6991
|
+
});
|
|
6992
|
+
try {
|
|
6993
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6994
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6995
|
+
responseObject: {},
|
|
6996
|
+
body: yield response.json(),
|
|
6997
|
+
bodyKey: "savedQueryCollection",
|
|
6998
|
+
bodyModel: model.SavedQueryCollection,
|
|
6999
|
+
type: "model.SavedQueryCollection",
|
|
7000
|
+
responseHeaders: [
|
|
7001
|
+
{
|
|
7002
|
+
value: response.headers.get("opc-request-id"),
|
|
7003
|
+
key: "opcRequestId",
|
|
7004
|
+
dataType: "string"
|
|
7005
|
+
},
|
|
7006
|
+
{
|
|
7007
|
+
value: response.headers.get("opc-next-page"),
|
|
7008
|
+
key: "opcNextPage",
|
|
7009
|
+
dataType: "string"
|
|
7010
|
+
}
|
|
7011
|
+
]
|
|
7012
|
+
});
|
|
7013
|
+
return sdkResponse;
|
|
7014
|
+
}
|
|
7015
|
+
catch (err) {
|
|
7016
|
+
throw err;
|
|
7017
|
+
}
|
|
7018
|
+
});
|
|
7019
|
+
}
|
|
7020
|
+
/**
|
|
7021
|
+
* Returns a list of security zone policies (SecurityPolicySummary resources),
|
|
7022
|
+
* identified by compartmentId.
|
|
5661
7023
|
*
|
|
5662
7024
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5663
7025
|
* @param ListSecurityPoliciesRequest
|
|
5664
7026
|
* @return ListSecurityPoliciesResponse
|
|
5665
7027
|
* @throws OciError when an error occurs
|
|
5666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7028
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityPolicies.ts.html |here} to see how to use ListSecurityPolicies API.
|
|
5667
7029
|
*/
|
|
5668
7030
|
listSecurityPolicies(listSecurityPoliciesRequest) {
|
|
5669
7031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5728,13 +7090,14 @@ class CloudGuardClient {
|
|
|
5728
7090
|
});
|
|
5729
7091
|
}
|
|
5730
7092
|
/**
|
|
5731
|
-
*
|
|
7093
|
+
* Returns a list of security zone recipes (SecurityRecipeSummary resources) in a
|
|
7094
|
+
* compartment, identified by compartmentId.
|
|
5732
7095
|
*
|
|
5733
7096
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5734
7097
|
* @param ListSecurityRecipesRequest
|
|
5735
7098
|
* @return ListSecurityRecipesResponse
|
|
5736
7099
|
* @throws OciError when an error occurs
|
|
5737
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityRecipes.ts.html |here} to see how to use ListSecurityRecipes API.
|
|
5738
7101
|
*/
|
|
5739
7102
|
listSecurityRecipes(listSecurityRecipesRequest) {
|
|
5740
7103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5799,13 +7162,14 @@ class CloudGuardClient {
|
|
|
5799
7162
|
});
|
|
5800
7163
|
}
|
|
5801
7164
|
/**
|
|
5802
|
-
*
|
|
7165
|
+
* Returns a list of security zones (SecurityZone resources) in a compartment identified by
|
|
7166
|
+
* compartmentId. List is contained in a page of SecurityZoneSummary resources.
|
|
5803
7167
|
*
|
|
5804
7168
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5805
7169
|
* @param ListSecurityZonesRequest
|
|
5806
7170
|
* @return ListSecurityZonesResponse
|
|
5807
7171
|
* @throws OciError when an error occurs
|
|
5808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityZones.ts.html |here} to see how to use ListSecurityZones API.
|
|
5809
7173
|
*/
|
|
5810
7174
|
listSecurityZones(listSecurityZonesRequest) {
|
|
5811
7175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5872,12 +7236,15 @@ class CloudGuardClient {
|
|
|
5872
7236
|
});
|
|
5873
7237
|
}
|
|
5874
7238
|
/**
|
|
5875
|
-
* Returns
|
|
7239
|
+
* Returns sighting endpoints details in a
|
|
7240
|
+
* SightingEndpointsCollection resource
|
|
7241
|
+
* with a page of SightingEndpointSummary resources.
|
|
7242
|
+
*
|
|
5876
7243
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5877
7244
|
* @param ListSightingEndpointsRequest
|
|
5878
7245
|
* @return ListSightingEndpointsResponse
|
|
5879
7246
|
* @throws OciError when an error occurs
|
|
5880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightingEndpoints.ts.html |here} to see how to use ListSightingEndpoints API.
|
|
5881
7248
|
*/
|
|
5882
7249
|
listSightingEndpoints(listSightingEndpointsRequest) {
|
|
5883
7250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5940,12 +7307,14 @@ class CloudGuardClient {
|
|
|
5940
7307
|
});
|
|
5941
7308
|
}
|
|
5942
7309
|
/**
|
|
5943
|
-
*
|
|
7310
|
+
* Returns a list of impacted resources for a sighting, identified by sightingId, in a
|
|
7311
|
+
* SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources.
|
|
7312
|
+
*
|
|
5944
7313
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5945
7314
|
* @param ListSightingImpactedResourcesRequest
|
|
5946
7315
|
* @return ListSightingImpactedResourcesResponse
|
|
5947
7316
|
* @throws OciError when an error occurs
|
|
5948
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7317
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightingImpactedResources.ts.html |here} to see how to use ListSightingImpactedResources API.
|
|
5949
7318
|
*/
|
|
5950
7319
|
listSightingImpactedResources(listSightingImpactedResourcesRequest) {
|
|
5951
7320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6008,8 +7377,8 @@ class CloudGuardClient {
|
|
|
6008
7377
|
});
|
|
6009
7378
|
}
|
|
6010
7379
|
/**
|
|
6011
|
-
*
|
|
6012
|
-
*
|
|
7380
|
+
* For the parameters passed, returns a list of sightings
|
|
7381
|
+
* (SightingCollection resource) with a page of SightingSummary resources.
|
|
6013
7382
|
* <p>
|
|
6014
7383
|
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
6015
7384
|
* requestor has INSPECT permissions on at least one resource directly
|
|
@@ -6026,7 +7395,7 @@ class CloudGuardClient {
|
|
|
6026
7395
|
* @param ListSightingsRequest
|
|
6027
7396
|
* @return ListSightingsResponse
|
|
6028
7397
|
* @throws OciError when an error occurs
|
|
6029
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightings.ts.html |here} to see how to use ListSightings API.
|
|
6030
7399
|
*/
|
|
6031
7400
|
listSightings(listSightingsRequest) {
|
|
6032
7401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6094,13 +7463,12 @@ class CloudGuardClient {
|
|
|
6094
7463
|
});
|
|
6095
7464
|
}
|
|
6096
7465
|
/**
|
|
6097
|
-
* Returns a list of
|
|
6098
|
-
*
|
|
7466
|
+
* Returns a list of TacticSummary resources for a compartment, identified by compartmentId.
|
|
6099
7467
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6100
7468
|
* @param ListTacticsRequest
|
|
6101
7469
|
* @return ListTacticsResponse
|
|
6102
7470
|
* @throws OciError when an error occurs
|
|
6103
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTactics.ts.html |here} to see how to use ListTactics API.
|
|
6104
7472
|
*/
|
|
6105
7473
|
listTactics(listTacticsRequest) {
|
|
6106
7474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6169,7 +7537,7 @@ class CloudGuardClient {
|
|
|
6169
7537
|
* @param ListTargetDetectorRecipeDetectorRulesRequest
|
|
6170
7538
|
* @return ListTargetDetectorRecipeDetectorRulesResponse
|
|
6171
7539
|
* @throws OciError when an error occurs
|
|
6172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetDetectorRecipeDetectorRules.ts.html |here} to see how to use ListTargetDetectorRecipeDetectorRules API.
|
|
6173
7541
|
*/
|
|
6174
7542
|
listTargetDetectorRecipeDetectorRules(listTargetDetectorRecipeDetectorRulesRequest) {
|
|
6175
7543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6236,12 +7604,15 @@ class CloudGuardClient {
|
|
|
6236
7604
|
});
|
|
6237
7605
|
}
|
|
6238
7606
|
/**
|
|
6239
|
-
* Returns a list of all detector recipes
|
|
7607
|
+
* Returns a list of all target detector recipes (TargetDetectorRecipe resources)
|
|
7608
|
+
* associated with a target (Target resource), identified by targetId. The list is contained
|
|
7609
|
+
* in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources.
|
|
7610
|
+
*
|
|
6240
7611
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6241
7612
|
* @param ListTargetDetectorRecipesRequest
|
|
6242
7613
|
* @return ListTargetDetectorRecipesResponse
|
|
6243
7614
|
* @throws OciError when an error occurs
|
|
6244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7615
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetDetectorRecipes.ts.html |here} to see how to use ListTargetDetectorRecipes API.
|
|
6245
7616
|
*/
|
|
6246
7617
|
listTargetDetectorRecipes(listTargetDetectorRecipesRequest) {
|
|
6247
7618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6307,13 +7678,16 @@ class CloudGuardClient {
|
|
|
6307
7678
|
});
|
|
6308
7679
|
}
|
|
6309
7680
|
/**
|
|
6310
|
-
* Returns a list of ResponderRule associated with
|
|
7681
|
+
* Returns a list of responder rules (ResponderRule resources) associated with a
|
|
7682
|
+
* responder recipe (ResponderRecipe resource) attached to a Target.
|
|
7683
|
+
* List is returned in a TargetResponderRecipeResponderRuleCollection resource
|
|
7684
|
+
* with page of TargetResponderRecipeResponderRuleSummary resources.
|
|
6311
7685
|
*
|
|
6312
7686
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6313
7687
|
* @param ListTargetResponderRecipeResponderRulesRequest
|
|
6314
7688
|
* @return ListTargetResponderRecipeResponderRulesResponse
|
|
6315
7689
|
* @throws OciError when an error occurs
|
|
6316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetResponderRecipeResponderRules.ts.html |here} to see how to use ListTargetResponderRecipeResponderRules API.
|
|
6317
7691
|
*/
|
|
6318
7692
|
listTargetResponderRecipeResponderRules(listTargetResponderRecipeResponderRulesRequest) {
|
|
6319
7693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6380,12 +7754,15 @@ class CloudGuardClient {
|
|
|
6380
7754
|
});
|
|
6381
7755
|
}
|
|
6382
7756
|
/**
|
|
6383
|
-
* Returns a list of all responder recipes
|
|
7757
|
+
* Returns a list of summary information for all responder recipes
|
|
7758
|
+
* (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources)
|
|
7759
|
+
* attached to a target identified by targetId, located in a compartment identified by compartmentId.
|
|
7760
|
+
*
|
|
6384
7761
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6385
7762
|
* @param ListTargetResponderRecipesRequest
|
|
6386
7763
|
* @return ListTargetResponderRecipesResponse
|
|
6387
7764
|
* @throws OciError when an error occurs
|
|
6388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetResponderRecipes.ts.html |here} to see how to use ListTargetResponderRecipes API.
|
|
6389
7766
|
*/
|
|
6390
7767
|
listTargetResponderRecipes(listTargetResponderRecipesRequest) {
|
|
6391
7768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6451,9 +7828,10 @@ class CloudGuardClient {
|
|
|
6451
7828
|
});
|
|
6452
7829
|
}
|
|
6453
7830
|
/**
|
|
6454
|
-
* Returns a list of
|
|
6455
|
-
*
|
|
6456
|
-
*
|
|
7831
|
+
* Returns a list of targets (TargetCollection resource with page of TargetSummary
|
|
7832
|
+
* resources) for the target identified by compartmentId. By default, only the target
|
|
7833
|
+
* associated with the compartment is returned. Setting compartmentIdInSubtree to true
|
|
7834
|
+
* returns the entire hierarchy of targets in subcompartments.
|
|
6457
7835
|
* <p>
|
|
6458
7836
|
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
6459
7837
|
* requestor has INSPECT permissions on at least one resource directly
|
|
@@ -6463,14 +7841,14 @@ class CloudGuardClient {
|
|
|
6463
7841
|
* <p>
|
|
6464
7842
|
The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the
|
|
6465
7843
|
* `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
6466
|
-
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
7844
|
+
* To get a full list of all targets in compartments and subcompartments in the tenancy (root compartment),
|
|
6467
7845
|
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
6468
7846
|
*
|
|
6469
7847
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6470
7848
|
* @param ListTargetsRequest
|
|
6471
7849
|
* @return ListTargetsResponse
|
|
6472
7850
|
* @throws OciError when an error occurs
|
|
6473
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7851
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargets.ts.html |here} to see how to use ListTargets API.
|
|
6474
7852
|
*/
|
|
6475
7853
|
listTargets(listTargetsRequest) {
|
|
6476
7854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6543,7 +7921,7 @@ class CloudGuardClient {
|
|
|
6543
7921
|
* @param ListTechniquesRequest
|
|
6544
7922
|
* @return ListTechniquesResponse
|
|
6545
7923
|
* @throws OciError when an error occurs
|
|
6546
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTechniques.ts.html |here} to see how to use ListTechniques API.
|
|
6547
7925
|
*/
|
|
6548
7926
|
listTechniques(listTechniquesRequest) {
|
|
6549
7927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6607,12 +7985,82 @@ class CloudGuardClient {
|
|
|
6607
7985
|
});
|
|
6608
7986
|
}
|
|
6609
7987
|
/**
|
|
6610
|
-
*
|
|
7988
|
+
* Returns a list of WLP agents in a compartment.
|
|
7989
|
+
*
|
|
7990
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7991
|
+
* @param ListWlpAgentsRequest
|
|
7992
|
+
* @return ListWlpAgentsResponse
|
|
7993
|
+
* @throws OciError when an error occurs
|
|
7994
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWlpAgents.ts.html |here} to see how to use ListWlpAgents API.
|
|
7995
|
+
*/
|
|
7996
|
+
listWlpAgents(listWlpAgentsRequest) {
|
|
7997
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7998
|
+
if (this.logger)
|
|
7999
|
+
this.logger.debug("Calling operation CloudGuardClient#listWlpAgents.");
|
|
8000
|
+
const operationName = "listWlpAgents";
|
|
8001
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/ListWlpAgents";
|
|
8002
|
+
const pathParams = {};
|
|
8003
|
+
const queryParams = {
|
|
8004
|
+
"compartmentId": listWlpAgentsRequest.compartmentId,
|
|
8005
|
+
"limit": listWlpAgentsRequest.limit,
|
|
8006
|
+
"page": listWlpAgentsRequest.page,
|
|
8007
|
+
"sortOrder": listWlpAgentsRequest.sortOrder,
|
|
8008
|
+
"sortBy": listWlpAgentsRequest.sortBy
|
|
8009
|
+
};
|
|
8010
|
+
let headerParams = {
|
|
8011
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8012
|
+
"opc-request-id": listWlpAgentsRequest.opcRequestId
|
|
8013
|
+
};
|
|
8014
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8015
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWlpAgentsRequest.retryConfiguration, specRetryConfiguration);
|
|
8016
|
+
if (this.logger)
|
|
8017
|
+
retrier.logger = this.logger;
|
|
8018
|
+
const request = yield oci_common_1.composeRequest({
|
|
8019
|
+
baseEndpoint: this._endpoint,
|
|
8020
|
+
defaultHeaders: this._defaultHeaders,
|
|
8021
|
+
path: "/wlpAgents",
|
|
8022
|
+
method: "GET",
|
|
8023
|
+
pathParams: pathParams,
|
|
8024
|
+
headerParams: headerParams,
|
|
8025
|
+
queryParams: queryParams
|
|
8026
|
+
});
|
|
8027
|
+
try {
|
|
8028
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8029
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
8030
|
+
responseObject: {},
|
|
8031
|
+
body: yield response.json(),
|
|
8032
|
+
bodyKey: "wlpAgentCollection",
|
|
8033
|
+
bodyModel: model.WlpAgentCollection,
|
|
8034
|
+
type: "model.WlpAgentCollection",
|
|
8035
|
+
responseHeaders: [
|
|
8036
|
+
{
|
|
8037
|
+
value: response.headers.get("opc-request-id"),
|
|
8038
|
+
key: "opcRequestId",
|
|
8039
|
+
dataType: "string"
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
value: response.headers.get("opc-next-page"),
|
|
8043
|
+
key: "opcNextPage",
|
|
8044
|
+
dataType: "string"
|
|
8045
|
+
}
|
|
8046
|
+
]
|
|
8047
|
+
});
|
|
8048
|
+
return sdkResponse;
|
|
8049
|
+
}
|
|
8050
|
+
catch (err) {
|
|
8051
|
+
throw err;
|
|
8052
|
+
}
|
|
8053
|
+
});
|
|
8054
|
+
}
|
|
8055
|
+
/**
|
|
8056
|
+
* Returns a list of errors for a work request
|
|
8057
|
+
* identified by workRequestId.
|
|
8058
|
+
*
|
|
6611
8059
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6612
8060
|
* @param ListWorkRequestErrorsRequest
|
|
6613
8061
|
* @return ListWorkRequestErrorsResponse
|
|
6614
8062
|
* @throws OciError when an error occurs
|
|
6615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8063
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
6616
8064
|
*/
|
|
6617
8065
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
6618
8066
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6675,12 +8123,14 @@ class CloudGuardClient {
|
|
|
6675
8123
|
});
|
|
6676
8124
|
}
|
|
6677
8125
|
/**
|
|
6678
|
-
*
|
|
8126
|
+
* Returns a paginated list (WorkRequestLogEntryCollection resource)
|
|
8127
|
+
* of log entries for a request, identified by workRequestId.
|
|
8128
|
+
*
|
|
6679
8129
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6680
8130
|
* @param ListWorkRequestLogsRequest
|
|
6681
8131
|
* @return ListWorkRequestLogsResponse
|
|
6682
8132
|
* @throws OciError when an error occurs
|
|
6683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
6684
8134
|
*/
|
|
6685
8135
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
6686
8136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6743,12 +8193,14 @@ class CloudGuardClient {
|
|
|
6743
8193
|
});
|
|
6744
8194
|
}
|
|
6745
8195
|
/**
|
|
6746
|
-
*
|
|
8196
|
+
* Returns a list of work requests (WorkRequestSummaryCollection resource),
|
|
8197
|
+
* in a compartment identified by compartmentId.
|
|
8198
|
+
*
|
|
6747
8199
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6748
8200
|
* @param ListWorkRequestsRequest
|
|
6749
8201
|
* @return ListWorkRequestsResponse
|
|
6750
8202
|
* @throws OciError when an error occurs
|
|
6751
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8203
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
6752
8204
|
*/
|
|
6753
8205
|
listWorkRequests(listWorkRequestsRequest) {
|
|
6754
8206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6812,12 +8264,16 @@ class CloudGuardClient {
|
|
|
6812
8264
|
});
|
|
6813
8265
|
}
|
|
6814
8266
|
/**
|
|
6815
|
-
* Removes
|
|
8267
|
+
* Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId.
|
|
8268
|
+
* Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a
|
|
8269
|
+
* subcompartment from a security zone, it no longer enforces security zone policies on the resources in the
|
|
8270
|
+
* subcompartment. You can't remove the primary compartment that was used to create the security zone.
|
|
8271
|
+
*
|
|
6816
8272
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6817
8273
|
* @param RemoveCompartmentRequest
|
|
6818
8274
|
* @return RemoveCompartmentResponse
|
|
6819
8275
|
* @throws OciError when an error occurs
|
|
6820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RemoveCompartment.ts.html |here} to see how to use RemoveCompartment API.
|
|
6821
8277
|
*/
|
|
6822
8278
|
removeCompartment(removeCompartmentRequest) {
|
|
6823
8279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6878,13 +8334,14 @@ class CloudGuardClient {
|
|
|
6878
8334
|
});
|
|
6879
8335
|
}
|
|
6880
8336
|
/**
|
|
6881
|
-
*
|
|
8337
|
+
* Returns a page of RiskScoreAggregation resources for a compartment,
|
|
8338
|
+
* identified by compartmentId.
|
|
6882
8339
|
*
|
|
6883
8340
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6884
8341
|
* @param RequestRiskScoresRequest
|
|
6885
8342
|
* @return RequestRiskScoresResponse
|
|
6886
8343
|
* @throws OciError when an error occurs
|
|
6887
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8344
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestRiskScores.ts.html |here} to see how to use RequestRiskScores API.
|
|
6888
8345
|
*/
|
|
6889
8346
|
requestRiskScores(requestRiskScoresRequest) {
|
|
6890
8347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6944,14 +8401,14 @@ class CloudGuardClient {
|
|
|
6944
8401
|
});
|
|
6945
8402
|
}
|
|
6946
8403
|
/**
|
|
6947
|
-
*
|
|
6948
|
-
*
|
|
8404
|
+
* Returns a page of SecurityScoreTrendAggregation resources. These measure the number
|
|
8405
|
+
* of resources examined across all regions and compare it with the number of problems detected.
|
|
6949
8406
|
*
|
|
6950
8407
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6951
8408
|
* @param RequestSecurityScoreSummarizedTrendRequest
|
|
6952
8409
|
* @return RequestSecurityScoreSummarizedTrendResponse
|
|
6953
8410
|
* @throws OciError when an error occurs
|
|
6954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8411
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSecurityScoreSummarizedTrend.ts.html |here} to see how to use RequestSecurityScoreSummarizedTrend API.
|
|
6955
8412
|
*/
|
|
6956
8413
|
requestSecurityScoreSummarizedTrend(requestSecurityScoreSummarizedTrendRequest) {
|
|
6957
8414
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7013,13 +8470,14 @@ class CloudGuardClient {
|
|
|
7013
8470
|
});
|
|
7014
8471
|
}
|
|
7015
8472
|
/**
|
|
7016
|
-
*
|
|
8473
|
+
* Returns a page of SecurityScoreAggregation resources. These measure the number
|
|
8474
|
+
* of resources examined across all regions and compare it with the number of problems detected.
|
|
7017
8475
|
*
|
|
7018
8476
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7019
8477
|
* @param RequestSecurityScoresRequest
|
|
7020
8478
|
* @return RequestSecurityScoresResponse
|
|
7021
8479
|
* @throws OciError when an error occurs
|
|
7022
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8480
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSecurityScores.ts.html |here} to see how to use RequestSecurityScores API.
|
|
7023
8481
|
*/
|
|
7024
8482
|
requestSecurityScores(requestSecurityScoresRequest) {
|
|
7025
8483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7099,7 +8557,7 @@ class CloudGuardClient {
|
|
|
7099
8557
|
* @param RequestSummarizedActivityProblemsRequest
|
|
7100
8558
|
* @return RequestSummarizedActivityProblemsResponse
|
|
7101
8559
|
* @throws OciError when an error occurs
|
|
7102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedActivityProblems.ts.html |here} to see how to use RequestSummarizedActivityProblems API.
|
|
7103
8561
|
*/
|
|
7104
8562
|
requestSummarizedActivityProblems(requestSummarizedActivityProblemsRequest) {
|
|
7105
8563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7179,7 +8637,7 @@ class CloudGuardClient {
|
|
|
7179
8637
|
* @param RequestSummarizedProblemsRequest
|
|
7180
8638
|
* @return RequestSummarizedProblemsResponse
|
|
7181
8639
|
* @throws OciError when an error occurs
|
|
7182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedProblems.ts.html |here} to see how to use RequestSummarizedProblems API.
|
|
7183
8641
|
*/
|
|
7184
8642
|
requestSummarizedProblems(requestSummarizedProblemsRequest) {
|
|
7185
8643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7242,24 +8700,24 @@ class CloudGuardClient {
|
|
|
7242
8700
|
});
|
|
7243
8701
|
}
|
|
7244
8702
|
/**
|
|
7245
|
-
* Returns the number of
|
|
8703
|
+
* Returns the number of responder executions, identified by parameters specified, in a page of
|
|
8704
|
+
* ResponderExecutionAggregation resources.
|
|
7246
8705
|
* <p>
|
|
7247
|
-
|
|
7248
|
-
*
|
|
7249
|
-
*
|
|
7250
|
-
*
|
|
7251
|
-
* `compartmentIdInSubtree` is set to `true`.
|
|
8706
|
+
Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions,
|
|
8707
|
+
* directly or indirectly (permissions can be on a resource in a subcompartment). \u201CNot Authorized\u201D is returned
|
|
8708
|
+
* if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED,
|
|
8709
|
+
* permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
|
|
7252
8710
|
* <p>
|
|
7253
|
-
|
|
7254
|
-
*
|
|
7255
|
-
*
|
|
7256
|
-
*
|
|
8711
|
+
Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or
|
|
8712
|
+
* indirectly (permissions can be on a resource in a subcompartment). \u201CNot Authorized\u201D is returned if user doesn't have
|
|
8713
|
+
* access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked
|
|
8714
|
+
* and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
|
|
7257
8715
|
*
|
|
7258
8716
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7259
8717
|
* @param RequestSummarizedResponderExecutionsRequest
|
|
7260
8718
|
* @return RequestSummarizedResponderExecutionsResponse
|
|
7261
8719
|
* @throws OciError when an error occurs
|
|
7262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedResponderExecutions.ts.html |here} to see how to use RequestSummarizedResponderExecutions API.
|
|
7263
8721
|
*/
|
|
7264
8722
|
requestSummarizedResponderExecutions(requestSummarizedResponderExecutionsRequest) {
|
|
7265
8723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7330,7 +8788,7 @@ class CloudGuardClient {
|
|
|
7330
8788
|
* @param RequestSummarizedRiskScoresRequest
|
|
7331
8789
|
* @return RequestSummarizedRiskScoresResponse
|
|
7332
8790
|
* @throws OciError when an error occurs
|
|
7333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedRiskScores.ts.html |here} to see how to use RequestSummarizedRiskScores API.
|
|
7334
8792
|
*/
|
|
7335
8793
|
requestSummarizedRiskScores(requestSummarizedRiskScoresRequest) {
|
|
7336
8794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7396,7 +8854,7 @@ class CloudGuardClient {
|
|
|
7396
8854
|
* @param RequestSummarizedSecurityScoresRequest
|
|
7397
8855
|
* @return RequestSummarizedSecurityScoresResponse
|
|
7398
8856
|
* @throws OciError when an error occurs
|
|
7399
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8857
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedSecurityScores.ts.html |here} to see how to use RequestSummarizedSecurityScores API.
|
|
7400
8858
|
*/
|
|
7401
8859
|
requestSummarizedSecurityScores(requestSummarizedSecurityScoresRequest) {
|
|
7402
8860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7456,12 +8914,15 @@ class CloudGuardClient {
|
|
|
7456
8914
|
});
|
|
7457
8915
|
}
|
|
7458
8916
|
/**
|
|
7459
|
-
*
|
|
8917
|
+
* Returns a list of resource profile risk score aggregation summaries
|
|
8918
|
+
* (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of
|
|
8919
|
+
* ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment.
|
|
8920
|
+
*
|
|
7460
8921
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7461
8922
|
* @param RequestSummarizedTopTrendResourceProfileRiskScoresRequest
|
|
7462
8923
|
* @return RequestSummarizedTopTrendResourceProfileRiskScoresResponse
|
|
7463
8924
|
* @throws OciError when an error occurs
|
|
7464
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.ts.html |here} to see how to use RequestSummarizedTopTrendResourceProfileRiskScores API.
|
|
7465
8926
|
*/
|
|
7466
8927
|
requestSummarizedTopTrendResourceProfileRiskScores(requestSummarizedTopTrendResourceProfileRiskScoresRequest) {
|
|
7467
8928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7544,7 +9005,7 @@ class CloudGuardClient {
|
|
|
7544
9005
|
* @param RequestSummarizedTrendProblemsRequest
|
|
7545
9006
|
* @return RequestSummarizedTrendProblemsResponse
|
|
7546
9007
|
* @throws OciError when an error occurs
|
|
7547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9008
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendProblems.ts.html |here} to see how to use RequestSummarizedTrendProblems API.
|
|
7548
9009
|
*/
|
|
7549
9010
|
requestSummarizedTrendProblems(requestSummarizedTrendProblemsRequest) {
|
|
7550
9011
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7608,12 +9069,15 @@ class CloudGuardClient {
|
|
|
7608
9069
|
});
|
|
7609
9070
|
}
|
|
7610
9071
|
/**
|
|
7611
|
-
*
|
|
9072
|
+
* Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource,
|
|
9073
|
+
* with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify
|
|
9074
|
+
* in a RequestSummarizedTrendResourceRiskScoresDetailsresource.
|
|
9075
|
+
*
|
|
7612
9076
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7613
9077
|
* @param RequestSummarizedTrendResourceRiskScoresRequest
|
|
7614
9078
|
* @return RequestSummarizedTrendResourceRiskScoresResponse
|
|
7615
9079
|
* @throws OciError when an error occurs
|
|
7616
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9080
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendResourceRiskScores.ts.html |here} to see how to use RequestSummarizedTrendResourceRiskScores API.
|
|
7617
9081
|
*/
|
|
7618
9082
|
requestSummarizedTrendResourceRiskScores(requestSummarizedTrendResourceRiskScoresRequest) {
|
|
7619
9083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7695,7 +9159,7 @@ class CloudGuardClient {
|
|
|
7695
9159
|
* @param RequestSummarizedTrendResponderExecutionsRequest
|
|
7696
9160
|
* @return RequestSummarizedTrendResponderExecutionsResponse
|
|
7697
9161
|
* @throws OciError when an error occurs
|
|
7698
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendResponderExecutions.ts.html |here} to see how to use RequestSummarizedTrendResponderExecutions API.
|
|
7699
9163
|
*/
|
|
7700
9164
|
requestSummarizedTrendResponderExecutions(requestSummarizedTrendResponderExecutionsRequest) {
|
|
7701
9165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7765,7 +9229,7 @@ class CloudGuardClient {
|
|
|
7765
9229
|
* @param RequestSummarizedTrendSecurityScoresRequest
|
|
7766
9230
|
* @return RequestSummarizedTrendSecurityScoresResponse
|
|
7767
9231
|
* @throws OciError when an error occurs
|
|
7768
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9232
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendSecurityScores.ts.html |here} to see how to use RequestSummarizedTrendSecurityScores API.
|
|
7769
9233
|
*/
|
|
7770
9234
|
requestSummarizedTrendSecurityScores(requestSummarizedTrendSecurityScoresRequest) {
|
|
7771
9235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7827,14 +9291,12 @@ class CloudGuardClient {
|
|
|
7827
9291
|
});
|
|
7828
9292
|
}
|
|
7829
9293
|
/**
|
|
7830
|
-
* Skips the execution for a bulk of responder executions
|
|
7831
|
-
* The operation is atomic in nature
|
|
7832
|
-
*
|
|
9294
|
+
* Skips the execution for a bulk of responder executions.
|
|
7833
9295
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7834
9296
|
* @param SkipBulkResponderExecutionRequest
|
|
7835
9297
|
* @return SkipBulkResponderExecutionResponse
|
|
7836
9298
|
* @throws OciError when an error occurs
|
|
7837
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/SkipBulkResponderExecution.ts.html |here} to see how to use SkipBulkResponderExecution API.
|
|
7838
9300
|
*/
|
|
7839
9301
|
skipBulkResponderExecution(skipBulkResponderExecutionRequest) {
|
|
7840
9302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7882,12 +9344,12 @@ class CloudGuardClient {
|
|
|
7882
9344
|
});
|
|
7883
9345
|
}
|
|
7884
9346
|
/**
|
|
7885
|
-
* Skips the execution of the responder execution. When provided, If-Match is checked against
|
|
9347
|
+
* Skips the execution of the responder execution. When provided, If-Match is checked against etag values of the resource.
|
|
7886
9348
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7887
9349
|
* @param SkipResponderExecutionRequest
|
|
7888
9350
|
* @return SkipResponderExecutionResponse
|
|
7889
9351
|
* @throws OciError when an error occurs
|
|
7890
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9352
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/SkipResponderExecution.ts.html |here} to see how to use SkipResponderExecution API.
|
|
7891
9353
|
*/
|
|
7892
9354
|
skipResponderExecution(skipResponderExecutionRequest) {
|
|
7893
9355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7940,13 +9402,14 @@ class CloudGuardClient {
|
|
|
7940
9402
|
});
|
|
7941
9403
|
}
|
|
7942
9404
|
/**
|
|
7943
|
-
* Sends the problem identified by problemId to the responder engine, to be processed by rule
|
|
9405
|
+
* Sends the problem identified by problemId to the responder engine, to be processed by rule
|
|
9406
|
+
* that\u2019s identified by responderRuleId, in the TriggerResponderDetails resource that\u2019s passed.
|
|
7944
9407
|
*
|
|
7945
9408
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7946
9409
|
* @param TriggerResponderRequest
|
|
7947
9410
|
* @return TriggerResponderResponse
|
|
7948
9411
|
* @throws OciError when an error occurs
|
|
7949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9412
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/TriggerResponder.ts.html |here} to see how to use TriggerResponder API.
|
|
7950
9413
|
*/
|
|
7951
9414
|
triggerResponder(triggerResponderRequest) {
|
|
7952
9415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8004,7 +9467,7 @@ class CloudGuardClient {
|
|
|
8004
9467
|
* @param UpdateBulkProblemStatusRequest
|
|
8005
9468
|
* @return UpdateBulkProblemStatusResponse
|
|
8006
9469
|
* @throws OciError when an error occurs
|
|
8007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9470
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateBulkProblemStatus.ts.html |here} to see how to use UpdateBulkProblemStatus API.
|
|
8008
9471
|
*/
|
|
8009
9472
|
updateBulkProblemStatus(updateBulkProblemStatusRequest) {
|
|
8010
9473
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8052,13 +9515,14 @@ class CloudGuardClient {
|
|
|
8052
9515
|
});
|
|
8053
9516
|
}
|
|
8054
9517
|
/**
|
|
8055
|
-
*
|
|
9518
|
+
* Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID.
|
|
9519
|
+
* The reporting region cannot be updated once created.
|
|
8056
9520
|
*
|
|
8057
9521
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8058
9522
|
* @param UpdateConfigurationRequest
|
|
8059
9523
|
* @return UpdateConfigurationResponse
|
|
8060
9524
|
* @throws OciError when an error occurs
|
|
8061
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
|
|
8062
9526
|
*/
|
|
8063
9527
|
updateConfiguration(updateConfigurationRequest) {
|
|
8064
9528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8119,12 +9583,12 @@ class CloudGuardClient {
|
|
|
8119
9583
|
});
|
|
8120
9584
|
}
|
|
8121
9585
|
/**
|
|
8122
|
-
* Updates a data mask rule (DataMaskRule
|
|
9586
|
+
* Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.
|
|
8123
9587
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8124
9588
|
* @param UpdateDataMaskRuleRequest
|
|
8125
9589
|
* @return UpdateDataMaskRuleResponse
|
|
8126
9590
|
* @throws OciError when an error occurs
|
|
8127
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9591
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDataMaskRule.ts.html |here} to see how to use UpdateDataMaskRule API.
|
|
8128
9592
|
*/
|
|
8129
9593
|
updateDataMaskRule(updateDataMaskRuleRequest) {
|
|
8130
9594
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8184,12 +9648,14 @@ class CloudGuardClient {
|
|
|
8184
9648
|
});
|
|
8185
9649
|
}
|
|
8186
9650
|
/**
|
|
8187
|
-
* Updates a data source identified by dataSourceId
|
|
9651
|
+
* Updates a data source (DataSource resource) identified by dataSourceId,
|
|
9652
|
+
* using values passed in an UpdateDataSourceDetails resource.
|
|
9653
|
+
*
|
|
8188
9654
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8189
9655
|
* @param UpdateDataSourceRequest
|
|
8190
9656
|
* @return UpdateDataSourceResponse
|
|
8191
9657
|
* @throws OciError when an error occurs
|
|
8192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
|
|
8193
9659
|
*/
|
|
8194
9660
|
updateDataSource(updateDataSourceRequest) {
|
|
8195
9661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8246,12 +9712,12 @@ class CloudGuardClient {
|
|
|
8246
9712
|
});
|
|
8247
9713
|
}
|
|
8248
9714
|
/**
|
|
8249
|
-
* Updates a detector recipe (DetectorRecipe
|
|
9715
|
+
* Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
|
|
8250
9716
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8251
9717
|
* @param UpdateDetectorRecipeRequest
|
|
8252
9718
|
* @return UpdateDetectorRecipeResponse
|
|
8253
9719
|
* @throws OciError when an error occurs
|
|
8254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDetectorRecipe.ts.html |here} to see how to use UpdateDetectorRecipe API.
|
|
8255
9721
|
*/
|
|
8256
9722
|
updateDetectorRecipe(updateDetectorRecipeRequest) {
|
|
8257
9723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8312,12 +9778,12 @@ class CloudGuardClient {
|
|
|
8312
9778
|
});
|
|
8313
9779
|
}
|
|
8314
9780
|
/**
|
|
8315
|
-
* Updates a detector rule (DetectorRule
|
|
9781
|
+
* Updates a detector rule (DetectorRule resource) identified by detectorRuleId.
|
|
8316
9782
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8317
9783
|
* @param UpdateDetectorRecipeDetectorRuleRequest
|
|
8318
9784
|
* @return UpdateDetectorRecipeDetectorRuleResponse
|
|
8319
9785
|
* @throws OciError when an error occurs
|
|
8320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateDetectorRecipeDetectorRule API.
|
|
8321
9787
|
*/
|
|
8322
9788
|
updateDetectorRecipeDetectorRule(updateDetectorRecipeDetectorRuleRequest) {
|
|
8323
9789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8378,12 +9844,12 @@ class CloudGuardClient {
|
|
|
8378
9844
|
});
|
|
8379
9845
|
}
|
|
8380
9846
|
/**
|
|
8381
|
-
* Updates a ManagedList
|
|
9847
|
+
* Updates a ManagedList resource, identified by managedList.
|
|
8382
9848
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8383
9849
|
* @param UpdateManagedListRequest
|
|
8384
9850
|
* @return UpdateManagedListResponse
|
|
8385
9851
|
* @throws OciError when an error occurs
|
|
8386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateManagedList.ts.html |here} to see how to use UpdateManagedList API.
|
|
8387
9853
|
*/
|
|
8388
9854
|
updateManagedList(updateManagedListRequest) {
|
|
8389
9855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8450,7 +9916,7 @@ class CloudGuardClient {
|
|
|
8450
9916
|
* @param UpdateProblemStatusRequest
|
|
8451
9917
|
* @return UpdateProblemStatusResponse
|
|
8452
9918
|
* @throws OciError when an error occurs
|
|
8453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateProblemStatus.ts.html |here} to see how to use UpdateProblemStatus API.
|
|
8454
9920
|
*/
|
|
8455
9921
|
updateProblemStatus(updateProblemStatusRequest) {
|
|
8456
9922
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8511,12 +9977,14 @@ class CloudGuardClient {
|
|
|
8511
9977
|
});
|
|
8512
9978
|
}
|
|
8513
9979
|
/**
|
|
8514
|
-
*
|
|
9980
|
+
* Updates a responder recipe (ResponderRecipe resource) identified by
|
|
9981
|
+
* responderRecipeId, passed in an UpdateResponderRecipeDetails resource.
|
|
9982
|
+
*
|
|
8515
9983
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8516
9984
|
* @param UpdateResponderRecipeRequest
|
|
8517
9985
|
* @return UpdateResponderRecipeResponse
|
|
8518
9986
|
* @throws OciError when an error occurs
|
|
8519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9987
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateResponderRecipe.ts.html |here} to see how to use UpdateResponderRecipe API.
|
|
8520
9988
|
*/
|
|
8521
9989
|
updateResponderRecipe(updateResponderRecipeRequest) {
|
|
8522
9990
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8576,12 +10044,14 @@ class CloudGuardClient {
|
|
|
8576
10044
|
});
|
|
8577
10045
|
}
|
|
8578
10046
|
/**
|
|
8579
|
-
*
|
|
10047
|
+
* Updates a responder rule (ResponderRule resource) identified by responderRuleId,
|
|
10048
|
+
* passed in a UpdateResponderRecipeResponderRuleDetails resource.
|
|
10049
|
+
*
|
|
8580
10050
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8581
10051
|
* @param UpdateResponderRecipeResponderRuleRequest
|
|
8582
10052
|
* @return UpdateResponderRecipeResponderRuleResponse
|
|
8583
10053
|
* @throws OciError when an error occurs
|
|
8584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10054
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateResponderRecipeResponderRule.ts.html |here} to see how to use UpdateResponderRecipeResponderRule API.
|
|
8585
10055
|
*/
|
|
8586
10056
|
updateResponderRecipeResponderRule(updateResponderRecipeResponderRuleRequest) {
|
|
8587
10057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8642,12 +10112,80 @@ class CloudGuardClient {
|
|
|
8642
10112
|
});
|
|
8643
10113
|
}
|
|
8644
10114
|
/**
|
|
8645
|
-
* Updates a
|
|
10115
|
+
* Updates a saved query identified by savedQueryId.
|
|
10116
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
10117
|
+
* @param UpdateSavedQueryRequest
|
|
10118
|
+
* @return UpdateSavedQueryResponse
|
|
10119
|
+
* @throws OciError when an error occurs
|
|
10120
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSavedQuery.ts.html |here} to see how to use UpdateSavedQuery API.
|
|
10121
|
+
*/
|
|
10122
|
+
updateSavedQuery(updateSavedQueryRequest) {
|
|
10123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10124
|
+
if (this.logger)
|
|
10125
|
+
this.logger.debug("Calling operation CloudGuardClient#updateSavedQuery.");
|
|
10126
|
+
const operationName = "updateSavedQuery";
|
|
10127
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/UpdateSavedQuery";
|
|
10128
|
+
const pathParams = {
|
|
10129
|
+
"{savedQueryId}": updateSavedQueryRequest.savedQueryId
|
|
10130
|
+
};
|
|
10131
|
+
const queryParams = {};
|
|
10132
|
+
let headerParams = {
|
|
10133
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10134
|
+
"if-match": updateSavedQueryRequest.ifMatch,
|
|
10135
|
+
"opc-request-id": updateSavedQueryRequest.opcRequestId,
|
|
10136
|
+
"opc-retry-token": updateSavedQueryRequest.opcRetryToken
|
|
10137
|
+
};
|
|
10138
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10139
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSavedQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
10140
|
+
if (this.logger)
|
|
10141
|
+
retrier.logger = this.logger;
|
|
10142
|
+
const request = yield oci_common_1.composeRequest({
|
|
10143
|
+
baseEndpoint: this._endpoint,
|
|
10144
|
+
defaultHeaders: this._defaultHeaders,
|
|
10145
|
+
path: "/savedQueries/{savedQueryId}",
|
|
10146
|
+
method: "PUT",
|
|
10147
|
+
bodyContent: common.ObjectSerializer.serialize(updateSavedQueryRequest.updateSavedQueryDetails, "UpdateSavedQueryDetails", model.UpdateSavedQueryDetails.getJsonObj),
|
|
10148
|
+
pathParams: pathParams,
|
|
10149
|
+
headerParams: headerParams,
|
|
10150
|
+
queryParams: queryParams
|
|
10151
|
+
});
|
|
10152
|
+
try {
|
|
10153
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10154
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
10155
|
+
responseObject: {},
|
|
10156
|
+
body: yield response.json(),
|
|
10157
|
+
bodyKey: "savedQuery",
|
|
10158
|
+
bodyModel: model.SavedQuery,
|
|
10159
|
+
type: "model.SavedQuery",
|
|
10160
|
+
responseHeaders: [
|
|
10161
|
+
{
|
|
10162
|
+
value: response.headers.get("etag"),
|
|
10163
|
+
key: "etag",
|
|
10164
|
+
dataType: "string"
|
|
10165
|
+
},
|
|
10166
|
+
{
|
|
10167
|
+
value: response.headers.get("opc-request-id"),
|
|
10168
|
+
key: "opcRequestId",
|
|
10169
|
+
dataType: "string"
|
|
10170
|
+
}
|
|
10171
|
+
]
|
|
10172
|
+
});
|
|
10173
|
+
return sdkResponse;
|
|
10174
|
+
}
|
|
10175
|
+
catch (err) {
|
|
10176
|
+
throw err;
|
|
10177
|
+
}
|
|
10178
|
+
});
|
|
10179
|
+
}
|
|
10180
|
+
/**
|
|
10181
|
+
* Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId,
|
|
10182
|
+
* using parameters passed in an UpdateSecurityRecipeDetails resource.
|
|
10183
|
+
*
|
|
8646
10184
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8647
10185
|
* @param UpdateSecurityRecipeRequest
|
|
8648
10186
|
* @return UpdateSecurityRecipeResponse
|
|
8649
10187
|
* @throws OciError when an error occurs
|
|
8650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSecurityRecipe.ts.html |here} to see how to use UpdateSecurityRecipe API.
|
|
8651
10189
|
*/
|
|
8652
10190
|
updateSecurityRecipe(updateSecurityRecipeRequest) {
|
|
8653
10191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8707,12 +10245,14 @@ class CloudGuardClient {
|
|
|
8707
10245
|
});
|
|
8708
10246
|
}
|
|
8709
10247
|
/**
|
|
8710
|
-
* Updates
|
|
10248
|
+
* Updates a security zone (SecurityZone resource) identified by securityZoneId.
|
|
10249
|
+
* Pass parameters through an UpdateSecurityZoneDetails resource.
|
|
10250
|
+
*
|
|
8711
10251
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8712
10252
|
* @param UpdateSecurityZoneRequest
|
|
8713
10253
|
* @return UpdateSecurityZoneResponse
|
|
8714
10254
|
* @throws OciError when an error occurs
|
|
8715
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSecurityZone.ts.html |here} to see how to use UpdateSecurityZone API.
|
|
8716
10256
|
*/
|
|
8717
10257
|
updateSecurityZone(updateSecurityZoneRequest) {
|
|
8718
10258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8772,12 +10312,14 @@ class CloudGuardClient {
|
|
|
8772
10312
|
});
|
|
8773
10313
|
}
|
|
8774
10314
|
/**
|
|
8775
|
-
* Updates a Target identified by targetId
|
|
10315
|
+
* Updates a target (Target resource) identified by targetId, using parameters
|
|
10316
|
+
* passed in an UpdateTargetDetails resource.
|
|
10317
|
+
*
|
|
8776
10318
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8777
10319
|
* @param UpdateTargetRequest
|
|
8778
10320
|
* @return UpdateTargetResponse
|
|
8779
10321
|
* @throws OciError when an error occurs
|
|
8780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTarget.ts.html |here} to see how to use UpdateTarget API.
|
|
8781
10323
|
*/
|
|
8782
10324
|
updateTarget(updateTargetRequest) {
|
|
8783
10325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8837,12 +10379,14 @@ class CloudGuardClient {
|
|
|
8837
10379
|
});
|
|
8838
10380
|
}
|
|
8839
10381
|
/**
|
|
8840
|
-
*
|
|
10382
|
+
* Updates a target detector recipe (TargtetDetectorRecipe resource) identified by
|
|
10383
|
+
* targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource.
|
|
10384
|
+
*
|
|
8841
10385
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8842
10386
|
* @param UpdateTargetDetectorRecipeRequest
|
|
8843
10387
|
* @return UpdateTargetDetectorRecipeResponse
|
|
8844
10388
|
* @throws OciError when an error occurs
|
|
8845
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetDetectorRecipe.ts.html |here} to see how to use UpdateTargetDetectorRecipe API.
|
|
8846
10390
|
*/
|
|
8847
10391
|
updateTargetDetectorRecipe(updateTargetDetectorRecipeRequest) {
|
|
8848
10392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8903,12 +10447,12 @@ class CloudGuardClient {
|
|
|
8903
10447
|
});
|
|
8904
10448
|
}
|
|
8905
10449
|
/**
|
|
8906
|
-
*
|
|
10450
|
+
* Updates the DetectorRule resource identified by targetDetectorRecipeId
|
|
8907
10451
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8908
10452
|
* @param UpdateTargetDetectorRecipeDetectorRuleRequest
|
|
8909
10453
|
* @return UpdateTargetDetectorRecipeDetectorRuleResponse
|
|
8910
10454
|
* @throws OciError when an error occurs
|
|
8911
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateTargetDetectorRecipeDetectorRule API.
|
|
8912
10456
|
*/
|
|
8913
10457
|
updateTargetDetectorRecipeDetectorRule(updateTargetDetectorRecipeDetectorRuleRequest) {
|
|
8914
10458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8970,12 +10514,16 @@ class CloudGuardClient {
|
|
|
8970
10514
|
});
|
|
8971
10515
|
}
|
|
8972
10516
|
/**
|
|
8973
|
-
*
|
|
10517
|
+
* Updates the target responder recipe (TargetResponderRecipe resource)
|
|
10518
|
+
* identified by targetResponderRecipeId, attached to a target identified
|
|
10519
|
+
* by targetId. Pass parameters for the update through an
|
|
10520
|
+
* UpdateTargetResponderRecipeDetails resource.
|
|
10521
|
+
*
|
|
8974
10522
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8975
10523
|
* @param UpdateTargetResponderRecipeRequest
|
|
8976
10524
|
* @return UpdateTargetResponderRecipeResponse
|
|
8977
10525
|
* @throws OciError when an error occurs
|
|
8978
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetResponderRecipe.ts.html |here} to see how to use UpdateTargetResponderRecipe API.
|
|
8979
10527
|
*/
|
|
8980
10528
|
updateTargetResponderRecipe(updateTargetResponderRecipeRequest) {
|
|
8981
10529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9036,12 +10584,17 @@ class CloudGuardClient {
|
|
|
9036
10584
|
});
|
|
9037
10585
|
}
|
|
9038
10586
|
/**
|
|
9039
|
-
*
|
|
10587
|
+
* Updates a responder rule (ResponderRule resource) identified by
|
|
10588
|
+
* responderRuleId, for a target responder recipe (TargetResponderRecipe resource)
|
|
10589
|
+
* identified by targetResponderRecipeId, for a target (Target resource)
|
|
10590
|
+
* identified by targetId. Parameters for the update are passed through an
|
|
10591
|
+
* UpdateTargetResponderRecipeResponderRuleDetails resource.
|
|
10592
|
+
*
|
|
9040
10593
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9041
10594
|
* @param UpdateTargetResponderRecipeResponderRuleRequest
|
|
9042
10595
|
* @return UpdateTargetResponderRecipeResponderRuleResponse
|
|
9043
10596
|
* @throws OciError when an error occurs
|
|
9044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10597
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetResponderRecipeResponderRule.ts.html |here} to see how to use UpdateTargetResponderRecipeResponderRule API.
|
|
9045
10598
|
*/
|
|
9046
10599
|
updateTargetResponderRecipeResponderRule(updateTargetResponderRecipeResponderRuleRequest) {
|
|
9047
10600
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9102,6 +10655,72 @@ class CloudGuardClient {
|
|
|
9102
10655
|
}
|
|
9103
10656
|
});
|
|
9104
10657
|
}
|
|
10658
|
+
/**
|
|
10659
|
+
* Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId.
|
|
10660
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
10661
|
+
* @param UpdateWlpAgentRequest
|
|
10662
|
+
* @return UpdateWlpAgentResponse
|
|
10663
|
+
* @throws OciError when an error occurs
|
|
10664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateWlpAgent.ts.html |here} to see how to use UpdateWlpAgent API.
|
|
10665
|
+
*/
|
|
10666
|
+
updateWlpAgent(updateWlpAgentRequest) {
|
|
10667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10668
|
+
if (this.logger)
|
|
10669
|
+
this.logger.debug("Calling operation CloudGuardClient#updateWlpAgent.");
|
|
10670
|
+
const operationName = "updateWlpAgent";
|
|
10671
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/UpdateWlpAgent";
|
|
10672
|
+
const pathParams = {
|
|
10673
|
+
"{wlpAgentId}": updateWlpAgentRequest.wlpAgentId
|
|
10674
|
+
};
|
|
10675
|
+
const queryParams = {};
|
|
10676
|
+
let headerParams = {
|
|
10677
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10678
|
+
"if-match": updateWlpAgentRequest.ifMatch,
|
|
10679
|
+
"opc-request-id": updateWlpAgentRequest.opcRequestId,
|
|
10680
|
+
"opc-retry-token": updateWlpAgentRequest.opcRetryToken
|
|
10681
|
+
};
|
|
10682
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10683
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWlpAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
10684
|
+
if (this.logger)
|
|
10685
|
+
retrier.logger = this.logger;
|
|
10686
|
+
const request = yield oci_common_1.composeRequest({
|
|
10687
|
+
baseEndpoint: this._endpoint,
|
|
10688
|
+
defaultHeaders: this._defaultHeaders,
|
|
10689
|
+
path: "/wlpAgents/{wlpAgentId}",
|
|
10690
|
+
method: "PUT",
|
|
10691
|
+
bodyContent: common.ObjectSerializer.serialize(updateWlpAgentRequest.updateWlpAgentDetails, "UpdateWlpAgentDetails", model.UpdateWlpAgentDetails.getJsonObj),
|
|
10692
|
+
pathParams: pathParams,
|
|
10693
|
+
headerParams: headerParams,
|
|
10694
|
+
queryParams: queryParams
|
|
10695
|
+
});
|
|
10696
|
+
try {
|
|
10697
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10698
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
10699
|
+
responseObject: {},
|
|
10700
|
+
body: yield response.json(),
|
|
10701
|
+
bodyKey: "wlpAgent",
|
|
10702
|
+
bodyModel: model.WlpAgent,
|
|
10703
|
+
type: "model.WlpAgent",
|
|
10704
|
+
responseHeaders: [
|
|
10705
|
+
{
|
|
10706
|
+
value: response.headers.get("etag"),
|
|
10707
|
+
key: "etag",
|
|
10708
|
+
dataType: "string"
|
|
10709
|
+
},
|
|
10710
|
+
{
|
|
10711
|
+
value: response.headers.get("opc-request-id"),
|
|
10712
|
+
key: "opcRequestId",
|
|
10713
|
+
dataType: "string"
|
|
10714
|
+
}
|
|
10715
|
+
]
|
|
10716
|
+
});
|
|
10717
|
+
return sdkResponse;
|
|
10718
|
+
}
|
|
10719
|
+
catch (err) {
|
|
10720
|
+
throw err;
|
|
10721
|
+
}
|
|
10722
|
+
});
|
|
10723
|
+
}
|
|
9105
10724
|
}
|
|
9106
10725
|
exports.CloudGuardClient = CloudGuardClient;
|
|
9107
10726
|
CloudGuardClient.serviceEndpointTemplate = "https://cloudguard-cp-api.{region}.oci.{secondLevelDomain}";
|