@datadog/datadog-api-client 1.59.0 → 1.60.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/dist/packages/datadog-api-client-common/configuration.js +37 -0
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/servers.d.ts +2 -2
- package/dist/packages/datadog-api-client-common/servers.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/index.d.ts +7 -0
- package/dist/packages/datadog-api-client-v1/index.js +22 -12
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapArithmeticSubProcessor.d.ts +54 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapArithmeticSubProcessor.js +50 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapArithmeticSubProcessor.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapAttributeRemapper.d.ts +66 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapAttributeRemapper.js +59 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapAttributeRemapper.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapCategorySubProcessor.d.ts +51 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapCategorySubProcessor.js +46 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapCategorySubProcessor.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessor.d.ts +72 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessor.js +64 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessor.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessorType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessorType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapProcessorType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapStringBuilderSubProcessor.d.ts +54 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapStringBuilderSubProcessor.js +50 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapStringBuilderSubProcessor.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapSubProcessor.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapSubProcessor.js +3 -0
- package/dist/packages/datadog-api-client-v1/models/LogsArrayMapSubProcessor.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/LogsProcessor.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +18 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +66 -2
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +181 -4
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.d.ts +2 -0
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js +2 -0
- package/dist/packages/datadog-api-client-v2/apis/ComplianceApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/FeatureFlagsApi.d.ts +94 -0
- package/dist/packages/datadog-api-client-v2/apis/FeatureFlagsApi.js +270 -0
- package/dist/packages/datadog-api-client-v2/apis/FeatureFlagsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/GovernanceControlsApi.d.ts +81 -0
- package/dist/packages/datadog-api-client-v2/apis/GovernanceControlsApi.js +319 -0
- package/dist/packages/datadog-api-client-v2/apis/GovernanceControlsApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/GovernanceInsightsApi.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/apis/GovernanceInsightsApi.js +133 -0
- package/dist/packages/datadog-api-client-v2/apis/GovernanceInsightsApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.d.ts +17 -2
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js +52 -3
- package/dist/packages/datadog-api-client-v2/apis/MetricsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RUMRemoteConfigApi.d.ts +63 -0
- package/dist/packages/datadog-api-client-v2/apis/RUMRemoteConfigApi.js +223 -0
- package/dist/packages/datadog-api-client-v2/apis/RUMRemoteConfigApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/ReportSchedulesApi.d.ts +143 -0
- package/dist/packages/datadog-api-client-v2/apis/ReportSchedulesApi.js +465 -0
- package/dist/packages/datadog-api-client-v2/apis/ReportSchedulesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +456 -4
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +1749 -75
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js +181 -0
- package/dist/packages/datadog-api-client-v2/apis/StatusPagesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.d.ts +3 -1
- package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js +3 -1
- package/dist/packages/datadog-api-client-v2/apis/TestOptimizationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +188 -5
- package/dist/packages/datadog-api-client-v2/index.js +400 -105
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleActorType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleActorType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleActorType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleCreatedBy.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleCreatedBy.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleCreatedBy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleModifiedBy.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleModifiedBy.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleModifiedBy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleScope.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleScope.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/AutomationRuleScope.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/BranchCoverageSummaryRequestAttributes.d.ts +6 -2
- package/dist/packages/datadog-api-client-v2/models/BranchCoverageSummaryRequestAttributes.js +4 -1
- package/dist/packages/datadog-api-client-v2/models/BranchCoverageSummaryRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributes.d.ts +18 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributes.js +18 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCosts.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCosts.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCosts.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCostsUnit.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCostsUnit.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetAttributesCostsUnit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItems.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItems.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItemsCosts.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItemsCosts.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/BudgetWithEntriesDataAttributesEntriesItemsCosts.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventFinishedJob.d.ts +117 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventFinishedJob.js +114 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventFinishedJob.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventInProgressJob.d.ts +113 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventInProgressJob.js +108 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventInProgressJob.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.d.ts +4 -108
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.js +0 -111
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJob.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobInProgressStatus.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobInProgressStatus.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CIAppPipelineEventJobInProgressStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CommitCoverageSummaryRequestAttributes.d.ts +6 -2
- package/dist/packages/datadog-api-client-v2/models/CommitCoverageSummaryRequestAttributes.js +4 -1
- package/dist/packages/datadog-api-client-v2/models/CommitCoverageSummaryRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js +0 -1
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CreateStatusPageRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntry.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntry.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntry.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntryTagFilter.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntryTagFilter.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastEntryTagFilter.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseDataAttributes.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseDataAttributes.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestDataAttributes.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestDataAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CustomForecastUpsertRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXBom.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXBom.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXBom.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponent.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponent.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponentType.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponentType.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXComponentType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadata.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadata.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataComponent.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataComponent.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataComponent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataTools.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataTools.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXMetadataTools.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXToolComponent.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXToolComponent.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXToolComponent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerability.d.ts +75 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerability.js +65 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerability.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAdvisory.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAdvisory.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAdvisory.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAffects.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAffects.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAffects.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAnalysis.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAnalysis.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityAnalysis.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityRating.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityRating.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityRating.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReference.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReference.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReference.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReferenceSource.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReferenceSource.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CycloneDXVulnerabilityReferenceSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationDataAttributesUpdatesItems.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationDataAttributesUpdatesItems.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationDataAttributesUpdatesItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdate.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateData.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributes.d.ts +62 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributes.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributesComponentsAffectedItems.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributesComponentsAffectedItems.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataAttributesComponentsAffectedItems.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationships.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationships.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradation.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradation.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradationData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradationData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsDegradationData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPage.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPage.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPageData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPageData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsStatusPageData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUser.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUser.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUserData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUserData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateDataRelationshipsUserData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateIncluded.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateIncluded.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/DegradationUpdateIncluded.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateFrom.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateFrom.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateFrom.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDatePerSeverityItem.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/DueDatePerSeverityItem.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDatePerSeverityItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAction.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAction.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesCreate.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesCreate.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesResponse.d.ts +68 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesResponse.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleAttributesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataCreate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataCreate.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataResponse.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataResponse.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleDataResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderItem.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderItem.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleReorderRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRuleUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRulesResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRulesResponse.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateSeverity.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateSeverity.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/DueDateSeverity.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceBestPracticeDefinition.d.ts +89 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceBestPracticeDefinition.js +97 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceBestPracticeDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlAttributes.d.ts +160 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlAttributes.js +180 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlMitigationDefinition.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlMitigationDefinition.js +75 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlMitigationDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlParameterDefinition.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlParameterDefinition.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlParameterDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlSupportedValue.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlSupportedValue.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlSupportedValue.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateAttributes.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateAttributes.js +63 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlsResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceControlsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAttributes.d.ts +114 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAttributes.js +117 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditCompute.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditCompute.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditCompute.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditQuery.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditQuery.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightAuditQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventCompute.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventCompute.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventCompute.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventQuery.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventQuery.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightEventQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightMetricQuery.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightMetricQuery.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightMetricQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightPercentageQuery.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightPercentageQuery.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightPercentageQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightQueryConfig.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightQueryConfig.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightQueryConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightUsageQuery.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightUsageQuery.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightUsageQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightsResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GovernanceInsightsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Metric.d.ts +6 -1
- package/dist/packages/datadog-api-client-v2/models/Metric.js +5 -1
- package/dist/packages/datadog-api-client-v2/models/Metric.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricIngestedIndexedVolumeAttributes.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/MetricRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MetricRelationships.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/MetricRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricTagConfiguration.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/MetricTagConfiguration.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/MetricTagConfiguration.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationship.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationship.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationship.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationshipData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationshipData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/MetricVolumesRelationshipData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/MetricsAndMetricTagConfigurationsResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/MuteReason.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/MuteReason.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/MuteReason.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAction.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAction.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesCreate.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesCreate.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesResponse.d.ts +68 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesResponse.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleAttributesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataCreate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataCreate.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataResponse.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataResponse.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleDataResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderItem.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderItem.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleReorderRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRuleUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRulesResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRulesResponse.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/MuteRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +403 -4
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestination.d.ts +112 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestination.js +92 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuth.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuth.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuth.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuthStrategy.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuthStrategy.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationAuthStrategy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatch.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatch.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatch.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncoding.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncoding.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncoding.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncodingCodec.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncodingCodec.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationBatchEncodingCodec.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompression.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompression.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompression.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionAlgorithm.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionObject.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionObject.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationCompressionObject.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationFormat.d.ts +18 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationFormat.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationFormat.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineClickhouseDestinationType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCloudPremDestination.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCloudPremDestination.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineCloudPremDestination.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigDestinationItem.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineConfigSourceItem.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSource.d.ts +78 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSource.js +72 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceAuthStrategy.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceAuthStrategy.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceAuthStrategy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTls.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTls.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTls.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabled.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabled.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabled.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabledMode.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabledMode.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsEnabledMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCert.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCert.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCert.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCertMode.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCertMode.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceTlsWithClientCertMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ObservabilityPipelineWebsocketSourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributes.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributesStatus.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributesStatus.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataAttributesStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/PatchDegradationUpdateRequestDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/PatchStatusPageRequestDataAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/PatchStatusPageRequestDataAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/PatchStatusPageRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIncludedResource.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIncludedResourceType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIncludedResourceType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIncludedResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIndexTemplateVariable.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIndexTemplateVariable.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleIndexTemplateVariable.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationship.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationship.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationship.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationshipData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationshipData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResourceRelationshipData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponse.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponse.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseAttributes.d.ts +84 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseAttributes.js +86 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseData.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseLinks.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseLinks.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseLinks.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePagination.d.ts +65 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePagination.js +65 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePagination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePaginationType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePaginationType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponsePaginationType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseRelationships.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseRelationships.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleListResponseRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResource.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResource.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResourceAttributes.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResourceAttributes.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleResourceAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ReportScheduleToggleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigData.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOption.d.ts +67 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOption.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOption.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionPair.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionPair.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionPair.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionSerializedType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionSerializedType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionSerializedType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionStrategy.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionStrategy.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigDynamicOptionStrategy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOption.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOption.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOption.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOptionSerializedType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOptionSerializedType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMatchOptionSerializedType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMeta.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMeta.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumAttributes.d.ts +92 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumAttributes.js +90 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumUpdateAttributes.d.ts +88 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumUpdateAttributes.js +85 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigRumUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegex.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegex.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegex.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegexType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegexType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigSerializedRegexType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlConfig.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlConfig.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlPropagatorType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlPropagatorType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigTracingUrlPropagatorType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/RumSdkConfigUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesLinks.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesLinks.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesLinks.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesMeta.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesPageInfo.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesPageInfo.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityAutomationRulesPageInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityFindingType.d.ts +21 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityFindingType.js +20 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityFindingType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.d.ts +3 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js +3 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/StatusPageAsIncludedAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/StatusPageAsIncludedAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/StatusPageAsIncludedAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/StatusPageDataAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/StatusPageDataAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/StatusPageDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationServiceSettingsAttributes.d.ts +21 -1
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationServiceSettingsAttributes.js +20 -0
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationServiceSettingsAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationUpdateServiceSettingsRequestAttributes.d.ts +27 -6
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationUpdateServiceSettingsRequestAttributes.js +21 -0
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationUpdateServiceSettingsRequestAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationUpdateServiceSettingsRequestData.d.ts +1 -0
- package/dist/packages/datadog-api-client-v2/models/TestOptimizationUpdateServiceSettingsRequestData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAction.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAction.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAction.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleActionResponse.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleActionResponse.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleActionResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesCreate.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesCreate.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesResponse.d.ts +68 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesResponse.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleAttributesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleCreateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataCreate.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataCreate.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataCreate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataResponse.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataResponse.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleDataResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderItem.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderItem.js +37 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleReorderRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRuleUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRulesResponse.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRulesResponse.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationRulesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationTarget.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationTarget.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/TicketCreationTarget.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateVariantRequest.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateVariantRequest.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateVariantRequest.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -806,6 +806,108 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
806
806
|
return requestContext;
|
|
807
807
|
});
|
|
808
808
|
}
|
|
809
|
+
createSecurityFindingsAutomationDueDateRule(body, _options) {
|
|
810
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
811
|
+
const _config = _options || this.configuration;
|
|
812
|
+
logger_1.logger.warn("Using unstable operation 'createSecurityFindingsAutomationDueDateRule'");
|
|
813
|
+
if (!_config.unstableOperations["v2.createSecurityFindingsAutomationDueDateRule"]) {
|
|
814
|
+
throw new Error("Unstable operation 'createSecurityFindingsAutomationDueDateRule' is disabled");
|
|
815
|
+
}
|
|
816
|
+
// verify required parameter 'body' is not null or undefined
|
|
817
|
+
if (body === null || body === undefined) {
|
|
818
|
+
throw new baseapi_1.RequiredError("body", "createSecurityFindingsAutomationDueDateRule");
|
|
819
|
+
}
|
|
820
|
+
// Path Params
|
|
821
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules";
|
|
822
|
+
// Make Request Context
|
|
823
|
+
const requestContext = _config
|
|
824
|
+
.getServer("v2.SecurityMonitoringApi.createSecurityFindingsAutomationDueDateRule")
|
|
825
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
826
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
827
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
828
|
+
// Body Params
|
|
829
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
830
|
+
"application/json",
|
|
831
|
+
]);
|
|
832
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
833
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DueDateRuleCreateRequest", ""), 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
|
+
createSecurityFindingsAutomationMuteRule(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 'createSecurityFindingsAutomationMuteRule'");
|
|
847
|
+
if (!_config.unstableOperations["v2.createSecurityFindingsAutomationMuteRule"]) {
|
|
848
|
+
throw new Error("Unstable operation 'createSecurityFindingsAutomationMuteRule' is disabled");
|
|
849
|
+
}
|
|
850
|
+
// verify required parameter 'body' is not null or undefined
|
|
851
|
+
if (body === null || body === undefined) {
|
|
852
|
+
throw new baseapi_1.RequiredError("body", "createSecurityFindingsAutomationMuteRule");
|
|
853
|
+
}
|
|
854
|
+
// Path Params
|
|
855
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules";
|
|
856
|
+
// Make Request Context
|
|
857
|
+
const requestContext = _config
|
|
858
|
+
.getServer("v2.SecurityMonitoringApi.createSecurityFindingsAutomationMuteRule")
|
|
859
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
860
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
861
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
862
|
+
// Body Params
|
|
863
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
864
|
+
"application/json",
|
|
865
|
+
]);
|
|
866
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
867
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MuteRuleCreateRequest", ""), contentType);
|
|
868
|
+
requestContext.setBody(serializedBody);
|
|
869
|
+
// Apply auth methods
|
|
870
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
871
|
+
"apiKeyAuth",
|
|
872
|
+
"appKeyAuth",
|
|
873
|
+
]);
|
|
874
|
+
return requestContext;
|
|
875
|
+
});
|
|
876
|
+
}
|
|
877
|
+
createSecurityFindingsAutomationTicketCreationRule(body, _options) {
|
|
878
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
879
|
+
const _config = _options || this.configuration;
|
|
880
|
+
logger_1.logger.warn("Using unstable operation 'createSecurityFindingsAutomationTicketCreationRule'");
|
|
881
|
+
if (!_config.unstableOperations["v2.createSecurityFindingsAutomationTicketCreationRule"]) {
|
|
882
|
+
throw new Error("Unstable operation 'createSecurityFindingsAutomationTicketCreationRule' is disabled");
|
|
883
|
+
}
|
|
884
|
+
// verify required parameter 'body' is not null or undefined
|
|
885
|
+
if (body === null || body === undefined) {
|
|
886
|
+
throw new baseapi_1.RequiredError("body", "createSecurityFindingsAutomationTicketCreationRule");
|
|
887
|
+
}
|
|
888
|
+
// Path Params
|
|
889
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules";
|
|
890
|
+
// Make Request Context
|
|
891
|
+
const requestContext = _config
|
|
892
|
+
.getServer("v2.SecurityMonitoringApi.createSecurityFindingsAutomationTicketCreationRule")
|
|
893
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
894
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
895
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
896
|
+
// Body Params
|
|
897
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
898
|
+
"application/json",
|
|
899
|
+
]);
|
|
900
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
901
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "TicketCreationRuleCreateRequest", ""), contentType);
|
|
902
|
+
requestContext.setBody(serializedBody);
|
|
903
|
+
// Apply auth methods
|
|
904
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
905
|
+
"apiKeyAuth",
|
|
906
|
+
"appKeyAuth",
|
|
907
|
+
]);
|
|
908
|
+
return requestContext;
|
|
909
|
+
});
|
|
910
|
+
}
|
|
809
911
|
createSecurityMonitoringCriticalAsset(body, _options) {
|
|
810
912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
811
913
|
const _config = _options || this.configuration;
|
|
@@ -1272,6 +1374,87 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1272
1374
|
return requestContext;
|
|
1273
1375
|
});
|
|
1274
1376
|
}
|
|
1377
|
+
deleteSecurityFindingsAutomationDueDateRule(ruleId, _options) {
|
|
1378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1379
|
+
const _config = _options || this.configuration;
|
|
1380
|
+
logger_1.logger.warn("Using unstable operation 'deleteSecurityFindingsAutomationDueDateRule'");
|
|
1381
|
+
if (!_config.unstableOperations["v2.deleteSecurityFindingsAutomationDueDateRule"]) {
|
|
1382
|
+
throw new Error("Unstable operation 'deleteSecurityFindingsAutomationDueDateRule' is disabled");
|
|
1383
|
+
}
|
|
1384
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
1385
|
+
if (ruleId === null || ruleId === undefined) {
|
|
1386
|
+
throw new baseapi_1.RequiredError("ruleId", "deleteSecurityFindingsAutomationDueDateRule");
|
|
1387
|
+
}
|
|
1388
|
+
// Path Params
|
|
1389
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
1390
|
+
// Make Request Context
|
|
1391
|
+
const requestContext = _config
|
|
1392
|
+
.getServer("v2.SecurityMonitoringApi.deleteSecurityFindingsAutomationDueDateRule")
|
|
1393
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
1394
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
1395
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1396
|
+
// Apply auth methods
|
|
1397
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1398
|
+
"apiKeyAuth",
|
|
1399
|
+
"appKeyAuth",
|
|
1400
|
+
]);
|
|
1401
|
+
return requestContext;
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
deleteSecurityFindingsAutomationMuteRule(ruleId, _options) {
|
|
1405
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1406
|
+
const _config = _options || this.configuration;
|
|
1407
|
+
logger_1.logger.warn("Using unstable operation 'deleteSecurityFindingsAutomationMuteRule'");
|
|
1408
|
+
if (!_config.unstableOperations["v2.deleteSecurityFindingsAutomationMuteRule"]) {
|
|
1409
|
+
throw new Error("Unstable operation 'deleteSecurityFindingsAutomationMuteRule' is disabled");
|
|
1410
|
+
}
|
|
1411
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
1412
|
+
if (ruleId === null || ruleId === undefined) {
|
|
1413
|
+
throw new baseapi_1.RequiredError("ruleId", "deleteSecurityFindingsAutomationMuteRule");
|
|
1414
|
+
}
|
|
1415
|
+
// Path Params
|
|
1416
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
1417
|
+
// Make Request Context
|
|
1418
|
+
const requestContext = _config
|
|
1419
|
+
.getServer("v2.SecurityMonitoringApi.deleteSecurityFindingsAutomationMuteRule")
|
|
1420
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
1421
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
1422
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1423
|
+
// Apply auth methods
|
|
1424
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1425
|
+
"apiKeyAuth",
|
|
1426
|
+
"appKeyAuth",
|
|
1427
|
+
]);
|
|
1428
|
+
return requestContext;
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1431
|
+
deleteSecurityFindingsAutomationTicketCreationRule(ruleId, _options) {
|
|
1432
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1433
|
+
const _config = _options || this.configuration;
|
|
1434
|
+
logger_1.logger.warn("Using unstable operation 'deleteSecurityFindingsAutomationTicketCreationRule'");
|
|
1435
|
+
if (!_config.unstableOperations["v2.deleteSecurityFindingsAutomationTicketCreationRule"]) {
|
|
1436
|
+
throw new Error("Unstable operation 'deleteSecurityFindingsAutomationTicketCreationRule' is disabled");
|
|
1437
|
+
}
|
|
1438
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
1439
|
+
if (ruleId === null || ruleId === undefined) {
|
|
1440
|
+
throw new baseapi_1.RequiredError("ruleId", "deleteSecurityFindingsAutomationTicketCreationRule");
|
|
1441
|
+
}
|
|
1442
|
+
// Path Params
|
|
1443
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
1444
|
+
// Make Request Context
|
|
1445
|
+
const requestContext = _config
|
|
1446
|
+
.getServer("v2.SecurityMonitoringApi.deleteSecurityFindingsAutomationTicketCreationRule")
|
|
1447
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
1448
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
1449
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1450
|
+
// Apply auth methods
|
|
1451
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1452
|
+
"apiKeyAuth",
|
|
1453
|
+
"appKeyAuth",
|
|
1454
|
+
]);
|
|
1455
|
+
return requestContext;
|
|
1456
|
+
});
|
|
1457
|
+
}
|
|
1275
1458
|
deleteSecurityMonitoringCriticalAsset(criticalAssetId, _options) {
|
|
1276
1459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1277
1460
|
const _config = _options || this.configuration;
|
|
@@ -2049,6 +2232,87 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2049
2232
|
return requestContext;
|
|
2050
2233
|
});
|
|
2051
2234
|
}
|
|
2235
|
+
getSecurityFindingsAutomationDueDateRule(ruleId, _options) {
|
|
2236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2237
|
+
const _config = _options || this.configuration;
|
|
2238
|
+
logger_1.logger.warn("Using unstable operation 'getSecurityFindingsAutomationDueDateRule'");
|
|
2239
|
+
if (!_config.unstableOperations["v2.getSecurityFindingsAutomationDueDateRule"]) {
|
|
2240
|
+
throw new Error("Unstable operation 'getSecurityFindingsAutomationDueDateRule' is disabled");
|
|
2241
|
+
}
|
|
2242
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
2243
|
+
if (ruleId === null || ruleId === undefined) {
|
|
2244
|
+
throw new baseapi_1.RequiredError("ruleId", "getSecurityFindingsAutomationDueDateRule");
|
|
2245
|
+
}
|
|
2246
|
+
// Path Params
|
|
2247
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
2248
|
+
// Make Request Context
|
|
2249
|
+
const requestContext = _config
|
|
2250
|
+
.getServer("v2.SecurityMonitoringApi.getSecurityFindingsAutomationDueDateRule")
|
|
2251
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
2252
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
2253
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
2254
|
+
// Apply auth methods
|
|
2255
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2256
|
+
"apiKeyAuth",
|
|
2257
|
+
"appKeyAuth",
|
|
2258
|
+
]);
|
|
2259
|
+
return requestContext;
|
|
2260
|
+
});
|
|
2261
|
+
}
|
|
2262
|
+
getSecurityFindingsAutomationMuteRule(ruleId, _options) {
|
|
2263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2264
|
+
const _config = _options || this.configuration;
|
|
2265
|
+
logger_1.logger.warn("Using unstable operation 'getSecurityFindingsAutomationMuteRule'");
|
|
2266
|
+
if (!_config.unstableOperations["v2.getSecurityFindingsAutomationMuteRule"]) {
|
|
2267
|
+
throw new Error("Unstable operation 'getSecurityFindingsAutomationMuteRule' is disabled");
|
|
2268
|
+
}
|
|
2269
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
2270
|
+
if (ruleId === null || ruleId === undefined) {
|
|
2271
|
+
throw new baseapi_1.RequiredError("ruleId", "getSecurityFindingsAutomationMuteRule");
|
|
2272
|
+
}
|
|
2273
|
+
// Path Params
|
|
2274
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
2275
|
+
// Make Request Context
|
|
2276
|
+
const requestContext = _config
|
|
2277
|
+
.getServer("v2.SecurityMonitoringApi.getSecurityFindingsAutomationMuteRule")
|
|
2278
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
2279
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
2280
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
2281
|
+
// Apply auth methods
|
|
2282
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2283
|
+
"apiKeyAuth",
|
|
2284
|
+
"appKeyAuth",
|
|
2285
|
+
]);
|
|
2286
|
+
return requestContext;
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
getSecurityFindingsAutomationTicketCreationRule(ruleId, _options) {
|
|
2290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2291
|
+
const _config = _options || this.configuration;
|
|
2292
|
+
logger_1.logger.warn("Using unstable operation 'getSecurityFindingsAutomationTicketCreationRule'");
|
|
2293
|
+
if (!_config.unstableOperations["v2.getSecurityFindingsAutomationTicketCreationRule"]) {
|
|
2294
|
+
throw new Error("Unstable operation 'getSecurityFindingsAutomationTicketCreationRule' is disabled");
|
|
2295
|
+
}
|
|
2296
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
2297
|
+
if (ruleId === null || ruleId === undefined) {
|
|
2298
|
+
throw new baseapi_1.RequiredError("ruleId", "getSecurityFindingsAutomationTicketCreationRule");
|
|
2299
|
+
}
|
|
2300
|
+
// Path Params
|
|
2301
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
2302
|
+
// Make Request Context
|
|
2303
|
+
const requestContext = _config
|
|
2304
|
+
.getServer("v2.SecurityMonitoringApi.getSecurityFindingsAutomationTicketCreationRule")
|
|
2305
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
2306
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
2307
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
2308
|
+
// Apply auth methods
|
|
2309
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2310
|
+
"apiKeyAuth",
|
|
2311
|
+
"appKeyAuth",
|
|
2312
|
+
]);
|
|
2313
|
+
return requestContext;
|
|
2314
|
+
});
|
|
2315
|
+
}
|
|
2052
2316
|
getSecurityMonitoringCriticalAsset(criticalAssetId, _options) {
|
|
2053
2317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2054
2318
|
const _config = _options || this.configuration;
|
|
@@ -2728,6 +2992,41 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2728
2992
|
return requestContext;
|
|
2729
2993
|
});
|
|
2730
2994
|
}
|
|
2995
|
+
importSecurityVulnerabilities(body, _options) {
|
|
2996
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2997
|
+
const _config = _options || this.configuration;
|
|
2998
|
+
logger_1.logger.warn("Using unstable operation 'importSecurityVulnerabilities'");
|
|
2999
|
+
if (!_config.unstableOperations["v2.importSecurityVulnerabilities"]) {
|
|
3000
|
+
throw new Error("Unstable operation 'importSecurityVulnerabilities' is disabled");
|
|
3001
|
+
}
|
|
3002
|
+
// verify required parameter 'body' is not null or undefined
|
|
3003
|
+
if (body === null || body === undefined) {
|
|
3004
|
+
throw new baseapi_1.RequiredError("body", "importSecurityVulnerabilities");
|
|
3005
|
+
}
|
|
3006
|
+
// Path Params
|
|
3007
|
+
const localVarPath = "/api/v2/security/vulnerabilities";
|
|
3008
|
+
// Make Request Context
|
|
3009
|
+
const requestContext = _config
|
|
3010
|
+
.getServer("v2.SecurityMonitoringApi.importSecurityVulnerabilities")
|
|
3011
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
3012
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
3013
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
3014
|
+
// Body Params
|
|
3015
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
3016
|
+
"application/json",
|
|
3017
|
+
]);
|
|
3018
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
3019
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "CycloneDXBom", ""), contentType);
|
|
3020
|
+
requestContext.setBody(serializedBody);
|
|
3021
|
+
// Apply auth methods
|
|
3022
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3023
|
+
"apiKeyAuth",
|
|
3024
|
+
"appKeyAuth",
|
|
3025
|
+
"AuthZ",
|
|
3026
|
+
]);
|
|
3027
|
+
return requestContext;
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
2731
3030
|
listAssetsSBOMs(pageToken, pageNumber, filterAssetType, filterAssetName, filterPackageName, filterPackageVersion, filterLicenseName, filterLicenseType, _options) {
|
|
2732
3031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2733
3032
|
const _config = _options || this.configuration;
|
|
@@ -3112,38 +3411,48 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
3112
3411
|
return requestContext;
|
|
3113
3412
|
});
|
|
3114
3413
|
}
|
|
3115
|
-
|
|
3414
|
+
listSecurityFindingsAutomationDueDateRules(pageSize, pageNumber, _options) {
|
|
3116
3415
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3117
3416
|
const _config = _options || this.configuration;
|
|
3417
|
+
logger_1.logger.warn("Using unstable operation 'listSecurityFindingsAutomationDueDateRules'");
|
|
3418
|
+
if (!_config.unstableOperations["v2.listSecurityFindingsAutomationDueDateRules"]) {
|
|
3419
|
+
throw new Error("Unstable operation 'listSecurityFindingsAutomationDueDateRules' is disabled");
|
|
3420
|
+
}
|
|
3118
3421
|
// Path Params
|
|
3119
|
-
const localVarPath = "/api/v2/
|
|
3422
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules";
|
|
3120
3423
|
// Make Request Context
|
|
3121
3424
|
const requestContext = _config
|
|
3122
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
3425
|
+
.getServer("v2.SecurityMonitoringApi.listSecurityFindingsAutomationDueDateRules")
|
|
3123
3426
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
3124
3427
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
3125
3428
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
3429
|
+
// Query Params
|
|
3430
|
+
if (pageSize !== undefined) {
|
|
3431
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
3432
|
+
}
|
|
3433
|
+
if (pageNumber !== undefined) {
|
|
3434
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
3435
|
+
}
|
|
3126
3436
|
// Apply auth methods
|
|
3127
3437
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3128
3438
|
"apiKeyAuth",
|
|
3129
3439
|
"appKeyAuth",
|
|
3130
|
-
"AuthZ",
|
|
3131
3440
|
]);
|
|
3132
3441
|
return requestContext;
|
|
3133
3442
|
});
|
|
3134
3443
|
}
|
|
3135
|
-
|
|
3444
|
+
listSecurityFindingsAutomationMuteRules(pageSize, pageNumber, _options) {
|
|
3136
3445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3137
3446
|
const _config = _options || this.configuration;
|
|
3138
|
-
logger_1.logger.warn("Using unstable operation '
|
|
3139
|
-
if (!_config.unstableOperations["v2.
|
|
3140
|
-
throw new Error("Unstable operation '
|
|
3447
|
+
logger_1.logger.warn("Using unstable operation 'listSecurityFindingsAutomationMuteRules'");
|
|
3448
|
+
if (!_config.unstableOperations["v2.listSecurityFindingsAutomationMuteRules"]) {
|
|
3449
|
+
throw new Error("Unstable operation 'listSecurityFindingsAutomationMuteRules' is disabled");
|
|
3141
3450
|
}
|
|
3142
3451
|
// Path Params
|
|
3143
|
-
const localVarPath = "/api/v2/
|
|
3452
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules";
|
|
3144
3453
|
// Make Request Context
|
|
3145
3454
|
const requestContext = _config
|
|
3146
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
3455
|
+
.getServer("v2.SecurityMonitoringApi.listSecurityFindingsAutomationMuteRules")
|
|
3147
3456
|
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
3148
3457
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
3149
3458
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -3154,30 +3463,110 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
3154
3463
|
if (pageNumber !== undefined) {
|
|
3155
3464
|
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
3156
3465
|
}
|
|
3157
|
-
if (sort !== undefined) {
|
|
3158
|
-
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
3159
|
-
}
|
|
3160
|
-
if (filterQuery !== undefined) {
|
|
3161
|
-
requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", ""), "");
|
|
3162
|
-
}
|
|
3163
3466
|
// Apply auth methods
|
|
3164
3467
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3165
3468
|
"apiKeyAuth",
|
|
3166
3469
|
"appKeyAuth",
|
|
3167
|
-
"AuthZ",
|
|
3168
3470
|
]);
|
|
3169
3471
|
return requestContext;
|
|
3170
3472
|
});
|
|
3171
3473
|
}
|
|
3172
|
-
|
|
3474
|
+
listSecurityFindingsAutomationTicketCreationRules(pageSize, pageNumber, _options) {
|
|
3173
3475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3174
3476
|
const _config = _options || this.configuration;
|
|
3175
|
-
logger_1.logger.warn("Using unstable operation '
|
|
3176
|
-
if (!_config.unstableOperations["v2.
|
|
3177
|
-
throw new Error("Unstable operation '
|
|
3477
|
+
logger_1.logger.warn("Using unstable operation 'listSecurityFindingsAutomationTicketCreationRules'");
|
|
3478
|
+
if (!_config.unstableOperations["v2.listSecurityFindingsAutomationTicketCreationRules"]) {
|
|
3479
|
+
throw new Error("Unstable operation 'listSecurityFindingsAutomationTicketCreationRules' is disabled");
|
|
3178
3480
|
}
|
|
3179
3481
|
// Path Params
|
|
3180
|
-
const localVarPath = "/api/v2/
|
|
3482
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules";
|
|
3483
|
+
// Make Request Context
|
|
3484
|
+
const requestContext = _config
|
|
3485
|
+
.getServer("v2.SecurityMonitoringApi.listSecurityFindingsAutomationTicketCreationRules")
|
|
3486
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
3487
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
3488
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
3489
|
+
// Query Params
|
|
3490
|
+
if (pageSize !== undefined) {
|
|
3491
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
3492
|
+
}
|
|
3493
|
+
if (pageNumber !== undefined) {
|
|
3494
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
3495
|
+
}
|
|
3496
|
+
// Apply auth methods
|
|
3497
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3498
|
+
"apiKeyAuth",
|
|
3499
|
+
"appKeyAuth",
|
|
3500
|
+
]);
|
|
3501
|
+
return requestContext;
|
|
3502
|
+
});
|
|
3503
|
+
}
|
|
3504
|
+
listSecurityMonitoringCriticalAssets(_options) {
|
|
3505
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3506
|
+
const _config = _options || this.configuration;
|
|
3507
|
+
// Path Params
|
|
3508
|
+
const localVarPath = "/api/v2/security_monitoring/configuration/critical_assets";
|
|
3509
|
+
// Make Request Context
|
|
3510
|
+
const requestContext = _config
|
|
3511
|
+
.getServer("v2.SecurityMonitoringApi.listSecurityMonitoringCriticalAssets")
|
|
3512
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
3513
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
3514
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
3515
|
+
// Apply auth methods
|
|
3516
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3517
|
+
"apiKeyAuth",
|
|
3518
|
+
"appKeyAuth",
|
|
3519
|
+
"AuthZ",
|
|
3520
|
+
]);
|
|
3521
|
+
return requestContext;
|
|
3522
|
+
});
|
|
3523
|
+
}
|
|
3524
|
+
listSecurityMonitoringDatasets(pageSize, pageNumber, sort, filterQuery, _options) {
|
|
3525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3526
|
+
const _config = _options || this.configuration;
|
|
3527
|
+
logger_1.logger.warn("Using unstable operation 'listSecurityMonitoringDatasets'");
|
|
3528
|
+
if (!_config.unstableOperations["v2.listSecurityMonitoringDatasets"]) {
|
|
3529
|
+
throw new Error("Unstable operation 'listSecurityMonitoringDatasets' is disabled");
|
|
3530
|
+
}
|
|
3531
|
+
// Path Params
|
|
3532
|
+
const localVarPath = "/api/v2/security_monitoring/datasets";
|
|
3533
|
+
// Make Request Context
|
|
3534
|
+
const requestContext = _config
|
|
3535
|
+
.getServer("v2.SecurityMonitoringApi.listSecurityMonitoringDatasets")
|
|
3536
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
3537
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
3538
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
3539
|
+
// Query Params
|
|
3540
|
+
if (pageSize !== undefined) {
|
|
3541
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
3542
|
+
}
|
|
3543
|
+
if (pageNumber !== undefined) {
|
|
3544
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
3545
|
+
}
|
|
3546
|
+
if (sort !== undefined) {
|
|
3547
|
+
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
3548
|
+
}
|
|
3549
|
+
if (filterQuery !== undefined) {
|
|
3550
|
+
requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", ""), "");
|
|
3551
|
+
}
|
|
3552
|
+
// Apply auth methods
|
|
3553
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
3554
|
+
"apiKeyAuth",
|
|
3555
|
+
"appKeyAuth",
|
|
3556
|
+
"AuthZ",
|
|
3557
|
+
]);
|
|
3558
|
+
return requestContext;
|
|
3559
|
+
});
|
|
3560
|
+
}
|
|
3561
|
+
listSecurityMonitoringHistsignals(filterQuery, filterFrom, filterTo, sort, pageCursor, pageLimit, _options) {
|
|
3562
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3563
|
+
const _config = _options || this.configuration;
|
|
3564
|
+
logger_1.logger.warn("Using unstable operation 'listSecurityMonitoringHistsignals'");
|
|
3565
|
+
if (!_config.unstableOperations["v2.listSecurityMonitoringHistsignals"]) {
|
|
3566
|
+
throw new Error("Unstable operation 'listSecurityMonitoringHistsignals' is disabled");
|
|
3567
|
+
}
|
|
3568
|
+
// Path Params
|
|
3569
|
+
const localVarPath = "/api/v2/siem-historical-detections/histsignals";
|
|
3181
3570
|
// Make Request Context
|
|
3182
3571
|
const requestContext = _config
|
|
3183
3572
|
.getServer("v2.SecurityMonitoringApi.listSecurityMonitoringHistsignals")
|
|
@@ -3696,6 +4085,108 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
3696
4085
|
return requestContext;
|
|
3697
4086
|
});
|
|
3698
4087
|
}
|
|
4088
|
+
reorderSecurityFindingsAutomationDueDateRules(body, _options) {
|
|
4089
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4090
|
+
const _config = _options || this.configuration;
|
|
4091
|
+
logger_1.logger.warn("Using unstable operation 'reorderSecurityFindingsAutomationDueDateRules'");
|
|
4092
|
+
if (!_config.unstableOperations["v2.reorderSecurityFindingsAutomationDueDateRules"]) {
|
|
4093
|
+
throw new Error("Unstable operation 'reorderSecurityFindingsAutomationDueDateRules' is disabled");
|
|
4094
|
+
}
|
|
4095
|
+
// verify required parameter 'body' is not null or undefined
|
|
4096
|
+
if (body === null || body === undefined) {
|
|
4097
|
+
throw new baseapi_1.RequiredError("body", "reorderSecurityFindingsAutomationDueDateRules");
|
|
4098
|
+
}
|
|
4099
|
+
// Path Params
|
|
4100
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules/reorder";
|
|
4101
|
+
// Make Request Context
|
|
4102
|
+
const requestContext = _config
|
|
4103
|
+
.getServer("v2.SecurityMonitoringApi.reorderSecurityFindingsAutomationDueDateRules")
|
|
4104
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
4105
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4106
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4107
|
+
// Body Params
|
|
4108
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4109
|
+
"application/json",
|
|
4110
|
+
]);
|
|
4111
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4112
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DueDateRuleReorderRequest", ""), contentType);
|
|
4113
|
+
requestContext.setBody(serializedBody);
|
|
4114
|
+
// Apply auth methods
|
|
4115
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4116
|
+
"apiKeyAuth",
|
|
4117
|
+
"appKeyAuth",
|
|
4118
|
+
]);
|
|
4119
|
+
return requestContext;
|
|
4120
|
+
});
|
|
4121
|
+
}
|
|
4122
|
+
reorderSecurityFindingsAutomationMuteRules(body, _options) {
|
|
4123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4124
|
+
const _config = _options || this.configuration;
|
|
4125
|
+
logger_1.logger.warn("Using unstable operation 'reorderSecurityFindingsAutomationMuteRules'");
|
|
4126
|
+
if (!_config.unstableOperations["v2.reorderSecurityFindingsAutomationMuteRules"]) {
|
|
4127
|
+
throw new Error("Unstable operation 'reorderSecurityFindingsAutomationMuteRules' is disabled");
|
|
4128
|
+
}
|
|
4129
|
+
// verify required parameter 'body' is not null or undefined
|
|
4130
|
+
if (body === null || body === undefined) {
|
|
4131
|
+
throw new baseapi_1.RequiredError("body", "reorderSecurityFindingsAutomationMuteRules");
|
|
4132
|
+
}
|
|
4133
|
+
// Path Params
|
|
4134
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules/reorder";
|
|
4135
|
+
// Make Request Context
|
|
4136
|
+
const requestContext = _config
|
|
4137
|
+
.getServer("v2.SecurityMonitoringApi.reorderSecurityFindingsAutomationMuteRules")
|
|
4138
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
4139
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4140
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4141
|
+
// Body Params
|
|
4142
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4143
|
+
"application/json",
|
|
4144
|
+
]);
|
|
4145
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4146
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MuteRuleReorderRequest", ""), contentType);
|
|
4147
|
+
requestContext.setBody(serializedBody);
|
|
4148
|
+
// Apply auth methods
|
|
4149
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4150
|
+
"apiKeyAuth",
|
|
4151
|
+
"appKeyAuth",
|
|
4152
|
+
]);
|
|
4153
|
+
return requestContext;
|
|
4154
|
+
});
|
|
4155
|
+
}
|
|
4156
|
+
reorderSecurityFindingsAutomationTicketCreationRules(body, _options) {
|
|
4157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4158
|
+
const _config = _options || this.configuration;
|
|
4159
|
+
logger_1.logger.warn("Using unstable operation 'reorderSecurityFindingsAutomationTicketCreationRules'");
|
|
4160
|
+
if (!_config.unstableOperations["v2.reorderSecurityFindingsAutomationTicketCreationRules"]) {
|
|
4161
|
+
throw new Error("Unstable operation 'reorderSecurityFindingsAutomationTicketCreationRules' is disabled");
|
|
4162
|
+
}
|
|
4163
|
+
// verify required parameter 'body' is not null or undefined
|
|
4164
|
+
if (body === null || body === undefined) {
|
|
4165
|
+
throw new baseapi_1.RequiredError("body", "reorderSecurityFindingsAutomationTicketCreationRules");
|
|
4166
|
+
}
|
|
4167
|
+
// Path Params
|
|
4168
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules/reorder";
|
|
4169
|
+
// Make Request Context
|
|
4170
|
+
const requestContext = _config
|
|
4171
|
+
.getServer("v2.SecurityMonitoringApi.reorderSecurityFindingsAutomationTicketCreationRules")
|
|
4172
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
4173
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4174
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4175
|
+
// Body Params
|
|
4176
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4177
|
+
"application/json",
|
|
4178
|
+
]);
|
|
4179
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4180
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "TicketCreationRuleReorderRequest", ""), contentType);
|
|
4181
|
+
requestContext.setBody(serializedBody);
|
|
4182
|
+
// Apply auth methods
|
|
4183
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4184
|
+
"apiKeyAuth",
|
|
4185
|
+
"appKeyAuth",
|
|
4186
|
+
]);
|
|
4187
|
+
return requestContext;
|
|
4188
|
+
});
|
|
4189
|
+
}
|
|
3699
4190
|
restoreSecurityMonitoringRule(ruleId, version, _options) {
|
|
3700
4191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3701
4192
|
const _config = _options || this.configuration;
|
|
@@ -4093,6 +4584,120 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
4093
4584
|
return requestContext;
|
|
4094
4585
|
});
|
|
4095
4586
|
}
|
|
4587
|
+
updateSecurityFindingsAutomationDueDateRule(ruleId, body, _options) {
|
|
4588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4589
|
+
const _config = _options || this.configuration;
|
|
4590
|
+
logger_1.logger.warn("Using unstable operation 'updateSecurityFindingsAutomationDueDateRule'");
|
|
4591
|
+
if (!_config.unstableOperations["v2.updateSecurityFindingsAutomationDueDateRule"]) {
|
|
4592
|
+
throw new Error("Unstable operation 'updateSecurityFindingsAutomationDueDateRule' is disabled");
|
|
4593
|
+
}
|
|
4594
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
4595
|
+
if (ruleId === null || ruleId === undefined) {
|
|
4596
|
+
throw new baseapi_1.RequiredError("ruleId", "updateSecurityFindingsAutomationDueDateRule");
|
|
4597
|
+
}
|
|
4598
|
+
// verify required parameter 'body' is not null or undefined
|
|
4599
|
+
if (body === null || body === undefined) {
|
|
4600
|
+
throw new baseapi_1.RequiredError("body", "updateSecurityFindingsAutomationDueDateRule");
|
|
4601
|
+
}
|
|
4602
|
+
// Path Params
|
|
4603
|
+
const localVarPath = "/api/v2/security/findings/automation/due_date_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
4604
|
+
// Make Request Context
|
|
4605
|
+
const requestContext = _config
|
|
4606
|
+
.getServer("v2.SecurityMonitoringApi.updateSecurityFindingsAutomationDueDateRule")
|
|
4607
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
4608
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4609
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4610
|
+
// Body Params
|
|
4611
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4612
|
+
"application/json",
|
|
4613
|
+
]);
|
|
4614
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4615
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DueDateRuleUpdateRequest", ""), contentType);
|
|
4616
|
+
requestContext.setBody(serializedBody);
|
|
4617
|
+
// Apply auth methods
|
|
4618
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4619
|
+
"apiKeyAuth",
|
|
4620
|
+
"appKeyAuth",
|
|
4621
|
+
]);
|
|
4622
|
+
return requestContext;
|
|
4623
|
+
});
|
|
4624
|
+
}
|
|
4625
|
+
updateSecurityFindingsAutomationMuteRule(ruleId, body, _options) {
|
|
4626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4627
|
+
const _config = _options || this.configuration;
|
|
4628
|
+
logger_1.logger.warn("Using unstable operation 'updateSecurityFindingsAutomationMuteRule'");
|
|
4629
|
+
if (!_config.unstableOperations["v2.updateSecurityFindingsAutomationMuteRule"]) {
|
|
4630
|
+
throw new Error("Unstable operation 'updateSecurityFindingsAutomationMuteRule' is disabled");
|
|
4631
|
+
}
|
|
4632
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
4633
|
+
if (ruleId === null || ruleId === undefined) {
|
|
4634
|
+
throw new baseapi_1.RequiredError("ruleId", "updateSecurityFindingsAutomationMuteRule");
|
|
4635
|
+
}
|
|
4636
|
+
// verify required parameter 'body' is not null or undefined
|
|
4637
|
+
if (body === null || body === undefined) {
|
|
4638
|
+
throw new baseapi_1.RequiredError("body", "updateSecurityFindingsAutomationMuteRule");
|
|
4639
|
+
}
|
|
4640
|
+
// Path Params
|
|
4641
|
+
const localVarPath = "/api/v2/security/findings/automation/mute_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
4642
|
+
// Make Request Context
|
|
4643
|
+
const requestContext = _config
|
|
4644
|
+
.getServer("v2.SecurityMonitoringApi.updateSecurityFindingsAutomationMuteRule")
|
|
4645
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
4646
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4647
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4648
|
+
// Body Params
|
|
4649
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4650
|
+
"application/json",
|
|
4651
|
+
]);
|
|
4652
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4653
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "MuteRuleUpdateRequest", ""), contentType);
|
|
4654
|
+
requestContext.setBody(serializedBody);
|
|
4655
|
+
// Apply auth methods
|
|
4656
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4657
|
+
"apiKeyAuth",
|
|
4658
|
+
"appKeyAuth",
|
|
4659
|
+
]);
|
|
4660
|
+
return requestContext;
|
|
4661
|
+
});
|
|
4662
|
+
}
|
|
4663
|
+
updateSecurityFindingsAutomationTicketCreationRule(ruleId, body, _options) {
|
|
4664
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4665
|
+
const _config = _options || this.configuration;
|
|
4666
|
+
logger_1.logger.warn("Using unstable operation 'updateSecurityFindingsAutomationTicketCreationRule'");
|
|
4667
|
+
if (!_config.unstableOperations["v2.updateSecurityFindingsAutomationTicketCreationRule"]) {
|
|
4668
|
+
throw new Error("Unstable operation 'updateSecurityFindingsAutomationTicketCreationRule' is disabled");
|
|
4669
|
+
}
|
|
4670
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
4671
|
+
if (ruleId === null || ruleId === undefined) {
|
|
4672
|
+
throw new baseapi_1.RequiredError("ruleId", "updateSecurityFindingsAutomationTicketCreationRule");
|
|
4673
|
+
}
|
|
4674
|
+
// verify required parameter 'body' is not null or undefined
|
|
4675
|
+
if (body === null || body === undefined) {
|
|
4676
|
+
throw new baseapi_1.RequiredError("body", "updateSecurityFindingsAutomationTicketCreationRule");
|
|
4677
|
+
}
|
|
4678
|
+
// Path Params
|
|
4679
|
+
const localVarPath = "/api/v2/security/findings/automation/ticket_creation_rules/{rule_id}".replace("{rule_id}", encodeURIComponent(String(ruleId)));
|
|
4680
|
+
// Make Request Context
|
|
4681
|
+
const requestContext = _config
|
|
4682
|
+
.getServer("v2.SecurityMonitoringApi.updateSecurityFindingsAutomationTicketCreationRule")
|
|
4683
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
4684
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
4685
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
4686
|
+
// Body Params
|
|
4687
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
4688
|
+
"application/json",
|
|
4689
|
+
]);
|
|
4690
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
4691
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "TicketCreationRuleUpdateRequest", ""), contentType);
|
|
4692
|
+
requestContext.setBody(serializedBody);
|
|
4693
|
+
// Apply auth methods
|
|
4694
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
4695
|
+
"apiKeyAuth",
|
|
4696
|
+
"appKeyAuth",
|
|
4697
|
+
]);
|
|
4698
|
+
return requestContext;
|
|
4699
|
+
});
|
|
4700
|
+
}
|
|
4096
4701
|
updateSecurityMonitoringCriticalAsset(criticalAssetId, body, _options) {
|
|
4097
4702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4098
4703
|
const _config = _options || this.configuration;
|
|
@@ -5354,14 +5959,155 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5354
5959
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5355
5960
|
* to the expected objects
|
|
5356
5961
|
*
|
|
5357
|
-
* @params response Response returned by the server for a request to
|
|
5962
|
+
* @params response Response returned by the server for a request to createSecurityFindingsAutomationDueDateRule
|
|
5358
5963
|
* @throws ApiException if the response code was not in [200, 299]
|
|
5359
5964
|
*/
|
|
5360
|
-
|
|
5965
|
+
createSecurityFindingsAutomationDueDateRule(response) {
|
|
5361
5966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5362
5967
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5363
|
-
if (response.httpStatusCode ===
|
|
5364
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5968
|
+
if (response.httpStatusCode === 201) {
|
|
5969
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse");
|
|
5970
|
+
return body;
|
|
5971
|
+
}
|
|
5972
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
5973
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5974
|
+
let body;
|
|
5975
|
+
try {
|
|
5976
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
5977
|
+
}
|
|
5978
|
+
catch (error) {
|
|
5979
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
5980
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
5981
|
+
}
|
|
5982
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
5983
|
+
}
|
|
5984
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
5985
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5986
|
+
let body;
|
|
5987
|
+
try {
|
|
5988
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
5989
|
+
}
|
|
5990
|
+
catch (error) {
|
|
5991
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
5992
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
5993
|
+
}
|
|
5994
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
5995
|
+
}
|
|
5996
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5997
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5998
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse", "");
|
|
5999
|
+
return body;
|
|
6000
|
+
}
|
|
6001
|
+
const body = (yield response.body.text()) || "";
|
|
6002
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6003
|
+
});
|
|
6004
|
+
}
|
|
6005
|
+
/**
|
|
6006
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6007
|
+
* to the expected objects
|
|
6008
|
+
*
|
|
6009
|
+
* @params response Response returned by the server for a request to createSecurityFindingsAutomationMuteRule
|
|
6010
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6011
|
+
*/
|
|
6012
|
+
createSecurityFindingsAutomationMuteRule(response) {
|
|
6013
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6014
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6015
|
+
if (response.httpStatusCode === 201) {
|
|
6016
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse");
|
|
6017
|
+
return body;
|
|
6018
|
+
}
|
|
6019
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
6020
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6021
|
+
let body;
|
|
6022
|
+
try {
|
|
6023
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
6024
|
+
}
|
|
6025
|
+
catch (error) {
|
|
6026
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6027
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6028
|
+
}
|
|
6029
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6030
|
+
}
|
|
6031
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
6032
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6033
|
+
let body;
|
|
6034
|
+
try {
|
|
6035
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
6036
|
+
}
|
|
6037
|
+
catch (error) {
|
|
6038
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6039
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6040
|
+
}
|
|
6041
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6042
|
+
}
|
|
6043
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6044
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6045
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse", "");
|
|
6046
|
+
return body;
|
|
6047
|
+
}
|
|
6048
|
+
const body = (yield response.body.text()) || "";
|
|
6049
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6050
|
+
});
|
|
6051
|
+
}
|
|
6052
|
+
/**
|
|
6053
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6054
|
+
* to the expected objects
|
|
6055
|
+
*
|
|
6056
|
+
* @params response Response returned by the server for a request to createSecurityFindingsAutomationTicketCreationRule
|
|
6057
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6058
|
+
*/
|
|
6059
|
+
createSecurityFindingsAutomationTicketCreationRule(response) {
|
|
6060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6061
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6062
|
+
if (response.httpStatusCode === 201) {
|
|
6063
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse");
|
|
6064
|
+
return body;
|
|
6065
|
+
}
|
|
6066
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
6067
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6068
|
+
let body;
|
|
6069
|
+
try {
|
|
6070
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
6071
|
+
}
|
|
6072
|
+
catch (error) {
|
|
6073
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6074
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6075
|
+
}
|
|
6076
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6077
|
+
}
|
|
6078
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
6079
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6080
|
+
let body;
|
|
6081
|
+
try {
|
|
6082
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
6083
|
+
}
|
|
6084
|
+
catch (error) {
|
|
6085
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6086
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6087
|
+
}
|
|
6088
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6089
|
+
}
|
|
6090
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6091
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6092
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse", "");
|
|
6093
|
+
return body;
|
|
6094
|
+
}
|
|
6095
|
+
const body = (yield response.body.text()) || "";
|
|
6096
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6097
|
+
});
|
|
6098
|
+
}
|
|
6099
|
+
/**
|
|
6100
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6101
|
+
* to the expected objects
|
|
6102
|
+
*
|
|
6103
|
+
* @params response Response returned by the server for a request to createSecurityMonitoringCriticalAsset
|
|
6104
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6105
|
+
*/
|
|
6106
|
+
createSecurityMonitoringCriticalAsset(response) {
|
|
6107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6108
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6109
|
+
if (response.httpStatusCode === 200) {
|
|
6110
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringCriticalAssetResponse");
|
|
5365
6111
|
return body;
|
|
5366
6112
|
}
|
|
5367
6113
|
if (response.httpStatusCode === 400 ||
|
|
@@ -5946,6 +6692,111 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5946
6692
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
5947
6693
|
});
|
|
5948
6694
|
}
|
|
6695
|
+
/**
|
|
6696
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6697
|
+
* to the expected objects
|
|
6698
|
+
*
|
|
6699
|
+
* @params response Response returned by the server for a request to deleteSecurityFindingsAutomationDueDateRule
|
|
6700
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6701
|
+
*/
|
|
6702
|
+
deleteSecurityFindingsAutomationDueDateRule(response) {
|
|
6703
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6704
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6705
|
+
if (response.httpStatusCode === 204) {
|
|
6706
|
+
return;
|
|
6707
|
+
}
|
|
6708
|
+
if (response.httpStatusCode === 403 ||
|
|
6709
|
+
response.httpStatusCode === 404 ||
|
|
6710
|
+
response.httpStatusCode === 429) {
|
|
6711
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6712
|
+
let body;
|
|
6713
|
+
try {
|
|
6714
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
6715
|
+
}
|
|
6716
|
+
catch (error) {
|
|
6717
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6718
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6719
|
+
}
|
|
6720
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6721
|
+
}
|
|
6722
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6723
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6724
|
+
return;
|
|
6725
|
+
}
|
|
6726
|
+
const body = (yield response.body.text()) || "";
|
|
6727
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6728
|
+
});
|
|
6729
|
+
}
|
|
6730
|
+
/**
|
|
6731
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6732
|
+
* to the expected objects
|
|
6733
|
+
*
|
|
6734
|
+
* @params response Response returned by the server for a request to deleteSecurityFindingsAutomationMuteRule
|
|
6735
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6736
|
+
*/
|
|
6737
|
+
deleteSecurityFindingsAutomationMuteRule(response) {
|
|
6738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6739
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6740
|
+
if (response.httpStatusCode === 204) {
|
|
6741
|
+
return;
|
|
6742
|
+
}
|
|
6743
|
+
if (response.httpStatusCode === 403 ||
|
|
6744
|
+
response.httpStatusCode === 404 ||
|
|
6745
|
+
response.httpStatusCode === 429) {
|
|
6746
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6747
|
+
let body;
|
|
6748
|
+
try {
|
|
6749
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
6750
|
+
}
|
|
6751
|
+
catch (error) {
|
|
6752
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6753
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6754
|
+
}
|
|
6755
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6756
|
+
}
|
|
6757
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6758
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6759
|
+
return;
|
|
6760
|
+
}
|
|
6761
|
+
const body = (yield response.body.text()) || "";
|
|
6762
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6763
|
+
});
|
|
6764
|
+
}
|
|
6765
|
+
/**
|
|
6766
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6767
|
+
* to the expected objects
|
|
6768
|
+
*
|
|
6769
|
+
* @params response Response returned by the server for a request to deleteSecurityFindingsAutomationTicketCreationRule
|
|
6770
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
6771
|
+
*/
|
|
6772
|
+
deleteSecurityFindingsAutomationTicketCreationRule(response) {
|
|
6773
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6774
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6775
|
+
if (response.httpStatusCode === 204) {
|
|
6776
|
+
return;
|
|
6777
|
+
}
|
|
6778
|
+
if (response.httpStatusCode === 403 ||
|
|
6779
|
+
response.httpStatusCode === 404 ||
|
|
6780
|
+
response.httpStatusCode === 429) {
|
|
6781
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
6782
|
+
let body;
|
|
6783
|
+
try {
|
|
6784
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
6785
|
+
}
|
|
6786
|
+
catch (error) {
|
|
6787
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
6788
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
6789
|
+
}
|
|
6790
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
6791
|
+
}
|
|
6792
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6793
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6794
|
+
return;
|
|
6795
|
+
}
|
|
6796
|
+
const body = (yield response.body.text()) || "";
|
|
6797
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
6798
|
+
});
|
|
6799
|
+
}
|
|
5949
6800
|
/**
|
|
5950
6801
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5951
6802
|
* to the expected objects
|
|
@@ -6947,14 +7798,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
6947
7798
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6948
7799
|
* to the expected objects
|
|
6949
7800
|
*
|
|
6950
|
-
* @params response Response returned by the server for a request to
|
|
7801
|
+
* @params response Response returned by the server for a request to getSecurityFindingsAutomationDueDateRule
|
|
6951
7802
|
* @throws ApiException if the response code was not in [200, 299]
|
|
6952
7803
|
*/
|
|
6953
|
-
|
|
7804
|
+
getSecurityFindingsAutomationDueDateRule(response) {
|
|
6954
7805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6955
7806
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6956
7807
|
if (response.httpStatusCode === 200) {
|
|
6957
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
7808
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse");
|
|
6958
7809
|
return body;
|
|
6959
7810
|
}
|
|
6960
7811
|
if (response.httpStatusCode === 403 ||
|
|
@@ -6973,7 +7824,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
6973
7824
|
}
|
|
6974
7825
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
6975
7826
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
6976
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
7827
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse", "");
|
|
6977
7828
|
return body;
|
|
6978
7829
|
}
|
|
6979
7830
|
const body = (yield response.body.text()) || "";
|
|
@@ -6984,31 +7835,19 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
6984
7835
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
6985
7836
|
* to the expected objects
|
|
6986
7837
|
*
|
|
6987
|
-
* @params response Response returned by the server for a request to
|
|
7838
|
+
* @params response Response returned by the server for a request to getSecurityFindingsAutomationMuteRule
|
|
6988
7839
|
* @throws ApiException if the response code was not in [200, 299]
|
|
6989
7840
|
*/
|
|
6990
|
-
|
|
7841
|
+
getSecurityFindingsAutomationMuteRule(response) {
|
|
6991
7842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6992
7843
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
6993
7844
|
if (response.httpStatusCode === 200) {
|
|
6994
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
7845
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse");
|
|
6995
7846
|
return body;
|
|
6996
7847
|
}
|
|
6997
|
-
if (response.httpStatusCode ===
|
|
6998
|
-
response.httpStatusCode ===
|
|
6999
|
-
response.httpStatusCode ===
|
|
7000
|
-
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7001
|
-
let body;
|
|
7002
|
-
try {
|
|
7003
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
7004
|
-
}
|
|
7005
|
-
catch (error) {
|
|
7006
|
-
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
7007
|
-
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
7008
|
-
}
|
|
7009
|
-
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
7010
|
-
}
|
|
7011
|
-
if (response.httpStatusCode === 429) {
|
|
7848
|
+
if (response.httpStatusCode === 403 ||
|
|
7849
|
+
response.httpStatusCode === 404 ||
|
|
7850
|
+
response.httpStatusCode === 429) {
|
|
7012
7851
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7013
7852
|
let body;
|
|
7014
7853
|
try {
|
|
@@ -7022,7 +7861,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
7022
7861
|
}
|
|
7023
7862
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
7024
7863
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
7025
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
7864
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse", "");
|
|
7026
7865
|
return body;
|
|
7027
7866
|
}
|
|
7028
7867
|
const body = (yield response.body.text()) || "";
|
|
@@ -7033,10 +7872,133 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
7033
7872
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
7034
7873
|
* to the expected objects
|
|
7035
7874
|
*
|
|
7036
|
-
* @params response Response returned by the server for a request to
|
|
7875
|
+
* @params response Response returned by the server for a request to getSecurityFindingsAutomationTicketCreationRule
|
|
7037
7876
|
* @throws ApiException if the response code was not in [200, 299]
|
|
7038
7877
|
*/
|
|
7039
|
-
|
|
7878
|
+
getSecurityFindingsAutomationTicketCreationRule(response) {
|
|
7879
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7880
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
7881
|
+
if (response.httpStatusCode === 200) {
|
|
7882
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse");
|
|
7883
|
+
return body;
|
|
7884
|
+
}
|
|
7885
|
+
if (response.httpStatusCode === 403 ||
|
|
7886
|
+
response.httpStatusCode === 404 ||
|
|
7887
|
+
response.httpStatusCode === 429) {
|
|
7888
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7889
|
+
let body;
|
|
7890
|
+
try {
|
|
7891
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
7892
|
+
}
|
|
7893
|
+
catch (error) {
|
|
7894
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
7895
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
7896
|
+
}
|
|
7897
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
7898
|
+
}
|
|
7899
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
7900
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
7901
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse", "");
|
|
7902
|
+
return body;
|
|
7903
|
+
}
|
|
7904
|
+
const body = (yield response.body.text()) || "";
|
|
7905
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
7906
|
+
});
|
|
7907
|
+
}
|
|
7908
|
+
/**
|
|
7909
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
7910
|
+
* to the expected objects
|
|
7911
|
+
*
|
|
7912
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringCriticalAsset
|
|
7913
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
7914
|
+
*/
|
|
7915
|
+
getSecurityMonitoringCriticalAsset(response) {
|
|
7916
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7917
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
7918
|
+
if (response.httpStatusCode === 200) {
|
|
7919
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringCriticalAssetResponse");
|
|
7920
|
+
return body;
|
|
7921
|
+
}
|
|
7922
|
+
if (response.httpStatusCode === 403 ||
|
|
7923
|
+
response.httpStatusCode === 404 ||
|
|
7924
|
+
response.httpStatusCode === 429) {
|
|
7925
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7926
|
+
let body;
|
|
7927
|
+
try {
|
|
7928
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
7929
|
+
}
|
|
7930
|
+
catch (error) {
|
|
7931
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
7932
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
7933
|
+
}
|
|
7934
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
7935
|
+
}
|
|
7936
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
7937
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
7938
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringCriticalAssetResponse", "");
|
|
7939
|
+
return body;
|
|
7940
|
+
}
|
|
7941
|
+
const body = (yield response.body.text()) || "";
|
|
7942
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
7943
|
+
});
|
|
7944
|
+
}
|
|
7945
|
+
/**
|
|
7946
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
7947
|
+
* to the expected objects
|
|
7948
|
+
*
|
|
7949
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringDataset
|
|
7950
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
7951
|
+
*/
|
|
7952
|
+
getSecurityMonitoringDataset(response) {
|
|
7953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7954
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
7955
|
+
if (response.httpStatusCode === 200) {
|
|
7956
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringDatasetResponse");
|
|
7957
|
+
return body;
|
|
7958
|
+
}
|
|
7959
|
+
if (response.httpStatusCode === 400 ||
|
|
7960
|
+
response.httpStatusCode === 403 ||
|
|
7961
|
+
response.httpStatusCode === 404) {
|
|
7962
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7963
|
+
let body;
|
|
7964
|
+
try {
|
|
7965
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
7966
|
+
}
|
|
7967
|
+
catch (error) {
|
|
7968
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
7969
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
7970
|
+
}
|
|
7971
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
7972
|
+
}
|
|
7973
|
+
if (response.httpStatusCode === 429) {
|
|
7974
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
7975
|
+
let body;
|
|
7976
|
+
try {
|
|
7977
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
7978
|
+
}
|
|
7979
|
+
catch (error) {
|
|
7980
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
7981
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
7982
|
+
}
|
|
7983
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
7984
|
+
}
|
|
7985
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
7986
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
7987
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringDatasetResponse", "");
|
|
7988
|
+
return body;
|
|
7989
|
+
}
|
|
7990
|
+
const body = (yield response.body.text()) || "";
|
|
7991
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
7992
|
+
});
|
|
7993
|
+
}
|
|
7994
|
+
/**
|
|
7995
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
7996
|
+
* to the expected objects
|
|
7997
|
+
*
|
|
7998
|
+
* @params response Response returned by the server for a request to getSecurityMonitoringDatasetByVersion
|
|
7999
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
8000
|
+
*/
|
|
8001
|
+
getSecurityMonitoringDatasetByVersion(response) {
|
|
7040
8002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7041
8003
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
7042
8004
|
if (response.httpStatusCode === 200) {
|
|
@@ -7907,6 +8869,42 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
7907
8869
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
7908
8870
|
});
|
|
7909
8871
|
}
|
|
8872
|
+
/**
|
|
8873
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
8874
|
+
* to the expected objects
|
|
8875
|
+
*
|
|
8876
|
+
* @params response Response returned by the server for a request to importSecurityVulnerabilities
|
|
8877
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
8878
|
+
*/
|
|
8879
|
+
importSecurityVulnerabilities(response) {
|
|
8880
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8881
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
8882
|
+
if (response.httpStatusCode === 200) {
|
|
8883
|
+
return;
|
|
8884
|
+
}
|
|
8885
|
+
if (response.httpStatusCode === 400 ||
|
|
8886
|
+
response.httpStatusCode === 403 ||
|
|
8887
|
+
response.httpStatusCode === 429 ||
|
|
8888
|
+
response.httpStatusCode === 500) {
|
|
8889
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
8890
|
+
let body;
|
|
8891
|
+
try {
|
|
8892
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
8893
|
+
}
|
|
8894
|
+
catch (error) {
|
|
8895
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
8896
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
8897
|
+
}
|
|
8898
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
8899
|
+
}
|
|
8900
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
8901
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
8902
|
+
return;
|
|
8903
|
+
}
|
|
8904
|
+
const body = (yield response.body.text()) || "";
|
|
8905
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
8906
|
+
});
|
|
8907
|
+
}
|
|
7910
8908
|
/**
|
|
7911
8909
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
7912
8910
|
* to the expected objects
|
|
@@ -8296,6 +9294,111 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
8296
9294
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
8297
9295
|
});
|
|
8298
9296
|
}
|
|
9297
|
+
/**
|
|
9298
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9299
|
+
* to the expected objects
|
|
9300
|
+
*
|
|
9301
|
+
* @params response Response returned by the server for a request to listSecurityFindingsAutomationDueDateRules
|
|
9302
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
9303
|
+
*/
|
|
9304
|
+
listSecurityFindingsAutomationDueDateRules(response) {
|
|
9305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9306
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9307
|
+
if (response.httpStatusCode === 200) {
|
|
9308
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRulesResponse");
|
|
9309
|
+
return body;
|
|
9310
|
+
}
|
|
9311
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
9312
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9313
|
+
let body;
|
|
9314
|
+
try {
|
|
9315
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
9316
|
+
}
|
|
9317
|
+
catch (error) {
|
|
9318
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
9319
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
9320
|
+
}
|
|
9321
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
9322
|
+
}
|
|
9323
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9324
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9325
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRulesResponse", "");
|
|
9326
|
+
return body;
|
|
9327
|
+
}
|
|
9328
|
+
const body = (yield response.body.text()) || "";
|
|
9329
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
9330
|
+
});
|
|
9331
|
+
}
|
|
9332
|
+
/**
|
|
9333
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9334
|
+
* to the expected objects
|
|
9335
|
+
*
|
|
9336
|
+
* @params response Response returned by the server for a request to listSecurityFindingsAutomationMuteRules
|
|
9337
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
9338
|
+
*/
|
|
9339
|
+
listSecurityFindingsAutomationMuteRules(response) {
|
|
9340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9341
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9342
|
+
if (response.httpStatusCode === 200) {
|
|
9343
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRulesResponse");
|
|
9344
|
+
return body;
|
|
9345
|
+
}
|
|
9346
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
9347
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9348
|
+
let body;
|
|
9349
|
+
try {
|
|
9350
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
9351
|
+
}
|
|
9352
|
+
catch (error) {
|
|
9353
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
9354
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
9355
|
+
}
|
|
9356
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
9357
|
+
}
|
|
9358
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9359
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9360
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRulesResponse", "");
|
|
9361
|
+
return body;
|
|
9362
|
+
}
|
|
9363
|
+
const body = (yield response.body.text()) || "";
|
|
9364
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
9365
|
+
});
|
|
9366
|
+
}
|
|
9367
|
+
/**
|
|
9368
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9369
|
+
* to the expected objects
|
|
9370
|
+
*
|
|
9371
|
+
* @params response Response returned by the server for a request to listSecurityFindingsAutomationTicketCreationRules
|
|
9372
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
9373
|
+
*/
|
|
9374
|
+
listSecurityFindingsAutomationTicketCreationRules(response) {
|
|
9375
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9376
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9377
|
+
if (response.httpStatusCode === 200) {
|
|
9378
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRulesResponse");
|
|
9379
|
+
return body;
|
|
9380
|
+
}
|
|
9381
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
9382
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9383
|
+
let body;
|
|
9384
|
+
try {
|
|
9385
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
9386
|
+
}
|
|
9387
|
+
catch (error) {
|
|
9388
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
9389
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
9390
|
+
}
|
|
9391
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
9392
|
+
}
|
|
9393
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9394
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9395
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRulesResponse", "");
|
|
9396
|
+
return body;
|
|
9397
|
+
}
|
|
9398
|
+
const body = (yield response.body.text()) || "";
|
|
9399
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
9400
|
+
});
|
|
9401
|
+
}
|
|
8299
9402
|
/**
|
|
8300
9403
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
8301
9404
|
* to the expected objects
|
|
@@ -8853,6 +9956,147 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
8853
9956
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
8854
9957
|
});
|
|
8855
9958
|
}
|
|
9959
|
+
/**
|
|
9960
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9961
|
+
* to the expected objects
|
|
9962
|
+
*
|
|
9963
|
+
* @params response Response returned by the server for a request to reorderSecurityFindingsAutomationDueDateRules
|
|
9964
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
9965
|
+
*/
|
|
9966
|
+
reorderSecurityFindingsAutomationDueDateRules(response) {
|
|
9967
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9968
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9969
|
+
if (response.httpStatusCode === 200) {
|
|
9970
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleReorderRequest");
|
|
9971
|
+
return body;
|
|
9972
|
+
}
|
|
9973
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
9974
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9975
|
+
let body;
|
|
9976
|
+
try {
|
|
9977
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
9978
|
+
}
|
|
9979
|
+
catch (error) {
|
|
9980
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
9981
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
9982
|
+
}
|
|
9983
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
9984
|
+
}
|
|
9985
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
9986
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9987
|
+
let body;
|
|
9988
|
+
try {
|
|
9989
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
9990
|
+
}
|
|
9991
|
+
catch (error) {
|
|
9992
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
9993
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
9994
|
+
}
|
|
9995
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
9996
|
+
}
|
|
9997
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9998
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9999
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleReorderRequest", "");
|
|
10000
|
+
return body;
|
|
10001
|
+
}
|
|
10002
|
+
const body = (yield response.body.text()) || "";
|
|
10003
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10004
|
+
});
|
|
10005
|
+
}
|
|
10006
|
+
/**
|
|
10007
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
10008
|
+
* to the expected objects
|
|
10009
|
+
*
|
|
10010
|
+
* @params response Response returned by the server for a request to reorderSecurityFindingsAutomationMuteRules
|
|
10011
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
10012
|
+
*/
|
|
10013
|
+
reorderSecurityFindingsAutomationMuteRules(response) {
|
|
10014
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10015
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
10016
|
+
if (response.httpStatusCode === 200) {
|
|
10017
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleReorderRequest");
|
|
10018
|
+
return body;
|
|
10019
|
+
}
|
|
10020
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
10021
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10022
|
+
let body;
|
|
10023
|
+
try {
|
|
10024
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
10025
|
+
}
|
|
10026
|
+
catch (error) {
|
|
10027
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10028
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10029
|
+
}
|
|
10030
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10031
|
+
}
|
|
10032
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
10033
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10034
|
+
let body;
|
|
10035
|
+
try {
|
|
10036
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
10037
|
+
}
|
|
10038
|
+
catch (error) {
|
|
10039
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10040
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10041
|
+
}
|
|
10042
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10043
|
+
}
|
|
10044
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
10045
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
10046
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleReorderRequest", "");
|
|
10047
|
+
return body;
|
|
10048
|
+
}
|
|
10049
|
+
const body = (yield response.body.text()) || "";
|
|
10050
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10051
|
+
});
|
|
10052
|
+
}
|
|
10053
|
+
/**
|
|
10054
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
10055
|
+
* to the expected objects
|
|
10056
|
+
*
|
|
10057
|
+
* @params response Response returned by the server for a request to reorderSecurityFindingsAutomationTicketCreationRules
|
|
10058
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
10059
|
+
*/
|
|
10060
|
+
reorderSecurityFindingsAutomationTicketCreationRules(response) {
|
|
10061
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10062
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
10063
|
+
if (response.httpStatusCode === 200) {
|
|
10064
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleReorderRequest");
|
|
10065
|
+
return body;
|
|
10066
|
+
}
|
|
10067
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
10068
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10069
|
+
let body;
|
|
10070
|
+
try {
|
|
10071
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
10072
|
+
}
|
|
10073
|
+
catch (error) {
|
|
10074
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10075
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10076
|
+
}
|
|
10077
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10078
|
+
}
|
|
10079
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
10080
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10081
|
+
let body;
|
|
10082
|
+
try {
|
|
10083
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
10084
|
+
}
|
|
10085
|
+
catch (error) {
|
|
10086
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10087
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10088
|
+
}
|
|
10089
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10090
|
+
}
|
|
10091
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
10092
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
10093
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleReorderRequest", "");
|
|
10094
|
+
return body;
|
|
10095
|
+
}
|
|
10096
|
+
const body = (yield response.body.text()) || "";
|
|
10097
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10098
|
+
});
|
|
10099
|
+
}
|
|
8856
10100
|
/**
|
|
8857
10101
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
8858
10102
|
* to the expected objects
|
|
@@ -9198,7 +10442,120 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9198
10442
|
}
|
|
9199
10443
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9200
10444
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9201
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UpdateCustomFrameworkResponse", "");
|
|
10445
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UpdateCustomFrameworkResponse", "");
|
|
10446
|
+
return body;
|
|
10447
|
+
}
|
|
10448
|
+
const body = (yield response.body.text()) || "";
|
|
10449
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10450
|
+
});
|
|
10451
|
+
}
|
|
10452
|
+
/**
|
|
10453
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
10454
|
+
* to the expected objects
|
|
10455
|
+
*
|
|
10456
|
+
* @params response Response returned by the server for a request to updateFindingsAssignee
|
|
10457
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
10458
|
+
*/
|
|
10459
|
+
updateFindingsAssignee(response) {
|
|
10460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10461
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
10462
|
+
if (response.httpStatusCode === 202) {
|
|
10463
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AssigneeResponse");
|
|
10464
|
+
return body;
|
|
10465
|
+
}
|
|
10466
|
+
if (response.httpStatusCode === 400 ||
|
|
10467
|
+
response.httpStatusCode === 404 ||
|
|
10468
|
+
response.httpStatusCode === 429) {
|
|
10469
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10470
|
+
let body;
|
|
10471
|
+
try {
|
|
10472
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
10473
|
+
}
|
|
10474
|
+
catch (error) {
|
|
10475
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10476
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10477
|
+
}
|
|
10478
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10479
|
+
}
|
|
10480
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
10481
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
10482
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "AssigneeResponse", "");
|
|
10483
|
+
return body;
|
|
10484
|
+
}
|
|
10485
|
+
const body = (yield response.body.text()) || "";
|
|
10486
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10487
|
+
});
|
|
10488
|
+
}
|
|
10489
|
+
/**
|
|
10490
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
10491
|
+
* to the expected objects
|
|
10492
|
+
*
|
|
10493
|
+
* @params response Response returned by the server for a request to updateResourceEvaluationFilters
|
|
10494
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
10495
|
+
*/
|
|
10496
|
+
updateResourceEvaluationFilters(response) {
|
|
10497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10498
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
10499
|
+
if (response.httpStatusCode === 201) {
|
|
10500
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UpdateResourceEvaluationFiltersResponse");
|
|
10501
|
+
return body;
|
|
10502
|
+
}
|
|
10503
|
+
if (response.httpStatusCode === 400 ||
|
|
10504
|
+
response.httpStatusCode === 403 ||
|
|
10505
|
+
response.httpStatusCode === 429) {
|
|
10506
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10507
|
+
let body;
|
|
10508
|
+
try {
|
|
10509
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
10510
|
+
}
|
|
10511
|
+
catch (error) {
|
|
10512
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10513
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10514
|
+
}
|
|
10515
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10516
|
+
}
|
|
10517
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
10518
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
10519
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "UpdateResourceEvaluationFiltersResponse", "");
|
|
10520
|
+
return body;
|
|
10521
|
+
}
|
|
10522
|
+
const body = (yield response.body.text()) || "";
|
|
10523
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
10524
|
+
});
|
|
10525
|
+
}
|
|
10526
|
+
/**
|
|
10527
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
10528
|
+
* to the expected objects
|
|
10529
|
+
*
|
|
10530
|
+
* @params response Response returned by the server for a request to updateSecurityFilter
|
|
10531
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
10532
|
+
*/
|
|
10533
|
+
updateSecurityFilter(response) {
|
|
10534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10535
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
10536
|
+
if (response.httpStatusCode === 200) {
|
|
10537
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse");
|
|
10538
|
+
return body;
|
|
10539
|
+
}
|
|
10540
|
+
if (response.httpStatusCode === 400 ||
|
|
10541
|
+
response.httpStatusCode === 403 ||
|
|
10542
|
+
response.httpStatusCode === 404 ||
|
|
10543
|
+
response.httpStatusCode === 409 ||
|
|
10544
|
+
response.httpStatusCode === 429) {
|
|
10545
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10546
|
+
let body;
|
|
10547
|
+
try {
|
|
10548
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
10549
|
+
}
|
|
10550
|
+
catch (error) {
|
|
10551
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10552
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10553
|
+
}
|
|
10554
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10555
|
+
}
|
|
10556
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
10557
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
10558
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityFilterResponse", "");
|
|
9202
10559
|
return body;
|
|
9203
10560
|
}
|
|
9204
10561
|
const body = (yield response.body.text()) || "";
|
|
@@ -9209,17 +10566,29 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9209
10566
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9210
10567
|
* to the expected objects
|
|
9211
10568
|
*
|
|
9212
|
-
* @params response Response returned by the server for a request to
|
|
10569
|
+
* @params response Response returned by the server for a request to updateSecurityFindingsAutomationDueDateRule
|
|
9213
10570
|
* @throws ApiException if the response code was not in [200, 299]
|
|
9214
10571
|
*/
|
|
9215
|
-
|
|
10572
|
+
updateSecurityFindingsAutomationDueDateRule(response) {
|
|
9216
10573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9217
10574
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9218
|
-
if (response.httpStatusCode ===
|
|
9219
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10575
|
+
if (response.httpStatusCode === 200) {
|
|
10576
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse");
|
|
9220
10577
|
return body;
|
|
9221
10578
|
}
|
|
9222
|
-
if (response.httpStatusCode === 400 ||
|
|
10579
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
10580
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10581
|
+
let body;
|
|
10582
|
+
try {
|
|
10583
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
10584
|
+
}
|
|
10585
|
+
catch (error) {
|
|
10586
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10587
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10588
|
+
}
|
|
10589
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10590
|
+
}
|
|
10591
|
+
if (response.httpStatusCode === 403 ||
|
|
9223
10592
|
response.httpStatusCode === 404 ||
|
|
9224
10593
|
response.httpStatusCode === 429) {
|
|
9225
10594
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -9235,7 +10604,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9235
10604
|
}
|
|
9236
10605
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9237
10606
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9238
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10607
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "DueDateRuleResponse", "");
|
|
9239
10608
|
return body;
|
|
9240
10609
|
}
|
|
9241
10610
|
const body = (yield response.body.text()) || "";
|
|
@@ -9246,18 +10615,30 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9246
10615
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9247
10616
|
* to the expected objects
|
|
9248
10617
|
*
|
|
9249
|
-
* @params response Response returned by the server for a request to
|
|
10618
|
+
* @params response Response returned by the server for a request to updateSecurityFindingsAutomationMuteRule
|
|
9250
10619
|
* @throws ApiException if the response code was not in [200, 299]
|
|
9251
10620
|
*/
|
|
9252
|
-
|
|
10621
|
+
updateSecurityFindingsAutomationMuteRule(response) {
|
|
9253
10622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9254
10623
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9255
|
-
if (response.httpStatusCode ===
|
|
9256
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10624
|
+
if (response.httpStatusCode === 200) {
|
|
10625
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse");
|
|
9257
10626
|
return body;
|
|
9258
10627
|
}
|
|
9259
|
-
if (response.httpStatusCode === 400 ||
|
|
9260
|
-
response.
|
|
10628
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
10629
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10630
|
+
let body;
|
|
10631
|
+
try {
|
|
10632
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
10633
|
+
}
|
|
10634
|
+
catch (error) {
|
|
10635
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10636
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10637
|
+
}
|
|
10638
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10639
|
+
}
|
|
10640
|
+
if (response.httpStatusCode === 403 ||
|
|
10641
|
+
response.httpStatusCode === 404 ||
|
|
9261
10642
|
response.httpStatusCode === 429) {
|
|
9262
10643
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9263
10644
|
let body;
|
|
@@ -9272,7 +10653,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9272
10653
|
}
|
|
9273
10654
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9274
10655
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9275
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10656
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "MuteRuleResponse", "");
|
|
9276
10657
|
return body;
|
|
9277
10658
|
}
|
|
9278
10659
|
const body = (yield response.body.text()) || "";
|
|
@@ -9283,20 +10664,30 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9283
10664
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
9284
10665
|
* to the expected objects
|
|
9285
10666
|
*
|
|
9286
|
-
* @params response Response returned by the server for a request to
|
|
10667
|
+
* @params response Response returned by the server for a request to updateSecurityFindingsAutomationTicketCreationRule
|
|
9287
10668
|
* @throws ApiException if the response code was not in [200, 299]
|
|
9288
10669
|
*/
|
|
9289
|
-
|
|
10670
|
+
updateSecurityFindingsAutomationTicketCreationRule(response) {
|
|
9290
10671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9291
10672
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
9292
10673
|
if (response.httpStatusCode === 200) {
|
|
9293
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10674
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse");
|
|
9294
10675
|
return body;
|
|
9295
10676
|
}
|
|
9296
|
-
if (response.httpStatusCode === 400 ||
|
|
9297
|
-
response.
|
|
10677
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 422) {
|
|
10678
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
10679
|
+
let body;
|
|
10680
|
+
try {
|
|
10681
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
10682
|
+
}
|
|
10683
|
+
catch (error) {
|
|
10684
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
10685
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
10686
|
+
}
|
|
10687
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
10688
|
+
}
|
|
10689
|
+
if (response.httpStatusCode === 403 ||
|
|
9298
10690
|
response.httpStatusCode === 404 ||
|
|
9299
|
-
response.httpStatusCode === 409 ||
|
|
9300
10691
|
response.httpStatusCode === 429) {
|
|
9301
10692
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
9302
10693
|
let body;
|
|
@@ -9311,7 +10702,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
9311
10702
|
}
|
|
9312
10703
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
9313
10704
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
9314
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
10705
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "TicketCreationRuleResponse", "");
|
|
9315
10706
|
return body;
|
|
9316
10707
|
}
|
|
9317
10708
|
const body = (yield response.body.text()) || "";
|
|
@@ -9865,8 +11256,9 @@ class SecurityMonitoringApi {
|
|
|
9865
11256
|
/**
|
|
9866
11257
|
* Export multiple security monitoring resources to Terraform, packaged as a zip archive.
|
|
9867
11258
|
* The `resource_type` path parameter specifies the type of resources to export
|
|
9868
|
-
* and must be one of `suppressions` or `
|
|
11259
|
+
* and must be one of `suppressions`, `critical_assets`, `security_filters`, or `rules`.
|
|
9869
11260
|
* A maximum of 1000 resources can be exported in a single request.
|
|
11261
|
+
* For `rules`, partner rules cannot be exported and return a 400 error.
|
|
9870
11262
|
* @param param The request object
|
|
9871
11263
|
*/
|
|
9872
11264
|
bulkExportSecurityMonitoringTerraformResources(param, options) {
|
|
@@ -9950,7 +11342,7 @@ class SecurityMonitoringApi {
|
|
|
9950
11342
|
/**
|
|
9951
11343
|
* Convert a security monitoring resource that doesn't (yet) exist from JSON to Terraform.
|
|
9952
11344
|
* The `resource_type` path parameter specifies the type of resource to convert
|
|
9953
|
-
* and must be one of `suppressions` or `
|
|
11345
|
+
* and must be one of `suppressions`, `critical_assets`, `security_filters`, or `rules`.
|
|
9954
11346
|
* @param param The request object
|
|
9955
11347
|
*/
|
|
9956
11348
|
convertSecurityMonitoringTerraformResource(param, options) {
|
|
@@ -10059,6 +11451,48 @@ class SecurityMonitoringApi {
|
|
|
10059
11451
|
});
|
|
10060
11452
|
});
|
|
10061
11453
|
}
|
|
11454
|
+
/**
|
|
11455
|
+
* Create a new due date rule for the current organization.
|
|
11456
|
+
* @param param The request object
|
|
11457
|
+
*/
|
|
11458
|
+
createSecurityFindingsAutomationDueDateRule(param, options) {
|
|
11459
|
+
const requestContextPromise = this.requestFactory.createSecurityFindingsAutomationDueDateRule(param.body, options);
|
|
11460
|
+
return requestContextPromise.then((requestContext) => {
|
|
11461
|
+
return this.configuration.httpApi
|
|
11462
|
+
.send(requestContext)
|
|
11463
|
+
.then((responseContext) => {
|
|
11464
|
+
return this.responseProcessor.createSecurityFindingsAutomationDueDateRule(responseContext);
|
|
11465
|
+
});
|
|
11466
|
+
});
|
|
11467
|
+
}
|
|
11468
|
+
/**
|
|
11469
|
+
* Create a new mute rule for the current organization.
|
|
11470
|
+
* @param param The request object
|
|
11471
|
+
*/
|
|
11472
|
+
createSecurityFindingsAutomationMuteRule(param, options) {
|
|
11473
|
+
const requestContextPromise = this.requestFactory.createSecurityFindingsAutomationMuteRule(param.body, options);
|
|
11474
|
+
return requestContextPromise.then((requestContext) => {
|
|
11475
|
+
return this.configuration.httpApi
|
|
11476
|
+
.send(requestContext)
|
|
11477
|
+
.then((responseContext) => {
|
|
11478
|
+
return this.responseProcessor.createSecurityFindingsAutomationMuteRule(responseContext);
|
|
11479
|
+
});
|
|
11480
|
+
});
|
|
11481
|
+
}
|
|
11482
|
+
/**
|
|
11483
|
+
* Create a new ticket creation rule for the current organization.
|
|
11484
|
+
* @param param The request object
|
|
11485
|
+
*/
|
|
11486
|
+
createSecurityFindingsAutomationTicketCreationRule(param, options) {
|
|
11487
|
+
const requestContextPromise = this.requestFactory.createSecurityFindingsAutomationTicketCreationRule(param.body, options);
|
|
11488
|
+
return requestContextPromise.then((requestContext) => {
|
|
11489
|
+
return this.configuration.httpApi
|
|
11490
|
+
.send(requestContext)
|
|
11491
|
+
.then((responseContext) => {
|
|
11492
|
+
return this.responseProcessor.createSecurityFindingsAutomationTicketCreationRule(responseContext);
|
|
11493
|
+
});
|
|
11494
|
+
});
|
|
11495
|
+
}
|
|
10062
11496
|
/**
|
|
10063
11497
|
* Create a new critical asset.
|
|
10064
11498
|
* @param param The request object
|
|
@@ -10279,6 +11713,48 @@ class SecurityMonitoringApi {
|
|
|
10279
11713
|
});
|
|
10280
11714
|
});
|
|
10281
11715
|
}
|
|
11716
|
+
/**
|
|
11717
|
+
* Delete an existing due date rule by ID.
|
|
11718
|
+
* @param param The request object
|
|
11719
|
+
*/
|
|
11720
|
+
deleteSecurityFindingsAutomationDueDateRule(param, options) {
|
|
11721
|
+
const requestContextPromise = this.requestFactory.deleteSecurityFindingsAutomationDueDateRule(param.ruleId, options);
|
|
11722
|
+
return requestContextPromise.then((requestContext) => {
|
|
11723
|
+
return this.configuration.httpApi
|
|
11724
|
+
.send(requestContext)
|
|
11725
|
+
.then((responseContext) => {
|
|
11726
|
+
return this.responseProcessor.deleteSecurityFindingsAutomationDueDateRule(responseContext);
|
|
11727
|
+
});
|
|
11728
|
+
});
|
|
11729
|
+
}
|
|
11730
|
+
/**
|
|
11731
|
+
* Delete an existing mute rule by ID.
|
|
11732
|
+
* @param param The request object
|
|
11733
|
+
*/
|
|
11734
|
+
deleteSecurityFindingsAutomationMuteRule(param, options) {
|
|
11735
|
+
const requestContextPromise = this.requestFactory.deleteSecurityFindingsAutomationMuteRule(param.ruleId, options);
|
|
11736
|
+
return requestContextPromise.then((requestContext) => {
|
|
11737
|
+
return this.configuration.httpApi
|
|
11738
|
+
.send(requestContext)
|
|
11739
|
+
.then((responseContext) => {
|
|
11740
|
+
return this.responseProcessor.deleteSecurityFindingsAutomationMuteRule(responseContext);
|
|
11741
|
+
});
|
|
11742
|
+
});
|
|
11743
|
+
}
|
|
11744
|
+
/**
|
|
11745
|
+
* Delete an existing ticket creation rule by ID.
|
|
11746
|
+
* @param param The request object
|
|
11747
|
+
*/
|
|
11748
|
+
deleteSecurityFindingsAutomationTicketCreationRule(param, options) {
|
|
11749
|
+
const requestContextPromise = this.requestFactory.deleteSecurityFindingsAutomationTicketCreationRule(param.ruleId, options);
|
|
11750
|
+
return requestContextPromise.then((requestContext) => {
|
|
11751
|
+
return this.configuration.httpApi
|
|
11752
|
+
.send(requestContext)
|
|
11753
|
+
.then((responseContext) => {
|
|
11754
|
+
return this.responseProcessor.deleteSecurityFindingsAutomationTicketCreationRule(responseContext);
|
|
11755
|
+
});
|
|
11756
|
+
});
|
|
11757
|
+
}
|
|
10282
11758
|
/**
|
|
10283
11759
|
* Delete a specific critical asset.
|
|
10284
11760
|
* @param param The request object
|
|
@@ -10453,7 +11929,8 @@ class SecurityMonitoringApi {
|
|
|
10453
11929
|
/**
|
|
10454
11930
|
* Export a security monitoring resource to a Terraform configuration.
|
|
10455
11931
|
* The `resource_type` path parameter specifies the type of resource to export
|
|
10456
|
-
* and must be one of `suppressions` or `
|
|
11932
|
+
* and must be one of `suppressions`, `critical_assets`, `security_filters`, or `rules`.
|
|
11933
|
+
* For `rules`, partner rules cannot be exported and return a 400 error.
|
|
10457
11934
|
* @param param The request object
|
|
10458
11935
|
*/
|
|
10459
11936
|
exportSecurityMonitoringTerraformResource(param, options) {
|
|
@@ -10655,6 +12132,48 @@ class SecurityMonitoringApi {
|
|
|
10655
12132
|
});
|
|
10656
12133
|
});
|
|
10657
12134
|
}
|
|
12135
|
+
/**
|
|
12136
|
+
* Get the details of a due date rule by ID.
|
|
12137
|
+
* @param param The request object
|
|
12138
|
+
*/
|
|
12139
|
+
getSecurityFindingsAutomationDueDateRule(param, options) {
|
|
12140
|
+
const requestContextPromise = this.requestFactory.getSecurityFindingsAutomationDueDateRule(param.ruleId, options);
|
|
12141
|
+
return requestContextPromise.then((requestContext) => {
|
|
12142
|
+
return this.configuration.httpApi
|
|
12143
|
+
.send(requestContext)
|
|
12144
|
+
.then((responseContext) => {
|
|
12145
|
+
return this.responseProcessor.getSecurityFindingsAutomationDueDateRule(responseContext);
|
|
12146
|
+
});
|
|
12147
|
+
});
|
|
12148
|
+
}
|
|
12149
|
+
/**
|
|
12150
|
+
* Get the details of a mute rule by ID.
|
|
12151
|
+
* @param param The request object
|
|
12152
|
+
*/
|
|
12153
|
+
getSecurityFindingsAutomationMuteRule(param, options) {
|
|
12154
|
+
const requestContextPromise = this.requestFactory.getSecurityFindingsAutomationMuteRule(param.ruleId, options);
|
|
12155
|
+
return requestContextPromise.then((requestContext) => {
|
|
12156
|
+
return this.configuration.httpApi
|
|
12157
|
+
.send(requestContext)
|
|
12158
|
+
.then((responseContext) => {
|
|
12159
|
+
return this.responseProcessor.getSecurityFindingsAutomationMuteRule(responseContext);
|
|
12160
|
+
});
|
|
12161
|
+
});
|
|
12162
|
+
}
|
|
12163
|
+
/**
|
|
12164
|
+
* Get the details of a ticket creation rule by ID.
|
|
12165
|
+
* @param param The request object
|
|
12166
|
+
*/
|
|
12167
|
+
getSecurityFindingsAutomationTicketCreationRule(param, options) {
|
|
12168
|
+
const requestContextPromise = this.requestFactory.getSecurityFindingsAutomationTicketCreationRule(param.ruleId, options);
|
|
12169
|
+
return requestContextPromise.then((requestContext) => {
|
|
12170
|
+
return this.configuration.httpApi
|
|
12171
|
+
.send(requestContext)
|
|
12172
|
+
.then((responseContext) => {
|
|
12173
|
+
return this.responseProcessor.getSecurityFindingsAutomationTicketCreationRule(responseContext);
|
|
12174
|
+
});
|
|
12175
|
+
});
|
|
12176
|
+
}
|
|
10658
12177
|
/**
|
|
10659
12178
|
* Get the details of a specific critical asset.
|
|
10660
12179
|
* @param param The request object
|
|
@@ -10994,6 +12513,35 @@ class SecurityMonitoringApi {
|
|
|
10994
12513
|
});
|
|
10995
12514
|
});
|
|
10996
12515
|
}
|
|
12516
|
+
/**
|
|
12517
|
+
* Import security vulnerabilities from an external scanner in CycloneDX 1.5 format.
|
|
12518
|
+
*
|
|
12519
|
+
* The payload is validated against the CycloneDX 1.5 JSON schema and the following
|
|
12520
|
+
* additional constraints:
|
|
12521
|
+
*
|
|
12522
|
+
* - `metadata`, `metadata.component`, and `metadata.component.name` are required.
|
|
12523
|
+
* - `metadata.tools.components` must contain exactly one element with a `name` field.
|
|
12524
|
+
* - `components` cannot be empty. Each component requires `bom-ref`, `type`, `name`, and `version`.
|
|
12525
|
+
* - When `type` is `library`, `purl` is required and must be a valid PURL.
|
|
12526
|
+
* - When `type` is `operating-system`, `name` must be one of the supported OS values:
|
|
12527
|
+
* `alma`, `alpine`, `amazon`, `azurelinux`, `bottlerocket`, `cbl-mariner`, `chainguard`,
|
|
12528
|
+
* `centos`, `debian`, `fedora`, `opensuse`, `opensuse-leap`, `opensuse-tumbleweed`,
|
|
12529
|
+
* `oracle`, `photon`, `redhat`, `rocky`, `slem`, `sles`, `ubuntu`, `wolfi`, `windows`, `macos`.
|
|
12530
|
+
* - `vulnerabilities` cannot be empty. Each vulnerability requires `id`, exactly one `ratings` entry,
|
|
12531
|
+
* and at least one `affects` entry.
|
|
12532
|
+
* - Each `affects[].ref` must match a `bom-ref` value in `components`.
|
|
12533
|
+
* @param param The request object
|
|
12534
|
+
*/
|
|
12535
|
+
importSecurityVulnerabilities(param, options) {
|
|
12536
|
+
const requestContextPromise = this.requestFactory.importSecurityVulnerabilities(param.body, options);
|
|
12537
|
+
return requestContextPromise.then((requestContext) => {
|
|
12538
|
+
return this.configuration.httpApi
|
|
12539
|
+
.send(requestContext)
|
|
12540
|
+
.then((responseContext) => {
|
|
12541
|
+
return this.responseProcessor.importSecurityVulnerabilities(responseContext);
|
|
12542
|
+
});
|
|
12543
|
+
});
|
|
12544
|
+
}
|
|
10997
12545
|
/**
|
|
10998
12546
|
* Get a list of assets SBOMs for an organization.
|
|
10999
12547
|
*
|
|
@@ -11328,6 +12876,48 @@ class SecurityMonitoringApi {
|
|
|
11328
12876
|
}
|
|
11329
12877
|
});
|
|
11330
12878
|
}
|
|
12879
|
+
/**
|
|
12880
|
+
* Get all due date rules for the current organization.
|
|
12881
|
+
* @param param The request object
|
|
12882
|
+
*/
|
|
12883
|
+
listSecurityFindingsAutomationDueDateRules(param = {}, options) {
|
|
12884
|
+
const requestContextPromise = this.requestFactory.listSecurityFindingsAutomationDueDateRules(param.pageSize, param.pageNumber, options);
|
|
12885
|
+
return requestContextPromise.then((requestContext) => {
|
|
12886
|
+
return this.configuration.httpApi
|
|
12887
|
+
.send(requestContext)
|
|
12888
|
+
.then((responseContext) => {
|
|
12889
|
+
return this.responseProcessor.listSecurityFindingsAutomationDueDateRules(responseContext);
|
|
12890
|
+
});
|
|
12891
|
+
});
|
|
12892
|
+
}
|
|
12893
|
+
/**
|
|
12894
|
+
* Get all mute rules for the current organization.
|
|
12895
|
+
* @param param The request object
|
|
12896
|
+
*/
|
|
12897
|
+
listSecurityFindingsAutomationMuteRules(param = {}, options) {
|
|
12898
|
+
const requestContextPromise = this.requestFactory.listSecurityFindingsAutomationMuteRules(param.pageSize, param.pageNumber, options);
|
|
12899
|
+
return requestContextPromise.then((requestContext) => {
|
|
12900
|
+
return this.configuration.httpApi
|
|
12901
|
+
.send(requestContext)
|
|
12902
|
+
.then((responseContext) => {
|
|
12903
|
+
return this.responseProcessor.listSecurityFindingsAutomationMuteRules(responseContext);
|
|
12904
|
+
});
|
|
12905
|
+
});
|
|
12906
|
+
}
|
|
12907
|
+
/**
|
|
12908
|
+
* Get all ticket creation rules for the current organization.
|
|
12909
|
+
* @param param The request object
|
|
12910
|
+
*/
|
|
12911
|
+
listSecurityFindingsAutomationTicketCreationRules(param = {}, options) {
|
|
12912
|
+
const requestContextPromise = this.requestFactory.listSecurityFindingsAutomationTicketCreationRules(param.pageSize, param.pageNumber, options);
|
|
12913
|
+
return requestContextPromise.then((requestContext) => {
|
|
12914
|
+
return this.configuration.httpApi
|
|
12915
|
+
.send(requestContext)
|
|
12916
|
+
.then((responseContext) => {
|
|
12917
|
+
return this.responseProcessor.listSecurityFindingsAutomationTicketCreationRules(responseContext);
|
|
12918
|
+
});
|
|
12919
|
+
});
|
|
12920
|
+
}
|
|
11331
12921
|
/**
|
|
11332
12922
|
* Get the list of all critical assets.
|
|
11333
12923
|
* @param param The request object
|
|
@@ -11659,6 +13249,48 @@ class SecurityMonitoringApi {
|
|
|
11659
13249
|
});
|
|
11660
13250
|
});
|
|
11661
13251
|
}
|
|
13252
|
+
/**
|
|
13253
|
+
* Reorder the list of due date rules for the current organization.
|
|
13254
|
+
* @param param The request object
|
|
13255
|
+
*/
|
|
13256
|
+
reorderSecurityFindingsAutomationDueDateRules(param, options) {
|
|
13257
|
+
const requestContextPromise = this.requestFactory.reorderSecurityFindingsAutomationDueDateRules(param.body, options);
|
|
13258
|
+
return requestContextPromise.then((requestContext) => {
|
|
13259
|
+
return this.configuration.httpApi
|
|
13260
|
+
.send(requestContext)
|
|
13261
|
+
.then((responseContext) => {
|
|
13262
|
+
return this.responseProcessor.reorderSecurityFindingsAutomationDueDateRules(responseContext);
|
|
13263
|
+
});
|
|
13264
|
+
});
|
|
13265
|
+
}
|
|
13266
|
+
/**
|
|
13267
|
+
* Reorder the list of mute rules for the current organization.
|
|
13268
|
+
* @param param The request object
|
|
13269
|
+
*/
|
|
13270
|
+
reorderSecurityFindingsAutomationMuteRules(param, options) {
|
|
13271
|
+
const requestContextPromise = this.requestFactory.reorderSecurityFindingsAutomationMuteRules(param.body, options);
|
|
13272
|
+
return requestContextPromise.then((requestContext) => {
|
|
13273
|
+
return this.configuration.httpApi
|
|
13274
|
+
.send(requestContext)
|
|
13275
|
+
.then((responseContext) => {
|
|
13276
|
+
return this.responseProcessor.reorderSecurityFindingsAutomationMuteRules(responseContext);
|
|
13277
|
+
});
|
|
13278
|
+
});
|
|
13279
|
+
}
|
|
13280
|
+
/**
|
|
13281
|
+
* Reorder the list of ticket creation rules for the current organization.
|
|
13282
|
+
* @param param The request object
|
|
13283
|
+
*/
|
|
13284
|
+
reorderSecurityFindingsAutomationTicketCreationRules(param, options) {
|
|
13285
|
+
const requestContextPromise = this.requestFactory.reorderSecurityFindingsAutomationTicketCreationRules(param.body, options);
|
|
13286
|
+
return requestContextPromise.then((requestContext) => {
|
|
13287
|
+
return this.configuration.httpApi
|
|
13288
|
+
.send(requestContext)
|
|
13289
|
+
.then((responseContext) => {
|
|
13290
|
+
return this.responseProcessor.reorderSecurityFindingsAutomationTicketCreationRules(responseContext);
|
|
13291
|
+
});
|
|
13292
|
+
});
|
|
13293
|
+
}
|
|
11662
13294
|
/**
|
|
11663
13295
|
* Restores a custom detection rule to a previously saved historical version.
|
|
11664
13296
|
* Only custom rules can be restored. Default and partner rules return 400.
|
|
@@ -11939,6 +13571,48 @@ class SecurityMonitoringApi {
|
|
|
11939
13571
|
});
|
|
11940
13572
|
});
|
|
11941
13573
|
}
|
|
13574
|
+
/**
|
|
13575
|
+
* Update an existing due date rule by ID.
|
|
13576
|
+
* @param param The request object
|
|
13577
|
+
*/
|
|
13578
|
+
updateSecurityFindingsAutomationDueDateRule(param, options) {
|
|
13579
|
+
const requestContextPromise = this.requestFactory.updateSecurityFindingsAutomationDueDateRule(param.ruleId, param.body, options);
|
|
13580
|
+
return requestContextPromise.then((requestContext) => {
|
|
13581
|
+
return this.configuration.httpApi
|
|
13582
|
+
.send(requestContext)
|
|
13583
|
+
.then((responseContext) => {
|
|
13584
|
+
return this.responseProcessor.updateSecurityFindingsAutomationDueDateRule(responseContext);
|
|
13585
|
+
});
|
|
13586
|
+
});
|
|
13587
|
+
}
|
|
13588
|
+
/**
|
|
13589
|
+
* Update an existing mute rule by ID.
|
|
13590
|
+
* @param param The request object
|
|
13591
|
+
*/
|
|
13592
|
+
updateSecurityFindingsAutomationMuteRule(param, options) {
|
|
13593
|
+
const requestContextPromise = this.requestFactory.updateSecurityFindingsAutomationMuteRule(param.ruleId, param.body, options);
|
|
13594
|
+
return requestContextPromise.then((requestContext) => {
|
|
13595
|
+
return this.configuration.httpApi
|
|
13596
|
+
.send(requestContext)
|
|
13597
|
+
.then((responseContext) => {
|
|
13598
|
+
return this.responseProcessor.updateSecurityFindingsAutomationMuteRule(responseContext);
|
|
13599
|
+
});
|
|
13600
|
+
});
|
|
13601
|
+
}
|
|
13602
|
+
/**
|
|
13603
|
+
* Update an existing ticket creation rule by ID.
|
|
13604
|
+
* @param param The request object
|
|
13605
|
+
*/
|
|
13606
|
+
updateSecurityFindingsAutomationTicketCreationRule(param, options) {
|
|
13607
|
+
const requestContextPromise = this.requestFactory.updateSecurityFindingsAutomationTicketCreationRule(param.ruleId, param.body, options);
|
|
13608
|
+
return requestContextPromise.then((requestContext) => {
|
|
13609
|
+
return this.configuration.httpApi
|
|
13610
|
+
.send(requestContext)
|
|
13611
|
+
.then((responseContext) => {
|
|
13612
|
+
return this.responseProcessor.updateSecurityFindingsAutomationTicketCreationRule(responseContext);
|
|
13613
|
+
});
|
|
13614
|
+
});
|
|
13615
|
+
}
|
|
11942
13616
|
/**
|
|
11943
13617
|
* Update a specific critical asset.
|
|
11944
13618
|
* @param param The request object
|