@datadog/datadog-api-client 1.56.0 → 1.57.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 +40 -29
- 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-v2/apis/CloudCostManagementApi.d.ts +15 -5
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +12 -6
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.d.ts +9 -9
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js +18 -18
- package/dist/packages/datadog-api-client-v2/apis/KeyManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.d.ts +70 -0
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js +281 -0
- package/dist/packages/datadog-api-client-v2/apis/LLMObservabilityApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.d.ts +43 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.js +184 -1
- package/dist/packages/datadog-api-client-v2/apis/OrgGroupsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +303 -101
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +920 -279
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.d.ts +9 -9
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js +21 -21
- package/dist/packages/datadog-api-client-v2/apis/ServiceAccountsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.d.ts +201 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js +444 -0
- package/dist/packages/datadog-api-client-v2/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.d.ts +23 -0
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js +87 -0
- package/dist/packages/datadog-api-client-v2/apis/UsersApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +183 -20
- package/dist/packages/datadog-api-client-v2/index.js +360 -91
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUserError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponse.d.ts → AnonymizeUsersRequest.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersRequestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseData.js → AnonymizeUsersResponseData.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/AnonymizeUsersResponseType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.d.ts +17 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.js +16 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatName.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.d.ts +74 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js +73 -0
- package/dist/packages/datadog-api-client-v2/models/ApmDependencyStatsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.d.ts +83 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js +77 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsSpanKind.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.d.ts +26 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.js +25 -0
- package/dist/packages/datadog-api-client-v2/models/ApmMetricsStat.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.d.ts +22 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.js +21 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatName.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.d.ts +74 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js +71 -0
- package/dist/packages/datadog-api-client-v2/models/ApmResourceStatsQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.d.ts +71 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerScalarQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js +62 -0
- package/dist/packages/datadog-api-client-v2/models/ContainerTimeseriesQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsData.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsData.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsRequest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/ConvertJobResultsToSignalsRequest.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/CreateMaintenanceRequestDataAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.d.ts +10 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.d.ts +4 -3
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationForwardDestinationSplunk.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.d.ts +4 -3
- package/dist/packages/datadog-api-client-v2/models/CustomDestinationResponseForwardDestinationSplunk.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.d.ts +12 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.js +12 -1
- package/dist/packages/datadog-api-client-v2/models/EventsDataSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsScalarQuery.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/EventsTimeseriesQuery.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/FullPersonalAccessTokenAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetIoCIndicatorResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobDataType.d.ts → HistoricalJobDataType.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobDataType.js → HistoricalJobDataType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobListMeta.d.ts → HistoricalJobListMeta.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobListMeta.js → HistoricalJobListMeta.js} +6 -6
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobListMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobOptions.d.ts → HistoricalJobOptions.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobOptions.js → HistoricalJobOptions.js} +6 -6
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobQuery.d.ts → HistoricalJobQuery.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobQuery.js → HistoricalJobQuery.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseAttributes.d.ts → HistoricalJobResponseAttributes.d.ts} +3 -3
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseAttributes.js → HistoricalJobResponseAttributes.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ThreatHuntingJobResponseData.d.ts → HistoricalJobResponseData.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/HistoricalJobResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.d.ts +47 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseMetadata.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseMetadata.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponseMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCExplorerListResponsePaging.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/IoCGeoLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.d.ts +119 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.js +116 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicator.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.d.ts +164 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.js +156 -0
- package/dist/packages/datadog-api-client-v2/models/IoCIndicatorDetailed.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/IoCScoreEffect.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSignalSeverityCount.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSource.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSource.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/IoCSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponse.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobCreateResponseData.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.d.ts +5 -5
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/JobDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/JobDefinitionFromRule.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.js +49 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAssessmentCriteria.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.js +67 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigBedrockOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigEvalScope.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.js +61 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigInferenceParams.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.d.ts +16 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.js +15 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigIntegrationProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.js +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMJudgeConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigLLMProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigParsingType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptContentValue.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptMessage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolCall.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigPromptToolResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigTarget.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultFailure.d.ts → LLMObsCustomEvalConfigVertexAIOptions.d.ts} +6 -6
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigVertexAIOptions.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/LLMObsCustomEvalConfigVertexAIOptions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{ListThreatHuntingJobsResponse.d.ts → ListHistoricalJobsResponse.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/ListHistoricalJobsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListHistoricalJobsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsScalarQuery.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/MetricsTimeseriesQuery.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +429 -31
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.d.ts +8 -2
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.js +8 -9
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.d.ts +11 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.js +9 -6
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyCreateData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyEnforcementTier.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateAttributes.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyOverrideUpdateData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyPolicyType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.d.ts +5 -0
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.js +4 -5
- package/dist/packages/datadog-api-client-v2/models/OrgGroupPolicyUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/PersonalAccessTokenAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.d.ts +71 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js +66 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessScalarQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js +62 -0
- package/dist/packages/datadog-api-client-v2/models/ProcessTimeseriesQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.d.ts +5 -2
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js +3 -1
- package/dist/packages/datadog-api-client-v2/models/RuleTypesItems.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestAttributes.d.ts → RunHistoricalJobRequestAttributes.d.ts} +4 -4
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestAttributes.js → RunHistoricalJobRequestAttributes.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestData.d.ts → RunHistoricalJobRequestData.d.ts} +7 -7
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestDataType.d.ts → RunHistoricalJobRequestDataType.d.ts} +1 -1
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequestDataType.js → RunHistoricalJobRequestDataType.js} +1 -1
- package/dist/packages/datadog-api-client-v2/models/RunHistoricalJobRequestDataType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ScalarQuery.d.ts +7 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackActivation.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackIntegrationStatus.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateAttributes.d.ts +7 -6
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStateMeta.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackStatus.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringContentPackTimestampBucket.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSKU.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.d.ts +55 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalsBulkUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformBulkExportRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformConvertRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.js +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformExportResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringTerraformResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SloDataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.js +57 -0
- package/dist/packages/datadog-api-client-v2/models/SloQuery.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SlosGroupMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.d.ts +20 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.js +19 -0
- package/dist/packages/datadog-api-client-v2/models/SlosMeasure.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/SlosQueryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.d.ts +9 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.js +3 -3
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.d.ts +21 -26
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.js +8 -8
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDetail.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsPollTestResultsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestLatestResultsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.js +71 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAssertionResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBatch.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBounds.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBrowserError.d.ts +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBrowserError.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBrowserError.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.d.ts +76 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.js +75 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultBucketKeys.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCI.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIPipeline.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIPipeline.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIPipeline.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIProvider.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIProvider.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIProvider.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCIStage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnCacheStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnProviderInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCdnResource.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.d.ts +85 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.js +76 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultCertificateValidity.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.d.ts +216 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.js +196 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDetail.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevice.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceBrowser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDevicePlatform.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDeviceResolution.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsRecord.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.d.ts +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDnsResolution.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultDuration.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.d.ts +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.js +50 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultExecutionInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFailure.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.js +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultFileRef.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGit.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGit.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.d.ts +53 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitCommit.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultGitUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHandshake.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultHealthCheck.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultIncludedItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultLocation.d.ts → SyntheticsTestResultLocation.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultLocation.js → SyntheticsTestResultLocation.js} +7 -7
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultLocation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.d.ts +67 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.js +59 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpath.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathDestination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathEndpoint.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.js +53 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetpathHop.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.d.ts +58 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.js +54 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstats.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetstatsHops.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultNetworkLatency.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPCertificate.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPResponse.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPResponse.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultOCSPUpdates.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultParentTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{RunThreatHuntingJobRequest.d.ts → SyntheticsTestResultRedirect.d.ts} +8 -5
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRedirect.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRedirect.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultDevice.d.ts → SyntheticsTestResultRelationshipTestData.d.ts} +5 -5
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTestData.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationshipTestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRelationships.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.d.ts +119 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.js +115 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRequestInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.d.ts +115 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.js +100 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultResponseInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRouter.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultFailure.js → SyntheticsTestResultRouter.js} +11 -11
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRouter.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRumContext.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultRunType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.d.ts +228 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.js +202 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.js +47 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepAssertionResult.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.js +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepElementUpdates.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultStepsInfo.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSubTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.d.ts +80 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultSummaryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTab.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTrace.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/{SyntheticsFastTestResultDevice.js → SyntheticsTestResultTrace.js} +9 -9
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTrace.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.js +62 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTracerouteHop.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.d.ts +62 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurn.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultTurnStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.js +71 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariable.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVariables.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.d.ts +56 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultVitalsMetrics.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWarning.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestResultWebSocketClose.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.d.ts +20 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.js +19 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestSubType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/SyntheticsTestType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TimeseriesQuery.d.ts +7 -1
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListThreatHuntingJobsResponse.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/ListThreatHuntingJobsResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequest.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequest.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestData.js +0 -34
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestData.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/RunThreatHuntingJobRequestDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultDevice.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultFailure.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/SyntheticsFastTestResultLocation.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobDataType.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobListMeta.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobOptions.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobQuery.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponse.js +0 -30
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponse.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponseAttributes.js.map +0 -1
- package/dist/packages/datadog-api-client-v2/models/ThreatHuntingJobResponseData.js.map +0 -1
|
@@ -57,6 +57,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
57
57
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
58
58
|
"apiKeyAuth",
|
|
59
59
|
"appKeyAuth",
|
|
60
|
+
"AuthZ",
|
|
60
61
|
]);
|
|
61
62
|
return requestContext;
|
|
62
63
|
});
|
|
@@ -127,6 +128,37 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
127
128
|
return requestContext;
|
|
128
129
|
});
|
|
129
130
|
}
|
|
131
|
+
bulkEditSecurityMonitoringSignals(body, _options) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
133
|
+
const _config = _options || this.configuration;
|
|
134
|
+
// verify required parameter 'body' is not null or undefined
|
|
135
|
+
if (body === null || body === undefined) {
|
|
136
|
+
throw new baseapi_1.RequiredError("body", "bulkEditSecurityMonitoringSignals");
|
|
137
|
+
}
|
|
138
|
+
// Path Params
|
|
139
|
+
const localVarPath = "/api/v2/security_monitoring/signals/bulk/update";
|
|
140
|
+
// Make Request Context
|
|
141
|
+
const requestContext = _config
|
|
142
|
+
.getServer("v2.SecurityMonitoringApi.bulkEditSecurityMonitoringSignals")
|
|
143
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
144
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
145
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
146
|
+
// Body Params
|
|
147
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
148
|
+
"application/json",
|
|
149
|
+
]);
|
|
150
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
151
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringSignalsBulkUpdateRequest", ""), contentType);
|
|
152
|
+
requestContext.setBody(serializedBody);
|
|
153
|
+
// Apply auth methods
|
|
154
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
155
|
+
"apiKeyAuth",
|
|
156
|
+
"appKeyAuth",
|
|
157
|
+
"AuthZ",
|
|
158
|
+
]);
|
|
159
|
+
return requestContext;
|
|
160
|
+
});
|
|
161
|
+
}
|
|
130
162
|
bulkEditSecurityMonitoringSignalsAssignee(body, _options) {
|
|
131
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
132
164
|
const _config = _options || this.configuration;
|
|
@@ -218,22 +250,61 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
218
250
|
return requestContext;
|
|
219
251
|
});
|
|
220
252
|
}
|
|
221
|
-
|
|
253
|
+
bulkExportSecurityMonitoringTerraformResources(resourceType, body, _options) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
const _config = _options || this.configuration;
|
|
256
|
+
logger_1.logger.warn("Using unstable operation 'bulkExportSecurityMonitoringTerraformResources'");
|
|
257
|
+
if (!_config.unstableOperations["v2.bulkExportSecurityMonitoringTerraformResources"]) {
|
|
258
|
+
throw new Error("Unstable operation 'bulkExportSecurityMonitoringTerraformResources' is disabled");
|
|
259
|
+
}
|
|
260
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
261
|
+
if (resourceType === null || resourceType === undefined) {
|
|
262
|
+
throw new baseapi_1.RequiredError("resourceType", "bulkExportSecurityMonitoringTerraformResources");
|
|
263
|
+
}
|
|
264
|
+
// verify required parameter 'body' is not null or undefined
|
|
265
|
+
if (body === null || body === undefined) {
|
|
266
|
+
throw new baseapi_1.RequiredError("body", "bulkExportSecurityMonitoringTerraformResources");
|
|
267
|
+
}
|
|
268
|
+
// Path Params
|
|
269
|
+
const localVarPath = "/api/v2/security_monitoring/terraform/{resource_type}/bulk".replace("{resource_type}", encodeURIComponent(String(resourceType)));
|
|
270
|
+
// Make Request Context
|
|
271
|
+
const requestContext = _config
|
|
272
|
+
.getServer("v2.SecurityMonitoringApi.bulkExportSecurityMonitoringTerraformResources")
|
|
273
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
274
|
+
requestContext.setHeaderParam("Accept", "application/zip, application/json");
|
|
275
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
276
|
+
// Body Params
|
|
277
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
278
|
+
"application/json",
|
|
279
|
+
]);
|
|
280
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
281
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringTerraformBulkExportRequest", ""), contentType);
|
|
282
|
+
requestContext.setBody(serializedBody);
|
|
283
|
+
// Apply auth methods
|
|
284
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
285
|
+
"apiKeyAuth",
|
|
286
|
+
"appKeyAuth",
|
|
287
|
+
"AuthZ",
|
|
288
|
+
]);
|
|
289
|
+
return requestContext;
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
cancelHistoricalJob(jobId, _options) {
|
|
222
293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
223
294
|
const _config = _options || this.configuration;
|
|
224
|
-
logger_1.logger.warn("Using unstable operation '
|
|
225
|
-
if (!_config.unstableOperations["v2.
|
|
226
|
-
throw new Error("Unstable operation '
|
|
295
|
+
logger_1.logger.warn("Using unstable operation 'cancelHistoricalJob'");
|
|
296
|
+
if (!_config.unstableOperations["v2.cancelHistoricalJob"]) {
|
|
297
|
+
throw new Error("Unstable operation 'cancelHistoricalJob' is disabled");
|
|
227
298
|
}
|
|
228
299
|
// verify required parameter 'jobId' is not null or undefined
|
|
229
300
|
if (jobId === null || jobId === undefined) {
|
|
230
|
-
throw new baseapi_1.RequiredError("jobId", "
|
|
301
|
+
throw new baseapi_1.RequiredError("jobId", "cancelHistoricalJob");
|
|
231
302
|
}
|
|
232
303
|
// Path Params
|
|
233
|
-
const localVarPath = "/api/v2/siem-
|
|
304
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs/{job_id}/cancel".replace("{job_id}", encodeURIComponent(String(jobId)));
|
|
234
305
|
// Make Request Context
|
|
235
306
|
const requestContext = _config
|
|
236
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
307
|
+
.getServer("v2.SecurityMonitoringApi.cancelHistoricalJob")
|
|
237
308
|
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
238
309
|
requestContext.setHeaderParam("Accept", "*/*");
|
|
239
310
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -282,7 +353,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
282
353
|
throw new baseapi_1.RequiredError("body", "convertJobResultToSignal");
|
|
283
354
|
}
|
|
284
355
|
// Path Params
|
|
285
|
-
const localVarPath = "/api/v2/siem-
|
|
356
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs/signal_convert";
|
|
286
357
|
// Make Request Context
|
|
287
358
|
const requestContext = _config
|
|
288
359
|
.getServer("v2.SecurityMonitoringApi.convertJobResultToSignal")
|
|
@@ -335,6 +406,45 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
335
406
|
return requestContext;
|
|
336
407
|
});
|
|
337
408
|
}
|
|
409
|
+
convertSecurityMonitoringTerraformResource(resourceType, body, _options) {
|
|
410
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
411
|
+
const _config = _options || this.configuration;
|
|
412
|
+
logger_1.logger.warn("Using unstable operation 'convertSecurityMonitoringTerraformResource'");
|
|
413
|
+
if (!_config.unstableOperations["v2.convertSecurityMonitoringTerraformResource"]) {
|
|
414
|
+
throw new Error("Unstable operation 'convertSecurityMonitoringTerraformResource' is disabled");
|
|
415
|
+
}
|
|
416
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
417
|
+
if (resourceType === null || resourceType === undefined) {
|
|
418
|
+
throw new baseapi_1.RequiredError("resourceType", "convertSecurityMonitoringTerraformResource");
|
|
419
|
+
}
|
|
420
|
+
// verify required parameter 'body' is not null or undefined
|
|
421
|
+
if (body === null || body === undefined) {
|
|
422
|
+
throw new baseapi_1.RequiredError("body", "convertSecurityMonitoringTerraformResource");
|
|
423
|
+
}
|
|
424
|
+
// Path Params
|
|
425
|
+
const localVarPath = "/api/v2/security_monitoring/terraform/{resource_type}/convert".replace("{resource_type}", encodeURIComponent(String(resourceType)));
|
|
426
|
+
// Make Request Context
|
|
427
|
+
const requestContext = _config
|
|
428
|
+
.getServer("v2.SecurityMonitoringApi.convertSecurityMonitoringTerraformResource")
|
|
429
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
430
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
431
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
432
|
+
// Body Params
|
|
433
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
434
|
+
"application/json",
|
|
435
|
+
]);
|
|
436
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
437
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringTerraformConvertRequest", ""), contentType);
|
|
438
|
+
requestContext.setBody(serializedBody);
|
|
439
|
+
// Apply auth methods
|
|
440
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
441
|
+
"apiKeyAuth",
|
|
442
|
+
"appKeyAuth",
|
|
443
|
+
"AuthZ",
|
|
444
|
+
]);
|
|
445
|
+
return requestContext;
|
|
446
|
+
});
|
|
447
|
+
}
|
|
338
448
|
createCases(body, _options) {
|
|
339
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
340
450
|
const _config = _options || this.configuration;
|
|
@@ -635,6 +745,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
635
745
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
636
746
|
"apiKeyAuth",
|
|
637
747
|
"appKeyAuth",
|
|
748
|
+
"AuthZ",
|
|
638
749
|
]);
|
|
639
750
|
return requestContext;
|
|
640
751
|
});
|
|
@@ -669,6 +780,34 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
669
780
|
return requestContext;
|
|
670
781
|
});
|
|
671
782
|
}
|
|
783
|
+
deleteHistoricalJob(jobId, _options) {
|
|
784
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
785
|
+
const _config = _options || this.configuration;
|
|
786
|
+
logger_1.logger.warn("Using unstable operation 'deleteHistoricalJob'");
|
|
787
|
+
if (!_config.unstableOperations["v2.deleteHistoricalJob"]) {
|
|
788
|
+
throw new Error("Unstable operation 'deleteHistoricalJob' is disabled");
|
|
789
|
+
}
|
|
790
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
791
|
+
if (jobId === null || jobId === undefined) {
|
|
792
|
+
throw new baseapi_1.RequiredError("jobId", "deleteHistoricalJob");
|
|
793
|
+
}
|
|
794
|
+
// Path Params
|
|
795
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs/{job_id}".replace("{job_id}", encodeURIComponent(String(jobId)));
|
|
796
|
+
// Make Request Context
|
|
797
|
+
const requestContext = _config
|
|
798
|
+
.getServer("v2.SecurityMonitoringApi.deleteHistoricalJob")
|
|
799
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
800
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
801
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
802
|
+
// Apply auth methods
|
|
803
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
804
|
+
"apiKeyAuth",
|
|
805
|
+
"appKeyAuth",
|
|
806
|
+
"AuthZ",
|
|
807
|
+
]);
|
|
808
|
+
return requestContext;
|
|
809
|
+
});
|
|
810
|
+
}
|
|
672
811
|
deleteSecurityFilter(securityFilterId, _options) {
|
|
673
812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
674
813
|
const _config = _options || this.configuration;
|
|
@@ -788,22 +927,18 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
788
927
|
return requestContext;
|
|
789
928
|
});
|
|
790
929
|
}
|
|
791
|
-
|
|
930
|
+
deleteVulnerabilityNotificationRule(id, _options) {
|
|
792
931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
793
932
|
const _config = _options || this.configuration;
|
|
794
|
-
|
|
795
|
-
if (
|
|
796
|
-
throw new
|
|
797
|
-
}
|
|
798
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
799
|
-
if (jobId === null || jobId === undefined) {
|
|
800
|
-
throw new baseapi_1.RequiredError("jobId", "deleteThreatHuntingJob");
|
|
933
|
+
// verify required parameter 'id' is not null or undefined
|
|
934
|
+
if (id === null || id === undefined) {
|
|
935
|
+
throw new baseapi_1.RequiredError("id", "deleteVulnerabilityNotificationRule");
|
|
801
936
|
}
|
|
802
937
|
// Path Params
|
|
803
|
-
const localVarPath = "/api/v2/
|
|
938
|
+
const localVarPath = "/api/v2/security/vulnerabilities/notification_rules/{id}".replace("{id}", encodeURIComponent(String(id)));
|
|
804
939
|
// Make Request Context
|
|
805
940
|
const requestContext = _config
|
|
806
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
941
|
+
.getServer("v2.SecurityMonitoringApi.deleteVulnerabilityNotificationRule")
|
|
807
942
|
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
808
943
|
requestContext.setHeaderParam("Accept", "*/*");
|
|
809
944
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -811,55 +946,66 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
811
946
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
812
947
|
"apiKeyAuth",
|
|
813
948
|
"appKeyAuth",
|
|
814
|
-
"AuthZ",
|
|
815
949
|
]);
|
|
816
950
|
return requestContext;
|
|
817
951
|
});
|
|
818
952
|
}
|
|
819
|
-
|
|
953
|
+
detachCase(body, _options) {
|
|
820
954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
821
955
|
const _config = _options || this.configuration;
|
|
822
|
-
// verify required parameter '
|
|
823
|
-
if (
|
|
824
|
-
throw new baseapi_1.RequiredError("
|
|
956
|
+
// verify required parameter 'body' is not null or undefined
|
|
957
|
+
if (body === null || body === undefined) {
|
|
958
|
+
throw new baseapi_1.RequiredError("body", "detachCase");
|
|
825
959
|
}
|
|
826
960
|
// Path Params
|
|
827
|
-
const localVarPath = "/api/v2/security/
|
|
961
|
+
const localVarPath = "/api/v2/security/findings/cases";
|
|
828
962
|
// Make Request Context
|
|
829
963
|
const requestContext = _config
|
|
830
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
964
|
+
.getServer("v2.SecurityMonitoringApi.detachCase")
|
|
831
965
|
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
832
966
|
requestContext.setHeaderParam("Accept", "*/*");
|
|
833
967
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
968
|
+
// Body Params
|
|
969
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
970
|
+
"application/json",
|
|
971
|
+
]);
|
|
972
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
973
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "DetachCaseRequest", ""), contentType);
|
|
974
|
+
requestContext.setBody(serializedBody);
|
|
834
975
|
// Apply auth methods
|
|
835
976
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
836
977
|
"apiKeyAuth",
|
|
837
978
|
"appKeyAuth",
|
|
979
|
+
"AuthZ",
|
|
838
980
|
]);
|
|
839
981
|
return requestContext;
|
|
840
982
|
});
|
|
841
983
|
}
|
|
842
|
-
|
|
984
|
+
editSecurityMonitoringSignal(signalId, body, _options) {
|
|
843
985
|
return __awaiter(this, void 0, void 0, function* () {
|
|
844
986
|
const _config = _options || this.configuration;
|
|
987
|
+
// verify required parameter 'signalId' is not null or undefined
|
|
988
|
+
if (signalId === null || signalId === undefined) {
|
|
989
|
+
throw new baseapi_1.RequiredError("signalId", "editSecurityMonitoringSignal");
|
|
990
|
+
}
|
|
845
991
|
// verify required parameter 'body' is not null or undefined
|
|
846
992
|
if (body === null || body === undefined) {
|
|
847
|
-
throw new baseapi_1.RequiredError("body", "
|
|
993
|
+
throw new baseapi_1.RequiredError("body", "editSecurityMonitoringSignal");
|
|
848
994
|
}
|
|
849
995
|
// Path Params
|
|
850
|
-
const localVarPath = "/api/v2/
|
|
996
|
+
const localVarPath = "/api/v2/security_monitoring/signals/{signal_id}/update".replace("{signal_id}", encodeURIComponent(String(signalId)));
|
|
851
997
|
// Make Request Context
|
|
852
998
|
const requestContext = _config
|
|
853
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
854
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
855
|
-
requestContext.setHeaderParam("Accept", "
|
|
999
|
+
.getServer("v2.SecurityMonitoringApi.editSecurityMonitoringSignal")
|
|
1000
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
1001
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
856
1002
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
857
1003
|
// Body Params
|
|
858
1004
|
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
859
1005
|
"application/json",
|
|
860
1006
|
]);
|
|
861
1007
|
requestContext.setHeaderParam("Content-Type", contentType);
|
|
862
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "
|
|
1008
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "SecurityMonitoringSignalUpdateRequest", ""), contentType);
|
|
863
1009
|
requestContext.setBody(serializedBody);
|
|
864
1010
|
// Apply auth methods
|
|
865
1011
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
@@ -975,6 +1121,40 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
975
1121
|
return requestContext;
|
|
976
1122
|
});
|
|
977
1123
|
}
|
|
1124
|
+
exportSecurityMonitoringTerraformResource(resourceType, resourceId, _options) {
|
|
1125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1126
|
+
const _config = _options || this.configuration;
|
|
1127
|
+
logger_1.logger.warn("Using unstable operation 'exportSecurityMonitoringTerraformResource'");
|
|
1128
|
+
if (!_config.unstableOperations["v2.exportSecurityMonitoringTerraformResource"]) {
|
|
1129
|
+
throw new Error("Unstable operation 'exportSecurityMonitoringTerraformResource' is disabled");
|
|
1130
|
+
}
|
|
1131
|
+
// verify required parameter 'resourceType' is not null or undefined
|
|
1132
|
+
if (resourceType === null || resourceType === undefined) {
|
|
1133
|
+
throw new baseapi_1.RequiredError("resourceType", "exportSecurityMonitoringTerraformResource");
|
|
1134
|
+
}
|
|
1135
|
+
// verify required parameter 'resourceId' is not null or undefined
|
|
1136
|
+
if (resourceId === null || resourceId === undefined) {
|
|
1137
|
+
throw new baseapi_1.RequiredError("resourceId", "exportSecurityMonitoringTerraformResource");
|
|
1138
|
+
}
|
|
1139
|
+
// Path Params
|
|
1140
|
+
const localVarPath = "/api/v2/security_monitoring/terraform/{resource_type}/{resource_id}"
|
|
1141
|
+
.replace("{resource_type}", encodeURIComponent(String(resourceType)))
|
|
1142
|
+
.replace("{resource_id}", encodeURIComponent(String(resourceId)));
|
|
1143
|
+
// Make Request Context
|
|
1144
|
+
const requestContext = _config
|
|
1145
|
+
.getServer("v2.SecurityMonitoringApi.exportSecurityMonitoringTerraformResource")
|
|
1146
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1147
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1148
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1149
|
+
// Apply auth methods
|
|
1150
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1151
|
+
"apiKeyAuth",
|
|
1152
|
+
"appKeyAuth",
|
|
1153
|
+
"AuthZ",
|
|
1154
|
+
]);
|
|
1155
|
+
return requestContext;
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
978
1158
|
getContentPacksStates(_options) {
|
|
979
1159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
980
1160
|
const _config = _options || this.configuration;
|
|
@@ -994,6 +1174,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
994
1174
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
995
1175
|
"apiKeyAuth",
|
|
996
1176
|
"appKeyAuth",
|
|
1177
|
+
"AuthZ",
|
|
997
1178
|
]);
|
|
998
1179
|
return requestContext;
|
|
999
1180
|
});
|
|
@@ -1084,6 +1265,66 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1084
1265
|
return requestContext;
|
|
1085
1266
|
});
|
|
1086
1267
|
}
|
|
1268
|
+
getHistoricalJob(jobId, _options) {
|
|
1269
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1270
|
+
const _config = _options || this.configuration;
|
|
1271
|
+
logger_1.logger.warn("Using unstable operation 'getHistoricalJob'");
|
|
1272
|
+
if (!_config.unstableOperations["v2.getHistoricalJob"]) {
|
|
1273
|
+
throw new Error("Unstable operation 'getHistoricalJob' is disabled");
|
|
1274
|
+
}
|
|
1275
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
1276
|
+
if (jobId === null || jobId === undefined) {
|
|
1277
|
+
throw new baseapi_1.RequiredError("jobId", "getHistoricalJob");
|
|
1278
|
+
}
|
|
1279
|
+
// Path Params
|
|
1280
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs/{job_id}".replace("{job_id}", encodeURIComponent(String(jobId)));
|
|
1281
|
+
// Make Request Context
|
|
1282
|
+
const requestContext = _config
|
|
1283
|
+
.getServer("v2.SecurityMonitoringApi.getHistoricalJob")
|
|
1284
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1285
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1286
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1287
|
+
// Apply auth methods
|
|
1288
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1289
|
+
"apiKeyAuth",
|
|
1290
|
+
"appKeyAuth",
|
|
1291
|
+
"AuthZ",
|
|
1292
|
+
]);
|
|
1293
|
+
return requestContext;
|
|
1294
|
+
});
|
|
1295
|
+
}
|
|
1296
|
+
getIndicatorOfCompromise(indicator, _options) {
|
|
1297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1298
|
+
const _config = _options || this.configuration;
|
|
1299
|
+
logger_1.logger.warn("Using unstable operation 'getIndicatorOfCompromise'");
|
|
1300
|
+
if (!_config.unstableOperations["v2.getIndicatorOfCompromise"]) {
|
|
1301
|
+
throw new Error("Unstable operation 'getIndicatorOfCompromise' is disabled");
|
|
1302
|
+
}
|
|
1303
|
+
// verify required parameter 'indicator' is not null or undefined
|
|
1304
|
+
if (indicator === null || indicator === undefined) {
|
|
1305
|
+
throw new baseapi_1.RequiredError("indicator", "getIndicatorOfCompromise");
|
|
1306
|
+
}
|
|
1307
|
+
// Path Params
|
|
1308
|
+
const localVarPath = "/api/v2/security/siem/ioc-explorer/indicator";
|
|
1309
|
+
// Make Request Context
|
|
1310
|
+
const requestContext = _config
|
|
1311
|
+
.getServer("v2.SecurityMonitoringApi.getIndicatorOfCompromise")
|
|
1312
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1313
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
1314
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
1315
|
+
// Query Params
|
|
1316
|
+
if (indicator !== undefined) {
|
|
1317
|
+
requestContext.setQueryParam("indicator", ObjectSerializer_1.ObjectSerializer.serialize(indicator, "string", ""), "");
|
|
1318
|
+
}
|
|
1319
|
+
// Apply auth methods
|
|
1320
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1321
|
+
"apiKeyAuth",
|
|
1322
|
+
"appKeyAuth",
|
|
1323
|
+
"AuthZ",
|
|
1324
|
+
]);
|
|
1325
|
+
return requestContext;
|
|
1326
|
+
});
|
|
1327
|
+
}
|
|
1087
1328
|
getInvestigationLogQueriesMatchingSignal(signalId, _options) {
|
|
1088
1329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1089
1330
|
const _config = _options || this.configuration;
|
|
@@ -1293,7 +1534,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1293
1534
|
throw new baseapi_1.RequiredError("histsignalId", "getSecurityMonitoringHistsignal");
|
|
1294
1535
|
}
|
|
1295
1536
|
// Path Params
|
|
1296
|
-
const localVarPath = "/api/v2/siem-
|
|
1537
|
+
const localVarPath = "/api/v2/siem-historical-detections/histsignals/{histsignal_id}".replace("{histsignal_id}", encodeURIComponent(String(histsignalId)));
|
|
1297
1538
|
// Make Request Context
|
|
1298
1539
|
const requestContext = _config
|
|
1299
1540
|
.getServer("v2.SecurityMonitoringApi.getSecurityMonitoringHistsignal")
|
|
@@ -1321,7 +1562,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1321
1562
|
throw new baseapi_1.RequiredError("jobId", "getSecurityMonitoringHistsignalsByJobId");
|
|
1322
1563
|
}
|
|
1323
1564
|
// Path Params
|
|
1324
|
-
const localVarPath = "/api/v2/siem-
|
|
1565
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs/{job_id}/histsignals".replace("{job_id}", encodeURIComponent(String(jobId)));
|
|
1325
1566
|
// Make Request Context
|
|
1326
1567
|
const requestContext = _config
|
|
1327
1568
|
.getServer("v2.SecurityMonitoringApi.getSecurityMonitoringHistsignalsByJobId")
|
|
@@ -1580,34 +1821,6 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1580
1821
|
return requestContext;
|
|
1581
1822
|
});
|
|
1582
1823
|
}
|
|
1583
|
-
getThreatHuntingJob(jobId, _options) {
|
|
1584
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1585
|
-
const _config = _options || this.configuration;
|
|
1586
|
-
logger_1.logger.warn("Using unstable operation 'getThreatHuntingJob'");
|
|
1587
|
-
if (!_config.unstableOperations["v2.getThreatHuntingJob"]) {
|
|
1588
|
-
throw new Error("Unstable operation 'getThreatHuntingJob' is disabled");
|
|
1589
|
-
}
|
|
1590
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
1591
|
-
if (jobId === null || jobId === undefined) {
|
|
1592
|
-
throw new baseapi_1.RequiredError("jobId", "getThreatHuntingJob");
|
|
1593
|
-
}
|
|
1594
|
-
// Path Params
|
|
1595
|
-
const localVarPath = "/api/v2/siem-threat-hunting/jobs/{job_id}".replace("{job_id}", encodeURIComponent(String(jobId)));
|
|
1596
|
-
// Make Request Context
|
|
1597
|
-
const requestContext = _config
|
|
1598
|
-
.getServer("v2.SecurityMonitoringApi.getThreatHuntingJob")
|
|
1599
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1600
|
-
requestContext.setHeaderParam("Accept", "application/json");
|
|
1601
|
-
requestContext.setHttpConfig(_config.httpConfig);
|
|
1602
|
-
// Apply auth methods
|
|
1603
|
-
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
1604
|
-
"apiKeyAuth",
|
|
1605
|
-
"appKeyAuth",
|
|
1606
|
-
"AuthZ",
|
|
1607
|
-
]);
|
|
1608
|
-
return requestContext;
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
1824
|
getVulnerabilityNotificationRule(id, _options) {
|
|
1612
1825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1613
1826
|
const _config = _options || this.configuration;
|
|
@@ -1764,38 +1977,115 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1764
1977
|
return requestContext;
|
|
1765
1978
|
});
|
|
1766
1979
|
}
|
|
1767
|
-
|
|
1980
|
+
listHistoricalJobs(pageSize, pageNumber, sort, filterQuery, _options) {
|
|
1768
1981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1769
1982
|
const _config = _options || this.configuration;
|
|
1770
|
-
logger_1.logger.warn("Using unstable operation '
|
|
1771
|
-
if (!_config.unstableOperations["v2.
|
|
1772
|
-
throw new Error("Unstable operation '
|
|
1773
|
-
}
|
|
1774
|
-
// verify required parameter 'body' is not null or undefined
|
|
1775
|
-
if (body === null || body === undefined) {
|
|
1776
|
-
throw new baseapi_1.RequiredError("body", "listMultipleRulesets");
|
|
1983
|
+
logger_1.logger.warn("Using unstable operation 'listHistoricalJobs'");
|
|
1984
|
+
if (!_config.unstableOperations["v2.listHistoricalJobs"]) {
|
|
1985
|
+
throw new Error("Unstable operation 'listHistoricalJobs' is disabled");
|
|
1777
1986
|
}
|
|
1778
1987
|
// Path Params
|
|
1779
|
-
const localVarPath = "/api/v2/
|
|
1988
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs";
|
|
1780
1989
|
// Make Request Context
|
|
1781
1990
|
const requestContext = _config
|
|
1782
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
1783
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.
|
|
1991
|
+
.getServer("v2.SecurityMonitoringApi.listHistoricalJobs")
|
|
1992
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
1784
1993
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
1785
1994
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
1786
|
-
//
|
|
1787
|
-
|
|
1788
|
-
"
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
"
|
|
1798
|
-
|
|
1995
|
+
// Query Params
|
|
1996
|
+
if (pageSize !== undefined) {
|
|
1997
|
+
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
1998
|
+
}
|
|
1999
|
+
if (pageNumber !== undefined) {
|
|
2000
|
+
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
2001
|
+
}
|
|
2002
|
+
if (sort !== undefined) {
|
|
2003
|
+
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
2004
|
+
}
|
|
2005
|
+
if (filterQuery !== undefined) {
|
|
2006
|
+
requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", ""), "");
|
|
2007
|
+
}
|
|
2008
|
+
// Apply auth methods
|
|
2009
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2010
|
+
"apiKeyAuth",
|
|
2011
|
+
"appKeyAuth",
|
|
2012
|
+
"AuthZ",
|
|
2013
|
+
]);
|
|
2014
|
+
return requestContext;
|
|
2015
|
+
});
|
|
2016
|
+
}
|
|
2017
|
+
listIndicatorsOfCompromise(limit, offset, query, sortColumn, sortOrder, _options) {
|
|
2018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2019
|
+
const _config = _options || this.configuration;
|
|
2020
|
+
logger_1.logger.warn("Using unstable operation 'listIndicatorsOfCompromise'");
|
|
2021
|
+
if (!_config.unstableOperations["v2.listIndicatorsOfCompromise"]) {
|
|
2022
|
+
throw new Error("Unstable operation 'listIndicatorsOfCompromise' is disabled");
|
|
2023
|
+
}
|
|
2024
|
+
// Path Params
|
|
2025
|
+
const localVarPath = "/api/v2/security/siem/ioc-explorer";
|
|
2026
|
+
// Make Request Context
|
|
2027
|
+
const requestContext = _config
|
|
2028
|
+
.getServer("v2.SecurityMonitoringApi.listIndicatorsOfCompromise")
|
|
2029
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
2030
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
2031
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
2032
|
+
// Query Params
|
|
2033
|
+
if (limit !== undefined) {
|
|
2034
|
+
requestContext.setQueryParam("limit", ObjectSerializer_1.ObjectSerializer.serialize(limit, "number", "int32"), "");
|
|
2035
|
+
}
|
|
2036
|
+
if (offset !== undefined) {
|
|
2037
|
+
requestContext.setQueryParam("offset", ObjectSerializer_1.ObjectSerializer.serialize(offset, "number", "int32"), "");
|
|
2038
|
+
}
|
|
2039
|
+
if (query !== undefined) {
|
|
2040
|
+
requestContext.setQueryParam("query", ObjectSerializer_1.ObjectSerializer.serialize(query, "string", ""), "");
|
|
2041
|
+
}
|
|
2042
|
+
if (sortColumn !== undefined) {
|
|
2043
|
+
requestContext.setQueryParam("sort[column]", ObjectSerializer_1.ObjectSerializer.serialize(sortColumn, "string", ""), "");
|
|
2044
|
+
}
|
|
2045
|
+
if (sortOrder !== undefined) {
|
|
2046
|
+
requestContext.setQueryParam("sort[order]", ObjectSerializer_1.ObjectSerializer.serialize(sortOrder, "string", ""), "");
|
|
2047
|
+
}
|
|
2048
|
+
// Apply auth methods
|
|
2049
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2050
|
+
"apiKeyAuth",
|
|
2051
|
+
"appKeyAuth",
|
|
2052
|
+
"AuthZ",
|
|
2053
|
+
]);
|
|
2054
|
+
return requestContext;
|
|
2055
|
+
});
|
|
2056
|
+
}
|
|
2057
|
+
listMultipleRulesets(body, _options) {
|
|
2058
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2059
|
+
const _config = _options || this.configuration;
|
|
2060
|
+
logger_1.logger.warn("Using unstable operation 'listMultipleRulesets'");
|
|
2061
|
+
if (!_config.unstableOperations["v2.listMultipleRulesets"]) {
|
|
2062
|
+
throw new Error("Unstable operation 'listMultipleRulesets' is disabled");
|
|
2063
|
+
}
|
|
2064
|
+
// verify required parameter 'body' is not null or undefined
|
|
2065
|
+
if (body === null || body === undefined) {
|
|
2066
|
+
throw new baseapi_1.RequiredError("body", "listMultipleRulesets");
|
|
2067
|
+
}
|
|
2068
|
+
// Path Params
|
|
2069
|
+
const localVarPath = "/api/v2/static-analysis/rulesets";
|
|
2070
|
+
// Make Request Context
|
|
2071
|
+
const requestContext = _config
|
|
2072
|
+
.getServer("v2.SecurityMonitoringApi.listMultipleRulesets")
|
|
2073
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
2074
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
2075
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
2076
|
+
// Body Params
|
|
2077
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
2078
|
+
"application/json",
|
|
2079
|
+
]);
|
|
2080
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
2081
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GetMultipleRulesetsRequest", ""), contentType);
|
|
2082
|
+
requestContext.setBody(serializedBody);
|
|
2083
|
+
// Apply auth methods
|
|
2084
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2085
|
+
"apiKeyAuth",
|
|
2086
|
+
"appKeyAuth",
|
|
2087
|
+
"AuthZ",
|
|
2088
|
+
]);
|
|
1799
2089
|
return requestContext;
|
|
1800
2090
|
});
|
|
1801
2091
|
}
|
|
@@ -1922,7 +2212,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
1922
2212
|
throw new Error("Unstable operation 'listSecurityMonitoringHistsignals' is disabled");
|
|
1923
2213
|
}
|
|
1924
2214
|
// Path Params
|
|
1925
|
-
const localVarPath = "/api/v2/siem-
|
|
2215
|
+
const localVarPath = "/api/v2/siem-historical-detections/histsignals";
|
|
1926
2216
|
// Make Request Context
|
|
1927
2217
|
const requestContext = _config
|
|
1928
2218
|
.getServer("v2.SecurityMonitoringApi.listSecurityMonitoringHistsignals")
|
|
@@ -2062,43 +2352,6 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2062
2352
|
return requestContext;
|
|
2063
2353
|
});
|
|
2064
2354
|
}
|
|
2065
|
-
listThreatHuntingJobs(pageSize, pageNumber, sort, filterQuery, _options) {
|
|
2066
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2067
|
-
const _config = _options || this.configuration;
|
|
2068
|
-
logger_1.logger.warn("Using unstable operation 'listThreatHuntingJobs'");
|
|
2069
|
-
if (!_config.unstableOperations["v2.listThreatHuntingJobs"]) {
|
|
2070
|
-
throw new Error("Unstable operation 'listThreatHuntingJobs' is disabled");
|
|
2071
|
-
}
|
|
2072
|
-
// Path Params
|
|
2073
|
-
const localVarPath = "/api/v2/siem-threat-hunting/jobs";
|
|
2074
|
-
// Make Request Context
|
|
2075
|
-
const requestContext = _config
|
|
2076
|
-
.getServer("v2.SecurityMonitoringApi.listThreatHuntingJobs")
|
|
2077
|
-
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
2078
|
-
requestContext.setHeaderParam("Accept", "application/json");
|
|
2079
|
-
requestContext.setHttpConfig(_config.httpConfig);
|
|
2080
|
-
// Query Params
|
|
2081
|
-
if (pageSize !== undefined) {
|
|
2082
|
-
requestContext.setQueryParam("page[size]", ObjectSerializer_1.ObjectSerializer.serialize(pageSize, "number", "int64"), "");
|
|
2083
|
-
}
|
|
2084
|
-
if (pageNumber !== undefined) {
|
|
2085
|
-
requestContext.setQueryParam("page[number]", ObjectSerializer_1.ObjectSerializer.serialize(pageNumber, "number", "int64"), "");
|
|
2086
|
-
}
|
|
2087
|
-
if (sort !== undefined) {
|
|
2088
|
-
requestContext.setQueryParam("sort", ObjectSerializer_1.ObjectSerializer.serialize(sort, "string", ""), "");
|
|
2089
|
-
}
|
|
2090
|
-
if (filterQuery !== undefined) {
|
|
2091
|
-
requestContext.setQueryParam("filter[query]", ObjectSerializer_1.ObjectSerializer.serialize(filterQuery, "string", ""), "");
|
|
2092
|
-
}
|
|
2093
|
-
// Apply auth methods
|
|
2094
|
-
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
2095
|
-
"apiKeyAuth",
|
|
2096
|
-
"appKeyAuth",
|
|
2097
|
-
"AuthZ",
|
|
2098
|
-
]);
|
|
2099
|
-
return requestContext;
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
2355
|
listVulnerabilities(pageToken, pageNumber, filterType, filterCvssBaseScoreOp, filterCvssBaseSeverity, filterCvssBaseVector, filterCvssDatadogScoreOp, filterCvssDatadogSeverity, filterCvssDatadogVector, filterStatus, filterTool, filterLibraryName, filterLibraryVersion, filterAdvisoryId, filterRisksExploitationProbability, filterRisksPocExploitAvailable, filterRisksExploitAvailable, filterRisksEpssScoreOp, filterRisksEpssSeverity, filterLanguage, filterEcosystem, filterCodeLocationLocation, filterCodeLocationFilePath, filterCodeLocationMethod, filterFixAvailable, filterRepoDigests, filterOrigin, filterRunningKernel, filterAssetName, filterAssetType, filterAssetVersionFirst, filterAssetVersionLast, filterAssetRepositoryUrl, filterAssetRisksInProduction, filterAssetRisksUnderAttack, filterAssetRisksIsPubliclyAccessible, filterAssetRisksHasPrivilegedAccess, filterAssetRisksHasAccessToSensitiveData, filterAssetEnvironments, filterAssetTeams, filterAssetArch, filterAssetOperatingSystemName, filterAssetOperatingSystemVersion, _options) {
|
|
2103
2356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2104
2357
|
const _config = _options || this.configuration;
|
|
@@ -2430,22 +2683,22 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2430
2683
|
return requestContext;
|
|
2431
2684
|
});
|
|
2432
2685
|
}
|
|
2433
|
-
|
|
2686
|
+
runHistoricalJob(body, _options) {
|
|
2434
2687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2435
2688
|
const _config = _options || this.configuration;
|
|
2436
|
-
logger_1.logger.warn("Using unstable operation '
|
|
2437
|
-
if (!_config.unstableOperations["v2.
|
|
2438
|
-
throw new Error("Unstable operation '
|
|
2689
|
+
logger_1.logger.warn("Using unstable operation 'runHistoricalJob'");
|
|
2690
|
+
if (!_config.unstableOperations["v2.runHistoricalJob"]) {
|
|
2691
|
+
throw new Error("Unstable operation 'runHistoricalJob' is disabled");
|
|
2439
2692
|
}
|
|
2440
2693
|
// verify required parameter 'body' is not null or undefined
|
|
2441
2694
|
if (body === null || body === undefined) {
|
|
2442
|
-
throw new baseapi_1.RequiredError("body", "
|
|
2695
|
+
throw new baseapi_1.RequiredError("body", "runHistoricalJob");
|
|
2443
2696
|
}
|
|
2444
2697
|
// Path Params
|
|
2445
|
-
const localVarPath = "/api/v2/siem-
|
|
2698
|
+
const localVarPath = "/api/v2/siem-historical-detections/jobs";
|
|
2446
2699
|
// Make Request Context
|
|
2447
2700
|
const requestContext = _config
|
|
2448
|
-
.getServer("v2.SecurityMonitoringApi.
|
|
2701
|
+
.getServer("v2.SecurityMonitoringApi.runHistoricalJob")
|
|
2449
2702
|
.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
2450
2703
|
requestContext.setHeaderParam("Accept", "application/json");
|
|
2451
2704
|
requestContext.setHttpConfig(_config.httpConfig);
|
|
@@ -2454,7 +2707,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2454
2707
|
"application/json",
|
|
2455
2708
|
]);
|
|
2456
2709
|
requestContext.setHeaderParam("Content-Type", contentType);
|
|
2457
|
-
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "
|
|
2710
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "RunHistoricalJobRequest", ""), contentType);
|
|
2458
2711
|
requestContext.setBody(serializedBody);
|
|
2459
2712
|
// Apply auth methods
|
|
2460
2713
|
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
@@ -2504,7 +2757,7 @@ class SecurityMonitoringApiRequestFactory extends baseapi_1.BaseAPIRequestFactor
|
|
|
2504
2757
|
throw new Error("Unstable operation 'searchSecurityMonitoringHistsignals' is disabled");
|
|
2505
2758
|
}
|
|
2506
2759
|
// Path Params
|
|
2507
|
-
const localVarPath = "/api/v2/siem-
|
|
2760
|
+
const localVarPath = "/api/v2/siem-historical-detections/histsignals/search";
|
|
2508
2761
|
// Make Request Context
|
|
2509
2762
|
const requestContext = _config
|
|
2510
2763
|
.getServer("v2.SecurityMonitoringApi.searchSecurityMonitoringHistsignals")
|
|
@@ -3016,6 +3269,53 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3016
3269
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3017
3270
|
});
|
|
3018
3271
|
}
|
|
3272
|
+
/**
|
|
3273
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3274
|
+
* to the expected objects
|
|
3275
|
+
*
|
|
3276
|
+
* @params response Response returned by the server for a request to bulkEditSecurityMonitoringSignals
|
|
3277
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
3278
|
+
*/
|
|
3279
|
+
bulkEditSecurityMonitoringSignals(response) {
|
|
3280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3281
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3282
|
+
if (response.httpStatusCode === 200) {
|
|
3283
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalsBulkTriageUpdateResponse");
|
|
3284
|
+
return body;
|
|
3285
|
+
}
|
|
3286
|
+
if (response.httpStatusCode === 400 || response.httpStatusCode === 403) {
|
|
3287
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3288
|
+
let body;
|
|
3289
|
+
try {
|
|
3290
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
3291
|
+
}
|
|
3292
|
+
catch (error) {
|
|
3293
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3294
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3295
|
+
}
|
|
3296
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3297
|
+
}
|
|
3298
|
+
if (response.httpStatusCode === 429) {
|
|
3299
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3300
|
+
let body;
|
|
3301
|
+
try {
|
|
3302
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3303
|
+
}
|
|
3304
|
+
catch (error) {
|
|
3305
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3306
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3307
|
+
}
|
|
3308
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3309
|
+
}
|
|
3310
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
3311
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
3312
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalsBulkTriageUpdateResponse", "");
|
|
3313
|
+
return body;
|
|
3314
|
+
}
|
|
3315
|
+
const body = (yield response.body.text()) || "";
|
|
3316
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3317
|
+
});
|
|
3318
|
+
}
|
|
3019
3319
|
/**
|
|
3020
3320
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3021
3321
|
* to the expected objects
|
|
@@ -3152,10 +3452,48 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3152
3452
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3153
3453
|
* to the expected objects
|
|
3154
3454
|
*
|
|
3155
|
-
* @params response Response returned by the server for a request to
|
|
3455
|
+
* @params response Response returned by the server for a request to bulkExportSecurityMonitoringTerraformResources
|
|
3456
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
3457
|
+
*/
|
|
3458
|
+
bulkExportSecurityMonitoringTerraformResources(response) {
|
|
3459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3460
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3461
|
+
if (response.httpStatusCode === 200) {
|
|
3462
|
+
const body = (yield response.getBodyAsFile());
|
|
3463
|
+
return body;
|
|
3464
|
+
}
|
|
3465
|
+
if (response.httpStatusCode === 400 ||
|
|
3466
|
+
response.httpStatusCode === 403 ||
|
|
3467
|
+
response.httpStatusCode === 404 ||
|
|
3468
|
+
response.httpStatusCode === 429) {
|
|
3469
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3470
|
+
let body;
|
|
3471
|
+
try {
|
|
3472
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3473
|
+
}
|
|
3474
|
+
catch (error) {
|
|
3475
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3476
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3477
|
+
}
|
|
3478
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3479
|
+
}
|
|
3480
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
3481
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
3482
|
+
const body = (yield response.getBodyAsFile());
|
|
3483
|
+
return body;
|
|
3484
|
+
}
|
|
3485
|
+
const body = (yield response.body.text()) || "";
|
|
3486
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3487
|
+
});
|
|
3488
|
+
}
|
|
3489
|
+
/**
|
|
3490
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3491
|
+
* to the expected objects
|
|
3492
|
+
*
|
|
3493
|
+
* @params response Response returned by the server for a request to cancelHistoricalJob
|
|
3156
3494
|
* @throws ApiException if the response code was not in [200, 299]
|
|
3157
3495
|
*/
|
|
3158
|
-
|
|
3496
|
+
cancelHistoricalJob(response) {
|
|
3159
3497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3160
3498
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3161
3499
|
if (response.httpStatusCode === 204) {
|
|
@@ -3300,6 +3638,43 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3300
3638
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3301
3639
|
});
|
|
3302
3640
|
}
|
|
3641
|
+
/**
|
|
3642
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3643
|
+
* to the expected objects
|
|
3644
|
+
*
|
|
3645
|
+
* @params response Response returned by the server for a request to convertSecurityMonitoringTerraformResource
|
|
3646
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
3647
|
+
*/
|
|
3648
|
+
convertSecurityMonitoringTerraformResource(response) {
|
|
3649
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3650
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3651
|
+
if (response.httpStatusCode === 200) {
|
|
3652
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringTerraformExportResponse");
|
|
3653
|
+
return body;
|
|
3654
|
+
}
|
|
3655
|
+
if (response.httpStatusCode === 400 ||
|
|
3656
|
+
response.httpStatusCode === 403 ||
|
|
3657
|
+
response.httpStatusCode === 429) {
|
|
3658
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3659
|
+
let body;
|
|
3660
|
+
try {
|
|
3661
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
3662
|
+
}
|
|
3663
|
+
catch (error) {
|
|
3664
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
3665
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
3666
|
+
}
|
|
3667
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
3668
|
+
}
|
|
3669
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
3670
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
3671
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringTerraformExportResponse", "");
|
|
3672
|
+
return body;
|
|
3673
|
+
}
|
|
3674
|
+
const body = (yield response.body.text()) || "";
|
|
3675
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3676
|
+
});
|
|
3677
|
+
}
|
|
3303
3678
|
/**
|
|
3304
3679
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3305
3680
|
* to the expected objects
|
|
@@ -3719,6 +4094,44 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3719
4094
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
3720
4095
|
});
|
|
3721
4096
|
}
|
|
4097
|
+
/**
|
|
4098
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4099
|
+
* to the expected objects
|
|
4100
|
+
*
|
|
4101
|
+
* @params response Response returned by the server for a request to deleteHistoricalJob
|
|
4102
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
4103
|
+
*/
|
|
4104
|
+
deleteHistoricalJob(response) {
|
|
4105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4106
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4107
|
+
if (response.httpStatusCode === 204) {
|
|
4108
|
+
return;
|
|
4109
|
+
}
|
|
4110
|
+
if (response.httpStatusCode === 400 ||
|
|
4111
|
+
response.httpStatusCode === 401 ||
|
|
4112
|
+
response.httpStatusCode === 403 ||
|
|
4113
|
+
response.httpStatusCode === 404 ||
|
|
4114
|
+
response.httpStatusCode === 409 ||
|
|
4115
|
+
response.httpStatusCode === 429) {
|
|
4116
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4117
|
+
let body;
|
|
4118
|
+
try {
|
|
4119
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
4120
|
+
}
|
|
4121
|
+
catch (error) {
|
|
4122
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
4123
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
4124
|
+
}
|
|
4125
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
4126
|
+
}
|
|
4127
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4128
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4129
|
+
return;
|
|
4130
|
+
}
|
|
4131
|
+
const body = (yield response.body.text()) || "";
|
|
4132
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
4133
|
+
});
|
|
4134
|
+
}
|
|
3722
4135
|
/**
|
|
3723
4136
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3724
4137
|
* to the expected objects
|
|
@@ -3898,20 +4311,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3898
4311
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3899
4312
|
* to the expected objects
|
|
3900
4313
|
*
|
|
3901
|
-
* @params response Response returned by the server for a request to
|
|
4314
|
+
* @params response Response returned by the server for a request to deleteVulnerabilityNotificationRule
|
|
3902
4315
|
* @throws ApiException if the response code was not in [200, 299]
|
|
3903
4316
|
*/
|
|
3904
|
-
|
|
4317
|
+
deleteVulnerabilityNotificationRule(response) {
|
|
3905
4318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3906
4319
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3907
4320
|
if (response.httpStatusCode === 204) {
|
|
3908
4321
|
return;
|
|
3909
4322
|
}
|
|
3910
|
-
if (response.httpStatusCode ===
|
|
3911
|
-
response.httpStatusCode === 401 ||
|
|
3912
|
-
response.httpStatusCode === 403 ||
|
|
4323
|
+
if (response.httpStatusCode === 403 ||
|
|
3913
4324
|
response.httpStatusCode === 404 ||
|
|
3914
|
-
response.httpStatusCode === 409 ||
|
|
3915
4325
|
response.httpStatusCode === 429) {
|
|
3916
4326
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3917
4327
|
let body;
|
|
@@ -3936,16 +4346,16 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3936
4346
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3937
4347
|
* to the expected objects
|
|
3938
4348
|
*
|
|
3939
|
-
* @params response Response returned by the server for a request to
|
|
4349
|
+
* @params response Response returned by the server for a request to detachCase
|
|
3940
4350
|
* @throws ApiException if the response code was not in [200, 299]
|
|
3941
4351
|
*/
|
|
3942
|
-
|
|
4352
|
+
detachCase(response) {
|
|
3943
4353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3944
4354
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3945
4355
|
if (response.httpStatusCode === 204) {
|
|
3946
4356
|
return;
|
|
3947
4357
|
}
|
|
3948
|
-
if (response.httpStatusCode ===
|
|
4358
|
+
if (response.httpStatusCode === 400 ||
|
|
3949
4359
|
response.httpStatusCode === 404 ||
|
|
3950
4360
|
response.httpStatusCode === 429) {
|
|
3951
4361
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
@@ -3971,18 +4381,31 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3971
4381
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
3972
4382
|
* to the expected objects
|
|
3973
4383
|
*
|
|
3974
|
-
* @params response Response returned by the server for a request to
|
|
4384
|
+
* @params response Response returned by the server for a request to editSecurityMonitoringSignal
|
|
3975
4385
|
* @throws ApiException if the response code was not in [200, 299]
|
|
3976
4386
|
*/
|
|
3977
|
-
|
|
4387
|
+
editSecurityMonitoringSignal(response) {
|
|
3978
4388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3979
4389
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
3980
|
-
if (response.httpStatusCode ===
|
|
3981
|
-
|
|
4390
|
+
if (response.httpStatusCode === 200) {
|
|
4391
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse");
|
|
4392
|
+
return body;
|
|
3982
4393
|
}
|
|
3983
4394
|
if (response.httpStatusCode === 400 ||
|
|
3984
|
-
response.httpStatusCode ===
|
|
3985
|
-
response.httpStatusCode ===
|
|
4395
|
+
response.httpStatusCode === 403 ||
|
|
4396
|
+
response.httpStatusCode === 404) {
|
|
4397
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4398
|
+
let body;
|
|
4399
|
+
try {
|
|
4400
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
4401
|
+
}
|
|
4402
|
+
catch (error) {
|
|
4403
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
4404
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
4405
|
+
}
|
|
4406
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
4407
|
+
}
|
|
4408
|
+
if (response.httpStatusCode === 429) {
|
|
3986
4409
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
3987
4410
|
let body;
|
|
3988
4411
|
try {
|
|
@@ -3996,7 +4419,8 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
3996
4419
|
}
|
|
3997
4420
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
3998
4421
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
3999
|
-
|
|
4422
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringSignalTriageUpdateResponse", "");
|
|
4423
|
+
return body;
|
|
4000
4424
|
}
|
|
4001
4425
|
const body = (yield response.body.text()) || "";
|
|
4002
4426
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
@@ -4116,6 +4540,43 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4116
4540
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
4117
4541
|
});
|
|
4118
4542
|
}
|
|
4543
|
+
/**
|
|
4544
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4545
|
+
* to the expected objects
|
|
4546
|
+
*
|
|
4547
|
+
* @params response Response returned by the server for a request to exportSecurityMonitoringTerraformResource
|
|
4548
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
4549
|
+
*/
|
|
4550
|
+
exportSecurityMonitoringTerraformResource(response) {
|
|
4551
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4552
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4553
|
+
if (response.httpStatusCode === 200) {
|
|
4554
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringTerraformExportResponse");
|
|
4555
|
+
return body;
|
|
4556
|
+
}
|
|
4557
|
+
if (response.httpStatusCode === 403 ||
|
|
4558
|
+
response.httpStatusCode === 404 ||
|
|
4559
|
+
response.httpStatusCode === 429) {
|
|
4560
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4561
|
+
let body;
|
|
4562
|
+
try {
|
|
4563
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
4564
|
+
}
|
|
4565
|
+
catch (error) {
|
|
4566
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
4567
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
4568
|
+
}
|
|
4569
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
4570
|
+
}
|
|
4571
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4572
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4573
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "SecurityMonitoringTerraformExportResponse", "");
|
|
4574
|
+
return body;
|
|
4575
|
+
}
|
|
4576
|
+
const body = (yield response.body.text()) || "";
|
|
4577
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
4578
|
+
});
|
|
4579
|
+
}
|
|
4119
4580
|
/**
|
|
4120
4581
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4121
4582
|
* to the expected objects
|
|
@@ -4230,7 +4691,83 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4230
4691
|
}
|
|
4231
4692
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4232
4693
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4233
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetCustomFrameworkResponse", "");
|
|
4694
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetCustomFrameworkResponse", "");
|
|
4695
|
+
return body;
|
|
4696
|
+
}
|
|
4697
|
+
const body = (yield response.body.text()) || "";
|
|
4698
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
4699
|
+
});
|
|
4700
|
+
}
|
|
4701
|
+
/**
|
|
4702
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4703
|
+
* to the expected objects
|
|
4704
|
+
*
|
|
4705
|
+
* @params response Response returned by the server for a request to getFinding
|
|
4706
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
4707
|
+
*/
|
|
4708
|
+
getFinding(response) {
|
|
4709
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4710
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4711
|
+
if (response.httpStatusCode === 200) {
|
|
4712
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetFindingResponse");
|
|
4713
|
+
return body;
|
|
4714
|
+
}
|
|
4715
|
+
if (response.httpStatusCode === 400 ||
|
|
4716
|
+
response.httpStatusCode === 403 ||
|
|
4717
|
+
response.httpStatusCode === 404 ||
|
|
4718
|
+
response.httpStatusCode === 429) {
|
|
4719
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4720
|
+
let body;
|
|
4721
|
+
try {
|
|
4722
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
4723
|
+
}
|
|
4724
|
+
catch (error) {
|
|
4725
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
4726
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
4727
|
+
}
|
|
4728
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
4729
|
+
}
|
|
4730
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4731
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4732
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetFindingResponse", "");
|
|
4733
|
+
return body;
|
|
4734
|
+
}
|
|
4735
|
+
const body = (yield response.body.text()) || "";
|
|
4736
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
4737
|
+
});
|
|
4738
|
+
}
|
|
4739
|
+
/**
|
|
4740
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4741
|
+
* to the expected objects
|
|
4742
|
+
*
|
|
4743
|
+
* @params response Response returned by the server for a request to getHistoricalJob
|
|
4744
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
4745
|
+
*/
|
|
4746
|
+
getHistoricalJob(response) {
|
|
4747
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4748
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4749
|
+
if (response.httpStatusCode === 200) {
|
|
4750
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "HistoricalJobResponse");
|
|
4751
|
+
return body;
|
|
4752
|
+
}
|
|
4753
|
+
if (response.httpStatusCode === 400 ||
|
|
4754
|
+
response.httpStatusCode === 403 ||
|
|
4755
|
+
response.httpStatusCode === 404 ||
|
|
4756
|
+
response.httpStatusCode === 429) {
|
|
4757
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4758
|
+
let body;
|
|
4759
|
+
try {
|
|
4760
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
4761
|
+
}
|
|
4762
|
+
catch (error) {
|
|
4763
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
4764
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
4765
|
+
}
|
|
4766
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
4767
|
+
}
|
|
4768
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4769
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4770
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "HistoricalJobResponse", "");
|
|
4234
4771
|
return body;
|
|
4235
4772
|
}
|
|
4236
4773
|
const body = (yield response.body.text()) || "";
|
|
@@ -4241,14 +4778,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4241
4778
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4242
4779
|
* to the expected objects
|
|
4243
4780
|
*
|
|
4244
|
-
* @params response Response returned by the server for a request to
|
|
4781
|
+
* @params response Response returned by the server for a request to getIndicatorOfCompromise
|
|
4245
4782
|
* @throws ApiException if the response code was not in [200, 299]
|
|
4246
4783
|
*/
|
|
4247
|
-
|
|
4784
|
+
getIndicatorOfCompromise(response) {
|
|
4248
4785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4249
4786
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4250
4787
|
if (response.httpStatusCode === 200) {
|
|
4251
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
4788
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetIoCIndicatorResponse");
|
|
4252
4789
|
return body;
|
|
4253
4790
|
}
|
|
4254
4791
|
if (response.httpStatusCode === 400 ||
|
|
@@ -4258,7 +4795,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4258
4795
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
4259
4796
|
let body;
|
|
4260
4797
|
try {
|
|
4261
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
4798
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
4262
4799
|
}
|
|
4263
4800
|
catch (error) {
|
|
4264
4801
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -4268,7 +4805,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4268
4805
|
}
|
|
4269
4806
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4270
4807
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4271
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
4808
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GetIoCIndicatorResponse", "");
|
|
4272
4809
|
return body;
|
|
4273
4810
|
}
|
|
4274
4811
|
const body = (yield response.body.text()) || "";
|
|
@@ -4955,14 +5492,14 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4955
5492
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4956
5493
|
* to the expected objects
|
|
4957
5494
|
*
|
|
4958
|
-
* @params response Response returned by the server for a request to
|
|
5495
|
+
* @params response Response returned by the server for a request to getVulnerabilityNotificationRule
|
|
4959
5496
|
* @throws ApiException if the response code was not in [200, 299]
|
|
4960
5497
|
*/
|
|
4961
|
-
|
|
5498
|
+
getVulnerabilityNotificationRule(response) {
|
|
4962
5499
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4963
5500
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
4964
5501
|
if (response.httpStatusCode === 200) {
|
|
4965
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5502
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse");
|
|
4966
5503
|
return body;
|
|
4967
5504
|
}
|
|
4968
5505
|
if (response.httpStatusCode === 400 ||
|
|
@@ -4982,7 +5519,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4982
5519
|
}
|
|
4983
5520
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
4984
5521
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
4985
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5522
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRuleResponse", "");
|
|
4986
5523
|
return body;
|
|
4987
5524
|
}
|
|
4988
5525
|
const body = (yield response.body.text()) || "";
|
|
@@ -4993,20 +5530,17 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
4993
5530
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
4994
5531
|
* to the expected objects
|
|
4995
5532
|
*
|
|
4996
|
-
* @params response Response returned by the server for a request to
|
|
5533
|
+
* @params response Response returned by the server for a request to getVulnerabilityNotificationRules
|
|
4997
5534
|
* @throws ApiException if the response code was not in [200, 299]
|
|
4998
5535
|
*/
|
|
4999
|
-
|
|
5536
|
+
getVulnerabilityNotificationRules(response) {
|
|
5000
5537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5001
5538
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5002
5539
|
if (response.httpStatusCode === 200) {
|
|
5003
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5540
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRulesList");
|
|
5004
5541
|
return body;
|
|
5005
5542
|
}
|
|
5006
|
-
if (response.httpStatusCode ===
|
|
5007
|
-
response.httpStatusCode === 403 ||
|
|
5008
|
-
response.httpStatusCode === 404 ||
|
|
5009
|
-
response.httpStatusCode === 429) {
|
|
5543
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
5010
5544
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5011
5545
|
let body;
|
|
5012
5546
|
try {
|
|
@@ -5020,7 +5554,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5020
5554
|
}
|
|
5021
5555
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5022
5556
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5023
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5557
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "NotificationRulesList", "");
|
|
5024
5558
|
return body;
|
|
5025
5559
|
}
|
|
5026
5560
|
const body = (yield response.body.text()) || "";
|
|
@@ -5031,17 +5565,31 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5031
5565
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5032
5566
|
* to the expected objects
|
|
5033
5567
|
*
|
|
5034
|
-
* @params response Response returned by the server for a request to
|
|
5568
|
+
* @params response Response returned by the server for a request to listAssetsSBOMs
|
|
5035
5569
|
* @throws ApiException if the response code was not in [200, 299]
|
|
5036
5570
|
*/
|
|
5037
|
-
|
|
5571
|
+
listAssetsSBOMs(response) {
|
|
5038
5572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5039
5573
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5040
5574
|
if (response.httpStatusCode === 200) {
|
|
5041
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5575
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListAssetsSBOMsResponse");
|
|
5042
5576
|
return body;
|
|
5043
5577
|
}
|
|
5044
|
-
if (response.httpStatusCode ===
|
|
5578
|
+
if (response.httpStatusCode === 400 ||
|
|
5579
|
+
response.httpStatusCode === 403 ||
|
|
5580
|
+
response.httpStatusCode === 404) {
|
|
5581
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5582
|
+
let body;
|
|
5583
|
+
try {
|
|
5584
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "JSONAPIErrorResponse");
|
|
5585
|
+
}
|
|
5586
|
+
catch (error) {
|
|
5587
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
5588
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
5589
|
+
}
|
|
5590
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
5591
|
+
}
|
|
5592
|
+
if (response.httpStatusCode === 429) {
|
|
5045
5593
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5046
5594
|
let body;
|
|
5047
5595
|
try {
|
|
@@ -5055,7 +5603,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5055
5603
|
}
|
|
5056
5604
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5057
5605
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5058
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5606
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListAssetsSBOMsResponse", "");
|
|
5059
5607
|
return body;
|
|
5060
5608
|
}
|
|
5061
5609
|
const body = (yield response.body.text()) || "";
|
|
@@ -5066,19 +5614,20 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5066
5614
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5067
5615
|
* to the expected objects
|
|
5068
5616
|
*
|
|
5069
|
-
* @params response Response returned by the server for a request to
|
|
5617
|
+
* @params response Response returned by the server for a request to listFindings
|
|
5070
5618
|
* @throws ApiException if the response code was not in [200, 299]
|
|
5071
5619
|
*/
|
|
5072
|
-
|
|
5620
|
+
listFindings(response) {
|
|
5073
5621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5074
5622
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5075
5623
|
if (response.httpStatusCode === 200) {
|
|
5076
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5624
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListFindingsResponse");
|
|
5077
5625
|
return body;
|
|
5078
5626
|
}
|
|
5079
5627
|
if (response.httpStatusCode === 400 ||
|
|
5080
5628
|
response.httpStatusCode === 403 ||
|
|
5081
|
-
response.httpStatusCode === 404
|
|
5629
|
+
response.httpStatusCode === 404 ||
|
|
5630
|
+
response.httpStatusCode === 429) {
|
|
5082
5631
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5083
5632
|
let body;
|
|
5084
5633
|
try {
|
|
@@ -5090,7 +5639,32 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5090
5639
|
}
|
|
5091
5640
|
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
5092
5641
|
}
|
|
5093
|
-
|
|
5642
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5643
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5644
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListFindingsResponse", "");
|
|
5645
|
+
return body;
|
|
5646
|
+
}
|
|
5647
|
+
const body = (yield response.body.text()) || "";
|
|
5648
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
5649
|
+
});
|
|
5650
|
+
}
|
|
5651
|
+
/**
|
|
5652
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5653
|
+
* to the expected objects
|
|
5654
|
+
*
|
|
5655
|
+
* @params response Response returned by the server for a request to listHistoricalJobs
|
|
5656
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
5657
|
+
*/
|
|
5658
|
+
listHistoricalJobs(response) {
|
|
5659
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5660
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5661
|
+
if (response.httpStatusCode === 200) {
|
|
5662
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListHistoricalJobsResponse");
|
|
5663
|
+
return body;
|
|
5664
|
+
}
|
|
5665
|
+
if (response.httpStatusCode === 400 ||
|
|
5666
|
+
response.httpStatusCode === 403 ||
|
|
5667
|
+
response.httpStatusCode === 429) {
|
|
5094
5668
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5095
5669
|
let body;
|
|
5096
5670
|
try {
|
|
@@ -5104,7 +5678,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5104
5678
|
}
|
|
5105
5679
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5106
5680
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5107
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5681
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListHistoricalJobsResponse", "");
|
|
5108
5682
|
return body;
|
|
5109
5683
|
}
|
|
5110
5684
|
const body = (yield response.body.text()) || "";
|
|
@@ -5115,24 +5689,23 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5115
5689
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5116
5690
|
* to the expected objects
|
|
5117
5691
|
*
|
|
5118
|
-
* @params response Response returned by the server for a request to
|
|
5692
|
+
* @params response Response returned by the server for a request to listIndicatorsOfCompromise
|
|
5119
5693
|
* @throws ApiException if the response code was not in [200, 299]
|
|
5120
5694
|
*/
|
|
5121
|
-
|
|
5695
|
+
listIndicatorsOfCompromise(response) {
|
|
5122
5696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5123
5697
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5124
5698
|
if (response.httpStatusCode === 200) {
|
|
5125
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5699
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IoCExplorerListResponse");
|
|
5126
5700
|
return body;
|
|
5127
5701
|
}
|
|
5128
5702
|
if (response.httpStatusCode === 400 ||
|
|
5129
5703
|
response.httpStatusCode === 403 ||
|
|
5130
|
-
response.httpStatusCode === 404 ||
|
|
5131
5704
|
response.httpStatusCode === 429) {
|
|
5132
5705
|
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5133
5706
|
let body;
|
|
5134
5707
|
try {
|
|
5135
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "
|
|
5708
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
5136
5709
|
}
|
|
5137
5710
|
catch (error) {
|
|
5138
5711
|
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
@@ -5142,7 +5715,7 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5142
5715
|
}
|
|
5143
5716
|
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5144
5717
|
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5145
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "
|
|
5718
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "IoCExplorerListResponse", "");
|
|
5146
5719
|
return body;
|
|
5147
5720
|
}
|
|
5148
5721
|
const body = (yield response.body.text()) || "";
|
|
@@ -5485,43 +6058,6 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5485
6058
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
5486
6059
|
});
|
|
5487
6060
|
}
|
|
5488
|
-
/**
|
|
5489
|
-
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5490
|
-
* to the expected objects
|
|
5491
|
-
*
|
|
5492
|
-
* @params response Response returned by the server for a request to listThreatHuntingJobs
|
|
5493
|
-
* @throws ApiException if the response code was not in [200, 299]
|
|
5494
|
-
*/
|
|
5495
|
-
listThreatHuntingJobs(response) {
|
|
5496
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5497
|
-
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5498
|
-
if (response.httpStatusCode === 200) {
|
|
5499
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListThreatHuntingJobsResponse");
|
|
5500
|
-
return body;
|
|
5501
|
-
}
|
|
5502
|
-
if (response.httpStatusCode === 400 ||
|
|
5503
|
-
response.httpStatusCode === 403 ||
|
|
5504
|
-
response.httpStatusCode === 429) {
|
|
5505
|
-
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
5506
|
-
let body;
|
|
5507
|
-
try {
|
|
5508
|
-
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
5509
|
-
}
|
|
5510
|
-
catch (error) {
|
|
5511
|
-
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
5512
|
-
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
5513
|
-
}
|
|
5514
|
-
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
5515
|
-
}
|
|
5516
|
-
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
5517
|
-
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
5518
|
-
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "ListThreatHuntingJobsResponse", "");
|
|
5519
|
-
return body;
|
|
5520
|
-
}
|
|
5521
|
-
const body = (yield response.body.text()) || "";
|
|
5522
|
-
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
5523
|
-
});
|
|
5524
|
-
}
|
|
5525
6061
|
/**
|
|
5526
6062
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5527
6063
|
* to the expected objects
|
|
@@ -5763,10 +6299,10 @@ class SecurityMonitoringApiResponseProcessor {
|
|
|
5763
6299
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
5764
6300
|
* to the expected objects
|
|
5765
6301
|
*
|
|
5766
|
-
* @params response Response returned by the server for a request to
|
|
6302
|
+
* @params response Response returned by the server for a request to runHistoricalJob
|
|
5767
6303
|
* @throws ApiException if the response code was not in [200, 299]
|
|
5768
6304
|
*/
|
|
5769
|
-
|
|
6305
|
+
runHistoricalJob(response) {
|
|
5770
6306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5771
6307
|
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
5772
6308
|
if (response.httpStatusCode === 201) {
|
|
@@ -6299,7 +6835,7 @@ class SecurityMonitoringApi {
|
|
|
6299
6835
|
responseProcessor || new SecurityMonitoringApiResponseProcessor();
|
|
6300
6836
|
}
|
|
6301
6837
|
/**
|
|
6302
|
-
* Activate a
|
|
6838
|
+
* Activate a Cloud SIEM content pack. This operation configures the necessary
|
|
6303
6839
|
* log filters or security filters depending on the pricing model and updates the content
|
|
6304
6840
|
* pack activation state.
|
|
6305
6841
|
* @param param The request object
|
|
@@ -6344,6 +6880,21 @@ class SecurityMonitoringApi {
|
|
|
6344
6880
|
});
|
|
6345
6881
|
});
|
|
6346
6882
|
}
|
|
6883
|
+
/**
|
|
6884
|
+
* Update the triage state or assignee of multiple security signals at once.
|
|
6885
|
+
* The maximum number of signals that can be updated in a single request is 199.
|
|
6886
|
+
* @param param The request object
|
|
6887
|
+
*/
|
|
6888
|
+
bulkEditSecurityMonitoringSignals(param, options) {
|
|
6889
|
+
const requestContextPromise = this.requestFactory.bulkEditSecurityMonitoringSignals(param.body, options);
|
|
6890
|
+
return requestContextPromise.then((requestContext) => {
|
|
6891
|
+
return this.configuration.httpApi
|
|
6892
|
+
.send(requestContext)
|
|
6893
|
+
.then((responseContext) => {
|
|
6894
|
+
return this.responseProcessor.bulkEditSecurityMonitoringSignals(responseContext);
|
|
6895
|
+
});
|
|
6896
|
+
});
|
|
6897
|
+
}
|
|
6347
6898
|
/**
|
|
6348
6899
|
* Change the triage assignees of multiple security signals at once.
|
|
6349
6900
|
* The maximum number of signals that can be updated in a single request is 199.
|
|
@@ -6391,16 +6942,33 @@ class SecurityMonitoringApi {
|
|
|
6391
6942
|
});
|
|
6392
6943
|
}
|
|
6393
6944
|
/**
|
|
6394
|
-
*
|
|
6945
|
+
* Export multiple security monitoring resources to Terraform, packaged as a zip archive.
|
|
6946
|
+
* The `resource_type` path parameter specifies the type of resources to export
|
|
6947
|
+
* and must be one of `suppressions` or `critical_assets`.
|
|
6948
|
+
* A maximum of 1000 resources can be exported in a single request.
|
|
6949
|
+
* @param param The request object
|
|
6950
|
+
*/
|
|
6951
|
+
bulkExportSecurityMonitoringTerraformResources(param, options) {
|
|
6952
|
+
const requestContextPromise = this.requestFactory.bulkExportSecurityMonitoringTerraformResources(param.resourceType, param.body, options);
|
|
6953
|
+
return requestContextPromise.then((requestContext) => {
|
|
6954
|
+
return this.configuration.httpApi
|
|
6955
|
+
.send(requestContext)
|
|
6956
|
+
.then((responseContext) => {
|
|
6957
|
+
return this.responseProcessor.bulkExportSecurityMonitoringTerraformResources(responseContext);
|
|
6958
|
+
});
|
|
6959
|
+
});
|
|
6960
|
+
}
|
|
6961
|
+
/**
|
|
6962
|
+
* Cancel a historical job.
|
|
6395
6963
|
* @param param The request object
|
|
6396
6964
|
*/
|
|
6397
|
-
|
|
6398
|
-
const requestContextPromise = this.requestFactory.
|
|
6965
|
+
cancelHistoricalJob(param, options) {
|
|
6966
|
+
const requestContextPromise = this.requestFactory.cancelHistoricalJob(param.jobId, options);
|
|
6399
6967
|
return requestContextPromise.then((requestContext) => {
|
|
6400
6968
|
return this.configuration.httpApi
|
|
6401
6969
|
.send(requestContext)
|
|
6402
6970
|
.then((responseContext) => {
|
|
6403
|
-
return this.responseProcessor.
|
|
6971
|
+
return this.responseProcessor.cancelHistoricalJob(responseContext);
|
|
6404
6972
|
});
|
|
6405
6973
|
});
|
|
6406
6974
|
}
|
|
@@ -6458,6 +7026,22 @@ class SecurityMonitoringApi {
|
|
|
6458
7026
|
});
|
|
6459
7027
|
});
|
|
6460
7028
|
}
|
|
7029
|
+
/**
|
|
7030
|
+
* Convert a security monitoring resource that doesn't (yet) exist from JSON to Terraform.
|
|
7031
|
+
* The `resource_type` path parameter specifies the type of resource to convert
|
|
7032
|
+
* and must be one of `suppressions` or `critical_assets`.
|
|
7033
|
+
* @param param The request object
|
|
7034
|
+
*/
|
|
7035
|
+
convertSecurityMonitoringTerraformResource(param, options) {
|
|
7036
|
+
const requestContextPromise = this.requestFactory.convertSecurityMonitoringTerraformResource(param.resourceType, param.body, options);
|
|
7037
|
+
return requestContextPromise.then((requestContext) => {
|
|
7038
|
+
return this.configuration.httpApi
|
|
7039
|
+
.send(requestContext)
|
|
7040
|
+
.then((responseContext) => {
|
|
7041
|
+
return this.responseProcessor.convertSecurityMonitoringTerraformResource(responseContext);
|
|
7042
|
+
});
|
|
7043
|
+
});
|
|
7044
|
+
}
|
|
6461
7045
|
/**
|
|
6462
7046
|
* Create cases for security findings.
|
|
6463
7047
|
* You can create up to 50 cases per request and associate up to 50 security findings per case. Security findings that are already attached to another case will be detached from their previous case and attached to the newly created case.
|
|
@@ -6590,7 +7174,7 @@ class SecurityMonitoringApi {
|
|
|
6590
7174
|
});
|
|
6591
7175
|
}
|
|
6592
7176
|
/**
|
|
6593
|
-
* Deactivate a
|
|
7177
|
+
* Deactivate a Cloud SIEM content pack. This operation removes the content pack's
|
|
6594
7178
|
* configuration from log filters or security filters and updates the content pack activation state.
|
|
6595
7179
|
* @param param The request object
|
|
6596
7180
|
*/
|
|
@@ -6618,6 +7202,20 @@ class SecurityMonitoringApi {
|
|
|
6618
7202
|
});
|
|
6619
7203
|
});
|
|
6620
7204
|
}
|
|
7205
|
+
/**
|
|
7206
|
+
* Delete an existing job.
|
|
7207
|
+
* @param param The request object
|
|
7208
|
+
*/
|
|
7209
|
+
deleteHistoricalJob(param, options) {
|
|
7210
|
+
const requestContextPromise = this.requestFactory.deleteHistoricalJob(param.jobId, options);
|
|
7211
|
+
return requestContextPromise.then((requestContext) => {
|
|
7212
|
+
return this.configuration.httpApi
|
|
7213
|
+
.send(requestContext)
|
|
7214
|
+
.then((responseContext) => {
|
|
7215
|
+
return this.responseProcessor.deleteHistoricalJob(responseContext);
|
|
7216
|
+
});
|
|
7217
|
+
});
|
|
7218
|
+
}
|
|
6621
7219
|
/**
|
|
6622
7220
|
* Delete a specific security filter.
|
|
6623
7221
|
* @param param The request object
|
|
@@ -6689,45 +7287,45 @@ class SecurityMonitoringApi {
|
|
|
6689
7287
|
});
|
|
6690
7288
|
}
|
|
6691
7289
|
/**
|
|
6692
|
-
* Delete
|
|
7290
|
+
* Delete a notification rule for security vulnerabilities.
|
|
6693
7291
|
* @param param The request object
|
|
6694
7292
|
*/
|
|
6695
|
-
|
|
6696
|
-
const requestContextPromise = this.requestFactory.
|
|
7293
|
+
deleteVulnerabilityNotificationRule(param, options) {
|
|
7294
|
+
const requestContextPromise = this.requestFactory.deleteVulnerabilityNotificationRule(param.id, options);
|
|
6697
7295
|
return requestContextPromise.then((requestContext) => {
|
|
6698
7296
|
return this.configuration.httpApi
|
|
6699
7297
|
.send(requestContext)
|
|
6700
7298
|
.then((responseContext) => {
|
|
6701
|
-
return this.responseProcessor.
|
|
7299
|
+
return this.responseProcessor.deleteVulnerabilityNotificationRule(responseContext);
|
|
6702
7300
|
});
|
|
6703
7301
|
});
|
|
6704
7302
|
}
|
|
6705
7303
|
/**
|
|
6706
|
-
*
|
|
7304
|
+
* Detach security findings from their case.
|
|
7305
|
+
* This operation dissociates security findings from their associated cases without deleting the cases themselves. You can detach security findings from multiple different cases in a single request, with a limit of 50 security findings per request. Security findings that are not currently attached to any case will be ignored.
|
|
6707
7306
|
* @param param The request object
|
|
6708
7307
|
*/
|
|
6709
|
-
|
|
6710
|
-
const requestContextPromise = this.requestFactory.
|
|
7308
|
+
detachCase(param, options) {
|
|
7309
|
+
const requestContextPromise = this.requestFactory.detachCase(param.body, options);
|
|
6711
7310
|
return requestContextPromise.then((requestContext) => {
|
|
6712
7311
|
return this.configuration.httpApi
|
|
6713
7312
|
.send(requestContext)
|
|
6714
7313
|
.then((responseContext) => {
|
|
6715
|
-
return this.responseProcessor.
|
|
7314
|
+
return this.responseProcessor.detachCase(responseContext);
|
|
6716
7315
|
});
|
|
6717
7316
|
});
|
|
6718
7317
|
}
|
|
6719
7318
|
/**
|
|
6720
|
-
*
|
|
6721
|
-
* This operation dissociates security findings from their associated cases without deleting the cases themselves. You can detach security findings from multiple different cases in a single request, with a limit of 50 security findings per request. Security findings that are not currently attached to any case will be ignored.
|
|
7319
|
+
* Update the triage state or assignee of a security signal.
|
|
6722
7320
|
* @param param The request object
|
|
6723
7321
|
*/
|
|
6724
|
-
|
|
6725
|
-
const requestContextPromise = this.requestFactory.
|
|
7322
|
+
editSecurityMonitoringSignal(param, options) {
|
|
7323
|
+
const requestContextPromise = this.requestFactory.editSecurityMonitoringSignal(param.signalId, param.body, options);
|
|
6726
7324
|
return requestContextPromise.then((requestContext) => {
|
|
6727
7325
|
return this.configuration.httpApi
|
|
6728
7326
|
.send(requestContext)
|
|
6729
7327
|
.then((responseContext) => {
|
|
6730
|
-
return this.responseProcessor.
|
|
7328
|
+
return this.responseProcessor.editSecurityMonitoringSignal(responseContext);
|
|
6731
7329
|
});
|
|
6732
7330
|
});
|
|
6733
7331
|
}
|
|
@@ -6774,9 +7372,24 @@ class SecurityMonitoringApi {
|
|
|
6774
7372
|
});
|
|
6775
7373
|
}
|
|
6776
7374
|
/**
|
|
6777
|
-
*
|
|
6778
|
-
*
|
|
6779
|
-
*
|
|
7375
|
+
* Export a security monitoring resource to a Terraform configuration.
|
|
7376
|
+
* The `resource_type` path parameter specifies the type of resource to export
|
|
7377
|
+
* and must be one of `suppressions` or `critical_assets`.
|
|
7378
|
+
* @param param The request object
|
|
7379
|
+
*/
|
|
7380
|
+
exportSecurityMonitoringTerraformResource(param, options) {
|
|
7381
|
+
const requestContextPromise = this.requestFactory.exportSecurityMonitoringTerraformResource(param.resourceType, param.resourceId, options);
|
|
7382
|
+
return requestContextPromise.then((requestContext) => {
|
|
7383
|
+
return this.configuration.httpApi
|
|
7384
|
+
.send(requestContext)
|
|
7385
|
+
.then((responseContext) => {
|
|
7386
|
+
return this.responseProcessor.exportSecurityMonitoringTerraformResource(responseContext);
|
|
7387
|
+
});
|
|
7388
|
+
});
|
|
7389
|
+
}
|
|
7390
|
+
/**
|
|
7391
|
+
* Get the activation state, integration status, and log collection status
|
|
7392
|
+
* for all Cloud SIEM content packs.
|
|
6780
7393
|
* @param param The request object
|
|
6781
7394
|
*/
|
|
6782
7395
|
getContentPacksStates(options) {
|
|
@@ -6831,6 +7444,34 @@ class SecurityMonitoringApi {
|
|
|
6831
7444
|
});
|
|
6832
7445
|
});
|
|
6833
7446
|
}
|
|
7447
|
+
/**
|
|
7448
|
+
* Get a job's details.
|
|
7449
|
+
* @param param The request object
|
|
7450
|
+
*/
|
|
7451
|
+
getHistoricalJob(param, options) {
|
|
7452
|
+
const requestContextPromise = this.requestFactory.getHistoricalJob(param.jobId, options);
|
|
7453
|
+
return requestContextPromise.then((requestContext) => {
|
|
7454
|
+
return this.configuration.httpApi
|
|
7455
|
+
.send(requestContext)
|
|
7456
|
+
.then((responseContext) => {
|
|
7457
|
+
return this.responseProcessor.getHistoricalJob(responseContext);
|
|
7458
|
+
});
|
|
7459
|
+
});
|
|
7460
|
+
}
|
|
7461
|
+
/**
|
|
7462
|
+
* Get detailed information about a specific indicator of compromise (IoC).
|
|
7463
|
+
* @param param The request object
|
|
7464
|
+
*/
|
|
7465
|
+
getIndicatorOfCompromise(param, options) {
|
|
7466
|
+
const requestContextPromise = this.requestFactory.getIndicatorOfCompromise(param.indicator, options);
|
|
7467
|
+
return requestContextPromise.then((requestContext) => {
|
|
7468
|
+
return this.configuration.httpApi
|
|
7469
|
+
.send(requestContext)
|
|
7470
|
+
.then((responseContext) => {
|
|
7471
|
+
return this.responseProcessor.getIndicatorOfCompromise(responseContext);
|
|
7472
|
+
});
|
|
7473
|
+
});
|
|
7474
|
+
}
|
|
6834
7475
|
/**
|
|
6835
7476
|
* Get the list of investigation log queries available for a given security signal.
|
|
6836
7477
|
* @param param The request object
|
|
@@ -7086,20 +7727,6 @@ class SecurityMonitoringApi {
|
|
|
7086
7727
|
});
|
|
7087
7728
|
});
|
|
7088
7729
|
}
|
|
7089
|
-
/**
|
|
7090
|
-
* Get a job's details.
|
|
7091
|
-
* @param param The request object
|
|
7092
|
-
*/
|
|
7093
|
-
getThreatHuntingJob(param, options) {
|
|
7094
|
-
const requestContextPromise = this.requestFactory.getThreatHuntingJob(param.jobId, options);
|
|
7095
|
-
return requestContextPromise.then((requestContext) => {
|
|
7096
|
-
return this.configuration.httpApi
|
|
7097
|
-
.send(requestContext)
|
|
7098
|
-
.then((responseContext) => {
|
|
7099
|
-
return this.responseProcessor.getThreatHuntingJob(responseContext);
|
|
7100
|
-
});
|
|
7101
|
-
});
|
|
7102
|
-
}
|
|
7103
7730
|
/**
|
|
7104
7731
|
* Get the details of a notification rule for security vulnerabilities.
|
|
7105
7732
|
* @param param The request object
|
|
@@ -7252,6 +7879,34 @@ class SecurityMonitoringApi {
|
|
|
7252
7879
|
}
|
|
7253
7880
|
});
|
|
7254
7881
|
}
|
|
7882
|
+
/**
|
|
7883
|
+
* List historical jobs.
|
|
7884
|
+
* @param param The request object
|
|
7885
|
+
*/
|
|
7886
|
+
listHistoricalJobs(param = {}, options) {
|
|
7887
|
+
const requestContextPromise = this.requestFactory.listHistoricalJobs(param.pageSize, param.pageNumber, param.sort, param.filterQuery, options);
|
|
7888
|
+
return requestContextPromise.then((requestContext) => {
|
|
7889
|
+
return this.configuration.httpApi
|
|
7890
|
+
.send(requestContext)
|
|
7891
|
+
.then((responseContext) => {
|
|
7892
|
+
return this.responseProcessor.listHistoricalJobs(responseContext);
|
|
7893
|
+
});
|
|
7894
|
+
});
|
|
7895
|
+
}
|
|
7896
|
+
/**
|
|
7897
|
+
* Get a list of indicators of compromise (IoCs) matching the specified filters.
|
|
7898
|
+
* @param param The request object
|
|
7899
|
+
*/
|
|
7900
|
+
listIndicatorsOfCompromise(param = {}, options) {
|
|
7901
|
+
const requestContextPromise = this.requestFactory.listIndicatorsOfCompromise(param.limit, param.offset, param.query, param.sortColumn, param.sortOrder, options);
|
|
7902
|
+
return requestContextPromise.then((requestContext) => {
|
|
7903
|
+
return this.configuration.httpApi
|
|
7904
|
+
.send(requestContext)
|
|
7905
|
+
.then((responseContext) => {
|
|
7906
|
+
return this.responseProcessor.listIndicatorsOfCompromise(responseContext);
|
|
7907
|
+
});
|
|
7908
|
+
});
|
|
7909
|
+
}
|
|
7255
7910
|
/**
|
|
7256
7911
|
* Get rules for multiple rulesets in batch.
|
|
7257
7912
|
* @param param The request object
|
|
@@ -7511,20 +8166,6 @@ class SecurityMonitoringApi {
|
|
|
7511
8166
|
});
|
|
7512
8167
|
});
|
|
7513
8168
|
}
|
|
7514
|
-
/**
|
|
7515
|
-
* List threat hunting jobs.
|
|
7516
|
-
* @param param The request object
|
|
7517
|
-
*/
|
|
7518
|
-
listThreatHuntingJobs(param = {}, options) {
|
|
7519
|
-
const requestContextPromise = this.requestFactory.listThreatHuntingJobs(param.pageSize, param.pageNumber, param.sort, param.filterQuery, options);
|
|
7520
|
-
return requestContextPromise.then((requestContext) => {
|
|
7521
|
-
return this.configuration.httpApi
|
|
7522
|
-
.send(requestContext)
|
|
7523
|
-
.then((responseContext) => {
|
|
7524
|
-
return this.responseProcessor.listThreatHuntingJobs(responseContext);
|
|
7525
|
-
});
|
|
7526
|
-
});
|
|
7527
|
-
}
|
|
7528
8169
|
/**
|
|
7529
8170
|
* Get a list of vulnerabilities.
|
|
7530
8171
|
*
|
|
@@ -7696,16 +8337,16 @@ class SecurityMonitoringApi {
|
|
|
7696
8337
|
});
|
|
7697
8338
|
}
|
|
7698
8339
|
/**
|
|
7699
|
-
* Run a
|
|
8340
|
+
* Run a historical job.
|
|
7700
8341
|
* @param param The request object
|
|
7701
8342
|
*/
|
|
7702
|
-
|
|
7703
|
-
const requestContextPromise = this.requestFactory.
|
|
8343
|
+
runHistoricalJob(param, options) {
|
|
8344
|
+
const requestContextPromise = this.requestFactory.runHistoricalJob(param.body, options);
|
|
7704
8345
|
return requestContextPromise.then((requestContext) => {
|
|
7705
8346
|
return this.configuration.httpApi
|
|
7706
8347
|
.send(requestContext)
|
|
7707
8348
|
.then((responseContext) => {
|
|
7708
|
-
return this.responseProcessor.
|
|
8349
|
+
return this.responseProcessor.runHistoricalJob(responseContext);
|
|
7709
8350
|
});
|
|
7710
8351
|
});
|
|
7711
8352
|
}
|