@datadog/datadog-api-client 1.31.0 → 1.33.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/CHANGELOG.md +81 -0
- package/dist/packages/datadog-api-client-common/configuration.js +6 -12
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/http/http.d.ts +1 -0
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.d.ts +1 -4
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.js +8 -22
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.d.ts +22 -0
- package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js +84 -0
- package/dist/packages/datadog-api-client-v1/apis/LogsIndexesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.d.ts +26 -2
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +25 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/index.d.ts +21 -2
- package/dist/packages/datadog-api-client-v1/index.js +33 -15
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.d.ts +15 -6
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js +15 -3
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/CheckCanDeleteMonitorResponseData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/CheckCanDeleteSLOResponseData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/Dashboard.d.ts +0 -2
- package/dist/packages/datadog-api-client-v1/models/Dashboard.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/DashboardShareType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/DashboardShareType.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/DashboardShareType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/LogsPipeline.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/models/LogsPipeline.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/LogsPipeline.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/LogsProcessor.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/LogsSpanRemapper.d.ts +54 -0
- package/dist/packages/datadog-api-client-v1/models/LogsSpanRemapper.js +48 -0
- package/dist/packages/datadog-api-client-v1/models/LogsSpanRemapper.js.map +1 -0
- package/dist/packages/{datadog-api-client-v2/models/DeployAppResponseDataType.d.ts → datadog-api-client-v1/models/LogsSpanRemapperType.d.ts} +3 -3
- package/dist/packages/{datadog-api-client-v2/models/DeleteAppResponseDataType.js → datadog-api-client-v1/models/LogsSpanRemapperType.js} +3 -3
- package/dist/packages/datadog-api-client-v1/models/LogsSpanRemapperType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostAggregator.d.ts +19 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostAggregator.js +18 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostAggregator.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostDataSource.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostDataSource.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostQueryDefinition.d.ts +50 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostQueryDefinition.js +45 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionCostQueryDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionQueryDefinition.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.d.ts +5 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorOptionsSchedulingOptionsEvaluationWindow.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorSearchResult.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorSearchResult.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/MonitorSearchResult.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorUpdateRequest.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnit.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnit.js +3 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnit.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCanonical.d.ts +45 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCanonical.js +38 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCanonical.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustom.d.ts +41 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustom.js +34 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustom.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustomType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustomType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitCustomType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitScale.d.ts +41 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitScale.js +34 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitScale.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitScaleType.d.ts +11 -0
- package/dist/packages/{datadog-api-client-v2/models/CreateAppResponseDataType.js → datadog-api-client-v1/models/NumberFormatUnitScaleType.js} +3 -3
- package/dist/packages/datadog-api-client-v1/models/NumberFormatUnitScaleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +50 -11
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ResourceProviderConfig.d.ts +40 -0
- package/dist/packages/datadog-api-client-v1/models/ResourceProviderConfig.js +39 -0
- package/dist/packages/datadog-api-client-v1/models/ResourceProviderConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SLOCorrectionListResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SharedDashboard.d.ts +32 -1
- package/dist/packages/datadog-api-client-v1/models/SharedDashboard.js +32 -2
- package/dist/packages/datadog-api-client-v1/models/SharedDashboard.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardInviteesItems.d.ts +44 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardInviteesItems.js +46 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardInviteesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardStatus.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardStatus.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.d.ts +28 -1
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.js +25 -1
- package/dist/packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariableType.d.ts +1 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariableType.js +1 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariableType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsCITestBody.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsMobileStepParamsElementUserLocator.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStep.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStep.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStep.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/TableWidgetCellDisplayMode.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/TableWidgetCellDisplayMode.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/TableWidgetCellDisplayMode.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +75 -3
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +90 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +74 -2
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +90 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +77 -5
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +90 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferences.d.ts +41 -0
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferences.js +34 -0
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferences.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferencesTheme.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferencesTheme.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/ViewingPreferencesTheme.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormula.d.ts +10 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormula.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormula.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptions.d.ts +42 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptions.js +34 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsTrendType.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsTrendType.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsTrendType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsYScale.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsYScale.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaCellDisplayModeOptionsYScale.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetNumberFormat.d.ts +42 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetNumberFormat.js +34 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetNumberFormat.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.d.ts +106 -0
- package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.js +350 -0
- package/dist/packages/datadog-api-client-v2/apis/ActionConnectionApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.d.ts +158 -0
- package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.js +568 -0
- package/dist/packages/datadog-api-client-v2/apis/AgentlessScanningApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/{AppsApi.d.ts → AppBuilderApi.d.ts} +91 -33
- package/dist/packages/datadog-api-client-v2/apis/{AppsApi.js → AppBuilderApi.js} +214 -58
- package/dist/packages/datadog-api-client-v2/apis/AppBuilderApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/ApplicationSecurityApi.d.ts +232 -0
- package/dist/packages/datadog-api-client-v2/apis/ApplicationSecurityApi.js +808 -0
- package/dist/packages/datadog-api-client-v2/apis/ApplicationSecurityApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/CSMCoverageAnalysisApi.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/apis/{AppDeploymentApi.js → CSMCoverageAnalysisApi.js} +101 -71
- package/dist/packages/datadog-api-client-v2/apis/CSMCoverageAnalysisApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ConfluentCloudApi.d.ts +8 -8
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.js +2 -2
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +8 -3
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +7 -4
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/MicrosoftTeamsIntegrationApi.d.ts +114 -0
- package/dist/packages/datadog-api-client-v2/apis/MicrosoftTeamsIntegrationApi.js +398 -0
- package/dist/packages/datadog-api-client-v2/apis/MicrosoftTeamsIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.d.ts +17 -4
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.js +14 -2
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RumRetentionFiltersApi.d.ts +178 -0
- package/dist/packages/datadog-api-client-v2/apis/RumRetentionFiltersApi.js +531 -0
- package/dist/packages/datadog-api-client-v2/apis/RumRetentionFiltersApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +684 -0
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +1628 -204
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js +6 -2
- package/dist/packages/datadog-api-client-v2/apis/SoftwareCatalogApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +1 -13
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.d.ts +92 -0
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.js +315 -0
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +316 -46
- package/dist/packages/datadog-api-client-v2/index.js +517 -86
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/APITrigger.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/APITrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/APITrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/APITriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/APITriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/APITriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRole.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRole.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRole.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRoleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponseDataType.js → AWSAssumeRoleType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRoleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/AWSAssumeRoleUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentials.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentials.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentials.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentialsUpdate.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentialsUpdate.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/AWSCredentialsUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{AppBuilderErrorErrorsItems.d.ts → AWSIntegration.d.ts} +8 -7
- package/dist/packages/datadog-api-client-v2/models/AWSIntegration.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AWSIntegration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ScriptDataType.d.ts → AWSIntegrationType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{ScriptDataType.js → AWSIntegrationType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AWSIntegrationType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AWSIntegrationUpdate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/AWSIntegrationUpdate.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/AWSIntegrationUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AccountFilteringConfig.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/AccountFilteringConfig.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/AccountFilteringConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionAttributesUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataUpdate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataUpdate.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionDataUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegration.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegration.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegrationUpdate.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegrationUpdate.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ActionConnectionIntegrationUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuery.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuery.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryCondition.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/{InputSchemaDataType.js → ActionQueryCondition.js} +1 -3
- package/dist/packages/datadog-api-client-v2/models/ActionQueryCondition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryDebounceInMs.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponseDataType.js → ActionQueryDebounceInMs.js} +1 -3
- package/dist/packages/datadog-api-client-v2/models/ActionQueryDebounceInMs.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputs.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputs.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputs.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsEnabled.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsEnabled.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsEnabled.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsObject.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsObject.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryMockedOutputsObject.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryOnlyTriggerManually.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryOnlyTriggerManually.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryOnlyTriggerManually.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryPollingIntervalInMs.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryPollingIntervalInMs.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryPollingIntervalInMs.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryProperties.d.ts +76 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryProperties.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryProperties.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryRequiresConfirmation.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryRequiresConfirmation.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryRequiresConfirmation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryShowToastOnError.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryShowToastOnError.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryShowToastOnError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponseDataType.d.ts → ActionQuerySpec.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpec.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpec.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{AppBuilderErrorErrorsItemsSource.d.ts → ActionQuerySpecConnectionGroup.d.ts} +6 -6
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecConnectionGroup.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecConnectionGroup.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecInputs.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecInputs.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecInputs.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecObject.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecObject.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQuerySpecObject.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ActionQueryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Advisory.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponseDataAttributes.js → Advisory.js} +19 -9
- package/dist/packages/datadog-api-client-v2/models/Advisory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Annotation.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/Annotation.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/Annotation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnnotationDisplay.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AnnotationDisplay.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AnnotationDisplay.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedMeta.d.ts → AnnotationDisplayBounds.d.ts} +10 -10
- package/dist/packages/datadog-api-client-v2/models/AnnotationDisplayBounds.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/AnnotationDisplayBounds.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponseDataAttributes.d.ts → AnnotationMarkdownTextAnnotation.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponseDataAttributes.js → AnnotationMarkdownTextAnnotation.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/AnnotationMarkdownTextAnnotation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppBuilderEvent.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/AppBuilderEvent.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/{GetAppResponseDataType.d.ts → AppDefinitionType.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v2/models/{GetAppResponseDataType.js → AppDefinitionType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/AppDefinitionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedType.d.ts → AppDeploymentType.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedType.js → AppDeploymentType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/AppDeploymentType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AppMeta.d.ts +13 -17
- package/dist/packages/datadog-api-client-v2/models/AppMeta.js +8 -8
- package/dist/packages/datadog-api-client-v2/models/AppMeta.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{GetAppResponseRelationship.d.ts → AppRelationship.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/{GetAppResponseRelationship.js → AppRelationship.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/AppRelationship.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponse.d.ts → AppTriggerWrapper.d.ts} +8 -5
- package/dist/packages/datadog-api-client-v2/models/AppTriggerWrapper.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/AppTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAction.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAction.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionAction.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionAction.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionParameters.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionParameters.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleActionParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAttributes.d.ts +75 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAttributes.js +67 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCondition.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCondition.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCondition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInput.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInput.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInput.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInputAddress.d.ts +31 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInputAddress.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionInputAddress.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOperator.d.ts +21 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOperator.js +20 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOperator.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOptions.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOptions.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionParameters.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionParameters.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleConditionParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateAttributes.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateAttributes.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleMetadata.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleMetadata.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleScope.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleScope.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleScope.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTags.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTags.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTags.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTagsCategory.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTagsCategory.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleTagsCategory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeleteAppsRequestDataItemsType.d.ts → ApplicationSecurityWafCustomRuleType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateAttributes.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateAttributes.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafCustomRuleUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterAttributes.d.ts +80 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterAttributes.js +70 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateAttributes.d.ts +67 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterMetadata.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterMetadata.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterOnMatch.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterOnMatch.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterOnMatch.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncluded.d.ts → ApplicationSecurityWafExclusionFilterResource.d.ts} +9 -14
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterResource.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterResource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTarget.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTarget.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTarget.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTargetTags.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTargetTags.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterRulesTargetTags.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterScope.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterScope.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterScope.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateAttributes.d.ts +67 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFilterUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFiltersResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFiltersResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ApplicationSecurityWafExclusionFiltersResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Asset.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/{InputSchemaData.js → Asset.js} +12 -9
- package/dist/packages/datadog-api-client-v2/models/Asset.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AssetAttributes.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/AssetAttributes.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/AssetAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AssetEntityType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AssetEntityType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AssetEntityType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AssetOperatingSystem.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/AssetOperatingSystem.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/AssetOperatingSystem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AssetRisks.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/AssetRisks.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/AssetRisks.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AssetType.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/AssetType.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/AssetType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{Script.d.ts → AssetVersion.d.ts} +8 -5
- package/dist/packages/datadog-api-client-v2/models/AssetVersion.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/AssetVersion.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.js +4 -6
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPatchRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/AwsCURConfigPostRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandAttributes.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedMeta.js → AwsOnDemandAttributes.js} +16 -17
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{AppBuilderError.d.ts → AwsOnDemandCreateRequest.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{InputSchemaData.d.ts → AwsOnDemandData.d.ts} +9 -9
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateAppRequestDataType.d.ts → AwsOnDemandType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AwsOnDemandType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateAppRequestDataType.js → AwsScanOptionsType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/AwsScanOptionsUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppCreatePipelineEventRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CVSS.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CVSS.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/CVSS.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTrigger.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CaseTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResource.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResourceType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResourceType.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventCustomAttributesChangedResourceType.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ChangeEventTriggerWrapper.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ChangeEventTriggerWrapper.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ChangeEventTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CodeLocation.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/CodeLocation.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/CodeLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionCondition.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionCondition.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionCondition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionConditionOperator.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionConditionOperator.js +21 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionConditionOperator.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionGate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionGate.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CompletionGate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Component.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/Component.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentGrid.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/ComponentGrid.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentGridProperties.d.ts +4 -4
- package/dist/packages/datadog-api-client-v2/models/ComponentGridProperties.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentGridPropertiesIsVisible.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentGridType.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentProperties.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/ComponentProperties.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentPropertiesIsVisible.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ComponentType.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/Connection.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/Connection.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/Connection.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnv.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnv.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnv.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnvEnv.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnvEnv.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionEnvEnv.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionGroup.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionGroup.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/ConnectionGroup.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreateActionConnectionResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequest.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestData.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestData.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestDataAttributes.d.ts +9 -19
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestDataAttributes.js +5 -13
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponseData.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponseData.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateDataDeletionRequestBodyData.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDataDeletionRequestBodyData.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDataDeletionRequestBodyData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{DeleteAppResponseDataType.d.ts → CreateDataDeletionRequestBodyDataType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/CreateDataDeletionRequestBodyDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CreateDataDeletionRequestBodyDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParameters.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParameters.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersDataAttributes.d.ts +61 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersDataAttributes.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/CreateNotificationRuleParametersDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CreateWorkflowResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCloudAccountsCoverageAnalysisResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCoverageAnalysis.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCoverageAnalysis.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/CsmCoverageAnalysis.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CsmHostsAndContainersCoverageAnalysisResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisAttributes.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/CsmServerlessCoverageAnalysisResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomConnection.d.ts +4 -4
- package/dist/packages/datadog-api-client-v2/models/CustomConnection.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/CustomConnection.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomConnectionAttributes.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/CustomConnectionAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomConnectionAttributesOnPremRunner.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/CustomConnectionAttributesOnPremRunner.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomConnectionType.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/DashboardTriggerWrapper.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/DashboardTriggerWrapper.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/DashboardTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DataTransform.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/DataTransform.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/DataTransform.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedAttributes.d.ts → DataTransformProperties.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/DataTransformProperties.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/DataTransformProperties.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{InputSchemaDataType.d.ts → DataTransformType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/DataTransformType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/DataTransformType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponseData.d.ts +4 -4
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponseData.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequest.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequestDataItems.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequestDataItems.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequestDataItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItems.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItems.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DependencyLocation.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/DependencyLocation.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/DependencyLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Deployment.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncluded.js → Deployment.js} +11 -10
- package/dist/packages/datadog-api-client-v2/models/Deployment.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DeploymentAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentIncludedAttributes.js → DeploymentAttributes.js} +8 -7
- package/dist/packages/datadog-api-client-v2/models/DeploymentAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentRelationshipMeta.d.ts → DeploymentMetadata.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/{DeploymentMeta.js → DeploymentMetadata.js} +10 -8
- package/dist/packages/datadog-api-client-v2/models/DeploymentMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationship.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationship.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationship.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipData.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipData.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EPSS.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/EPSS.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/EPSS.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/EntityV3API.d.ts +60 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3API.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3API.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIDatadog.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIDatadog.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIDatadog.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIKind.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIKind.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APIKind.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpec.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpec.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpec.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterface.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterface.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterface.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{EntityV3MetadataOwner.d.ts → EntityV3APISpecInterfaceDefinition.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterfaceDefinition.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterfaceDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterfaceFileRef.d.ts +28 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterfaceFileRef.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3APISpecInterfaceFileRef.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EntityV3Metadata.d.ts +1 -2
- package/dist/packages/datadog-api-client-v2/models/EntityV3Metadata.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/EntityV3Metadata.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ErrorHandler.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ErrorHandler.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ErrorHandler.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FastlyService.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetActionConnectionResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetActionConnectionResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetActionConnectionResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetAppResponse.d.ts +9 -9
- package/dist/packages/datadog-api-client-v2/models/GetAppResponse.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/GetAppResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseData.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseData.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseDataAttributes.d.ts +10 -20
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseDataAttributes.js +5 -13
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetRuleVersionHistoryResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponseDataAttributes.d.ts → GetSBOMResponse.d.ts} +5 -4
- package/dist/packages/datadog-api-client-v2/models/{Script.js → GetSBOMResponse.js} +9 -8
- package/dist/packages/datadog-api-client-v2/models/GetSBOMResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetWorkflowResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponse.js → GetWorkflowResponse.js} +8 -8
- package/dist/packages/datadog-api-client-v2/models/GetWorkflowResponse.js.map +1 -0
- package/dist/packages/{datadog-api-client-v1/models/AzureAccountMetricsConfig.d.ts → datadog-api-client-v2/models/GithubWebhookTrigger.d.ts} +5 -7
- package/dist/packages/datadog-api-client-v2/models/GithubWebhookTrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GithubWebhookTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GithubWebhookTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/GithubWebhookTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/GithubWebhookTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPBody.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPBody.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPBody.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentials.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentials.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentials.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentialsUpdate.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentialsUpdate.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPCredentialsUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeader.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeader.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeader.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeaderUpdate.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeaderUpdate.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPHeaderUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegration.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegration.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPIntegrationUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPToken.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPToken.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPToken.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuth.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuth.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuth.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthUpdate.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthUpdate.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenAuthUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenUpdate.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenUpdate.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/HTTPTokenUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobQuery.d.ts +61 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobQuery.js +54 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTrigger.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/InputSchema.d.ts +4 -4
- package/dist/packages/datadog-api-client-v2/models/InputSchema.js +4 -4
- package/dist/packages/datadog-api-client-v2/models/InputSchema.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/{InputSchemaDataAttributesParametersItemsDataAttributes.d.ts → InputSchemaParameters.d.ts} +10 -13
- package/dist/packages/datadog-api-client-v2/models/InputSchemaParameters.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/InputSchemaParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/InputSchemaParametersType.d.ts +18 -0
- package/dist/packages/datadog-api-client-v2/models/InputSchemaParametersType.js +17 -0
- package/dist/packages/datadog-api-client-v2/models/InputSchemaParametersType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.js +8 -5
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItem.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItemSource.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/{AppBuilderErrorErrorsItemsSource.js → JSONAPIErrorItemSource.js} +11 -7
- package/dist/packages/datadog-api-client-v2/models/JSONAPIErrorItemSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.d.ts +11 -12
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js +6 -6
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/Library.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/Library.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/Library.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentMeta.d.ts → Links.d.ts} +14 -10
- package/dist/packages/datadog-api-client-v2/models/{DeploymentRelationshipMeta.js → Links.js} +23 -17
- package/dist/packages/datadog-api-client-v2/models/Links.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponse.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponse.js +2 -2
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItems.d.ts +8 -8
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItems.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsAttributes.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsRelationships.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsRelationships.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseMeta.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseMeta.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseMetaPage.d.ts +3 -3
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseMetaPage.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListVulnerabilitiesResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/ListVulnerabilitiesResponse.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ListVulnerabilitiesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListVulnerableAssetsResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/ListVulnerableAssetsResponse.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ListVulnerableAssetsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3Type.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3Type.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveEncryptionS3Type.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveStorageClassS3Type.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveStorageClassS3Type.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/LogsArchiveStorageClassS3Type.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Metadata.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/Metadata.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/Metadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.js +9 -0
- package/dist/packages/datadog-api-client-v2/models/MetricBulkTagConfigCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsCreateWorkflowsWebhookHandleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsUpdateWorkflowsWebhookHandleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleAttributes.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandlesResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandlesResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookHandlesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookResponseAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookResponseAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/MicrosoftTeamsWorkflowsWebhookResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTrigger.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/MonitorTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRule.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRule.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRule.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleAttributes.d.ts +82 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleAttributes.js +79 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleResponse.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{CreateAppResponseDataType.d.ts → NotificationRulesType.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/NotificationRulesType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/NotificationRulesType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +750 -71
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OutboundEdge.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/OutboundEdge.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/OutboundEdge.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchema.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchema.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchema.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParameters.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParameters.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParametersType.d.ts +18 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParametersType.js +17 -0
- package/dist/packages/datadog-api-client-v2/models/OutputSchemaParametersType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Parameter.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/Parameter.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/Parameter.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParameters.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParameters.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParameters.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersDataAttributes.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersDataAttributes.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/PatchNotificationRuleParametersDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PublishAppResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponse.js → PublishAppResponse.js} +8 -8
- package/dist/packages/datadog-api-client-v2/models/PublishAppResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Query.d.ts +6 -47
- package/dist/packages/datadog-api-client-v2/models/Query.js +0 -46
- package/dist/packages/datadog-api-client-v2/models/Query.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ReadinessGate.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ReadinessGate.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ReadinessGate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReadinessGateThresholdType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ReadinessGateThresholdType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/ReadinessGateThresholdType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Remediation.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/Remediation.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/Remediation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategy.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategy.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyKind.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyKind.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyKind.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyLinear.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyLinear.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/RetryStrategyLinear.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleSeverity.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/RuleSeverity.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/RuleSeverity.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.d.ts +27 -0
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js +22 -0
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleUser.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/{EntityV3MetadataOwner.js → RuleUser.js} +15 -7
- package/dist/packages/datadog-api-client-v2/models/RuleUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionHistory.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionHistory.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionHistory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdate.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdate.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdateType.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdateType.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersionUpdateType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/RuleVersions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateAttributes.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateData.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponseData.d.ts → RumRetentionFilterData.d.ts} +12 -12
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponseData.js → RumRetentionFilterData.js} +10 -10
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterEventType.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterEventType.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterEventType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterSource.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterSource.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/{DeleteAppsRequestDataItemsType.js → RumRetentionFilterType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateAttributes.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateData.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFilterUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderRequest.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersOrderResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DisableAppResponse.d.ts → RumRetentionFiltersResponse.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RumRetentionFiltersResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ScriptData.d.ts → SBOM.d.ts} +9 -9
- package/dist/packages/datadog-api-client-v2/models/{ScriptData.js → SBOM.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/SBOM.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMAttributes.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMAttributes.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponent.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponent.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponentType.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponentType.js +21 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMComponentType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMMetadata.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMMetadata.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ScriptDataAttributes.d.ts → SBOMMetadataComponent.d.ts} +4 -8
- package/dist/packages/datadog-api-client-v2/models/{ScriptDataAttributes.js → SBOMMetadataComponent.js} +7 -11
- package/dist/packages/datadog-api-client-v2/models/SBOMMetadataComponent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SBOMType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTrigger.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTrigger.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ScheduleTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringReferenceTable.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringReferenceTable.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCase.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseAction.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseAction.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionOptions.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionOptions.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseActionType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.d.ts +7 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleCaseCreate.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleEvaluationWindow.d.ts +6 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleEvaluationWindow.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleEvaluationWindow.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleImpossibleTravelOptions.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleKeepAlive.d.ts +4 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleKeepAlive.js +3 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleKeepAlive.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleNewValueOptions.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleThirdPartyOptions.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleCreatePayload.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRulePayload.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRuleResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.d.ts +5 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringThirdPartyRuleCaseCreate.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityTrigger.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityTrigger.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityTrigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityTriggerWrapper.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityTriggerWrapper.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Selectors.d.ts +54 -0
- package/dist/packages/datadog-api-client-v2/models/Selectors.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/Selectors.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlackTriggerWrapper.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SlackTriggerWrapper.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SlackTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Spec.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/Spec.js +54 -0
- package/dist/packages/datadog-api-client-v2/models/Spec.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SpecVersion.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/SpecVersion.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/SpecVersion.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariable.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariable.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariable.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableProperties.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableProperties.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableProperties.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/StateVariableType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Step.d.ts +74 -0
- package/dist/packages/datadog-api-client-v2/models/Step.js +64 -0
- package/dist/packages/datadog-api-client-v2/models/Step.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplay.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplay.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplay.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplayBounds.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplayBounds.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/StepDisplayBounds.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TokenType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/TokenType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/TokenType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Trigger.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/models/Trigger.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/Trigger.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerRateLimit.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerRateLimit.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerRateLimit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerSource.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerSource.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/TriggerSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UnpublishAppResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UnpublishAppResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UnpublishAppResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateActionConnectionResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequest.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestData.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestData.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataAttributes.d.ts +9 -19
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataAttributes.js +5 -13
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponse.d.ts +9 -9
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponse.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseData.d.ts +6 -6
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseData.js +3 -2
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataAttributes.d.ts +10 -20
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataAttributes.js +5 -13
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateWorkflowResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParam.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParam.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParam.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParamUpdate.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParamUpdate.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/UrlParamUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilitiesType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/{DeploymentRelationshipDataType.js → VulnerabilitiesType.js} +3 -3
- package/dist/packages/datadog-api-client-v2/models/VulnerabilitiesType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Vulnerability.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/Vulnerability.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/Vulnerability.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.d.ts +122 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js +121 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityCvss.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityCvss.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityCvss.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityDependencyLocations.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityDependencyLocations.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityDependencyLocations.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.d.ts +21 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js +20 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityEcosystem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationships.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffects.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffects.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffects.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffectsData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffectsData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRelationshipsAffectsData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRisks.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRisks.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityRisks.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilitySeverity.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilitySeverity.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilitySeverity.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityStatus.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityStatus.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityTool.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityType.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityType.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/VulnerabilityType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowData.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataAttributes.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataAttributes.js +62 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataRelationships.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataRelationships.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{DeployAppResponseData.d.ts → WorkflowDataUpdate.d.ts} +12 -12
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataUpdate.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataUpdateAttributes.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataUpdateAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowDataUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowTriggerWrapper.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowTriggerWrapper.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowTriggerWrapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationship.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationship.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationship.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowUserRelationshipType.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/packages/datadog-api-client-v1/models/AzureAccountMetricsConfig.js +0 -38
- package/dist/packages/datadog-api-client-v1/models/AzureAccountMetricsConfig.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/apis/AppDeploymentApi.d.ts +0 -55
- package/dist/packages/datadog-api-client-v2/apis/AppDeploymentApi.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/apis/AppsApi.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/AppBuilderError.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/AppBuilderError.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/AppBuilderErrorErrorsItems.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/AppBuilderErrorErrorsItems.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/AppBuilderErrorErrorsItemsSource.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppRequestDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsRequestDataItemsType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItemsType.d.ts +0 -11
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItemsType.js +0 -10
- package/dist/packages/datadog-api-client-v2/models/DeleteAppsResponseDataItemsType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeployAppResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeployAppResponseData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeployAppResponseDataAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeployAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentIncluded.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentIncludedAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentIncludedMeta.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentIncludedType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentMeta.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipDataType.d.ts +0 -11
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DeploymentRelationshipMeta.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DisableAppResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DisableAppResponseData.js +0 -42
- package/dist/packages/datadog-api-client-v2/models/DisableAppResponseData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DisableAppResponseDataAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/DisableAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/EntityV3MetadataOwner.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/GetAppResponseRelationship.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributes.d.ts +0 -37
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributes.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItems.d.ts +0 -37
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItems.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItems.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItemsData.d.ts +0 -37
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItemsData.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItemsData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItemsDataAttributes.js +0 -55
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataAttributesParametersItemsDataAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/InputSchemaDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsType.d.ts +0 -11
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsType.js +0 -10
- package/dist/packages/datadog-api-client-v2/models/ListAppsResponseDataItemsType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/QueryType.d.ts +0 -13
- package/dist/packages/datadog-api-client-v2/models/QueryType.js +0 -12
- package/dist/packages/datadog-api-client-v2/models/QueryType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/Script.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ScriptData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ScriptDataAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ScriptDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataType.d.ts +0 -11
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataType.js +0 -10
- package/dist/packages/datadog-api-client-v2/models/UpdateAppRequestDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataType.d.ts +0 -11
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataType.js +0 -10
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseRelationship.d.ts +0 -42
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseRelationship.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/UpdateAppResponseRelationship.js.map +0 -1
|
@@ -241,6 +241,68 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
241
241
|
return requestContext;
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
+
createSignalNotificationRule(body, _options) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const _config = _options || this.configuration;
|
|
247
|
+
// verify required parameter 'body' is not null or undefined
|
|
248
|
+
if (body === null || body === undefined) {
|
|
249
|
+
throw new baseapi_1.RequiredError("body", "createSignalNotificationRule");
|
|
250
|
+
}
|
|
251
|
+
// Path Params
|
|
252
|
+
const localVarPath = "/api/v2/security/signals/notification_rules";
|
|
253
|
+
// Make Request Context
|
|
254
|
+
const requestContext = _config
|
|
255
|
+
.getServer("v2.SecurityMonitoringApi.createSignalNotificationRule")
|
|
256
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
257
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
258
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
259
|
+
// Body Params
|
|
260
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
261
|
+
"application/json",
|
|
262
|
+
]);
|
|
263
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
264
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateNotificationRuleParameters", ""), contentType);
|
|
265
|
+
requestContext.setBody(serializedBody);
|
|
266
|
+
// Apply auth methods
|
|
267
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
268
|
+
"AuthZ",
|
|
269
|
+
"apiKeyAuth",
|
|
270
|
+
"appKeyAuth",
|
|
271
|
+
]);
|
|
272
|
+
return requestContext;
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
createVulnerabilityNotificationRule(body, _options) {
|
|
276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
277
|
+
const _config = _options || this.configuration;
|
|
278
|
+
// verify required parameter 'body' is not null or undefined
|
|
279
|
+
if (body === null || body === undefined) {
|
|
280
|
+
throw new baseapi_1.RequiredError("body", "createVulnerabilityNotificationRule");
|
|
281
|
+
}
|
|
282
|
+
// Path Params
|
|
283
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules";
|
|
284
|
+
// Make Request Context
|
|
285
|
+
const requestContext = _config
|
|
286
|
+
.getServer("v2.SecurityMonitoringApi.createVulnerabilityNotificationRule")
|
|
287
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
288
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
289
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
290
|
+
// Body Params
|
|
291
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
292
|
+
"application/json",
|
|
293
|
+
]);
|
|
294
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
295
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CreateNotificationRuleParameters", ""), contentType);
|
|
296
|
+
requestContext.setBody(serializedBody);
|
|
297
|
+
// Apply auth methods
|
|
298
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
299
|
+
"AuthZ",
|
|
300
|
+
"apiKeyAuth",
|
|
301
|
+
"appKeyAuth",
|
|
302
|
+
]);
|
|
303
|
+
return requestContext;
|
|
304
|
+
});
|
|
305
|
+
}
|
|
244
306
|
deleteHistoricalJob(jobId, _options) {
|
|
245
307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
246
308
|
const _config = _options || this.configuration;
|
|
@@ -341,6 +403,54 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
341
403
|
return requestContext;
|
|
342
404
|
});
|
|
343
405
|
}
|
|
406
|
+
deleteSignalNotificationRule(id, _options) {
|
|
407
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
408
|
+
const _config = _options || this.configuration;
|
|
409
|
+
// verify required parameter 'id' is not null or undefined
|
|
410
|
+
if (id === null || id === undefined) {
|
|
411
|
+
throw new baseapi_1.RequiredError("id", "deleteSignalNotificationRule");
|
|
412
|
+
}
|
|
413
|
+
// Path Params
|
|
414
|
+
const localVarPath = "/api/v2/security/signals/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
415
|
+
// Make Request Context
|
|
416
|
+
const requestContext = _config
|
|
417
|
+
.getServer("v2.SecurityMonitoringApi.deleteSignalNotificationRule")
|
|
418
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
419
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
420
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
421
|
+
// Apply auth methods
|
|
422
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
423
|
+
"AuthZ",
|
|
424
|
+
"apiKeyAuth",
|
|
425
|
+
"appKeyAuth",
|
|
426
|
+
]);
|
|
427
|
+
return requestContext;
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
deleteVulnerabilityNotificationRule(id, _options) {
|
|
431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
432
|
+
const _config = _options || this.configuration;
|
|
433
|
+
// verify required parameter 'id' is not null or undefined
|
|
434
|
+
if (id === null || id === undefined) {
|
|
435
|
+
throw new baseapi_1.RequiredError("id", "deleteVulnerabilityNotificationRule");
|
|
436
|
+
}
|
|
437
|
+
// Path Params
|
|
438
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
439
|
+
// Make Request Context
|
|
440
|
+
const requestContext = _config
|
|
441
|
+
.getServer("v2.SecurityMonitoringApi.deleteVulnerabilityNotificationRule")
|
|
442
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
443
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
444
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
445
|
+
// Apply auth methods
|
|
446
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
447
|
+
"AuthZ",
|
|
448
|
+
"apiKeyAuth",
|
|
449
|
+
"appKeyAuth",
|
|
450
|
+
]);
|
|
451
|
+
return requestContext;
|
|
452
|
+
});
|
|
453
|
+
}
|
|
344
454
|
editSecurityMonitoringSignalAssignee(signalId, body, _options) {
|
|
345
455
|
return __awaiter(this, void 0, void 0, function* () {
|
|
346
456
|
const _config = _options || this.configuration;
|
|
@@ -503,6 +613,80 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
503
613
|
return requestContext;
|
|
504
614
|
});
|
|
505
615
|
}
|
|
616
|
+
getRuleVersionHistory(ruleId, pageSize, pageNumber, _options) {
|
|
617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
618
|
+
const _config = _options || this.configuration;
|
|
619
|
+
logger_1.logger.warn("Using unstable operation 'getRuleVersionHistory'");
|
|
620
|
+
if (!_config.unstableOperations["v2.getRuleVersionHistory"]) {
|
|
621
|
+
throw new Error("Unstable operation 'getRuleVersionHistory' is disabled");
|
|
622
|
+
}
|
|
623
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
624
|
+
if (ruleId === null || ruleId === undefined) {
|
|
625
|
+
throw new baseapi_1.RequiredError("ruleId", "getRuleVersionHistory");
|
|
626
|
+
}
|
|
627
|
+
// Path Params
|
|
628
|
+
const localVarPath = "/api/v2/security_monitoring/rules/{rule_id}/version_history".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
629
|
+
// Make Request Context
|
|
630
|
+
const requestContext = _config
|
|
631
|
+
.getServer("v2.SecurityMonitoringApi.getRuleVersionHistory")
|
|
632
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
633
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
634
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
635
|
+
// Query Params
|
|
636
|
+
if (pageSize !== undefined) {
|
|
637
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
638
|
+
}
|
|
639
|
+
if (pageNumber !== undefined) {
|
|
640
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
641
|
+
}
|
|
642
|
+
// Apply auth methods
|
|
643
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
644
|
+
"AuthZ",
|
|
645
|
+
"apiKeyAuth",
|
|
646
|
+
"appKeyAuth",
|
|
647
|
+
]);
|
|
648
|
+
return requestContext;
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
getSBOM(assetType, filterAssetName, filterRepoDigest, _options) {
|
|
652
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
653
|
+
const _config = _options || this.configuration;
|
|
654
|
+
logger_1.logger.warn("Using unstable operation 'getSBOM'");
|
|
655
|
+
if (!_config.unstableOperations["v2.getSBOM"]) {
|
|
656
|
+
throw new Error("Unstable operation 'getSBOM' is disabled");
|
|
657
|
+
}
|
|
658
|
+
// verify required parameter 'assetType' is not null or undefined
|
|
659
|
+
if (assetType === null || assetType === undefined) {
|
|
660
|
+
throw new baseapi_1.RequiredError("assetType", "getSBOM");
|
|
661
|
+
}
|
|
662
|
+
// verify required parameter 'filterAssetName' is not null or undefined
|
|
663
|
+
if (filterAssetName === null || filterAssetName === undefined) {
|
|
664
|
+
throw new baseapi_1.RequiredError("filterAssetName", "getSBOM");
|
|
665
|
+
}
|
|
666
|
+
// Path Params
|
|
667
|
+
const localVarPath = "/api/v2/security/sboms/{asset_type}".replace("{asset_type}", encodeURIComponent(String(assetType)));
|
|
668
|
+
// Make Request Context
|
|
669
|
+
const requestContext = _config
|
|
670
|
+
.getServer("v2.SecurityMonitoringApi.getSBOM")
|
|
671
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
672
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
673
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
674
|
+
// Query Params
|
|
675
|
+
if (filterAssetName !== undefined) {
|
|
676
|
+
requestContext.setQueryParam("filter[asset_name]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetName, "string", ""), "");
|
|
677
|
+
}
|
|
678
|
+
if (filterRepoDigest !== undefined) {
|
|
679
|
+
requestContext.setQueryParam("filter[repo_digest]", ObjectSerializer_1.ObjectSerializer.serialize(filterRepoDigest, "string", ""), "");
|
|
680
|
+
}
|
|
681
|
+
// Apply auth methods
|
|
682
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
683
|
+
"AuthZ",
|
|
684
|
+
"apiKeyAuth",
|
|
685
|
+
"appKeyAuth",
|
|
686
|
+
]);
|
|
687
|
+
return requestContext;
|
|
688
|
+
});
|
|
689
|
+
}
|
|
506
690
|
getSecurityFilter(securityFilterId, _options) {
|
|
507
691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
508
692
|
const _config = _options || this.configuration;
|
|
@@ -599,6 +783,94 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
599
783
|
return requestContext;
|
|
600
784
|
});
|
|
601
785
|
}
|
|
786
|
+
getSignalNotificationRule(id, _options) {
|
|
787
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
788
|
+
const _config = _options || this.configuration;
|
|
789
|
+
// verify required parameter 'id' is not null or undefined
|
|
790
|
+
if (id === null || id === undefined) {
|
|
791
|
+
throw new baseapi_1.RequiredError("id", "getSignalNotificationRule");
|
|
792
|
+
}
|
|
793
|
+
// Path Params
|
|
794
|
+
const localVarPath = "/api/v2/security/signals/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
795
|
+
// Make Request Context
|
|
796
|
+
const requestContext = _config
|
|
797
|
+
.getServer("v2.SecurityMonitoringApi.getSignalNotificationRule")
|
|
798
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
799
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
800
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
801
|
+
// Apply auth methods
|
|
802
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
803
|
+
"AuthZ",
|
|
804
|
+
"apiKeyAuth",
|
|
805
|
+
"appKeyAuth",
|
|
806
|
+
]);
|
|
807
|
+
return requestContext;
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
getSignalNotificationRules(_options) {
|
|
811
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
812
|
+
const _config = _options || this.configuration;
|
|
813
|
+
// Path Params
|
|
814
|
+
const localVarPath = "/api/v2/security/signals/notification_rules";
|
|
815
|
+
// Make Request Context
|
|
816
|
+
const requestContext = _config
|
|
817
|
+
.getServer("v2.SecurityMonitoringApi.getSignalNotificationRules")
|
|
818
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
819
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
820
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
821
|
+
// Apply auth methods
|
|
822
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
823
|
+
"AuthZ",
|
|
824
|
+
"apiKeyAuth",
|
|
825
|
+
"appKeyAuth",
|
|
826
|
+
]);
|
|
827
|
+
return requestContext;
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
getVulnerabilityNotificationRule(id, _options) {
|
|
831
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
832
|
+
const _config = _options || this.configuration;
|
|
833
|
+
// verify required parameter 'id' is not null or undefined
|
|
834
|
+
if (id === null || id === undefined) {
|
|
835
|
+
throw new baseapi_1.RequiredError("id", "getVulnerabilityNotificationRule");
|
|
836
|
+
}
|
|
837
|
+
// Path Params
|
|
838
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
839
|
+
// Make Request Context
|
|
840
|
+
const requestContext = _config
|
|
841
|
+
.getServer("v2.SecurityMonitoringApi.getVulnerabilityNotificationRule")
|
|
842
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
843
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
844
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
845
|
+
// Apply auth methods
|
|
846
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
847
|
+
"AuthZ",
|
|
848
|
+
"apiKeyAuth",
|
|
849
|
+
"appKeyAuth",
|
|
850
|
+
]);
|
|
851
|
+
return requestContext;
|
|
852
|
+
});
|
|
853
|
+
}
|
|
854
|
+
getVulnerabilityNotificationRules(_options) {
|
|
855
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
856
|
+
const _config = _options || this.configuration;
|
|
857
|
+
// Path Params
|
|
858
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules";
|
|
859
|
+
// Make Request Context
|
|
860
|
+
const requestContext = _config
|
|
861
|
+
.getServer("v2.SecurityMonitoringApi.getVulnerabilityNotificationRules")
|
|
862
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
863
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
864
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
865
|
+
// Apply auth methods
|
|
866
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
867
|
+
"AuthZ",
|
|
868
|
+
"apiKeyAuth",
|
|
869
|
+
"appKeyAuth",
|
|
870
|
+
]);
|
|
871
|
+
return requestContext;
|
|
872
|
+
});
|
|
873
|
+
}
|
|
602
874
|
listFindings(pageLimit, snapshotTimestamp, pageCursor, filterTags, filterEvaluationChangedAt, filterMuted, filterRuleId, filterRuleName, filterResourceType, filterDiscoveryTimestamp, filterEvaluation, filterStatus, filterVulnerabilityType, _options) {
|
|
603
875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
604
876
|
const _config = _options || this.configuration;
|
|
@@ -806,59 +1078,347 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
806
1078
|
return requestContext;
|
|
807
1079
|
});
|
|
808
1080
|
}
|
|
809
|
-
|
|
1081
|
+
listVulnerabilities(pageToken, pageNumber, filterType, filterCvssBaseScoreOp, filterCvssBaseSeverity, filterCvssBaseVector, filterCvssDatadogScoreOp, filterCvssDatadogSeverity, filterCvssDatadogVector, filterStatus, filterTool, filterLibraryName, filterLibraryVersion, filterAdvisoryId, filterRisksExploitationProbability, filterRisksPocExploitAvailable, filterRisksExploitAvailable, filterRisksEpssScoreOp, filterRisksEpssSeverity, filterLanguage, filterEcosystem, filterCodeLocationLocation, filterCodeLocationFilePath, filterCodeLocationMethod, filterFixAvailable, filterRepoDigests, filterAssetName, filterAssetType, filterAssetVersionFirst, filterAssetVersionLast, filterAssetRepositoryUrl, filterAssetRisksInProduction, filterAssetRisksUnderAttack, filterAssetRisksIsPubliclyAccessible, filterAssetRisksHasPrivilegedAccess, filterAssetRisksHasAccessToSensitiveData, filterAssetEnvironments, filterAssetArch, filterAssetOperatingSystemName, filterAssetOperatingSystemVersion, _options) {
|
|
810
1082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
811
1083
|
const _config = _options || this.configuration;
|
|
812
|
-
logger_1.logger.warn("Using unstable operation '
|
|
813
|
-
if (!_config.unstableOperations["v2.
|
|
814
|
-
throw new Error("Unstable operation '
|
|
815
|
-
}
|
|
816
|
-
// verify required parameter 'body' is not null or undefined
|
|
817
|
-
if (body === null || body === undefined) {
|
|
818
|
-
throw new baseapi_1.RequiredError("body", "muteFindings");
|
|
1084
|
+
logger_1.logger.warn("Using unstable operation 'listVulnerabilities'");
|
|
1085
|
+
if (!_config.unstableOperations["v2.listVulnerabilities"]) {
|
|
1086
|
+
throw new Error("Unstable operation 'listVulnerabilities' is disabled");
|
|
819
1087
|
}
|
|
820
1088
|
// Path Params
|
|
821
|
-
const localVarPath = "/api/v2/
|
|
1089
|
+
const localVarPath = "/api/v2/security/vulnerabilities";
|
|
822
1090
|
// Make Request Context
|
|
823
1091
|
const requestContext = _config
|
|
824
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
825
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1092
|
+
.getServer("v2.SecurityMonitoringApi.listVulnerabilities")
|
|
1093
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
826
1094
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
827
1095
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
828
|
-
//
|
|
829
|
-
|
|
830
|
-
"
|
|
831
|
-
]);
|
|
832
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
833
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BulkMuteFindingsRequest", ""), contentType);
|
|
834
|
-
requestContext.setBody(serializedBody);
|
|
835
|
-
// Apply auth methods
|
|
836
|
-
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
837
|
-
"apiKeyAuth",
|
|
838
|
-
"appKeyAuth",
|
|
839
|
-
]);
|
|
840
|
-
return requestContext;
|
|
841
|
-
});
|
|
842
|
-
}
|
|
843
|
-
runHistoricalJob(body, _options) {
|
|
844
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
845
|
-
const _config = _options || this.configuration;
|
|
846
|
-
logger_1.logger.warn("Using unstable operation 'runHistoricalJob'");
|
|
847
|
-
if (!_config.unstableOperations["v2.runHistoricalJob"]) {
|
|
848
|
-
throw new Error("Unstable operation 'runHistoricalJob' is disabled");
|
|
1096
|
+
// Query Params
|
|
1097
|
+
if (pageToken !== undefined) {
|
|
1098
|
+
requestContext.setQueryParam("page[token]", ObjectSerializer_1.ObjectSerializer.serialize(pageToken, "string", ""), "");
|
|
849
1099
|
}
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
throw new baseapi_1.RequiredError("body", "runHistoricalJob");
|
|
1100
|
+
if (pageNumber !== undefined) {
|
|
1101
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
853
1102
|
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
.
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
1103
|
+
if (filterType !== undefined) {
|
|
1104
|
+
requestContext.setQueryParam("filter[type]", ObjectSerializer_1.ObjectSerializer.serialize(filterType, "VulnerabilityType", ""), "");
|
|
1105
|
+
}
|
|
1106
|
+
if (filterCvssBaseScoreOp !== undefined) {
|
|
1107
|
+
requestContext.setQueryParam("filter[cvss.base.score][`$op`]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssBaseScoreOp, "number", "double"), "");
|
|
1108
|
+
}
|
|
1109
|
+
if (filterCvssBaseSeverity !== undefined) {
|
|
1110
|
+
requestContext.setQueryParam("filter[cvss.base.severity]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssBaseSeverity, "VulnerabilitySeverity", ""), "");
|
|
1111
|
+
}
|
|
1112
|
+
if (filterCvssBaseVector !== undefined) {
|
|
1113
|
+
requestContext.setQueryParam("filter[cvss.base.vector]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssBaseVector, "string", ""), "");
|
|
1114
|
+
}
|
|
1115
|
+
if (filterCvssDatadogScoreOp !== undefined) {
|
|
1116
|
+
requestContext.setQueryParam("filter[cvss.datadog.score][`$op`]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssDatadogScoreOp, "number", "double"), "");
|
|
1117
|
+
}
|
|
1118
|
+
if (filterCvssDatadogSeverity !== undefined) {
|
|
1119
|
+
requestContext.setQueryParam("filter[cvss.datadog.severity]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssDatadogSeverity, "VulnerabilitySeverity", ""), "");
|
|
1120
|
+
}
|
|
1121
|
+
if (filterCvssDatadogVector !== undefined) {
|
|
1122
|
+
requestContext.setQueryParam("filter[cvss.datadog.vector]", ObjectSerializer_1.ObjectSerializer.serialize(filterCvssDatadogVector, "string", ""), "");
|
|
1123
|
+
}
|
|
1124
|
+
if (filterStatus !== undefined) {
|
|
1125
|
+
requestContext.setQueryParam("filter[status]", ObjectSerializer_1.ObjectSerializer.serialize(filterStatus, "VulnerabilityStatus", ""), "");
|
|
1126
|
+
}
|
|
1127
|
+
if (filterTool !== undefined) {
|
|
1128
|
+
requestContext.setQueryParam("filter[tool]", ObjectSerializer_1.ObjectSerializer.serialize(filterTool, "VulnerabilityTool", ""), "");
|
|
1129
|
+
}
|
|
1130
|
+
if (filterLibraryName !== undefined) {
|
|
1131
|
+
requestContext.setQueryParam("filter[library.name]", ObjectSerializer_1.ObjectSerializer.serialize(filterLibraryName, "string", ""), "");
|
|
1132
|
+
}
|
|
1133
|
+
if (filterLibraryVersion !== undefined) {
|
|
1134
|
+
requestContext.setQueryParam("filter[library.version]", ObjectSerializer_1.ObjectSerializer.serialize(filterLibraryVersion, "string", ""), "");
|
|
1135
|
+
}
|
|
1136
|
+
if (filterAdvisoryId !== undefined) {
|
|
1137
|
+
requestContext.setQueryParam("filter[advisory_id]", ObjectSerializer_1.ObjectSerializer.serialize(filterAdvisoryId, "string", ""), "");
|
|
1138
|
+
}
|
|
1139
|
+
if (filterRisksExploitationProbability !== undefined) {
|
|
1140
|
+
requestContext.setQueryParam("filter[risks.exploitation_probability]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksExploitationProbability, "boolean", ""), "");
|
|
1141
|
+
}
|
|
1142
|
+
if (filterRisksPocExploitAvailable !== undefined) {
|
|
1143
|
+
requestContext.setQueryParam("filter[risks.poc_exploit_available]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksPocExploitAvailable, "boolean", ""), "");
|
|
1144
|
+
}
|
|
1145
|
+
if (filterRisksExploitAvailable !== undefined) {
|
|
1146
|
+
requestContext.setQueryParam("filter[risks.exploit_available]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksExploitAvailable, "boolean", ""), "");
|
|
1147
|
+
}
|
|
1148
|
+
if (filterRisksEpssScoreOp !== undefined) {
|
|
1149
|
+
requestContext.setQueryParam("filter[risks.epss.score][`$op`]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksEpssScoreOp, "number", "double"), "");
|
|
1150
|
+
}
|
|
1151
|
+
if (filterRisksEpssSeverity !== undefined) {
|
|
1152
|
+
requestContext.setQueryParam("filter[risks.epss.severity]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksEpssSeverity, "VulnerabilitySeverity", ""), "");
|
|
1153
|
+
}
|
|
1154
|
+
if (filterLanguage !== undefined) {
|
|
1155
|
+
requestContext.setQueryParam("filter[language]", ObjectSerializer_1.ObjectSerializer.serialize(filterLanguage, "string", ""), "");
|
|
1156
|
+
}
|
|
1157
|
+
if (filterEcosystem !== undefined) {
|
|
1158
|
+
requestContext.setQueryParam("filter[ecosystem]", ObjectSerializer_1.ObjectSerializer.serialize(filterEcosystem, "VulnerabilityEcosystem", ""), "");
|
|
1159
|
+
}
|
|
1160
|
+
if (filterCodeLocationLocation !== undefined) {
|
|
1161
|
+
requestContext.setQueryParam("filter[code_location.location]", ObjectSerializer_1.ObjectSerializer.serialize(filterCodeLocationLocation, "string", ""), "");
|
|
1162
|
+
}
|
|
1163
|
+
if (filterCodeLocationFilePath !== undefined) {
|
|
1164
|
+
requestContext.setQueryParam("filter[code_location.file_path]", ObjectSerializer_1.ObjectSerializer.serialize(filterCodeLocationFilePath, "string", ""), "");
|
|
1165
|
+
}
|
|
1166
|
+
if (filterCodeLocationMethod !== undefined) {
|
|
1167
|
+
requestContext.setQueryParam("filter[code_location.method]", ObjectSerializer_1.ObjectSerializer.serialize(filterCodeLocationMethod, "string", ""), "");
|
|
1168
|
+
}
|
|
1169
|
+
if (filterFixAvailable !== undefined) {
|
|
1170
|
+
requestContext.setQueryParam("filter[fix_available]", ObjectSerializer_1.ObjectSerializer.serialize(filterFixAvailable, "boolean", ""), "");
|
|
1171
|
+
}
|
|
1172
|
+
if (filterRepoDigests !== undefined) {
|
|
1173
|
+
requestContext.setQueryParam("filter[repo_digests]", ObjectSerializer_1.ObjectSerializer.serialize(filterRepoDigests, "string", ""), "");
|
|
1174
|
+
}
|
|
1175
|
+
if (filterAssetName !== undefined) {
|
|
1176
|
+
requestContext.setQueryParam("filter[asset.name]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetName, "string", ""), "");
|
|
1177
|
+
}
|
|
1178
|
+
if (filterAssetType !== undefined) {
|
|
1179
|
+
requestContext.setQueryParam("filter[asset.type]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetType, "AssetType", ""), "");
|
|
1180
|
+
}
|
|
1181
|
+
if (filterAssetVersionFirst !== undefined) {
|
|
1182
|
+
requestContext.setQueryParam("filter[asset.version.first]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetVersionFirst, "string", ""), "");
|
|
1183
|
+
}
|
|
1184
|
+
if (filterAssetVersionLast !== undefined) {
|
|
1185
|
+
requestContext.setQueryParam("filter[asset.version.last]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetVersionLast, "string", ""), "");
|
|
1186
|
+
}
|
|
1187
|
+
if (filterAssetRepositoryUrl !== undefined) {
|
|
1188
|
+
requestContext.setQueryParam("filter[asset.repository_url]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRepositoryUrl, "string", ""), "");
|
|
1189
|
+
}
|
|
1190
|
+
if (filterAssetRisksInProduction !== undefined) {
|
|
1191
|
+
requestContext.setQueryParam("filter[asset.risks.in_production]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRisksInProduction, "boolean", ""), "");
|
|
1192
|
+
}
|
|
1193
|
+
if (filterAssetRisksUnderAttack !== undefined) {
|
|
1194
|
+
requestContext.setQueryParam("filter[asset.risks.under_attack]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRisksUnderAttack, "boolean", ""), "");
|
|
1195
|
+
}
|
|
1196
|
+
if (filterAssetRisksIsPubliclyAccessible !== undefined) {
|
|
1197
|
+
requestContext.setQueryParam("filter[asset.risks.is_publicly_accessible]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRisksIsPubliclyAccessible, "boolean", ""), "");
|
|
1198
|
+
}
|
|
1199
|
+
if (filterAssetRisksHasPrivilegedAccess !== undefined) {
|
|
1200
|
+
requestContext.setQueryParam("filter[asset.risks.has_privileged_access]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRisksHasPrivilegedAccess, "boolean", ""), "");
|
|
1201
|
+
}
|
|
1202
|
+
if (filterAssetRisksHasAccessToSensitiveData !== undefined) {
|
|
1203
|
+
requestContext.setQueryParam("filter[asset.risks.has_access_to_sensitive_data]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetRisksHasAccessToSensitiveData, "boolean", ""), "");
|
|
1204
|
+
}
|
|
1205
|
+
if (filterAssetEnvironments !== undefined) {
|
|
1206
|
+
requestContext.setQueryParam("filter[asset.environments]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetEnvironments, "string", ""), "");
|
|
1207
|
+
}
|
|
1208
|
+
if (filterAssetArch !== undefined) {
|
|
1209
|
+
requestContext.setQueryParam("filter[asset.arch]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetArch, "string", ""), "");
|
|
1210
|
+
}
|
|
1211
|
+
if (filterAssetOperatingSystemName !== undefined) {
|
|
1212
|
+
requestContext.setQueryParam("filter[asset.operating_system.name]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetOperatingSystemName, "string", ""), "");
|
|
1213
|
+
}
|
|
1214
|
+
if (filterAssetOperatingSystemVersion !== undefined) {
|
|
1215
|
+
requestContext.setQueryParam("filter[asset.operating_system.version]", ObjectSerializer_1.ObjectSerializer.serialize(filterAssetOperatingSystemVersion, "string", ""), "");
|
|
1216
|
+
}
|
|
1217
|
+
// Apply auth methods
|
|
1218
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1219
|
+
"AuthZ",
|
|
1220
|
+
"apiKeyAuth",
|
|
1221
|
+
"appKeyAuth",
|
|
1222
|
+
]);
|
|
1223
|
+
return requestContext;
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
listVulnerableAssets(pageToken, pageNumber, filterName, filterType, filterVersionFirst, filterVersionLast, filterRepositoryUrl, filterRisksInProduction, filterRisksUnderAttack, filterRisksIsPubliclyAccessible, filterRisksHasPrivilegedAccess, filterRisksHasAccessToSensitiveData, filterEnvironments, filterArch, filterOperatingSystemName, filterOperatingSystemVersion, _options) {
|
|
1227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1228
|
+
const _config = _options || this.configuration;
|
|
1229
|
+
logger_1.logger.warn("Using unstable operation 'listVulnerableAssets'");
|
|
1230
|
+
if (!_config.unstableOperations["v2.listVulnerableAssets"]) {
|
|
1231
|
+
throw new Error("Unstable operation 'listVulnerableAssets' is disabled");
|
|
1232
|
+
}
|
|
1233
|
+
// Path Params
|
|
1234
|
+
const localVarPath = "/api/v2/security/assets";
|
|
1235
|
+
// Make Request Context
|
|
1236
|
+
const requestContext = _config
|
|
1237
|
+
.getServer("v2.SecurityMonitoringApi.listVulnerableAssets")
|
|
1238
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1239
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1240
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1241
|
+
// Query Params
|
|
1242
|
+
if (pageToken !== undefined) {
|
|
1243
|
+
requestContext.setQueryParam("page[token]", ObjectSerializer_1.ObjectSerializer.serialize(pageToken, "string", ""), "");
|
|
1244
|
+
}
|
|
1245
|
+
if (pageNumber !== undefined) {
|
|
1246
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
1247
|
+
}
|
|
1248
|
+
if (filterName !== undefined) {
|
|
1249
|
+
requestContext.setQueryParam("filter[name]", ObjectSerializer_1.ObjectSerializer.serialize(filterName, "string", ""), "");
|
|
1250
|
+
}
|
|
1251
|
+
if (filterType !== undefined) {
|
|
1252
|
+
requestContext.setQueryParam("filter[type]", ObjectSerializer_1.ObjectSerializer.serialize(filterType, "AssetType", ""), "");
|
|
1253
|
+
}
|
|
1254
|
+
if (filterVersionFirst !== undefined) {
|
|
1255
|
+
requestContext.setQueryParam("filter[version.first]", ObjectSerializer_1.ObjectSerializer.serialize(filterVersionFirst, "string", ""), "");
|
|
1256
|
+
}
|
|
1257
|
+
if (filterVersionLast !== undefined) {
|
|
1258
|
+
requestContext.setQueryParam("filter[version.last]", ObjectSerializer_1.ObjectSerializer.serialize(filterVersionLast, "string", ""), "");
|
|
1259
|
+
}
|
|
1260
|
+
if (filterRepositoryUrl !== undefined) {
|
|
1261
|
+
requestContext.setQueryParam("filter[repository_url]", ObjectSerializer_1.ObjectSerializer.serialize(filterRepositoryUrl, "string", ""), "");
|
|
1262
|
+
}
|
|
1263
|
+
if (filterRisksInProduction !== undefined) {
|
|
1264
|
+
requestContext.setQueryParam("filter[risks.in_production]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksInProduction, "boolean", ""), "");
|
|
1265
|
+
}
|
|
1266
|
+
if (filterRisksUnderAttack !== undefined) {
|
|
1267
|
+
requestContext.setQueryParam("filter[risks.under_attack]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksUnderAttack, "boolean", ""), "");
|
|
1268
|
+
}
|
|
1269
|
+
if (filterRisksIsPubliclyAccessible !== undefined) {
|
|
1270
|
+
requestContext.setQueryParam("filter[risks.is_publicly_accessible]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksIsPubliclyAccessible, "boolean", ""), "");
|
|
1271
|
+
}
|
|
1272
|
+
if (filterRisksHasPrivilegedAccess !== undefined) {
|
|
1273
|
+
requestContext.setQueryParam("filter[risks.has_privileged_access]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksHasPrivilegedAccess, "boolean", ""), "");
|
|
1274
|
+
}
|
|
1275
|
+
if (filterRisksHasAccessToSensitiveData !== undefined) {
|
|
1276
|
+
requestContext.setQueryParam("filter[risks.has_access_to_sensitive_data]", ObjectSerializer_1.ObjectSerializer.serialize(filterRisksHasAccessToSensitiveData, "boolean", ""), "");
|
|
1277
|
+
}
|
|
1278
|
+
if (filterEnvironments !== undefined) {
|
|
1279
|
+
requestContext.setQueryParam("filter[environments]", ObjectSerializer_1.ObjectSerializer.serialize(filterEnvironments, "string", ""), "");
|
|
1280
|
+
}
|
|
1281
|
+
if (filterArch !== undefined) {
|
|
1282
|
+
requestContext.setQueryParam("filter[arch]", ObjectSerializer_1.ObjectSerializer.serialize(filterArch, "string", ""), "");
|
|
1283
|
+
}
|
|
1284
|
+
if (filterOperatingSystemName !== undefined) {
|
|
1285
|
+
requestContext.setQueryParam("filter[operating_system.name]", ObjectSerializer_1.ObjectSerializer.serialize(filterOperatingSystemName, "string", ""), "");
|
|
1286
|
+
}
|
|
1287
|
+
if (filterOperatingSystemVersion !== undefined) {
|
|
1288
|
+
requestContext.setQueryParam("filter[operating_system.version]", ObjectSerializer_1.ObjectSerializer.serialize(filterOperatingSystemVersion, "string", ""), "");
|
|
1289
|
+
}
|
|
1290
|
+
// Apply auth methods
|
|
1291
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1292
|
+
"AuthZ",
|
|
1293
|
+
"apiKeyAuth",
|
|
1294
|
+
"appKeyAuth",
|
|
1295
|
+
]);
|
|
1296
|
+
return requestContext;
|
|
1297
|
+
});
|
|
1298
|
+
}
|
|
1299
|
+
muteFindings(body, _options) {
|
|
1300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1301
|
+
const _config = _options || this.configuration;
|
|
1302
|
+
logger_1.logger.warn("Using unstable operation 'muteFindings'");
|
|
1303
|
+
if (!_config.unstableOperations["v2.muteFindings"]) {
|
|
1304
|
+
throw new Error("Unstable operation 'muteFindings' is disabled");
|
|
1305
|
+
}
|
|
1306
|
+
// verify required parameter 'body' is not null or undefined
|
|
1307
|
+
if (body === null || body === undefined) {
|
|
1308
|
+
throw new baseapi_1.RequiredError("body", "muteFindings");
|
|
1309
|
+
}
|
|
1310
|
+
// Path Params
|
|
1311
|
+
const localVarPath = "/api/v2/posture_management/findings";
|
|
1312
|
+
// Make Request Context
|
|
1313
|
+
const requestContext = _config
|
|
1314
|
+
.getServer("v2.SecurityMonitoringApi.muteFindings")
|
|
1315
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1316
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1317
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1318
|
+
// Body Params
|
|
1319
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1320
|
+
"application/json",
|
|
1321
|
+
]);
|
|
1322
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1323
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "BulkMuteFindingsRequest", ""), contentType);
|
|
1324
|
+
requestContext.setBody(serializedBody);
|
|
1325
|
+
// Apply auth methods
|
|
1326
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1327
|
+
"apiKeyAuth",
|
|
1328
|
+
"appKeyAuth",
|
|
1329
|
+
]);
|
|
1330
|
+
return requestContext;
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
patchSignalNotificationRule(id, body, _options) {
|
|
1334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1335
|
+
const _config = _options || this.configuration;
|
|
1336
|
+
// verify required parameter 'id' is not null or undefined
|
|
1337
|
+
if (id === null || id === undefined) {
|
|
1338
|
+
throw new baseapi_1.RequiredError("id", "patchSignalNotificationRule");
|
|
1339
|
+
}
|
|
1340
|
+
// verify required parameter 'body' is not null or undefined
|
|
1341
|
+
if (body === null || body === undefined) {
|
|
1342
|
+
throw new baseapi_1.RequiredError("body", "patchSignalNotificationRule");
|
|
1343
|
+
}
|
|
1344
|
+
// Path Params
|
|
1345
|
+
const localVarPath = "/api/v2/security/signals/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
1346
|
+
// Make Request Context
|
|
1347
|
+
const requestContext = _config
|
|
1348
|
+
.getServer("v2.SecurityMonitoringApi.patchSignalNotificationRule")
|
|
1349
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1350
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1351
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1352
|
+
// Body Params
|
|
1353
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1354
|
+
"application/json",
|
|
1355
|
+
]);
|
|
1356
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1357
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "PatchNotificationRuleParameters", ""), contentType);
|
|
1358
|
+
requestContext.setBody(serializedBody);
|
|
1359
|
+
// Apply auth methods
|
|
1360
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1361
|
+
"AuthZ",
|
|
1362
|
+
"apiKeyAuth",
|
|
1363
|
+
"appKeyAuth",
|
|
1364
|
+
]);
|
|
1365
|
+
return requestContext;
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
patchVulnerabilityNotificationRule(id, body, _options) {
|
|
1369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1370
|
+
const _config = _options || this.configuration;
|
|
1371
|
+
// verify required parameter 'id' is not null or undefined
|
|
1372
|
+
if (id === null || id === undefined) {
|
|
1373
|
+
throw new baseapi_1.RequiredError("id", "patchVulnerabilityNotificationRule");
|
|
1374
|
+
}
|
|
1375
|
+
// verify required parameter 'body' is not null or undefined
|
|
1376
|
+
if (body === null || body === undefined) {
|
|
1377
|
+
throw new baseapi_1.RequiredError("body", "patchVulnerabilityNotificationRule");
|
|
1378
|
+
}
|
|
1379
|
+
// Path Params
|
|
1380
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
1381
|
+
// Make Request Context
|
|
1382
|
+
const requestContext = _config
|
|
1383
|
+
.getServer("v2.SecurityMonitoringApi.patchVulnerabilityNotificationRule")
|
|
1384
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1385
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1386
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1387
|
+
// Body Params
|
|
1388
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
1389
|
+
"application/json",
|
|
1390
|
+
]);
|
|
1391
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
1392
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "PatchNotificationRuleParameters", ""), contentType);
|
|
1393
|
+
requestContext.setBody(serializedBody);
|
|
1394
|
+
// Apply auth methods
|
|
1395
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1396
|
+
"AuthZ",
|
|
1397
|
+
"apiKeyAuth",
|
|
1398
|
+
"appKeyAuth",
|
|
1399
|
+
]);
|
|
1400
|
+
return requestContext;
|
|
1401
|
+
});
|
|
1402
|
+
}
|
|
1403
|
+
runHistoricalJob(body, _options) {
|
|
1404
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1405
|
+
const _config = _options || this.configuration;
|
|
1406
|
+
logger_1.logger.warn("Using unstable operation 'runHistoricalJob'");
|
|
1407
|
+
if (!_config.unstableOperations["v2.runHistoricalJob"]) {
|
|
1408
|
+
throw new Error("Unstable operation 'runHistoricalJob' is disabled");
|
|
1409
|
+
}
|
|
1410
|
+
// verify required parameter 'body' is not null or undefined
|
|
1411
|
+
if (body === null || body === undefined) {
|
|
1412
|
+
throw new baseapi_1.RequiredError("body", "runHistoricalJob");
|
|
1413
|
+
}
|
|
1414
|
+
// Path Params
|
|
1415
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs";
|
|
1416
|
+
// Make Request Context
|
|
1417
|
+
const requestContext = _config
|
|
1418
|
+
.getServer("v2.SecurityMonitoringApi.runHistoricalJob")
|
|
1419
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
1420
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1421
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
862
1422
|
// Body Params
|
|
863
1423
|
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
864
1424
|
"application/json",
|
|
@@ -1104,27 +1664,548 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1104
1664
|
return requestContext;
|
|
1105
1665
|
});
|
|
1106
1666
|
}
|
|
1107
|
-
}
|
|
1108
|
-
exports.SecurityMonitoringApiRequestFactory = SecurityMonitoringApiRequestFactory;
|
|
1109
|
-
class SecurityMonitoringApiResponseProcessor {
|
|
1667
|
+
}
|
|
1668
|
+
exports.SecurityMonitoringApiRequestFactory = SecurityMonitoringApiRequestFactory;
|
|
1669
|
+
class SecurityMonitoringApiResponseProcessor {
|
|
1670
|
+
/**
|
|
1671
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1672
|
+
* to the expected objects
|
|
1673
|
+
*
|
|
1674
|
+
* @params response Response returned by the server for a request to cancelHistoricalJob
|
|
1675
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1676
|
+
*/
|
|
1677
|
+
cancelHistoricalJob(response) {
|
|
1678
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1679
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1680
|
+
if (response.httpStatusCode === 204) {
|
|
1681
|
+
return;
|
|
1682
|
+
}
|
|
1683
|
+
if (response.httpStatusCode === 400 ||
|
|
1684
|
+
response.httpStatusCode === 401 ||
|
|
1685
|
+
response.httpStatusCode === 403 ||
|
|
1686
|
+
response.httpStatusCode === 404 ||
|
|
1687
|
+
response.httpStatusCode === 409 ||
|
|
1688
|
+
response.httpStatusCode === 429) {
|
|
1689
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1690
|
+
let body;
|
|
1691
|
+
try {
|
|
1692
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1693
|
+
}
|
|
1694
|
+
catch (error) {
|
|
1695
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1696
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1697
|
+
}
|
|
1698
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1699
|
+
}
|
|
1700
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1701
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1702
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
1703
|
+
return body;
|
|
1704
|
+
}
|
|
1705
|
+
const body = (yield response.body.text()) || "";
|
|
1706
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1707
|
+
});
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1711
|
+
* to the expected objects
|
|
1712
|
+
*
|
|
1713
|
+
* @params response Response returned by the server for a request to convertExistingSecurityMonitoringRule
|
|
1714
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1715
|
+
*/
|
|
1716
|
+
convertExistingSecurityMonitoringRule(response) {
|
|
1717
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1718
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1719
|
+
if (response.httpStatusCode === 200) {
|
|
1720
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleConvertResponse");
|
|
1721
|
+
return body;
|
|
1722
|
+
}
|
|
1723
|
+
if (response.httpStatusCode === 400 ||
|
|
1724
|
+
response.httpStatusCode === 403 ||
|
|
1725
|
+
response.httpStatusCode === 404 ||
|
|
1726
|
+
response.httpStatusCode === 429) {
|
|
1727
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1728
|
+
let body;
|
|
1729
|
+
try {
|
|
1730
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1731
|
+
}
|
|
1732
|
+
catch (error) {
|
|
1733
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1734
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1735
|
+
}
|
|
1736
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1737
|
+
}
|
|
1738
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1739
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1740
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleConvertResponse", "");
|
|
1741
|
+
return body;
|
|
1742
|
+
}
|
|
1743
|
+
const body = (yield response.body.text()) || "";
|
|
1744
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1745
|
+
});
|
|
1746
|
+
}
|
|
1747
|
+
/**
|
|
1748
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1749
|
+
* to the expected objects
|
|
1750
|
+
*
|
|
1751
|
+
* @params response Response returned by the server for a request to convertJobResultToSignal
|
|
1752
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1753
|
+
*/
|
|
1754
|
+
convertJobResultToSignal(response) {
|
|
1755
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1756
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1757
|
+
if (response.httpStatusCode === 204) {
|
|
1758
|
+
return;
|
|
1759
|
+
}
|
|
1760
|
+
if (response.httpStatusCode === 400 ||
|
|
1761
|
+
response.httpStatusCode === 401 ||
|
|
1762
|
+
response.httpStatusCode === 403 ||
|
|
1763
|
+
response.httpStatusCode === 404 ||
|
|
1764
|
+
response.httpStatusCode === 429) {
|
|
1765
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1766
|
+
let body;
|
|
1767
|
+
try {
|
|
1768
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1769
|
+
}
|
|
1770
|
+
catch (error) {
|
|
1771
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1772
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1773
|
+
}
|
|
1774
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1775
|
+
}
|
|
1776
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1777
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1778
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
1779
|
+
return body;
|
|
1780
|
+
}
|
|
1781
|
+
const body = (yield response.body.text()) || "";
|
|
1782
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1787
|
+
* to the expected objects
|
|
1788
|
+
*
|
|
1789
|
+
* @params response Response returned by the server for a request to convertSecurityMonitoringRuleFromJSONToTerraform
|
|
1790
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1791
|
+
*/
|
|
1792
|
+
convertSecurityMonitoringRuleFromJSONToTerraform(response) {
|
|
1793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1794
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1795
|
+
if (response.httpStatusCode === 200) {
|
|
1796
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleConvertResponse");
|
|
1797
|
+
return body;
|
|
1798
|
+
}
|
|
1799
|
+
if (response.httpStatusCode === 400 ||
|
|
1800
|
+
response.httpStatusCode === 401 ||
|
|
1801
|
+
response.httpStatusCode === 403 ||
|
|
1802
|
+
response.httpStatusCode === 404 ||
|
|
1803
|
+
response.httpStatusCode === 429) {
|
|
1804
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1805
|
+
let body;
|
|
1806
|
+
try {
|
|
1807
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1808
|
+
}
|
|
1809
|
+
catch (error) {
|
|
1810
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1811
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1812
|
+
}
|
|
1813
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1814
|
+
}
|
|
1815
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1816
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1817
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleConvertResponse", "");
|
|
1818
|
+
return body;
|
|
1819
|
+
}
|
|
1820
|
+
const body = (yield response.body.text()) || "";
|
|
1821
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1826
|
+
* to the expected objects
|
|
1827
|
+
*
|
|
1828
|
+
* @params response Response returned by the server for a request to createSecurityFilter
|
|
1829
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1830
|
+
*/
|
|
1831
|
+
createSecurityFilter(response) {
|
|
1832
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1833
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1834
|
+
if (response.httpStatusCode === 200) {
|
|
1835
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse");
|
|
1836
|
+
return body;
|
|
1837
|
+
}
|
|
1838
|
+
if (response.httpStatusCode === 400 ||
|
|
1839
|
+
response.httpStatusCode === 403 ||
|
|
1840
|
+
response.httpStatusCode === 409 ||
|
|
1841
|
+
response.httpStatusCode === 429) {
|
|
1842
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1843
|
+
let body;
|
|
1844
|
+
try {
|
|
1845
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1846
|
+
}
|
|
1847
|
+
catch (error) {
|
|
1848
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1849
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1850
|
+
}
|
|
1851
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1852
|
+
}
|
|
1853
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1854
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1855
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse", "");
|
|
1856
|
+
return body;
|
|
1857
|
+
}
|
|
1858
|
+
const body = (yield response.body.text()) || "";
|
|
1859
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1864
|
+
* to the expected objects
|
|
1865
|
+
*
|
|
1866
|
+
* @params response Response returned by the server for a request to createSecurityMonitoringRule
|
|
1867
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1868
|
+
*/
|
|
1869
|
+
createSecurityMonitoringRule(response) {
|
|
1870
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1871
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1872
|
+
if (response.httpStatusCode === 200) {
|
|
1873
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleResponse");
|
|
1874
|
+
return body;
|
|
1875
|
+
}
|
|
1876
|
+
if (response.httpStatusCode === 400 ||
|
|
1877
|
+
response.httpStatusCode === 403 ||
|
|
1878
|
+
response.httpStatusCode === 429) {
|
|
1879
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1880
|
+
let body;
|
|
1881
|
+
try {
|
|
1882
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1883
|
+
}
|
|
1884
|
+
catch (error) {
|
|
1885
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1886
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1887
|
+
}
|
|
1888
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1889
|
+
}
|
|
1890
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1891
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1892
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleResponse", "");
|
|
1893
|
+
return body;
|
|
1894
|
+
}
|
|
1895
|
+
const body = (yield response.body.text()) || "";
|
|
1896
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1897
|
+
});
|
|
1898
|
+
}
|
|
1899
|
+
/**
|
|
1900
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1901
|
+
* to the expected objects
|
|
1902
|
+
*
|
|
1903
|
+
* @params response Response returned by the server for a request to createSecurityMonitoringSuppression
|
|
1904
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1905
|
+
*/
|
|
1906
|
+
createSecurityMonitoringSuppression(response) {
|
|
1907
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1908
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1909
|
+
if (response.httpStatusCode === 200) {
|
|
1910
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionResponse");
|
|
1911
|
+
return body;
|
|
1912
|
+
}
|
|
1913
|
+
if (response.httpStatusCode === 400 ||
|
|
1914
|
+
response.httpStatusCode === 403 ||
|
|
1915
|
+
response.httpStatusCode === 409 ||
|
|
1916
|
+
response.httpStatusCode === 429) {
|
|
1917
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1918
|
+
let body;
|
|
1919
|
+
try {
|
|
1920
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1921
|
+
}
|
|
1922
|
+
catch (error) {
|
|
1923
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1924
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1925
|
+
}
|
|
1926
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1927
|
+
}
|
|
1928
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1929
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1930
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionResponse", "");
|
|
1931
|
+
return body;
|
|
1932
|
+
}
|
|
1933
|
+
const body = (yield response.body.text()) || "";
|
|
1934
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1939
|
+
* to the expected objects
|
|
1940
|
+
*
|
|
1941
|
+
* @params response Response returned by the server for a request to createSignalNotificationRule
|
|
1942
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1943
|
+
*/
|
|
1944
|
+
createSignalNotificationRule(response) {
|
|
1945
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1946
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1947
|
+
if (response.httpStatusCode === 201) {
|
|
1948
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
1949
|
+
return body;
|
|
1950
|
+
}
|
|
1951
|
+
if (response.httpStatusCode === 400 ||
|
|
1952
|
+
response.httpStatusCode === 403 ||
|
|
1953
|
+
response.httpStatusCode === 429) {
|
|
1954
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1955
|
+
let body;
|
|
1956
|
+
try {
|
|
1957
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1958
|
+
}
|
|
1959
|
+
catch (error) {
|
|
1960
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1961
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1962
|
+
}
|
|
1963
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
1964
|
+
}
|
|
1965
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1966
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1967
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
1968
|
+
return body;
|
|
1969
|
+
}
|
|
1970
|
+
const body = (yield response.body.text()) || "";
|
|
1971
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
1972
|
+
});
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1976
|
+
* to the expected objects
|
|
1977
|
+
*
|
|
1978
|
+
* @params response Response returned by the server for a request to createVulnerabilityNotificationRule
|
|
1979
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
1980
|
+
*/
|
|
1981
|
+
createVulnerabilityNotificationRule(response) {
|
|
1982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1983
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1984
|
+
if (response.httpStatusCode === 201) {
|
|
1985
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
1986
|
+
return body;
|
|
1987
|
+
}
|
|
1988
|
+
if (response.httpStatusCode === 400 ||
|
|
1989
|
+
response.httpStatusCode === 403 ||
|
|
1990
|
+
response.httpStatusCode === 429) {
|
|
1991
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1992
|
+
let body;
|
|
1993
|
+
try {
|
|
1994
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1995
|
+
}
|
|
1996
|
+
catch (error) {
|
|
1997
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
1998
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
1999
|
+
}
|
|
2000
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2001
|
+
}
|
|
2002
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2003
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2004
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
2005
|
+
return body;
|
|
2006
|
+
}
|
|
2007
|
+
const body = (yield response.body.text()) || "";
|
|
2008
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2013
|
+
* to the expected objects
|
|
2014
|
+
*
|
|
2015
|
+
* @params response Response returned by the server for a request to deleteHistoricalJob
|
|
2016
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2017
|
+
*/
|
|
2018
|
+
deleteHistoricalJob(response) {
|
|
2019
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2020
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2021
|
+
if (response.httpStatusCode === 204) {
|
|
2022
|
+
return;
|
|
2023
|
+
}
|
|
2024
|
+
if (response.httpStatusCode === 400 ||
|
|
2025
|
+
response.httpStatusCode === 401 ||
|
|
2026
|
+
response.httpStatusCode === 403 ||
|
|
2027
|
+
response.httpStatusCode === 404 ||
|
|
2028
|
+
response.httpStatusCode === 409 ||
|
|
2029
|
+
response.httpStatusCode === 429) {
|
|
2030
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2031
|
+
let body;
|
|
2032
|
+
try {
|
|
2033
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2034
|
+
}
|
|
2035
|
+
catch (error) {
|
|
2036
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2037
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2038
|
+
}
|
|
2039
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2040
|
+
}
|
|
2041
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2042
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2043
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
2044
|
+
return body;
|
|
2045
|
+
}
|
|
2046
|
+
const body = (yield response.body.text()) || "";
|
|
2047
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2048
|
+
});
|
|
2049
|
+
}
|
|
2050
|
+
/**
|
|
2051
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2052
|
+
* to the expected objects
|
|
2053
|
+
*
|
|
2054
|
+
* @params response Response returned by the server for a request to deleteSecurityFilter
|
|
2055
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2056
|
+
*/
|
|
2057
|
+
deleteSecurityFilter(response) {
|
|
2058
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2059
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2060
|
+
if (response.httpStatusCode === 204) {
|
|
2061
|
+
return;
|
|
2062
|
+
}
|
|
2063
|
+
if (response.httpStatusCode === 403 ||
|
|
2064
|
+
response.httpStatusCode === 404 ||
|
|
2065
|
+
response.httpStatusCode === 429) {
|
|
2066
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2067
|
+
let body;
|
|
2068
|
+
try {
|
|
2069
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2070
|
+
}
|
|
2071
|
+
catch (error) {
|
|
2072
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2073
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2074
|
+
}
|
|
2075
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2076
|
+
}
|
|
2077
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2078
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2079
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
2080
|
+
return body;
|
|
2081
|
+
}
|
|
2082
|
+
const body = (yield response.body.text()) || "";
|
|
2083
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2084
|
+
});
|
|
2085
|
+
}
|
|
2086
|
+
/**
|
|
2087
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2088
|
+
* to the expected objects
|
|
2089
|
+
*
|
|
2090
|
+
* @params response Response returned by the server for a request to deleteSecurityMonitoringRule
|
|
2091
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2092
|
+
*/
|
|
2093
|
+
deleteSecurityMonitoringRule(response) {
|
|
2094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2096
|
+
if (response.httpStatusCode === 204) {
|
|
2097
|
+
return;
|
|
2098
|
+
}
|
|
2099
|
+
if (response.httpStatusCode === 403 ||
|
|
2100
|
+
response.httpStatusCode === 404 ||
|
|
2101
|
+
response.httpStatusCode === 429) {
|
|
2102
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2103
|
+
let body;
|
|
2104
|
+
try {
|
|
2105
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2106
|
+
}
|
|
2107
|
+
catch (error) {
|
|
2108
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2109
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2110
|
+
}
|
|
2111
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2112
|
+
}
|
|
2113
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2114
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2115
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
2116
|
+
return body;
|
|
2117
|
+
}
|
|
2118
|
+
const body = (yield response.body.text()) || "";
|
|
2119
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2120
|
+
});
|
|
2121
|
+
}
|
|
2122
|
+
/**
|
|
2123
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2124
|
+
* to the expected objects
|
|
2125
|
+
*
|
|
2126
|
+
* @params response Response returned by the server for a request to deleteSecurityMonitoringSuppression
|
|
2127
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2128
|
+
*/
|
|
2129
|
+
deleteSecurityMonitoringSuppression(response) {
|
|
2130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2131
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2132
|
+
if (response.httpStatusCode === 204) {
|
|
2133
|
+
return;
|
|
2134
|
+
}
|
|
2135
|
+
if (response.httpStatusCode === 403 ||
|
|
2136
|
+
response.httpStatusCode === 404 ||
|
|
2137
|
+
response.httpStatusCode === 429) {
|
|
2138
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2139
|
+
let body;
|
|
2140
|
+
try {
|
|
2141
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2142
|
+
}
|
|
2143
|
+
catch (error) {
|
|
2144
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2145
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2146
|
+
}
|
|
2147
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2148
|
+
}
|
|
2149
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2150
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2151
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
2152
|
+
return body;
|
|
2153
|
+
}
|
|
2154
|
+
const body = (yield response.body.text()) || "";
|
|
2155
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2156
|
+
});
|
|
2157
|
+
}
|
|
2158
|
+
/**
|
|
2159
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2160
|
+
* to the expected objects
|
|
2161
|
+
*
|
|
2162
|
+
* @params response Response returned by the server for a request to deleteSignalNotificationRule
|
|
2163
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
2164
|
+
*/
|
|
2165
|
+
deleteSignalNotificationRule(response) {
|
|
2166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2167
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2168
|
+
if (response.httpStatusCode === 204) {
|
|
2169
|
+
return;
|
|
2170
|
+
}
|
|
2171
|
+
if (response.httpStatusCode === 403 ||
|
|
2172
|
+
response.httpStatusCode === 404 ||
|
|
2173
|
+
response.httpStatusCode === 429) {
|
|
2174
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2175
|
+
let body;
|
|
2176
|
+
try {
|
|
2177
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
2178
|
+
}
|
|
2179
|
+
catch (error) {
|
|
2180
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2181
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2182
|
+
}
|
|
2183
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2184
|
+
}
|
|
2185
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2186
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2187
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
2188
|
+
return body;
|
|
2189
|
+
}
|
|
2190
|
+
const body = (yield response.body.text()) || "";
|
|
2191
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
1110
2194
|
/**
|
|
1111
2195
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1112
2196
|
* to the expected objects
|
|
1113
2197
|
*
|
|
1114
|
-
* @params response Response returned by the server for a request to
|
|
2198
|
+
* @params response Response returned by the server for a request to deleteVulnerabilityNotificationRule
|
|
1115
2199
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1116
2200
|
*/
|
|
1117
|
-
|
|
2201
|
+
deleteVulnerabilityNotificationRule(response) {
|
|
1118
2202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1119
2203
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1120
2204
|
if (response.httpStatusCode === 204) {
|
|
1121
2205
|
return;
|
|
1122
2206
|
}
|
|
1123
|
-
if (response.httpStatusCode ===
|
|
1124
|
-
response.httpStatusCode === 401 ||
|
|
1125
|
-
response.httpStatusCode === 403 ||
|
|
2207
|
+
if (response.httpStatusCode === 403 ||
|
|
1126
2208
|
response.httpStatusCode === 404 ||
|
|
1127
|
-
response.httpStatusCode === 409 ||
|
|
1128
2209
|
response.httpStatusCode === 429) {
|
|
1129
2210
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1130
2211
|
let body;
|
|
@@ -1150,14 +2231,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1150
2231
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1151
2232
|
* to the expected objects
|
|
1152
2233
|
*
|
|
1153
|
-
* @params response Response returned by the server for a request to
|
|
2234
|
+
* @params response Response returned by the server for a request to editSecurityMonitoringSignalAssignee
|
|
1154
2235
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1155
2236
|
*/
|
|
1156
|
-
|
|
2237
|
+
editSecurityMonitoringSignalAssignee(response) {
|
|
1157
2238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1158
2239
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1159
2240
|
if (response.httpStatusCode === 200) {
|
|
1160
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2241
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse");
|
|
1161
2242
|
return body;
|
|
1162
2243
|
}
|
|
1163
2244
|
if (response.httpStatusCode === 400 ||
|
|
@@ -1177,7 +2258,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1177
2258
|
}
|
|
1178
2259
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1179
2260
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1180
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2261
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse", "");
|
|
1181
2262
|
return body;
|
|
1182
2263
|
}
|
|
1183
2264
|
const body = (yield response.body.text()) || "";
|
|
@@ -1188,17 +2269,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1188
2269
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1189
2270
|
* to the expected objects
|
|
1190
2271
|
*
|
|
1191
|
-
* @params response Response returned by the server for a request to
|
|
2272
|
+
* @params response Response returned by the server for a request to editSecurityMonitoringSignalIncidents
|
|
1192
2273
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1193
2274
|
*/
|
|
1194
|
-
|
|
2275
|
+
editSecurityMonitoringSignalIncidents(response) {
|
|
1195
2276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1196
2277
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1197
|
-
if (response.httpStatusCode ===
|
|
1198
|
-
|
|
2278
|
+
if (response.httpStatusCode === 200) {
|
|
2279
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse");
|
|
2280
|
+
return body;
|
|
1199
2281
|
}
|
|
1200
2282
|
if (response.httpStatusCode === 400 ||
|
|
1201
|
-
response.httpStatusCode === 401 ||
|
|
1202
2283
|
response.httpStatusCode === 403 ||
|
|
1203
2284
|
response.httpStatusCode === 404 ||
|
|
1204
2285
|
response.httpStatusCode === 429) {
|
|
@@ -1215,7 +2296,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1215
2296
|
}
|
|
1216
2297
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1217
2298
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1218
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2299
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse", "");
|
|
1219
2300
|
return body;
|
|
1220
2301
|
}
|
|
1221
2302
|
const body = (yield response.body.text()) || "";
|
|
@@ -1226,18 +2307,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1226
2307
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1227
2308
|
* to the expected objects
|
|
1228
2309
|
*
|
|
1229
|
-
* @params response Response returned by the server for a request to
|
|
2310
|
+
* @params response Response returned by the server for a request to editSecurityMonitoringSignalState
|
|
1230
2311
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1231
2312
|
*/
|
|
1232
|
-
|
|
2313
|
+
editSecurityMonitoringSignalState(response) {
|
|
1233
2314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1234
2315
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1235
2316
|
if (response.httpStatusCode === 200) {
|
|
1236
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2317
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse");
|
|
1237
2318
|
return body;
|
|
1238
2319
|
}
|
|
1239
2320
|
if (response.httpStatusCode === 400 ||
|
|
1240
|
-
response.httpStatusCode === 401 ||
|
|
1241
2321
|
response.httpStatusCode === 403 ||
|
|
1242
2322
|
response.httpStatusCode === 404 ||
|
|
1243
2323
|
response.httpStatusCode === 429) {
|
|
@@ -1254,7 +2334,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1254
2334
|
}
|
|
1255
2335
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1256
2336
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1257
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2337
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse", "");
|
|
1258
2338
|
return body;
|
|
1259
2339
|
}
|
|
1260
2340
|
const body = (yield response.body.text()) || "";
|
|
@@ -1265,24 +2345,24 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1265
2345
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1266
2346
|
* to the expected objects
|
|
1267
2347
|
*
|
|
1268
|
-
* @params response Response returned by the server for a request to
|
|
2348
|
+
* @params response Response returned by the server for a request to getFinding
|
|
1269
2349
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1270
2350
|
*/
|
|
1271
|
-
|
|
2351
|
+
getFinding(response) {
|
|
1272
2352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1273
2353
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1274
2354
|
if (response.httpStatusCode === 200) {
|
|
1275
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2355
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetFindingResponse");
|
|
1276
2356
|
return body;
|
|
1277
2357
|
}
|
|
1278
2358
|
if (response.httpStatusCode === 400 ||
|
|
1279
2359
|
response.httpStatusCode === 403 ||
|
|
1280
|
-
response.httpStatusCode ===
|
|
2360
|
+
response.httpStatusCode === 404 ||
|
|
1281
2361
|
response.httpStatusCode === 429) {
|
|
1282
2362
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1283
2363
|
let body;
|
|
1284
2364
|
try {
|
|
1285
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
2365
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
1286
2366
|
}
|
|
1287
2367
|
catch (error) {
|
|
1288
2368
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -1292,7 +2372,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1292
2372
|
}
|
|
1293
2373
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1294
2374
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1295
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2375
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetFindingResponse", "");
|
|
1296
2376
|
return body;
|
|
1297
2377
|
}
|
|
1298
2378
|
const body = (yield response.body.text()) || "";
|
|
@@ -1303,18 +2383,19 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1303
2383
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1304
2384
|
* to the expected objects
|
|
1305
2385
|
*
|
|
1306
|
-
* @params response Response returned by the server for a request to
|
|
2386
|
+
* @params response Response returned by the server for a request to getHistoricalJob
|
|
1307
2387
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1308
2388
|
*/
|
|
1309
|
-
|
|
2389
|
+
getHistoricalJob(response) {
|
|
1310
2390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1311
2391
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1312
2392
|
if (response.httpStatusCode === 200) {
|
|
1313
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2393
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "HistoricalJobResponse");
|
|
1314
2394
|
return body;
|
|
1315
2395
|
}
|
|
1316
2396
|
if (response.httpStatusCode === 400 ||
|
|
1317
2397
|
response.httpStatusCode === 403 ||
|
|
2398
|
+
response.httpStatusCode === 404 ||
|
|
1318
2399
|
response.httpStatusCode === 429) {
|
|
1319
2400
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1320
2401
|
let body;
|
|
@@ -1329,7 +2410,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1329
2410
|
}
|
|
1330
2411
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1331
2412
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1332
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2413
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "HistoricalJobResponse", "");
|
|
1333
2414
|
return body;
|
|
1334
2415
|
}
|
|
1335
2416
|
const body = (yield response.body.text()) || "";
|
|
@@ -1340,19 +2421,19 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1340
2421
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1341
2422
|
* to the expected objects
|
|
1342
2423
|
*
|
|
1343
|
-
* @params response Response returned by the server for a request to
|
|
2424
|
+
* @params response Response returned by the server for a request to getRuleVersionHistory
|
|
1344
2425
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1345
2426
|
*/
|
|
1346
|
-
|
|
2427
|
+
getRuleVersionHistory(response) {
|
|
1347
2428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1348
2429
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1349
2430
|
if (response.httpStatusCode === 200) {
|
|
1350
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2431
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetRuleVersionHistoryResponse");
|
|
1351
2432
|
return body;
|
|
1352
2433
|
}
|
|
1353
2434
|
if (response.httpStatusCode === 400 ||
|
|
1354
2435
|
response.httpStatusCode === 403 ||
|
|
1355
|
-
response.httpStatusCode ===
|
|
2436
|
+
response.httpStatusCode === 404 ||
|
|
1356
2437
|
response.httpStatusCode === 429) {
|
|
1357
2438
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1358
2439
|
let body;
|
|
@@ -1367,7 +2448,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1367
2448
|
}
|
|
1368
2449
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1369
2450
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1370
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2451
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetRuleVersionHistoryResponse", "");
|
|
1371
2452
|
return body;
|
|
1372
2453
|
}
|
|
1373
2454
|
const body = (yield response.body.text()) || "";
|
|
@@ -1378,21 +2459,31 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1378
2459
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1379
2460
|
* to the expected objects
|
|
1380
2461
|
*
|
|
1381
|
-
* @params response Response returned by the server for a request to
|
|
2462
|
+
* @params response Response returned by the server for a request to getSBOM
|
|
1382
2463
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1383
2464
|
*/
|
|
1384
|
-
|
|
2465
|
+
getSBOM(response) {
|
|
1385
2466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1386
2467
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1387
|
-
if (response.httpStatusCode ===
|
|
1388
|
-
|
|
2468
|
+
if (response.httpStatusCode === 200) {
|
|
2469
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetSBOMResponse");
|
|
2470
|
+
return body;
|
|
1389
2471
|
}
|
|
1390
2472
|
if (response.httpStatusCode === 400 ||
|
|
1391
|
-
response.httpStatusCode === 401 ||
|
|
1392
2473
|
response.httpStatusCode === 403 ||
|
|
1393
|
-
response.httpStatusCode === 404
|
|
1394
|
-
response.
|
|
1395
|
-
|
|
2474
|
+
response.httpStatusCode === 404) {
|
|
2475
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2476
|
+
let body;
|
|
2477
|
+
try {
|
|
2478
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2479
|
+
}
|
|
2480
|
+
catch (error) {
|
|
2481
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
2482
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
2483
|
+
}
|
|
2484
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2485
|
+
}
|
|
2486
|
+
if (response.httpStatusCode === 429) {
|
|
1396
2487
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1397
2488
|
let body;
|
|
1398
2489
|
try {
|
|
@@ -1406,7 +2497,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1406
2497
|
}
|
|
1407
2498
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1408
2499
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1409
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2500
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetSBOMResponse", "");
|
|
1410
2501
|
return body;
|
|
1411
2502
|
}
|
|
1412
2503
|
const body = (yield response.body.text()) || "";
|
|
@@ -1417,14 +2508,15 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1417
2508
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1418
2509
|
* to the expected objects
|
|
1419
2510
|
*
|
|
1420
|
-
* @params response Response returned by the server for a request to
|
|
2511
|
+
* @params response Response returned by the server for a request to getSecurityFilter
|
|
1421
2512
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1422
2513
|
*/
|
|
1423
|
-
|
|
2514
|
+
getSecurityFilter(response) {
|
|
1424
2515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1425
2516
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1426
|
-
if (response.httpStatusCode ===
|
|
1427
|
-
|
|
2517
|
+
if (response.httpStatusCode === 200) {
|
|
2518
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse");
|
|
2519
|
+
return body;
|
|
1428
2520
|
}
|
|
1429
2521
|
if (response.httpStatusCode === 403 ||
|
|
1430
2522
|
response.httpStatusCode === 404 ||
|
|
@@ -1442,7 +2534,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1442
2534
|
}
|
|
1443
2535
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1444
2536
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1445
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2537
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse", "");
|
|
1446
2538
|
return body;
|
|
1447
2539
|
}
|
|
1448
2540
|
const body = (yield response.body.text()) || "";
|
|
@@ -1453,18 +2545,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1453
2545
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1454
2546
|
* to the expected objects
|
|
1455
2547
|
*
|
|
1456
|
-
* @params response Response returned by the server for a request to
|
|
2548
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringRule
|
|
1457
2549
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1458
2550
|
*/
|
|
1459
|
-
|
|
2551
|
+
getSecurityMonitoringRule(response) {
|
|
1460
2552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1461
2553
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1462
|
-
if (response.httpStatusCode ===
|
|
1463
|
-
|
|
2554
|
+
if (response.httpStatusCode === 200) {
|
|
2555
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleResponse");
|
|
2556
|
+
return body;
|
|
1464
2557
|
}
|
|
1465
|
-
if (response.httpStatusCode ===
|
|
1466
|
-
response.httpStatusCode === 404 ||
|
|
1467
|
-
response.httpStatusCode === 429) {
|
|
2558
|
+
if (response.httpStatusCode === 404 || response.httpStatusCode === 429) {
|
|
1468
2559
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1469
2560
|
let body;
|
|
1470
2561
|
try {
|
|
@@ -1478,7 +2569,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1478
2569
|
}
|
|
1479
2570
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1480
2571
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1481
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2572
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringRuleResponse", "");
|
|
1482
2573
|
return body;
|
|
1483
2574
|
}
|
|
1484
2575
|
const body = (yield response.body.text()) || "";
|
|
@@ -1489,18 +2580,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1489
2580
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1490
2581
|
* to the expected objects
|
|
1491
2582
|
*
|
|
1492
|
-
* @params response Response returned by the server for a request to
|
|
2583
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringSignal
|
|
1493
2584
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1494
2585
|
*/
|
|
1495
|
-
|
|
2586
|
+
getSecurityMonitoringSignal(response) {
|
|
1496
2587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1497
2588
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1498
|
-
if (response.httpStatusCode ===
|
|
1499
|
-
|
|
2589
|
+
if (response.httpStatusCode === 200) {
|
|
2590
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalResponse");
|
|
2591
|
+
return body;
|
|
1500
2592
|
}
|
|
1501
|
-
if (response.httpStatusCode ===
|
|
1502
|
-
response.httpStatusCode === 404 ||
|
|
1503
|
-
response.httpStatusCode === 429) {
|
|
2593
|
+
if (response.httpStatusCode === 404 || response.httpStatusCode === 429) {
|
|
1504
2594
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1505
2595
|
let body;
|
|
1506
2596
|
try {
|
|
@@ -1514,7 +2604,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1514
2604
|
}
|
|
1515
2605
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1516
2606
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1517
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2607
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalResponse", "");
|
|
1518
2608
|
return body;
|
|
1519
2609
|
}
|
|
1520
2610
|
const body = (yield response.body.text()) || "";
|
|
@@ -1525,18 +2615,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1525
2615
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1526
2616
|
* to the expected objects
|
|
1527
2617
|
*
|
|
1528
|
-
* @params response Response returned by the server for a request to
|
|
2618
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringSuppression
|
|
1529
2619
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1530
2620
|
*/
|
|
1531
|
-
|
|
2621
|
+
getSecurityMonitoringSuppression(response) {
|
|
1532
2622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1533
2623
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1534
2624
|
if (response.httpStatusCode === 200) {
|
|
1535
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2625
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionResponse");
|
|
1536
2626
|
return body;
|
|
1537
2627
|
}
|
|
1538
|
-
if (response.httpStatusCode ===
|
|
1539
|
-
response.httpStatusCode === 403 ||
|
|
2628
|
+
if (response.httpStatusCode === 403 ||
|
|
1540
2629
|
response.httpStatusCode === 404 ||
|
|
1541
2630
|
response.httpStatusCode === 429) {
|
|
1542
2631
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -1552,7 +2641,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1552
2641
|
}
|
|
1553
2642
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1554
2643
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1555
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2644
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionResponse", "");
|
|
1556
2645
|
return body;
|
|
1557
2646
|
}
|
|
1558
2647
|
const body = (yield response.body.text()) || "";
|
|
@@ -1563,14 +2652,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1563
2652
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1564
2653
|
* to the expected objects
|
|
1565
2654
|
*
|
|
1566
|
-
* @params response Response returned by the server for a request to
|
|
2655
|
+
* @params response Response returned by the server for a request to getSignalNotificationRule
|
|
1567
2656
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1568
2657
|
*/
|
|
1569
|
-
|
|
2658
|
+
getSignalNotificationRule(response) {
|
|
1570
2659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
2660
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1572
2661
|
if (response.httpStatusCode === 200) {
|
|
1573
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2662
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
1574
2663
|
return body;
|
|
1575
2664
|
}
|
|
1576
2665
|
if (response.httpStatusCode === 400 ||
|
|
@@ -1590,7 +2679,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1590
2679
|
}
|
|
1591
2680
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1592
2681
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1593
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2682
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
1594
2683
|
return body;
|
|
1595
2684
|
}
|
|
1596
2685
|
const body = (yield response.body.text()) || "";
|
|
@@ -1601,20 +2690,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1601
2690
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1602
2691
|
* to the expected objects
|
|
1603
2692
|
*
|
|
1604
|
-
* @params response Response returned by the server for a request to
|
|
2693
|
+
* @params response Response returned by the server for a request to getSignalNotificationRules
|
|
1605
2694
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1606
2695
|
*/
|
|
1607
|
-
|
|
2696
|
+
getSignalNotificationRules(response) {
|
|
1608
2697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1609
2698
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1610
2699
|
if (response.httpStatusCode === 200) {
|
|
1611
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2700
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any");
|
|
1612
2701
|
return body;
|
|
1613
2702
|
}
|
|
1614
|
-
if (response.httpStatusCode ===
|
|
1615
|
-
response.httpStatusCode === 403 ||
|
|
1616
|
-
response.httpStatusCode === 404 ||
|
|
1617
|
-
response.httpStatusCode === 429) {
|
|
2703
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1618
2704
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1619
2705
|
let body;
|
|
1620
2706
|
try {
|
|
@@ -1628,7 +2714,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1628
2714
|
}
|
|
1629
2715
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1630
2716
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1631
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2717
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any", "");
|
|
1632
2718
|
return body;
|
|
1633
2719
|
}
|
|
1634
2720
|
const body = (yield response.body.text()) || "";
|
|
@@ -1639,14 +2725,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1639
2725
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1640
2726
|
* to the expected objects
|
|
1641
2727
|
*
|
|
1642
|
-
* @params response Response returned by the server for a request to
|
|
2728
|
+
* @params response Response returned by the server for a request to getVulnerabilityNotificationRule
|
|
1643
2729
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1644
2730
|
*/
|
|
1645
|
-
|
|
2731
|
+
getVulnerabilityNotificationRule(response) {
|
|
1646
2732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1647
2733
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1648
2734
|
if (response.httpStatusCode === 200) {
|
|
1649
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2735
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
1650
2736
|
return body;
|
|
1651
2737
|
}
|
|
1652
2738
|
if (response.httpStatusCode === 400 ||
|
|
@@ -1656,7 +2742,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1656
2742
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1657
2743
|
let body;
|
|
1658
2744
|
try {
|
|
1659
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
2745
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1660
2746
|
}
|
|
1661
2747
|
catch (error) {
|
|
1662
2748
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -1666,7 +2752,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1666
2752
|
}
|
|
1667
2753
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1668
2754
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1669
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2755
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
1670
2756
|
return body;
|
|
1671
2757
|
}
|
|
1672
2758
|
const body = (yield response.body.text()) || "";
|
|
@@ -1677,20 +2763,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1677
2763
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1678
2764
|
* to the expected objects
|
|
1679
2765
|
*
|
|
1680
|
-
* @params response Response returned by the server for a request to
|
|
2766
|
+
* @params response Response returned by the server for a request to getVulnerabilityNotificationRules
|
|
1681
2767
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1682
2768
|
*/
|
|
1683
|
-
|
|
2769
|
+
getVulnerabilityNotificationRules(response) {
|
|
1684
2770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1685
2771
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1686
2772
|
if (response.httpStatusCode === 200) {
|
|
1687
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2773
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any");
|
|
1688
2774
|
return body;
|
|
1689
2775
|
}
|
|
1690
|
-
if (response.httpStatusCode ===
|
|
1691
|
-
response.httpStatusCode === 403 ||
|
|
1692
|
-
response.httpStatusCode === 404 ||
|
|
1693
|
-
response.httpStatusCode === 429) {
|
|
2776
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1694
2777
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1695
2778
|
let body;
|
|
1696
2779
|
try {
|
|
@@ -1704,7 +2787,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1704
2787
|
}
|
|
1705
2788
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1706
2789
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1707
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2790
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "any", "");
|
|
1708
2791
|
return body;
|
|
1709
2792
|
}
|
|
1710
2793
|
const body = (yield response.body.text()) || "";
|
|
@@ -1715,23 +2798,24 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1715
2798
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1716
2799
|
* to the expected objects
|
|
1717
2800
|
*
|
|
1718
|
-
* @params response Response returned by the server for a request to
|
|
2801
|
+
* @params response Response returned by the server for a request to listFindings
|
|
1719
2802
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1720
2803
|
*/
|
|
1721
|
-
|
|
2804
|
+
listFindings(response) {
|
|
1722
2805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1723
2806
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1724
2807
|
if (response.httpStatusCode === 200) {
|
|
1725
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2808
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListFindingsResponse");
|
|
1726
2809
|
return body;
|
|
1727
2810
|
}
|
|
1728
|
-
if (response.httpStatusCode ===
|
|
2811
|
+
if (response.httpStatusCode === 400 ||
|
|
2812
|
+
response.httpStatusCode === 403 ||
|
|
1729
2813
|
response.httpStatusCode === 404 ||
|
|
1730
2814
|
response.httpStatusCode === 429) {
|
|
1731
2815
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1732
2816
|
let body;
|
|
1733
2817
|
try {
|
|
1734
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
2818
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
1735
2819
|
}
|
|
1736
2820
|
catch (error) {
|
|
1737
2821
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -1741,7 +2825,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1741
2825
|
}
|
|
1742
2826
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1743
2827
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1744
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2828
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListFindingsResponse", "");
|
|
1745
2829
|
return body;
|
|
1746
2830
|
}
|
|
1747
2831
|
const body = (yield response.body.text()) || "";
|
|
@@ -1752,17 +2836,19 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1752
2836
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1753
2837
|
* to the expected objects
|
|
1754
2838
|
*
|
|
1755
|
-
* @params response Response returned by the server for a request to
|
|
2839
|
+
* @params response Response returned by the server for a request to listHistoricalJobs
|
|
1756
2840
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1757
2841
|
*/
|
|
1758
|
-
|
|
2842
|
+
listHistoricalJobs(response) {
|
|
1759
2843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1760
2844
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1761
2845
|
if (response.httpStatusCode === 200) {
|
|
1762
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2846
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListHistoricalJobsResponse");
|
|
1763
2847
|
return body;
|
|
1764
2848
|
}
|
|
1765
|
-
if (response.httpStatusCode ===
|
|
2849
|
+
if (response.httpStatusCode === 400 ||
|
|
2850
|
+
response.httpStatusCode === 403 ||
|
|
2851
|
+
response.httpStatusCode === 429) {
|
|
1766
2852
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1767
2853
|
let body;
|
|
1768
2854
|
try {
|
|
@@ -1776,7 +2862,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1776
2862
|
}
|
|
1777
2863
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1778
2864
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1779
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2865
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListHistoricalJobsResponse", "");
|
|
1780
2866
|
return body;
|
|
1781
2867
|
}
|
|
1782
2868
|
const body = (yield response.body.text()) || "";
|
|
@@ -1787,17 +2873,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1787
2873
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1788
2874
|
* to the expected objects
|
|
1789
2875
|
*
|
|
1790
|
-
* @params response Response returned by the server for a request to
|
|
2876
|
+
* @params response Response returned by the server for a request to listSecurityFilters
|
|
1791
2877
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1792
2878
|
*/
|
|
1793
|
-
|
|
2879
|
+
listSecurityFilters(response) {
|
|
1794
2880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1795
2881
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1796
2882
|
if (response.httpStatusCode === 200) {
|
|
1797
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2883
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFiltersResponse");
|
|
1798
2884
|
return body;
|
|
1799
2885
|
}
|
|
1800
|
-
if (response.httpStatusCode ===
|
|
2886
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1801
2887
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1802
2888
|
let body;
|
|
1803
2889
|
try {
|
|
@@ -1811,7 +2897,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1811
2897
|
}
|
|
1812
2898
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1813
2899
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1814
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2900
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFiltersResponse", "");
|
|
1815
2901
|
return body;
|
|
1816
2902
|
}
|
|
1817
2903
|
const body = (yield response.body.text()) || "";
|
|
@@ -1822,19 +2908,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1822
2908
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1823
2909
|
* to the expected objects
|
|
1824
2910
|
*
|
|
1825
|
-
* @params response Response returned by the server for a request to
|
|
2911
|
+
* @params response Response returned by the server for a request to listSecurityMonitoringRules
|
|
1826
2912
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1827
2913
|
*/
|
|
1828
|
-
|
|
2914
|
+
listSecurityMonitoringRules(response) {
|
|
1829
2915
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1830
2916
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1831
2917
|
if (response.httpStatusCode === 200) {
|
|
1832
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2918
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringListRulesResponse");
|
|
1833
2919
|
return body;
|
|
1834
2920
|
}
|
|
1835
|
-
if (response.httpStatusCode ===
|
|
1836
|
-
response.httpStatusCode === 404 ||
|
|
1837
|
-
response.httpStatusCode === 429) {
|
|
2921
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 429) {
|
|
1838
2922
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1839
2923
|
let body;
|
|
1840
2924
|
try {
|
|
@@ -1848,7 +2932,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1848
2932
|
}
|
|
1849
2933
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1850
2934
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1851
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2935
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringListRulesResponse", "");
|
|
1852
2936
|
return body;
|
|
1853
2937
|
}
|
|
1854
2938
|
const body = (yield response.body.text()) || "";
|
|
@@ -1859,24 +2943,23 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1859
2943
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1860
2944
|
* to the expected objects
|
|
1861
2945
|
*
|
|
1862
|
-
* @params response Response returned by the server for a request to
|
|
2946
|
+
* @params response Response returned by the server for a request to listSecurityMonitoringSignals
|
|
1863
2947
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1864
2948
|
*/
|
|
1865
|
-
|
|
2949
|
+
listSecurityMonitoringSignals(response) {
|
|
1866
2950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1867
2951
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1868
2952
|
if (response.httpStatusCode === 200) {
|
|
1869
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2953
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalsListResponse");
|
|
1870
2954
|
return body;
|
|
1871
2955
|
}
|
|
1872
2956
|
if (response.httpStatusCode === 400 ||
|
|
1873
2957
|
response.httpStatusCode === 403 ||
|
|
1874
|
-
response.httpStatusCode === 404 ||
|
|
1875
2958
|
response.httpStatusCode === 429) {
|
|
1876
2959
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1877
2960
|
let body;
|
|
1878
2961
|
try {
|
|
1879
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
2962
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
1880
2963
|
}
|
|
1881
2964
|
catch (error) {
|
|
1882
2965
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -1886,7 +2969,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1886
2969
|
}
|
|
1887
2970
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1888
2971
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1889
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2972
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalsListResponse", "");
|
|
1890
2973
|
return body;
|
|
1891
2974
|
}
|
|
1892
2975
|
const body = (yield response.body.text()) || "";
|
|
@@ -1897,19 +2980,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1897
2980
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1898
2981
|
* to the expected objects
|
|
1899
2982
|
*
|
|
1900
|
-
* @params response Response returned by the server for a request to
|
|
2983
|
+
* @params response Response returned by the server for a request to listSecurityMonitoringSuppressions
|
|
1901
2984
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1902
2985
|
*/
|
|
1903
|
-
|
|
2986
|
+
listSecurityMonitoringSuppressions(response) {
|
|
1904
2987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1905
2988
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1906
2989
|
if (response.httpStatusCode === 200) {
|
|
1907
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
2990
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionsResponse");
|
|
1908
2991
|
return body;
|
|
1909
2992
|
}
|
|
1910
|
-
if (response.httpStatusCode ===
|
|
1911
|
-
response.httpStatusCode === 403 ||
|
|
1912
|
-
response.httpStatusCode === 429) {
|
|
2993
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
1913
2994
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1914
2995
|
let body;
|
|
1915
2996
|
try {
|
|
@@ -1923,7 +3004,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1923
3004
|
}
|
|
1924
3005
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1925
3006
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1926
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3007
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSuppressionsResponse", "");
|
|
1927
3008
|
return body;
|
|
1928
3009
|
}
|
|
1929
3010
|
const body = (yield response.body.text()) || "";
|
|
@@ -1934,17 +3015,31 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1934
3015
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1935
3016
|
* to the expected objects
|
|
1936
3017
|
*
|
|
1937
|
-
* @params response Response returned by the server for a request to
|
|
3018
|
+
* @params response Response returned by the server for a request to listVulnerabilities
|
|
1938
3019
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1939
3020
|
*/
|
|
1940
|
-
|
|
3021
|
+
listVulnerabilities(response) {
|
|
1941
3022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1942
3023
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1943
3024
|
if (response.httpStatusCode === 200) {
|
|
1944
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3025
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListVulnerabilitiesResponse");
|
|
1945
3026
|
return body;
|
|
1946
3027
|
}
|
|
1947
|
-
if (response.httpStatusCode ===
|
|
3028
|
+
if (response.httpStatusCode === 400 ||
|
|
3029
|
+
response.httpStatusCode === 403 ||
|
|
3030
|
+
response.httpStatusCode === 404) {
|
|
3031
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3032
|
+
let body;
|
|
3033
|
+
try {
|
|
3034
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
3035
|
+
}
|
|
3036
|
+
catch (error) {
|
|
3037
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3038
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3039
|
+
}
|
|
3040
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3041
|
+
}
|
|
3042
|
+
if (response.httpStatusCode === 429) {
|
|
1948
3043
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1949
3044
|
let body;
|
|
1950
3045
|
try {
|
|
@@ -1958,7 +3053,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1958
3053
|
}
|
|
1959
3054
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1960
3055
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1961
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3056
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListVulnerabilitiesResponse", "");
|
|
1962
3057
|
return body;
|
|
1963
3058
|
}
|
|
1964
3059
|
const body = (yield response.body.text()) || "";
|
|
@@ -1969,17 +3064,31 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1969
3064
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
1970
3065
|
* to the expected objects
|
|
1971
3066
|
*
|
|
1972
|
-
* @params response Response returned by the server for a request to
|
|
3067
|
+
* @params response Response returned by the server for a request to listVulnerableAssets
|
|
1973
3068
|
* @throws ApiException if the response code was not in [200, 299]
|
|
1974
3069
|
*/
|
|
1975
|
-
|
|
3070
|
+
listVulnerableAssets(response) {
|
|
1976
3071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1977
3072
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
1978
3073
|
if (response.httpStatusCode === 200) {
|
|
1979
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3074
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListVulnerableAssetsResponse");
|
|
1980
3075
|
return body;
|
|
1981
3076
|
}
|
|
1982
|
-
if (response.httpStatusCode === 400 ||
|
|
3077
|
+
if (response.httpStatusCode === 400 ||
|
|
3078
|
+
response.httpStatusCode === 403 ||
|
|
3079
|
+
response.httpStatusCode === 404) {
|
|
3080
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3081
|
+
let body;
|
|
3082
|
+
try {
|
|
3083
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
3084
|
+
}
|
|
3085
|
+
catch (error) {
|
|
3086
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3087
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3088
|
+
}
|
|
3089
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3090
|
+
}
|
|
3091
|
+
if (response.httpStatusCode === 429) {
|
|
1983
3092
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
1984
3093
|
let body;
|
|
1985
3094
|
try {
|
|
@@ -1993,7 +3102,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
1993
3102
|
}
|
|
1994
3103
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
1995
3104
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
1996
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3105
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListVulnerableAssetsResponse", "");
|
|
1997
3106
|
return body;
|
|
1998
3107
|
}
|
|
1999
3108
|
const body = (yield response.body.text()) || "";
|
|
@@ -2004,23 +3113,25 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2004
3113
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2005
3114
|
* to the expected objects
|
|
2006
3115
|
*
|
|
2007
|
-
* @params response Response returned by the server for a request to
|
|
3116
|
+
* @params response Response returned by the server for a request to muteFindings
|
|
2008
3117
|
* @throws ApiException if the response code was not in [200, 299]
|
|
2009
3118
|
*/
|
|
2010
|
-
|
|
3119
|
+
muteFindings(response) {
|
|
2011
3120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2012
3121
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2013
3122
|
if (response.httpStatusCode === 200) {
|
|
2014
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3123
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BulkMuteFindingsResponse");
|
|
2015
3124
|
return body;
|
|
2016
3125
|
}
|
|
2017
3126
|
if (response.httpStatusCode === 400 ||
|
|
2018
3127
|
response.httpStatusCode === 403 ||
|
|
3128
|
+
response.httpStatusCode === 404 ||
|
|
3129
|
+
response.httpStatusCode === 422 ||
|
|
2019
3130
|
response.httpStatusCode === 429) {
|
|
2020
3131
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2021
3132
|
let body;
|
|
2022
3133
|
try {
|
|
2023
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
3134
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
2024
3135
|
}
|
|
2025
3136
|
catch (error) {
|
|
2026
3137
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -2030,7 +3141,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2030
3141
|
}
|
|
2031
3142
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2032
3143
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2033
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3144
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "BulkMuteFindingsResponse", "");
|
|
2034
3145
|
return body;
|
|
2035
3146
|
}
|
|
2036
3147
|
const body = (yield response.body.text()) || "";
|
|
@@ -2041,17 +3152,20 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2041
3152
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2042
3153
|
* to the expected objects
|
|
2043
3154
|
*
|
|
2044
|
-
* @params response Response returned by the server for a request to
|
|
3155
|
+
* @params response Response returned by the server for a request to patchSignalNotificationRule
|
|
2045
3156
|
* @throws ApiException if the response code was not in [200, 299]
|
|
2046
3157
|
*/
|
|
2047
|
-
|
|
3158
|
+
patchSignalNotificationRule(response) {
|
|
2048
3159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2049
3160
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2050
3161
|
if (response.httpStatusCode === 200) {
|
|
2051
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3162
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
2052
3163
|
return body;
|
|
2053
3164
|
}
|
|
2054
|
-
if (response.httpStatusCode ===
|
|
3165
|
+
if (response.httpStatusCode === 400 ||
|
|
3166
|
+
response.httpStatusCode === 403 ||
|
|
3167
|
+
response.httpStatusCode === 404 ||
|
|
3168
|
+
response.httpStatusCode === 429) {
|
|
2055
3169
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2056
3170
|
let body;
|
|
2057
3171
|
try {
|
|
@@ -2063,9 +3177,21 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2063
3177
|
}
|
|
2064
3178
|
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
2065
3179
|
}
|
|
3180
|
+
if (response.httpStatusCode === 422) {
|
|
3181
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3182
|
+
let body;
|
|
3183
|
+
try {
|
|
3184
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
3185
|
+
}
|
|
3186
|
+
catch (error) {
|
|
3187
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3188
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3189
|
+
}
|
|
3190
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3191
|
+
}
|
|
2066
3192
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2067
3193
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2068
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3194
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
2069
3195
|
return body;
|
|
2070
3196
|
}
|
|
2071
3197
|
const body = (yield response.body.text()) || "";
|
|
@@ -2076,21 +3202,32 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2076
3202
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
2077
3203
|
* to the expected objects
|
|
2078
3204
|
*
|
|
2079
|
-
* @params response Response returned by the server for a request to
|
|
3205
|
+
* @params response Response returned by the server for a request to patchVulnerabilityNotificationRule
|
|
2080
3206
|
* @throws ApiException if the response code was not in [200, 299]
|
|
2081
3207
|
*/
|
|
2082
|
-
|
|
3208
|
+
patchVulnerabilityNotificationRule(response) {
|
|
2083
3209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2084
3210
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
2085
3211
|
if (response.httpStatusCode === 200) {
|
|
2086
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3212
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
2087
3213
|
return body;
|
|
2088
3214
|
}
|
|
2089
3215
|
if (response.httpStatusCode === 400 ||
|
|
2090
3216
|
response.httpStatusCode === 403 ||
|
|
2091
3217
|
response.httpStatusCode === 404 ||
|
|
2092
|
-
response.httpStatusCode === 422 ||
|
|
2093
3218
|
response.httpStatusCode === 429) {
|
|
3219
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3220
|
+
let body;
|
|
3221
|
+
try {
|
|
3222
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3223
|
+
}
|
|
3224
|
+
catch (error) {
|
|
3225
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3226
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3227
|
+
}
|
|
3228
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3229
|
+
}
|
|
3230
|
+
if (response.httpStatusCode === 422) {
|
|
2094
3231
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
2095
3232
|
let body;
|
|
2096
3233
|
try {
|
|
@@ -2104,7 +3241,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
2104
3241
|
}
|
|
2105
3242
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
2106
3243
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
2107
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
3244
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
2108
3245
|
return body;
|
|
2109
3246
|
}
|
|
2110
3247
|
const body = (yield response.body.text()) || "";
|
|
@@ -2531,6 +3668,34 @@ class SecurityMonitoringApi {
|
|
|
2531
3668
|
});
|
|
2532
3669
|
});
|
|
2533
3670
|
}
|
|
3671
|
+
/**
|
|
3672
|
+
* Create a new notification rule for security signals and return the created rule.
|
|
3673
|
+
* @param param The request object
|
|
3674
|
+
*/
|
|
3675
|
+
createSignalNotificationRule(param, options) {
|
|
3676
|
+
const requestContextPromise = this.requestFactory.createSignalNotificationRule(param.body, options);
|
|
3677
|
+
return requestContextPromise.then((requestContext) => {
|
|
3678
|
+
return this.configuration.httpApi
|
|
3679
|
+
.send(requestContext)
|
|
3680
|
+
.then((responseContext) => {
|
|
3681
|
+
return this.responseProcessor.createSignalNotificationRule(responseContext);
|
|
3682
|
+
});
|
|
3683
|
+
});
|
|
3684
|
+
}
|
|
3685
|
+
/**
|
|
3686
|
+
* Create a new notification rule for security vulnerabilities and return the created rule.
|
|
3687
|
+
* @param param The request object
|
|
3688
|
+
*/
|
|
3689
|
+
createVulnerabilityNotificationRule(param, options) {
|
|
3690
|
+
const requestContextPromise = this.requestFactory.createVulnerabilityNotificationRule(param.body, options);
|
|
3691
|
+
return requestContextPromise.then((requestContext) => {
|
|
3692
|
+
return this.configuration.httpApi
|
|
3693
|
+
.send(requestContext)
|
|
3694
|
+
.then((responseContext) => {
|
|
3695
|
+
return this.responseProcessor.createVulnerabilityNotificationRule(responseContext);
|
|
3696
|
+
});
|
|
3697
|
+
});
|
|
3698
|
+
}
|
|
2534
3699
|
/**
|
|
2535
3700
|
* Delete an existing job.
|
|
2536
3701
|
* @param param The request object
|
|
@@ -2587,6 +3752,34 @@ class SecurityMonitoringApi {
|
|
|
2587
3752
|
});
|
|
2588
3753
|
});
|
|
2589
3754
|
}
|
|
3755
|
+
/**
|
|
3756
|
+
* Delete a notification rule for security signals.
|
|
3757
|
+
* @param param The request object
|
|
3758
|
+
*/
|
|
3759
|
+
deleteSignalNotificationRule(param, options) {
|
|
3760
|
+
const requestContextPromise = this.requestFactory.deleteSignalNotificationRule(param.id, options);
|
|
3761
|
+
return requestContextPromise.then((requestContext) => {
|
|
3762
|
+
return this.configuration.httpApi
|
|
3763
|
+
.send(requestContext)
|
|
3764
|
+
.then((responseContext) => {
|
|
3765
|
+
return this.responseProcessor.deleteSignalNotificationRule(responseContext);
|
|
3766
|
+
});
|
|
3767
|
+
});
|
|
3768
|
+
}
|
|
3769
|
+
/**
|
|
3770
|
+
* Delete a notification rule for security vulnerabilities.
|
|
3771
|
+
* @param param The request object
|
|
3772
|
+
*/
|
|
3773
|
+
deleteVulnerabilityNotificationRule(param, options) {
|
|
3774
|
+
const requestContextPromise = this.requestFactory.deleteVulnerabilityNotificationRule(param.id, options);
|
|
3775
|
+
return requestContextPromise.then((requestContext) => {
|
|
3776
|
+
return this.configuration.httpApi
|
|
3777
|
+
.send(requestContext)
|
|
3778
|
+
.then((responseContext) => {
|
|
3779
|
+
return this.responseProcessor.deleteVulnerabilityNotificationRule(responseContext);
|
|
3780
|
+
});
|
|
3781
|
+
});
|
|
3782
|
+
}
|
|
2590
3783
|
/**
|
|
2591
3784
|
* Modify the triage assignee of a security signal.
|
|
2592
3785
|
* @param param The request object
|
|
@@ -2657,6 +3850,34 @@ class SecurityMonitoringApi {
|
|
|
2657
3850
|
});
|
|
2658
3851
|
});
|
|
2659
3852
|
}
|
|
3853
|
+
/**
|
|
3854
|
+
* Get a rule's version history.
|
|
3855
|
+
* @param param The request object
|
|
3856
|
+
*/
|
|
3857
|
+
getRuleVersionHistory(param, options) {
|
|
3858
|
+
const requestContextPromise = this.requestFactory.getRuleVersionHistory(param.ruleId, param.pageSize, param.pageNumber, options);
|
|
3859
|
+
return requestContextPromise.then((requestContext) => {
|
|
3860
|
+
return this.configuration.httpApi
|
|
3861
|
+
.send(requestContext)
|
|
3862
|
+
.then((responseContext) => {
|
|
3863
|
+
return this.responseProcessor.getRuleVersionHistory(responseContext);
|
|
3864
|
+
});
|
|
3865
|
+
});
|
|
3866
|
+
}
|
|
3867
|
+
/**
|
|
3868
|
+
* Get a single SBOM related to an asset by its type and name.
|
|
3869
|
+
* @param param The request object
|
|
3870
|
+
*/
|
|
3871
|
+
getSBOM(param, options) {
|
|
3872
|
+
const requestContextPromise = this.requestFactory.getSBOM(param.assetType, param.filterAssetName, param.filterRepoDigest, options);
|
|
3873
|
+
return requestContextPromise.then((requestContext) => {
|
|
3874
|
+
return this.configuration.httpApi
|
|
3875
|
+
.send(requestContext)
|
|
3876
|
+
.then((responseContext) => {
|
|
3877
|
+
return this.responseProcessor.getSBOM(responseContext);
|
|
3878
|
+
});
|
|
3879
|
+
});
|
|
3880
|
+
}
|
|
2660
3881
|
/**
|
|
2661
3882
|
* Get the details of a specific security filter.
|
|
2662
3883
|
*
|
|
@@ -2716,6 +3937,62 @@ class SecurityMonitoringApi {
|
|
|
2716
3937
|
});
|
|
2717
3938
|
});
|
|
2718
3939
|
}
|
|
3940
|
+
/**
|
|
3941
|
+
* Get the details of a notification rule for security signals.
|
|
3942
|
+
* @param param The request object
|
|
3943
|
+
*/
|
|
3944
|
+
getSignalNotificationRule(param, options) {
|
|
3945
|
+
const requestContextPromise = this.requestFactory.getSignalNotificationRule(param.id, options);
|
|
3946
|
+
return requestContextPromise.then((requestContext) => {
|
|
3947
|
+
return this.configuration.httpApi
|
|
3948
|
+
.send(requestContext)
|
|
3949
|
+
.then((responseContext) => {
|
|
3950
|
+
return this.responseProcessor.getSignalNotificationRule(responseContext);
|
|
3951
|
+
});
|
|
3952
|
+
});
|
|
3953
|
+
}
|
|
3954
|
+
/**
|
|
3955
|
+
* Returns the list of notification rules for security signals.
|
|
3956
|
+
* @param param The request object
|
|
3957
|
+
*/
|
|
3958
|
+
getSignalNotificationRules(options) {
|
|
3959
|
+
const requestContextPromise = this.requestFactory.getSignalNotificationRules(options);
|
|
3960
|
+
return requestContextPromise.then((requestContext) => {
|
|
3961
|
+
return this.configuration.httpApi
|
|
3962
|
+
.send(requestContext)
|
|
3963
|
+
.then((responseContext) => {
|
|
3964
|
+
return this.responseProcessor.getSignalNotificationRules(responseContext);
|
|
3965
|
+
});
|
|
3966
|
+
});
|
|
3967
|
+
}
|
|
3968
|
+
/**
|
|
3969
|
+
* Get the details of a notification rule for security vulnerabilities.
|
|
3970
|
+
* @param param The request object
|
|
3971
|
+
*/
|
|
3972
|
+
getVulnerabilityNotificationRule(param, options) {
|
|
3973
|
+
const requestContextPromise = this.requestFactory.getVulnerabilityNotificationRule(param.id, options);
|
|
3974
|
+
return requestContextPromise.then((requestContext) => {
|
|
3975
|
+
return this.configuration.httpApi
|
|
3976
|
+
.send(requestContext)
|
|
3977
|
+
.then((responseContext) => {
|
|
3978
|
+
return this.responseProcessor.getVulnerabilityNotificationRule(responseContext);
|
|
3979
|
+
});
|
|
3980
|
+
});
|
|
3981
|
+
}
|
|
3982
|
+
/**
|
|
3983
|
+
* Returns the list of notification rules for security vulnerabilities.
|
|
3984
|
+
* @param param The request object
|
|
3985
|
+
*/
|
|
3986
|
+
getVulnerabilityNotificationRules(options) {
|
|
3987
|
+
const requestContextPromise = this.requestFactory.getVulnerabilityNotificationRules(options);
|
|
3988
|
+
return requestContextPromise.then((requestContext) => {
|
|
3989
|
+
return this.configuration.httpApi
|
|
3990
|
+
.send(requestContext)
|
|
3991
|
+
.then((responseContext) => {
|
|
3992
|
+
return this.responseProcessor.getVulnerabilityNotificationRules(responseContext);
|
|
3993
|
+
});
|
|
3994
|
+
});
|
|
3995
|
+
}
|
|
2719
3996
|
/**
|
|
2720
3997
|
* Get a list of findings. These include both misconfigurations and identity risks.
|
|
2721
3998
|
*
|
|
@@ -2915,6 +4192,125 @@ class SecurityMonitoringApi {
|
|
|
2915
4192
|
});
|
|
2916
4193
|
});
|
|
2917
4194
|
}
|
|
4195
|
+
/**
|
|
4196
|
+
* Get a list of vulnerabilities.
|
|
4197
|
+
*
|
|
4198
|
+
* ### Pagination
|
|
4199
|
+
*
|
|
4200
|
+
* Pagination is enabled by default in both `vulnerabilities` and `assets`. The size of the page varies depending on the endpoint and cannot be modified. To automate the request of the next page, you can use the links section in the response.
|
|
4201
|
+
*
|
|
4202
|
+
* This endpoint will return paginated responses. The pages are stored in the links section of the response:
|
|
4203
|
+
*
|
|
4204
|
+
* ```JSON
|
|
4205
|
+
* {
|
|
4206
|
+
* "data": [...],
|
|
4207
|
+
* "meta": {...},
|
|
4208
|
+
* "links": {
|
|
4209
|
+
* "self": "https://.../api/v2/security/vulnerabilities",
|
|
4210
|
+
* "first": "https://.../api/v2/security/vulnerabilities?page[number]=1&page[token]=abc",
|
|
4211
|
+
* "last": "https://.../api/v2/security/vulnerabilities?page[number]=43&page[token]=abc",
|
|
4212
|
+
* "next": "https://.../api/v2/security/vulnerabilities?page[number]=2&page[token]=abc"
|
|
4213
|
+
* }
|
|
4214
|
+
* }
|
|
4215
|
+
* ```
|
|
4216
|
+
*
|
|
4217
|
+
*
|
|
4218
|
+
* - `links.previous` is empty if the first page is requested.
|
|
4219
|
+
* - `links.next` is empty if the last page is requested.
|
|
4220
|
+
*
|
|
4221
|
+
* #### Token
|
|
4222
|
+
*
|
|
4223
|
+
* Vulnerabilities can be created, updated or deleted at any point in time.
|
|
4224
|
+
*
|
|
4225
|
+
* Upon the first request, a token is created to ensure consistency across subsequent paginated requests.
|
|
4226
|
+
*
|
|
4227
|
+
* A token is valid only for 24 hours.
|
|
4228
|
+
*
|
|
4229
|
+
* #### First request
|
|
4230
|
+
*
|
|
4231
|
+
* We consider a request to be the first request when there is no `page[token]` parameter.
|
|
4232
|
+
*
|
|
4233
|
+
* The response of this first request contains the newly created token in the `links` section.
|
|
4234
|
+
*
|
|
4235
|
+
* This token can then be used in the subsequent paginated requests.
|
|
4236
|
+
*
|
|
4237
|
+
* #### Subsequent requests
|
|
4238
|
+
*
|
|
4239
|
+
* Any request containing valid `page[token]` and `page[number]` parameters will be considered a subsequent request.
|
|
4240
|
+
*
|
|
4241
|
+
* If the `token` is invalid, a `404` response will be returned.
|
|
4242
|
+
*
|
|
4243
|
+
* If the page `number` is invalid, a `400` response will be returned.
|
|
4244
|
+
*
|
|
4245
|
+
* ### Filtering
|
|
4246
|
+
*
|
|
4247
|
+
* The request can include some filter parameters to filter the data to be retrieved. The format of the filter parameters follows the [JSON:API format](https://jsonapi.org/format/#fetching-filtering): `filter[$prop_name]`, where `prop_name` is the property name in the entity being filtered by.
|
|
4248
|
+
*
|
|
4249
|
+
* All filters can include multiple values, where data will be filtered with an OR clause: `filter[title]=Title1,Title2` will filter all vulnerabilities where title is equal to `Title1` OR `Title2`.
|
|
4250
|
+
*
|
|
4251
|
+
* String filters are case sensitive.
|
|
4252
|
+
*
|
|
4253
|
+
* Boolean filters accept `true` or `false` as values.
|
|
4254
|
+
*
|
|
4255
|
+
* Number filters must include an operator as a second filter input: `filter[$prop_name][$operator]`. For example, for the vulnerabilities endpoint: `filter[cvss.base.score][lte]=8`.
|
|
4256
|
+
*
|
|
4257
|
+
* Available operators are: `eq` (==), `lt` (<), `lte` (<=), `gt` (>) and `gte` (>=).
|
|
4258
|
+
*
|
|
4259
|
+
* ### Metadata
|
|
4260
|
+
*
|
|
4261
|
+
* Following [JSON:API format](https://jsonapi.org/format/#document-meta), object including non-standard meta-information.
|
|
4262
|
+
*
|
|
4263
|
+
* This endpoint includes the meta member in the response. For more details on each of the properties included in this section, check the endpoints response tables.
|
|
4264
|
+
*
|
|
4265
|
+
* ```JSON
|
|
4266
|
+
* {
|
|
4267
|
+
* "data": [...],
|
|
4268
|
+
* "meta": {
|
|
4269
|
+
* "total": 1500,
|
|
4270
|
+
* "count": 18732,
|
|
4271
|
+
* "token": "some_token"
|
|
4272
|
+
* },
|
|
4273
|
+
* "links": {...}
|
|
4274
|
+
* }
|
|
4275
|
+
* ```
|
|
4276
|
+
* @param param The request object
|
|
4277
|
+
*/
|
|
4278
|
+
listVulnerabilities(param = {}, options) {
|
|
4279
|
+
const requestContextPromise = this.requestFactory.listVulnerabilities(param.pageToken, param.pageNumber, param.filterType, param.filterCvssBaseScoreOp, param.filterCvssBaseSeverity, param.filterCvssBaseVector, param.filterCvssDatadogScoreOp, param.filterCvssDatadogSeverity, param.filterCvssDatadogVector, param.filterStatus, param.filterTool, param.filterLibraryName, param.filterLibraryVersion, param.filterAdvisoryId, param.filterRisksExploitationProbability, param.filterRisksPocExploitAvailable, param.filterRisksExploitAvailable, param.filterRisksEpssScoreOp, param.filterRisksEpssSeverity, param.filterLanguage, param.filterEcosystem, param.filterCodeLocationLocation, param.filterCodeLocationFilePath, param.filterCodeLocationMethod, param.filterFixAvailable, param.filterRepoDigests, param.filterAssetName, param.filterAssetType, param.filterAssetVersionFirst, param.filterAssetVersionLast, param.filterAssetRepositoryUrl, param.filterAssetRisksInProduction, param.filterAssetRisksUnderAttack, param.filterAssetRisksIsPubliclyAccessible, param.filterAssetRisksHasPrivilegedAccess, param.filterAssetRisksHasAccessToSensitiveData, param.filterAssetEnvironments, param.filterAssetArch, param.filterAssetOperatingSystemName, param.filterAssetOperatingSystemVersion, options);
|
|
4280
|
+
return requestContextPromise.then((requestContext) => {
|
|
4281
|
+
return this.configuration.httpApi
|
|
4282
|
+
.send(requestContext)
|
|
4283
|
+
.then((responseContext) => {
|
|
4284
|
+
return this.responseProcessor.listVulnerabilities(responseContext);
|
|
4285
|
+
});
|
|
4286
|
+
});
|
|
4287
|
+
}
|
|
4288
|
+
/**
|
|
4289
|
+
* Get a list of vulnerable assets.
|
|
4290
|
+
*
|
|
4291
|
+
* ### Pagination
|
|
4292
|
+
*
|
|
4293
|
+
* Please review the [Pagination section for the "List Vulnerabilities"](#pagination) endpoint.
|
|
4294
|
+
*
|
|
4295
|
+
* ### Filtering
|
|
4296
|
+
*
|
|
4297
|
+
* Please review the [Filtering section for the "List Vulnerabilities"](#filtering) endpoint.
|
|
4298
|
+
*
|
|
4299
|
+
* ### Metadata
|
|
4300
|
+
*
|
|
4301
|
+
* Please review the [Metadata section for the "List Vulnerabilities"](#metadata) endpoint.
|
|
4302
|
+
* @param param The request object
|
|
4303
|
+
*/
|
|
4304
|
+
listVulnerableAssets(param = {}, options) {
|
|
4305
|
+
const requestContextPromise = this.requestFactory.listVulnerableAssets(param.pageToken, param.pageNumber, param.filterName, param.filterType, param.filterVersionFirst, param.filterVersionLast, param.filterRepositoryUrl, param.filterRisksInProduction, param.filterRisksUnderAttack, param.filterRisksIsPubliclyAccessible, param.filterRisksHasPrivilegedAccess, param.filterRisksHasAccessToSensitiveData, param.filterEnvironments, param.filterArch, param.filterOperatingSystemName, param.filterOperatingSystemVersion, options);
|
|
4306
|
+
return requestContextPromise.then((requestContext) => {
|
|
4307
|
+
return this.configuration.httpApi
|
|
4308
|
+
.send(requestContext)
|
|
4309
|
+
.then((responseContext) => {
|
|
4310
|
+
return this.responseProcessor.listVulnerableAssets(responseContext);
|
|
4311
|
+
});
|
|
4312
|
+
});
|
|
4313
|
+
}
|
|
2918
4314
|
/**
|
|
2919
4315
|
* Mute or unmute findings.
|
|
2920
4316
|
* @param param The request object
|
|
@@ -2929,6 +4325,34 @@ class SecurityMonitoringApi {
|
|
|
2929
4325
|
});
|
|
2930
4326
|
});
|
|
2931
4327
|
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
|
|
4330
|
+
* @param param The request object
|
|
4331
|
+
*/
|
|
4332
|
+
patchSignalNotificationRule(param, options) {
|
|
4333
|
+
const requestContextPromise = this.requestFactory.patchSignalNotificationRule(param.id, param.body, options);
|
|
4334
|
+
return requestContextPromise.then((requestContext) => {
|
|
4335
|
+
return this.configuration.httpApi
|
|
4336
|
+
.send(requestContext)
|
|
4337
|
+
.then((responseContext) => {
|
|
4338
|
+
return this.responseProcessor.patchSignalNotificationRule(responseContext);
|
|
4339
|
+
});
|
|
4340
|
+
});
|
|
4341
|
+
}
|
|
4342
|
+
/**
|
|
4343
|
+
* Partially update the notification rule. All fields are optional; if a field is not provided, it is not updated.
|
|
4344
|
+
* @param param The request object
|
|
4345
|
+
*/
|
|
4346
|
+
patchVulnerabilityNotificationRule(param, options) {
|
|
4347
|
+
const requestContextPromise = this.requestFactory.patchVulnerabilityNotificationRule(param.id, param.body, options);
|
|
4348
|
+
return requestContextPromise.then((requestContext) => {
|
|
4349
|
+
return this.configuration.httpApi
|
|
4350
|
+
.send(requestContext)
|
|
4351
|
+
.then((responseContext) => {
|
|
4352
|
+
return this.responseProcessor.patchVulnerabilityNotificationRule(responseContext);
|
|
4353
|
+
});
|
|
4354
|
+
});
|
|
4355
|
+
}
|
|
2932
4356
|
/**
|
|
2933
4357
|
* Run a historical job.
|
|
2934
4358
|
* @param param The request object
|