diff --git a/.apigentools-info b/.apigentools-info index 8b269a67e363..af5fb531be1e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-14 15:59:07.108645", - "spec_repo_commit": "0457044b" + "regenerated": "2025-01-14 20:10:55.933470", + "spec_repo_commit": "89d2bdc8" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-14 15:59:07.123971", - "spec_repo_commit": "0457044b" + "regenerated": "2025-01-14 20:10:55.949261", + "spec_repo_commit": "89d2bdc8" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 77866cbe38e3..81ffe33dc8e8 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -297,6 +297,20 @@ components: required: false schema: $ref: '#/components/schemas/RelationType' + FrameworkHandle: + description: The framework handle + in: path + name: handle + required: true + schema: + type: string + FrameworkVersion: + description: The framework version + in: path + name: version + required: true + schema: + type: string GCPSTSServiceAccountID: description: Your GCP STS enabled service account's unique ID. in: path @@ -7145,6 +7159,10 @@ components: type: string x-enum-varnames: - APPDEFINITIONS + CreateCustomFrameworkRequest: + $ref: '#/components/schemas/FrameworkData' + description: Create a custom framework. + type: object CreateDataDeletionRequestBody: description: Object needed to create a data deletion request. properties: @@ -11936,6 +11954,72 @@ components: order: $ref: '#/components/schemas/QuerySortOrder' type: object + FrameworkControl: + description: Framework Control. + properties: + name: + description: Control Name. + example: '' + type: string + rule_ids: + description: Rule IDs. + example: + - '' + items: + type: string + type: array + required: + - name + - rule_ids + type: object + FrameworkData: + description: Framework Data. + properties: + description: + description: Framework Description + type: string + handle: + description: Framework Handle + example: '' + type: string + icon_url: + description: Framework Icon URL + type: string + name: + description: Framework Name + example: '' + type: string + requirements: + description: Framework Requirements + items: + $ref: '#/components/schemas/FrameworkRequirement' + type: array + version: + description: Framework Version + example: '' + type: string + required: + - handle + - version + - name + - requirements + type: object + FrameworkRequirement: + description: Framework Requirement. + properties: + controls: + description: Requirement Controls. + items: + $ref: '#/components/schemas/FrameworkControl' + type: array + name: + description: Requirement Name. + example: '' + type: string + required: + - name + - controls + type: object FullAPIKey: description: Datadog API key. properties: @@ -28953,6 +29037,10 @@ components: deployment: $ref: '#/components/schemas/DeploymentRelationship' type: object + UpdateCustomFrameworkRequest: + $ref: '#/components/schemas/FrameworkData' + description: Update a custom framework. + type: object UpdateOpenAPIResponse: description: Response for `UpdateOpenAPI`. properties: @@ -33028,6 +33116,77 @@ paths: operator: OR permissions: - ci_visibility_read + /api/v2/cloud_security_management/custom_frameworks: + post: + description: Create a custom framework. + operationId: CreateCustomFramework + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateCustomFrameworkRequest' + required: true + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + '500': + $ref: '#/components/responses/BadRequestResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - security_monitoring_rules_read + - security_monitoring_rules_write + summary: Create a custom framework + tags: + - Security Monitoring + x-codegen-request-body-name: body + x-permission: + operator: AND + permissions: + - security_monitoring_rules_read + - security_monitoring_rules_write + /api/v2/cloud_security_management/custom_frameworks/{handle}/{version}: + put: + description: Update a custom framework. + operationId: UpdateCustomFramework + parameters: + - $ref: '#/components/parameters/FrameworkHandle' + - $ref: '#/components/parameters/FrameworkVersion' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateCustomFrameworkRequest' + required: true + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/BadRequestResponse' + '429': + $ref: '#/components/responses/TooManyRequestsResponse' + '500': + $ref: '#/components/responses/BadRequestResponse' + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: + - security_monitoring_rules_read + - security_monitoring_rules_write + summary: Update a custom framework + tags: + - Security Monitoring + x-codegen-request-body-name: body + x-permission: + operator: AND + permissions: + - security_monitoring_rules_read + - security_monitoring_rules_write /api/v2/container_images: get: description: Get all Container Images for your organization. diff --git a/examples/v2/security-monitoring/CreateCustomFramework.ts b/examples/v2/security-monitoring/CreateCustomFramework.ts new file mode 100644 index 000000000000..c4d1cd134c94 --- /dev/null +++ b/examples/v2/security-monitoring/CreateCustomFramework.ts @@ -0,0 +1,36 @@ +/** + * Create a custom framework returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.SecurityMonitoringApi(configuration); + +const params: v2.SecurityMonitoringApiCreateCustomFrameworkRequest = { + body: { + handle: "", + name: "", + requirements: [ + { + controls: [ + { + name: "", + ruleIds: [""], + }, + ], + name: "", + }, + ], + version: "", + }, +}; + +apiInstance + .createCustomFramework(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/examples/v2/security-monitoring/UpdateCustomFramework.ts b/examples/v2/security-monitoring/UpdateCustomFramework.ts new file mode 100644 index 000000000000..c960bbd5e32e --- /dev/null +++ b/examples/v2/security-monitoring/UpdateCustomFramework.ts @@ -0,0 +1,38 @@ +/** + * Update a custom framework returns "OK" response + */ + +import { client, v2 } from "@datadog/datadog-api-client"; + +const configuration = client.createConfiguration(); +const apiInstance = new v2.SecurityMonitoringApi(configuration); + +const params: v2.SecurityMonitoringApiUpdateCustomFrameworkRequest = { + body: { + handle: "", + name: "", + requirements: [ + { + controls: [ + { + name: "", + ruleIds: [""], + }, + ], + name: "", + }, + ], + version: "", + }, + handle: "handle", + version: "version", +}; + +apiInstance + .updateCustomFramework(params) + .then((data: any) => { + console.log( + "API called successfully. Returned data: " + JSON.stringify(data) + ); + }) + .catch((error: any) => console.error(error)); diff --git a/features/support/scenarios_model_mapping.ts b/features/support/scenarios_model_mapping.ts index 8f8294e34508..1c57c1521247 100644 --- a/features/support/scenarios_model_mapping.ts +++ b/features/support/scenarios_model_mapping.ts @@ -3105,2500 +3105,2522 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = { }, "operationResponseType": "CIAppTestEventsResponse", }, - "v2.ListContainerImages": { - "filterTags": { - "type": "string", + "v2.CreateCustomFramework": { + "body": { + "type": "CreateCustomFrameworkRequest", "format": "", }, - "groupBy": { + "operationResponseType": "void", + }, + "v2.UpdateCustomFramework": { + "handle": { "type": "string", "format": "", }, - "sort": { + "version": { "type": "string", "format": "", }, - "pageSize": { + "body": { + "type": "UpdateCustomFrameworkRequest", + "format": "", + }, + "operationResponseType": "void", + }, + "v2.ListFindings": { + "pageLimit": { "type": "number", - "format": "int32", + "format": "int64", + }, + "snapshotTimestamp": { + "type": "number", + "format": "int64", }, "pageCursor": { "type": "string", "format": "", }, - "operationResponseType": "ContainerImagesResponse", - }, - "v2.ListContainers": { "filterTags": { "type": "string", "format": "", }, - "groupBy": { + "filterEvaluationChangedAt": { "type": "string", "format": "", }, - "sort": { - "type": "string", + "filterMuted": { + "type": "boolean", "format": "", }, - "pageSize": { - "type": "number", - "format": "int32", - }, - "pageCursor": { + "filterRuleId": { "type": "string", "format": "", }, - "operationResponseType": "ContainersResponse", - }, - "v2.ListCostAWSCURConfigs": { - "operationResponseType": "AwsCURConfigsResponse", - }, - "v2.CreateCostAWSCURConfig": { - "body": { - "type": "AwsCURConfigPostRequest", + "filterRuleName": { + "type": "string", "format": "", }, - "operationResponseType": "AwsCURConfigResponse", - }, - "v2.DeleteCostAWSCURConfig": { - "cloudAccountId": { + "filterResourceType": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.UpdateCostAWSCURConfig": { - "cloudAccountId": { + "filterDiscoveryTimestamp": { "type": "string", "format": "", }, - "body": { - "type": "AwsCURConfigPatchRequest", + "filterEvaluation": { + "type": "FindingEvaluation", "format": "", }, - "operationResponseType": "AwsCURConfigsResponse", - }, - "v2.ListCostAzureUCConfigs": { - "operationResponseType": "AzureUCConfigsResponse", + "filterStatus": { + "type": "FindingStatus", + "format": "", + }, + "filterVulnerabilityType": { + "type": "Array", + "format": "", + }, + "operationResponseType": "ListFindingsResponse", }, - "v2.CreateCostAzureUCConfigs": { + "v2.MuteFindings": { "body": { - "type": "AzureUCConfigPostRequest", + "type": "BulkMuteFindingsRequest", "format": "", }, - "operationResponseType": "AzureUCConfigPairsResponse", + "operationResponseType": "BulkMuteFindingsResponse", }, - "v2.DeleteCostAzureUCConfig": { - "cloudAccountId": { + "v2.GetFinding": { + "findingId": { "type": "string", "format": "", }, - "operationResponseType": "void", + "snapshotTimestamp": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "GetFindingResponse", }, - "v2.UpdateCostAzureUCConfigs": { - "cloudAccountId": { + "v2.ListVulnerableAssets": { + "pageToken": { "type": "string", "format": "", }, - "body": { - "type": "AzureUCConfigPatchRequest", + "pageNumber": { + "type": "number", + "format": "int64", + }, + "filterName": { + "type": "string", "format": "", }, - "operationResponseType": "AzureUCConfigPairsResponse", - }, - "v2.ListCustomCostsFiles": { - "operationResponseType": "CustomCostsFileListResponse", - }, - "v2.UploadCustomCostsFile": { - "body": { - "type": "Array", + "filterType": { + "type": "AssetType", "format": "", }, - "operationResponseType": "CustomCostsFileUploadResponse", - }, - "v2.DeleteCustomCostsFile": { - "fileId": { + "filterVersionFirst": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.GetCustomCostsFile": { - "fileId": { + "filterVersionLast": { "type": "string", "format": "", }, - "operationResponseType": "CustomCostsFileGetResponse", - }, - "v2.GetActiveBillingDimensions": { - "operationResponseType": "ActiveBillingDimensionsResponse", - }, - "v2.GetMonthlyCostAttribution": { - "startMonth": { - "type": "Date", - "format": "date-time", - }, - "endMonth": { - "type": "Date", - "format": "date-time", - }, - "fields": { + "filterRepositoryUrl": { "type": "string", "format": "", }, - "sortDirection": { - "type": "SortDirection", + "filterRisksInProduction": { + "type": "boolean", "format": "", }, - "sortName": { - "type": "string", + "filterRisksUnderAttack": { + "type": "boolean", "format": "", }, - "tagBreakdownKeys": { - "type": "string", + "filterRisksIsPubliclyAccessible": { + "type": "boolean", "format": "", }, - "nextRecordId": { - "type": "string", + "filterRisksHasPrivilegedAccess": { + "type": "boolean", "format": "", }, - "includeDescendants": { + "filterRisksHasAccessToSensitiveData": { "type": "boolean", "format": "", }, - "operationResponseType": "MonthlyCostAttributionResponse", - }, - "v2.GetUsageApplicationSecurityMonitoring": { - "startHr": { - "type": "Date", - "format": "date-time", + "filterEnvironments": { + "type": "string", + "format": "", }, - "endHr": { - "type": "Date", - "format": "date-time", + "filterArch": { + "type": "string", + "format": "", }, - "operationResponseType": "UsageApplicationSecurityMonitoringResponse", - }, - "v2.GetBillingDimensionMapping": { - "filterMonth": { - "type": "Date", - "format": "date-time", + "filterOperatingSystemName": { + "type": "string", + "format": "", }, - "filterView": { + "filterOperatingSystemVersion": { "type": "string", "format": "", }, - "operationResponseType": "BillingDimensionsMappingResponse", + "operationResponseType": "ListVulnerableAssetsResponse", }, - "v2.GetCostByOrg": { - "startMonth": { - "type": "Date", - "format": "date-time", + "v2.ListVulnerabilities": { + "pageToken": { + "type": "string", + "format": "", }, - "endMonth": { - "type": "Date", - "format": "date-time", + "pageNumber": { + "type": "number", + "format": "int64", }, - "operationResponseType": "CostByOrgResponse", - }, - "v2.GetEstimatedCostByOrg": { - "view": { - "type": "string", + "filterType": { + "type": "VulnerabilityType", "format": "", }, - "startMonth": { - "type": "Date", - "format": "date-time", + "filterCvssBaseScoreOp": { + "type": "number", + "format": "double", }, - "endMonth": { - "type": "Date", - "format": "date-time", + "filterCvssBaseSeverity": { + "type": "VulnerabilitySeverity", + "format": "", }, - "startDate": { - "type": "Date", - "format": "date-time", + "filterCvssBaseVector": { + "type": "string", + "format": "", }, - "endDate": { - "type": "Date", - "format": "date-time", + "filterCvssDatadogScoreOp": { + "type": "number", + "format": "double", }, - "includeConnectedAccounts": { - "type": "boolean", + "filterCvssDatadogSeverity": { + "type": "VulnerabilitySeverity", "format": "", }, - "operationResponseType": "CostByOrgResponse", - }, - "v2.GetHistoricalCostByOrg": { - "view": { + "filterCvssDatadogVector": { "type": "string", "format": "", }, - "startMonth": { - "type": "Date", - "format": "date-time", + "filterStatus": { + "type": "VulnerabilityStatus", + "format": "", }, - "endMonth": { - "type": "Date", - "format": "date-time", + "filterTool": { + "type": "VulnerabilityTool", + "format": "", }, - "includeConnectedAccounts": { - "type": "boolean", + "filterLibraryName": { + "type": "string", "format": "", }, - "operationResponseType": "CostByOrgResponse", - }, - "v2.GetHourlyUsage": { - "filterTimestampStart": { - "type": "Date", - "format": "date-time", - }, - "filterTimestampEnd": { - "type": "Date", - "format": "date-time", - }, - "filterProductFamilies": { + "filterLibraryVersion": { "type": "string", "format": "", }, - "filterIncludeDescendants": { - "type": "boolean", + "filterAdvisoryId": { + "type": "string", "format": "", }, - "filterIncludeConnectedAccounts": { + "filterRisksExploitationProbability": { "type": "boolean", "format": "", }, - "filterIncludeBreakdown": { + "filterRisksPocExploitAvailable": { "type": "boolean", "format": "", }, - "filterVersions": { - "type": "string", + "filterRisksExploitAvailable": { + "type": "boolean", "format": "", }, - "pageLimit": { + "filterRisksEpssScoreOp": { "type": "number", - "format": "int32", + "format": "double", }, - "pageNextRecordId": { - "type": "string", + "filterRisksEpssSeverity": { + "type": "VulnerabilitySeverity", "format": "", }, - "operationResponseType": "HourlyUsageResponse", - }, - "v2.GetUsageLambdaTracedInvocations": { - "startHr": { - "type": "Date", - "format": "date-time", + "filterLanguage": { + "type": "string", + "format": "", }, - "endHr": { - "type": "Date", - "format": "date-time", + "filterEcosystem": { + "type": "VulnerabilityEcosystem", + "format": "", }, - "operationResponseType": "UsageLambdaTracedInvocationsResponse", - }, - "v2.GetUsageObservabilityPipelines": { - "startHr": { - "type": "Date", - "format": "date-time", + "filterCodeLocationLocation": { + "type": "string", + "format": "", }, - "endHr": { - "type": "Date", - "format": "date-time", + "filterCodeLocationFilePath": { + "type": "string", + "format": "", }, - "operationResponseType": "UsageObservabilityPipelinesResponse", - }, - "v2.GetProjectedCost": { - "view": { + "filterCodeLocationMethod": { "type": "string", "format": "", }, - "includeConnectedAccounts": { + "filterFixAvailable": { "type": "boolean", "format": "", }, - "operationResponseType": "ProjectedCostResponse", - }, - "v2.ListAllCSMAgents": { - "page": { - "type": "number", - "format": "int32", - }, - "size": { - "type": "number", - "format": "int32", - }, - "query": { + "filterRepoDigests": { "type": "string", "format": "", }, - "orderDirection": { - "type": "OrderDirection", + "filterAssetName": { + "type": "string", "format": "", }, - "operationResponseType": "CsmAgentsResponse", - }, - "v2.ListAllCSMServerlessAgents": { - "page": { - "type": "number", - "format": "int32", - }, - "size": { - "type": "number", - "format": "int32", + "filterAssetType": { + "type": "AssetType", + "format": "", }, - "query": { + "filterAssetVersionFirst": { "type": "string", "format": "", }, - "orderDirection": { - "type": "OrderDirection", + "filterAssetVersionLast": { + "type": "string", "format": "", }, - "operationResponseType": "CsmAgentsResponse", - }, - "v2.GetCSMCloudAccountsCoverageAnalysis": { - "operationResponseType": "CsmCloudAccountsCoverageAnalysisResponse", - }, - "v2.GetCSMHostsAndContainersCoverageAnalysis": { - "operationResponseType": "CsmHostsAndContainersCoverageAnalysisResponse", - }, - "v2.GetCSMServerlessCoverageAnalysis": { - "operationResponseType": "CsmServerlessCoverageAnalysisResponse", - }, - "v2.DeleteDashboardListItems": { - "dashboardListId": { - "type": "number", - "format": "int64", - }, - "body": { - "type": "DashboardListDeleteItemsRequest", + "filterAssetRepositoryUrl": { + "type": "string", "format": "", }, - "operationResponseType": "DashboardListDeleteItemsResponse", - }, - "v2.GetDashboardListItems": { - "dashboardListId": { - "type": "number", - "format": "int64", - }, - "operationResponseType": "DashboardListItems", - }, - "v2.CreateDashboardListItems": { - "dashboardListId": { - "type": "number", - "format": "int64", - }, - "body": { - "type": "DashboardListAddItemsRequest", + "filterAssetRisksInProduction": { + "type": "boolean", "format": "", }, - "operationResponseType": "DashboardListAddItemsResponse", - }, - "v2.UpdateDashboardListItems": { - "dashboardListId": { - "type": "number", - "format": "int64", - }, - "body": { - "type": "DashboardListUpdateItemsRequest", + "filterAssetRisksUnderAttack": { + "type": "boolean", "format": "", }, - "operationResponseType": "DashboardListUpdateItemsResponse", - }, - "v2.CreateDataDeletionRequest": { - "product": { - "type": "string", + "filterAssetRisksIsPubliclyAccessible": { + "type": "boolean", "format": "", }, - "body": { - "type": "CreateDataDeletionRequestBody", + "filterAssetRisksHasPrivilegedAccess": { + "type": "boolean", "format": "", }, - "operationResponseType": "CreateDataDeletionResponseBody", - }, - "v2.GetDataDeletionRequests": { - "nextPage": { - "type": "string", + "filterAssetRisksHasAccessToSensitiveData": { + "type": "boolean", "format": "", }, - "product": { + "filterAssetEnvironments": { "type": "string", "format": "", }, - "query": { + "filterAssetArch": { "type": "string", "format": "", }, - "status": { + "filterAssetOperatingSystemName": { "type": "string", "format": "", }, - "pageSize": { - "type": "number", - "format": "int64", - }, - "operationResponseType": "GetDataDeletionsResponseBody", - }, - "v2.CancelDataDeletionRequest": { - "id": { + "filterAssetOperatingSystemVersion": { "type": "string", "format": "", }, - "operationResponseType": "CancelDataDeletionResponseBody", + "operationResponseType": "ListVulnerabilitiesResponse", }, - "v2.GetDomainAllowlist": { - "operationResponseType": "DomainAllowlistResponse", + "v2.ListSecurityFilters": { + "operationResponseType": "SecurityFiltersResponse", }, - "v2.PatchDomainAllowlist": { + "v2.CreateSecurityFilter": { "body": { - "type": "DomainAllowlistRequest", + "type": "SecurityFilterCreateRequest", "format": "", }, - "operationResponseType": "DomainAllowlistResponse", + "operationResponseType": "SecurityFilterResponse", }, - "v2.CreateDORADeployment": { - "body": { - "type": "DORADeploymentRequest", + "v2.DeleteSecurityFilter": { + "securityFilterId": { + "type": "string", "format": "", }, - "operationResponseType": "DORADeploymentResponse", + "operationResponseType": "void", }, - "v2.CreateDORAIncident": { - "body": { - "type": "DORAIncidentRequest", + "v2.GetSecurityFilter": { + "securityFilterId": { + "type": "string", "format": "", }, - "operationResponseType": "DORAIncidentResponse", + "operationResponseType": "SecurityFilterResponse", }, - "v2.ListDowntimes": { - "currentOnly": { - "type": "boolean", - "format": "", - }, - "include": { + "v2.UpdateSecurityFilter": { + "securityFilterId": { "type": "string", "format": "", }, - "pageOffset": { - "type": "number", - "format": "int64", - }, - "pageLimit": { - "type": "number", - "format": "int64", + "body": { + "type": "SecurityFilterUpdateRequest", + "format": "", }, - "operationResponseType": "ListDowntimesResponse", + "operationResponseType": "SecurityFilterResponse", }, - "v2.CreateDowntime": { + "v2.ListSecurityMonitoringSuppressions": { + "operationResponseType": "SecurityMonitoringSuppressionsResponse", + }, + "v2.CreateSecurityMonitoringSuppression": { "body": { - "type": "DowntimeCreateRequest", + "type": "SecurityMonitoringSuppressionCreateRequest", "format": "", }, - "operationResponseType": "DowntimeResponse", + "operationResponseType": "SecurityMonitoringSuppressionResponse", }, - "v2.CancelDowntime": { - "downtimeId": { + "v2.DeleteSecurityMonitoringSuppression": { + "suppressionId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetDowntime": { - "downtimeId": { - "type": "string", - "format": "", - }, - "include": { + "v2.GetSecurityMonitoringSuppression": { + "suppressionId": { "type": "string", "format": "", }, - "operationResponseType": "DowntimeResponse", + "operationResponseType": "SecurityMonitoringSuppressionResponse", }, - "v2.UpdateDowntime": { - "downtimeId": { + "v2.UpdateSecurityMonitoringSuppression": { + "suppressionId": { "type": "string", "format": "", }, "body": { - "type": "DowntimeUpdateRequest", + "type": "SecurityMonitoringSuppressionUpdateRequest", "format": "", }, - "operationResponseType": "DowntimeResponse", + "operationResponseType": "SecurityMonitoringSuppressionResponse", }, - "v2.ListMonitorDowntimes": { - "monitorId": { - "type": "number", - "format": "int64", - }, - "pageOffset": { + "v2.ListSecurityMonitoringRules": { + "pageSize": { "type": "number", "format": "int64", }, - "pageLimit": { + "pageNumber": { "type": "number", "format": "int64", }, - "operationResponseType": "MonitorDowntimeMatchResponse", - }, - "v2.ListEvents": { - "filterQuery": { - "type": "string", - "format": "", - }, - "filterFrom": { - "type": "string", - "format": "", - }, - "filterTo": { - "type": "string", - "format": "", - }, - "sort": { - "type": "EventsSort", - "format": "", - }, - "pageCursor": { - "type": "string", - "format": "", - }, - "pageLimit": { - "type": "number", - "format": "int32", - }, - "operationResponseType": "EventsListResponse", + "operationResponseType": "SecurityMonitoringListRulesResponse", }, - "v2.CreateEvent": { + "v2.CreateSecurityMonitoringRule": { "body": { - "type": "EventCreateRequestPayload", + "type": "SecurityMonitoringRuleCreatePayload", "format": "", }, - "operationResponseType": "EventCreateResponsePayload", + "operationResponseType": "SecurityMonitoringRuleResponse", }, - "v2.SearchEvents": { + "v2.ConvertSecurityMonitoringRuleFromJSONToTerraform": { "body": { - "type": "EventsListRequest", + "type": "SecurityMonitoringRuleConvertPayload", "format": "", }, - "operationResponseType": "EventsListResponse", + "operationResponseType": "SecurityMonitoringRuleConvertResponse", }, - "v2.ListIncidents": { - "include": { - "type": "Array", + "v2.TestSecurityMonitoringRule": { + "body": { + "type": "SecurityMonitoringRuleTestRequest", "format": "", }, - "pageSize": { - "type": "number", - "format": "int64", - }, - "pageOffset": { - "type": "number", - "format": "int64", - }, - "operationResponseType": "IncidentsResponse", + "operationResponseType": "SecurityMonitoringRuleTestResponse", }, - "v2.CreateIncident": { + "v2.ValidateSecurityMonitoringRule": { "body": { - "type": "IncidentCreateRequest", + "type": "SecurityMonitoringRuleValidatePayload", "format": "", }, - "operationResponseType": "IncidentResponse", + "operationResponseType": "void", }, - "v2.ListIncidentTypes": { - "includeDeleted": { - "type": "boolean", + "v2.DeleteSecurityMonitoringRule": { + "ruleId": { + "type": "string", "format": "", }, - "operationResponseType": "IncidentTypeListResponse", + "operationResponseType": "void", }, - "v2.CreateIncidentType": { - "body": { - "type": "IncidentTypeCreateRequest", + "v2.GetSecurityMonitoringRule": { + "ruleId": { + "type": "string", "format": "", }, - "operationResponseType": "IncidentTypeResponse", + "operationResponseType": "SecurityMonitoringRuleResponse", }, - "v2.DeleteIncidentType": { - "incidentTypeId": { + "v2.UpdateSecurityMonitoringRule": { + "ruleId": { "type": "string", "format": "", }, - "operationResponseType": "void", + "body": { + "type": "SecurityMonitoringRuleUpdatePayload", + "format": "", + }, + "operationResponseType": "SecurityMonitoringRuleResponse", }, - "v2.GetIncidentType": { - "incidentTypeId": { + "v2.ConvertExistingSecurityMonitoringRule": { + "ruleId": { "type": "string", "format": "", }, - "operationResponseType": "IncidentTypeResponse", + "operationResponseType": "SecurityMonitoringRuleConvertResponse", }, - "v2.UpdateIncidentType": { - "incidentTypeId": { + "v2.TestExistingSecurityMonitoringRule": { + "ruleId": { "type": "string", "format": "", }, "body": { - "type": "IncidentTypePatchRequest", + "type": "SecurityMonitoringRuleTestRequest", "format": "", }, - "operationResponseType": "IncidentTypeResponse", + "operationResponseType": "SecurityMonitoringRuleTestResponse", }, - "v2.SearchIncidents": { - "include": { - "type": "IncidentRelatedObject", - "format": "", - }, - "query": { + "v2.ListSecurityMonitoringSignals": { + "filterQuery": { "type": "string", "format": "", }, + "filterFrom": { + "type": "Date", + "format": "date-time", + }, + "filterTo": { + "type": "Date", + "format": "date-time", + }, "sort": { - "type": "IncidentSearchSortOrder", + "type": "SecurityMonitoringSignalsSort", "format": "", }, - "pageSize": { - "type": "number", - "format": "int64", + "pageCursor": { + "type": "string", + "format": "", }, - "pageOffset": { + "pageLimit": { "type": "number", - "format": "int64", + "format": "int32", }, - "operationResponseType": "IncidentSearchResponse", + "operationResponseType": "SecurityMonitoringSignalsListResponse", }, - "v2.DeleteIncident": { - "incidentId": { - "type": "string", + "v2.SearchSecurityMonitoringSignals": { + "body": { + "type": "SecurityMonitoringSignalListRequest", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "SecurityMonitoringSignalsListResponse", }, - "v2.GetIncident": { - "incidentId": { + "v2.GetSecurityMonitoringSignal": { + "signalId": { "type": "string", "format": "", }, - "include": { - "type": "Array", - "format": "", - }, - "operationResponseType": "IncidentResponse", + "operationResponseType": "SecurityMonitoringSignalResponse", }, - "v2.UpdateIncident": { - "incidentId": { + "v2.EditSecurityMonitoringSignalAssignee": { + "signalId": { "type": "string", "format": "", }, - "include": { - "type": "Array", - "format": "", - }, "body": { - "type": "IncidentUpdateRequest", + "type": "SecurityMonitoringSignalAssigneeUpdateRequest", "format": "", }, - "operationResponseType": "IncidentResponse", + "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", }, - "v2.ListIncidentAttachments": { - "incidentId": { + "v2.EditSecurityMonitoringSignalIncidents": { + "signalId": { "type": "string", "format": "", }, - "include": { - "type": "Array", - "format": "", - }, - "filterAttachmentType": { - "type": "Array", + "body": { + "type": "SecurityMonitoringSignalIncidentsUpdateRequest", "format": "", }, - "operationResponseType": "IncidentAttachmentsResponse", + "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", }, - "v2.UpdateIncidentAttachments": { - "incidentId": { + "v2.EditSecurityMonitoringSignalState": { + "signalId": { "type": "string", "format": "", }, - "include": { - "type": "Array", - "format": "", - }, "body": { - "type": "IncidentAttachmentUpdateRequest", + "type": "SecurityMonitoringSignalStateUpdateRequest", "format": "", }, - "operationResponseType": "IncidentAttachmentUpdateResponse", + "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", }, - "v2.ListIncidentIntegrations": { - "incidentId": { + "v2.ListHistoricalJobs": { + "pageSize": { + "type": "number", + "format": "int64", + }, + "pageNumber": { + "type": "number", + "format": "int64", + }, + "sort": { "type": "string", "format": "", }, - "operationResponseType": "IncidentIntegrationMetadataListResponse", - }, - "v2.CreateIncidentIntegration": { - "incidentId": { + "filterQuery": { "type": "string", "format": "", }, + "operationResponseType": "ListHistoricalJobsResponse", + }, + "v2.RunHistoricalJob": { "body": { - "type": "IncidentIntegrationMetadataCreateRequest", + "type": "RunHistoricalJobRequest", "format": "", }, - "operationResponseType": "IncidentIntegrationMetadataResponse", + "operationResponseType": "JobCreateResponse", }, - "v2.DeleteIncidentIntegration": { - "incidentId": { - "type": "string", + "v2.ConvertJobResultToSignal": { + "body": { + "type": "ConvertJobResultsToSignalsRequest", "format": "", }, - "integrationMetadataId": { + "operationResponseType": "void", + }, + "v2.DeleteHistoricalJob": { + "jobId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetIncidentIntegration": { - "incidentId": { + "v2.GetHistoricalJob": { + "jobId": { "type": "string", "format": "", }, - "integrationMetadataId": { + "operationResponseType": "HistoricalJobResponse", + }, + "v2.CancelHistoricalJob": { + "jobId": { "type": "string", "format": "", }, - "operationResponseType": "IncidentIntegrationMetadataResponse", + "operationResponseType": "void", }, - "v2.UpdateIncidentIntegration": { - "incidentId": { + "v2.ListContainerImages": { + "filterTags": { "type": "string", "format": "", }, - "integrationMetadataId": { + "groupBy": { "type": "string", "format": "", }, - "body": { - "type": "IncidentIntegrationMetadataPatchRequest", + "sort": { + "type": "string", "format": "", }, - "operationResponseType": "IncidentIntegrationMetadataResponse", - }, - "v2.ListIncidentTodos": { - "incidentId": { + "pageSize": { + "type": "number", + "format": "int32", + }, + "pageCursor": { "type": "string", "format": "", }, - "operationResponseType": "IncidentTodoListResponse", + "operationResponseType": "ContainerImagesResponse", }, - "v2.CreateIncidentTodo": { - "incidentId": { + "v2.ListContainers": { + "filterTags": { "type": "string", "format": "", }, - "body": { - "type": "IncidentTodoCreateRequest", - "format": "", - }, - "operationResponseType": "IncidentTodoResponse", - }, - "v2.DeleteIncidentTodo": { - "incidentId": { + "groupBy": { "type": "string", "format": "", }, - "todoId": { + "sort": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.GetIncidentTodo": { - "incidentId": { + "pageSize": { + "type": "number", + "format": "int32", + }, + "pageCursor": { "type": "string", "format": "", }, - "todoId": { - "type": "string", + "operationResponseType": "ContainersResponse", + }, + "v2.ListCostAWSCURConfigs": { + "operationResponseType": "AwsCURConfigsResponse", + }, + "v2.CreateCostAWSCURConfig": { + "body": { + "type": "AwsCURConfigPostRequest", "format": "", }, - "operationResponseType": "IncidentTodoResponse", + "operationResponseType": "AwsCURConfigResponse", }, - "v2.UpdateIncidentTodo": { - "incidentId": { + "v2.DeleteCostAWSCURConfig": { + "cloudAccountId": { "type": "string", "format": "", }, - "todoId": { + "operationResponseType": "void", + }, + "v2.UpdateCostAWSCURConfig": { + "cloudAccountId": { "type": "string", "format": "", }, "body": { - "type": "IncidentTodoPatchRequest", + "type": "AwsCURConfigPatchRequest", "format": "", }, - "operationResponseType": "IncidentTodoResponse", + "operationResponseType": "AwsCURConfigsResponse", }, - "v2.ListAWSAccounts": { - "awsAccountId": { - "type": "string", - "format": "", - }, - "operationResponseType": "AWSAccountsResponse", + "v2.ListCostAzureUCConfigs": { + "operationResponseType": "AzureUCConfigsResponse", }, - "v2.CreateAWSAccount": { + "v2.CreateCostAzureUCConfigs": { "body": { - "type": "AWSAccountCreateRequest", + "type": "AzureUCConfigPostRequest", "format": "", }, - "operationResponseType": "AWSAccountResponse", + "operationResponseType": "AzureUCConfigPairsResponse", }, - "v2.DeleteAWSAccount": { - "awsAccountConfigId": { + "v2.DeleteCostAzureUCConfig": { + "cloudAccountId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetAWSAccount": { - "awsAccountConfigId": { - "type": "string", - "format": "", - }, - "operationResponseType": "AWSAccountResponse", - }, - "v2.UpdateAWSAccount": { - "awsAccountConfigId": { + "v2.UpdateCostAzureUCConfigs": { + "cloudAccountId": { "type": "string", "format": "", }, "body": { - "type": "AWSAccountUpdateRequest", + "type": "AzureUCConfigPatchRequest", "format": "", }, - "operationResponseType": "AWSAccountResponse", - }, - "v2.ListAWSNamespaces": { - "operationResponseType": "AWSNamespacesResponse", - }, - "v2.CreateNewAWSExternalID": { - "operationResponseType": "AWSNewExternalIDResponse", - }, - "v2.ListAWSLogsServices": { - "operationResponseType": "AWSLogsServicesResponse", + "operationResponseType": "AzureUCConfigPairsResponse", }, - "v2.ListGCPSTSAccounts": { - "operationResponseType": "GCPSTSServiceAccountsResponse", + "v2.ListCustomCostsFiles": { + "operationResponseType": "CustomCostsFileListResponse", }, - "v2.CreateGCPSTSAccount": { + "v2.UploadCustomCostsFile": { "body": { - "type": "GCPSTSServiceAccountCreateRequest", + "type": "Array", "format": "", }, - "operationResponseType": "GCPSTSServiceAccountResponse", + "operationResponseType": "CustomCostsFileUploadResponse", }, - "v2.DeleteGCPSTSAccount": { - "accountId": { + "v2.DeleteCustomCostsFile": { + "fileId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.UpdateGCPSTSAccount": { - "accountId": { + "v2.GetCustomCostsFile": { + "fileId": { "type": "string", "format": "", }, - "body": { - "type": "GCPSTSServiceAccountUpdateRequest", - "format": "", - }, - "operationResponseType": "GCPSTSServiceAccountResponse", + "operationResponseType": "CustomCostsFileGetResponse", }, - "v2.GetGCPSTSDelegate": { - "operationResponseType": "GCPSTSDelegateAccountResponse", + "v2.GetActiveBillingDimensions": { + "operationResponseType": "ActiveBillingDimensionsResponse", }, - "v2.MakeGCPSTSDelegate": { - "body": { - "type": "any", - "format": "", + "v2.GetMonthlyCostAttribution": { + "startMonth": { + "type": "Date", + "format": "date-time", }, - "operationResponseType": "GCPSTSDelegateAccountResponse", - }, - "v2.GetChannelByName": { - "tenantName": { + "endMonth": { + "type": "Date", + "format": "date-time", + }, + "fields": { "type": "string", "format": "", }, - "teamName": { - "type": "string", + "sortDirection": { + "type": "SortDirection", "format": "", }, - "channelName": { + "sortName": { "type": "string", "format": "", }, - "operationResponseType": "MicrosoftTeamsGetChannelByNameResponse", - }, - "v2.ListTenantBasedHandles": { - "tenantId": { + "tagBreakdownKeys": { "type": "string", "format": "", }, - "name": { + "nextRecordId": { "type": "string", "format": "", }, - "operationResponseType": "MicrosoftTeamsTenantBasedHandlesResponse", - }, - "v2.CreateTenantBasedHandle": { - "body": { - "type": "MicrosoftTeamsCreateTenantBasedHandleRequest", + "includeDescendants": { + "type": "boolean", "format": "", }, - "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", + "operationResponseType": "MonthlyCostAttributionResponse", }, - "v2.DeleteTenantBasedHandle": { - "handleId": { - "type": "string", - "format": "", + "v2.GetUsageApplicationSecurityMonitoring": { + "startHr": { + "type": "Date", + "format": "date-time", }, - "operationResponseType": "void", + "endHr": { + "type": "Date", + "format": "date-time", + }, + "operationResponseType": "UsageApplicationSecurityMonitoringResponse", }, - "v2.GetTenantBasedHandle": { - "handleId": { + "v2.GetBillingDimensionMapping": { + "filterMonth": { + "type": "Date", + "format": "date-time", + }, + "filterView": { "type": "string", "format": "", }, - "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", + "operationResponseType": "BillingDimensionsMappingResponse", }, - "v2.UpdateTenantBasedHandle": { - "handleId": { + "v2.GetCostByOrg": { + "startMonth": { + "type": "Date", + "format": "date-time", + }, + "endMonth": { + "type": "Date", + "format": "date-time", + }, + "operationResponseType": "CostByOrgResponse", + }, + "v2.GetEstimatedCostByOrg": { + "view": { "type": "string", "format": "", }, - "body": { - "type": "MicrosoftTeamsUpdateTenantBasedHandleRequest", - "format": "", + "startMonth": { + "type": "Date", + "format": "date-time", }, - "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", - }, - "v2.ListOpsgenieServices": { - "operationResponseType": "OpsgenieServicesResponse", - }, - "v2.CreateOpsgenieService": { - "body": { - "type": "OpsgenieServiceCreateRequest", + "endMonth": { + "type": "Date", + "format": "date-time", + }, + "startDate": { + "type": "Date", + "format": "date-time", + }, + "endDate": { + "type": "Date", + "format": "date-time", + }, + "includeConnectedAccounts": { + "type": "boolean", "format": "", }, - "operationResponseType": "OpsgenieServiceResponse", + "operationResponseType": "CostByOrgResponse", }, - "v2.DeleteOpsgenieService": { - "integrationServiceId": { + "v2.GetHistoricalCostByOrg": { + "view": { "type": "string", "format": "", }, - "operationResponseType": "void", + "startMonth": { + "type": "Date", + "format": "date-time", + }, + "endMonth": { + "type": "Date", + "format": "date-time", + }, + "includeConnectedAccounts": { + "type": "boolean", + "format": "", + }, + "operationResponseType": "CostByOrgResponse", }, - "v2.GetOpsgenieService": { - "integrationServiceId": { + "v2.GetHourlyUsage": { + "filterTimestampStart": { + "type": "Date", + "format": "date-time", + }, + "filterTimestampEnd": { + "type": "Date", + "format": "date-time", + }, + "filterProductFamilies": { "type": "string", "format": "", }, - "operationResponseType": "OpsgenieServiceResponse", - }, - "v2.UpdateOpsgenieService": { - "integrationServiceId": { + "filterIncludeDescendants": { + "type": "boolean", + "format": "", + }, + "filterIncludeConnectedAccounts": { + "type": "boolean", + "format": "", + }, + "filterIncludeBreakdown": { + "type": "boolean", + "format": "", + }, + "filterVersions": { "type": "string", "format": "", }, - "body": { - "type": "OpsgenieServiceUpdateRequest", + "pageLimit": { + "type": "number", + "format": "int32", + }, + "pageNextRecordId": { + "type": "string", "format": "", }, - "operationResponseType": "OpsgenieServiceResponse", + "operationResponseType": "HourlyUsageResponse", }, - "v2.ListCloudflareAccounts": { - "operationResponseType": "CloudflareAccountsResponse", + "v2.GetUsageLambdaTracedInvocations": { + "startHr": { + "type": "Date", + "format": "date-time", + }, + "endHr": { + "type": "Date", + "format": "date-time", + }, + "operationResponseType": "UsageLambdaTracedInvocationsResponse", }, - "v2.CreateCloudflareAccount": { - "body": { - "type": "CloudflareAccountCreateRequest", - "format": "", + "v2.GetUsageObservabilityPipelines": { + "startHr": { + "type": "Date", + "format": "date-time", }, - "operationResponseType": "CloudflareAccountResponse", + "endHr": { + "type": "Date", + "format": "date-time", + }, + "operationResponseType": "UsageObservabilityPipelinesResponse", }, - "v2.DeleteCloudflareAccount": { - "accountId": { + "v2.GetProjectedCost": { + "view": { "type": "string", "format": "", }, - "operationResponseType": "void", + "includeConnectedAccounts": { + "type": "boolean", + "format": "", + }, + "operationResponseType": "ProjectedCostResponse", }, - "v2.GetCloudflareAccount": { - "accountId": { + "v2.ListAllCSMAgents": { + "page": { + "type": "number", + "format": "int32", + }, + "size": { + "type": "number", + "format": "int32", + }, + "query": { "type": "string", "format": "", }, - "operationResponseType": "CloudflareAccountResponse", + "orderDirection": { + "type": "OrderDirection", + "format": "", + }, + "operationResponseType": "CsmAgentsResponse", }, - "v2.UpdateCloudflareAccount": { - "accountId": { + "v2.ListAllCSMServerlessAgents": { + "page": { + "type": "number", + "format": "int32", + }, + "size": { + "type": "number", + "format": "int32", + }, + "query": { "type": "string", "format": "", }, - "body": { - "type": "CloudflareAccountUpdateRequest", + "orderDirection": { + "type": "OrderDirection", "format": "", }, - "operationResponseType": "CloudflareAccountResponse", + "operationResponseType": "CsmAgentsResponse", }, - "v2.ListConfluentAccount": { - "operationResponseType": "ConfluentAccountsResponse", + "v2.GetCSMCloudAccountsCoverageAnalysis": { + "operationResponseType": "CsmCloudAccountsCoverageAnalysisResponse", }, - "v2.CreateConfluentAccount": { - "body": { - "type": "ConfluentAccountCreateRequest", - "format": "", - }, - "operationResponseType": "ConfluentAccountResponse", + "v2.GetCSMHostsAndContainersCoverageAnalysis": { + "operationResponseType": "CsmHostsAndContainersCoverageAnalysisResponse", }, - "v2.DeleteConfluentAccount": { - "accountId": { - "type": "string", + "v2.GetCSMServerlessCoverageAnalysis": { + "operationResponseType": "CsmServerlessCoverageAnalysisResponse", + }, + "v2.DeleteDashboardListItems": { + "dashboardListId": { + "type": "number", + "format": "int64", + }, + "body": { + "type": "DashboardListDeleteItemsRequest", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "DashboardListDeleteItemsResponse", }, - "v2.GetConfluentAccount": { - "accountId": { - "type": "string", - "format": "", + "v2.GetDashboardListItems": { + "dashboardListId": { + "type": "number", + "format": "int64", }, - "operationResponseType": "ConfluentAccountResponse", + "operationResponseType": "DashboardListItems", }, - "v2.UpdateConfluentAccount": { - "accountId": { - "type": "string", - "format": "", + "v2.CreateDashboardListItems": { + "dashboardListId": { + "type": "number", + "format": "int64", }, "body": { - "type": "ConfluentAccountUpdateRequest", + "type": "DashboardListAddItemsRequest", "format": "", }, - "operationResponseType": "ConfluentAccountResponse", + "operationResponseType": "DashboardListAddItemsResponse", }, - "v2.ListConfluentResource": { - "accountId": { - "type": "string", + "v2.UpdateDashboardListItems": { + "dashboardListId": { + "type": "number", + "format": "int64", + }, + "body": { + "type": "DashboardListUpdateItemsRequest", "format": "", }, - "operationResponseType": "ConfluentResourcesResponse", + "operationResponseType": "DashboardListUpdateItemsResponse", }, - "v2.CreateConfluentResource": { - "accountId": { + "v2.CreateDataDeletionRequest": { + "product": { "type": "string", "format": "", }, "body": { - "type": "ConfluentResourceRequest", + "type": "CreateDataDeletionRequestBody", "format": "", }, - "operationResponseType": "ConfluentResourceResponse", + "operationResponseType": "CreateDataDeletionResponseBody", }, - "v2.DeleteConfluentResource": { - "accountId": { + "v2.GetDataDeletionRequests": { + "nextPage": { "type": "string", "format": "", }, - "resourceId": { + "product": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.GetConfluentResource": { - "accountId": { + "query": { "type": "string", "format": "", }, - "resourceId": { + "status": { "type": "string", "format": "", }, - "operationResponseType": "ConfluentResourceResponse", + "pageSize": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "GetDataDeletionsResponseBody", }, - "v2.UpdateConfluentResource": { - "accountId": { + "v2.CancelDataDeletionRequest": { + "id": { "type": "string", "format": "", }, - "resourceId": { - "type": "string", + "operationResponseType": "CancelDataDeletionResponseBody", + }, + "v2.GetDomainAllowlist": { + "operationResponseType": "DomainAllowlistResponse", + }, + "v2.PatchDomainAllowlist": { + "body": { + "type": "DomainAllowlistRequest", "format": "", }, + "operationResponseType": "DomainAllowlistResponse", + }, + "v2.CreateDORADeployment": { "body": { - "type": "ConfluentResourceRequest", + "type": "DORADeploymentRequest", "format": "", }, - "operationResponseType": "ConfluentResourceResponse", - }, - "v2.ListFastlyAccounts": { - "operationResponseType": "FastlyAccountsResponse", + "operationResponseType": "DORADeploymentResponse", }, - "v2.CreateFastlyAccount": { + "v2.CreateDORAIncident": { "body": { - "type": "FastlyAccountCreateRequest", + "type": "DORAIncidentRequest", "format": "", }, - "operationResponseType": "FastlyAccountResponse", + "operationResponseType": "DORAIncidentResponse", }, - "v2.DeleteFastlyAccount": { - "accountId": { + "v2.ListDowntimes": { + "currentOnly": { + "type": "boolean", + "format": "", + }, + "include": { "type": "string", "format": "", }, - "operationResponseType": "void", + "pageOffset": { + "type": "number", + "format": "int64", + }, + "pageLimit": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "ListDowntimesResponse", }, - "v2.GetFastlyAccount": { - "accountId": { - "type": "string", + "v2.CreateDowntime": { + "body": { + "type": "DowntimeCreateRequest", "format": "", }, - "operationResponseType": "FastlyAccountResponse", + "operationResponseType": "DowntimeResponse", }, - "v2.UpdateFastlyAccount": { - "accountId": { + "v2.CancelDowntime": { + "downtimeId": { "type": "string", "format": "", }, - "body": { - "type": "FastlyAccountUpdateRequest", + "operationResponseType": "void", + }, + "v2.GetDowntime": { + "downtimeId": { + "type": "string", "format": "", }, - "operationResponseType": "FastlyAccountResponse", - }, - "v2.ListFastlyServices": { - "accountId": { + "include": { "type": "string", "format": "", }, - "operationResponseType": "FastlyServicesResponse", + "operationResponseType": "DowntimeResponse", }, - "v2.CreateFastlyService": { - "accountId": { + "v2.UpdateDowntime": { + "downtimeId": { "type": "string", "format": "", }, "body": { - "type": "FastlyServiceRequest", + "type": "DowntimeUpdateRequest", "format": "", }, - "operationResponseType": "FastlyServiceResponse", + "operationResponseType": "DowntimeResponse", }, - "v2.DeleteFastlyService": { - "accountId": { + "v2.ListMonitorDowntimes": { + "monitorId": { + "type": "number", + "format": "int64", + }, + "pageOffset": { + "type": "number", + "format": "int64", + }, + "pageLimit": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "MonitorDowntimeMatchResponse", + }, + "v2.ListEvents": { + "filterQuery": { "type": "string", "format": "", }, - "serviceId": { + "filterFrom": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.GetFastlyService": { - "accountId": { + "filterTo": { "type": "string", "format": "", }, - "serviceId": { + "sort": { + "type": "EventsSort", + "format": "", + }, + "pageCursor": { "type": "string", "format": "", }, - "operationResponseType": "FastlyServiceResponse", + "pageLimit": { + "type": "number", + "format": "int32", + }, + "operationResponseType": "EventsListResponse", }, - "v2.UpdateFastlyService": { - "accountId": { - "type": "string", + "v2.CreateEvent": { + "body": { + "type": "EventCreateRequestPayload", "format": "", }, - "serviceId": { - "type": "string", + "operationResponseType": "EventCreateResponsePayload", + }, + "v2.SearchEvents": { + "body": { + "type": "EventsListRequest", + "format": "", + }, + "operationResponseType": "EventsListResponse", + }, + "v2.ListIncidents": { + "include": { + "type": "Array", "format": "", }, + "pageSize": { + "type": "number", + "format": "int64", + }, + "pageOffset": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "IncidentsResponse", + }, + "v2.CreateIncident": { "body": { - "type": "FastlyServiceRequest", + "type": "IncidentCreateRequest", "format": "", }, - "operationResponseType": "FastlyServiceResponse", + "operationResponseType": "IncidentResponse", }, - "v2.ListOktaAccounts": { - "operationResponseType": "OktaAccountsResponse", + "v2.ListIncidentTypes": { + "includeDeleted": { + "type": "boolean", + "format": "", + }, + "operationResponseType": "IncidentTypeListResponse", }, - "v2.CreateOktaAccount": { + "v2.CreateIncidentType": { "body": { - "type": "OktaAccountRequest", + "type": "IncidentTypeCreateRequest", "format": "", }, - "operationResponseType": "OktaAccountResponse", + "operationResponseType": "IncidentTypeResponse", }, - "v2.DeleteOktaAccount": { - "accountId": { + "v2.DeleteIncidentType": { + "incidentTypeId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetOktaAccount": { - "accountId": { + "v2.GetIncidentType": { + "incidentTypeId": { "type": "string", "format": "", }, - "operationResponseType": "OktaAccountResponse", + "operationResponseType": "IncidentTypeResponse", }, - "v2.UpdateOktaAccount": { - "accountId": { + "v2.UpdateIncidentType": { + "incidentTypeId": { "type": "string", "format": "", }, "body": { - "type": "OktaAccountUpdateRequest", + "type": "IncidentTypePatchRequest", "format": "", }, - "operationResponseType": "OktaAccountResponse", - }, - "v2.GetIPAllowlist": { - "operationResponseType": "IPAllowlistResponse", + "operationResponseType": "IncidentTypeResponse", }, - "v2.UpdateIPAllowlist": { - "body": { - "type": "IPAllowlistUpdateRequest", + "v2.SearchIncidents": { + "include": { + "type": "IncidentRelatedObject", "format": "", }, - "operationResponseType": "IPAllowlistResponse", + "query": { + "type": "string", + "format": "", + }, + "sort": { + "type": "IncidentSearchSortOrder", + "format": "", + }, + "pageSize": { + "type": "number", + "format": "int64", + }, + "pageOffset": { + "type": "number", + "format": "int64", + }, + "operationResponseType": "IncidentSearchResponse", }, - "v2.SubmitLog": { - "contentEncoding": { - "type": "ContentEncoding", + "v2.DeleteIncident": { + "incidentId": { + "type": "string", "format": "", }, - "ddtags": { + "operationResponseType": "void", + }, + "v2.GetIncident": { + "incidentId": { "type": "string", "format": "", }, - "body": { - "type": "Array", + "include": { + "type": "Array", "format": "", }, - "operationResponseType": "any", + "operationResponseType": "IncidentResponse", }, - "v2.AggregateLogs": { + "v2.UpdateIncident": { + "incidentId": { + "type": "string", + "format": "", + }, + "include": { + "type": "Array", + "format": "", + }, "body": { - "type": "LogsAggregateRequest", + "type": "IncidentUpdateRequest", "format": "", }, - "operationResponseType": "LogsAggregateResponse", + "operationResponseType": "IncidentResponse", }, - "v2.ListLogsGet": { - "filterQuery": { + "v2.ListIncidentAttachments": { + "incidentId": { "type": "string", "format": "", }, - "filterIndexes": { - "type": "Array", + "include": { + "type": "Array", "format": "", }, - "filterFrom": { - "type": "Date", - "format": "date-time", + "filterAttachmentType": { + "type": "Array", + "format": "", }, - "filterTo": { - "type": "Date", - "format": "date-time", + "operationResponseType": "IncidentAttachmentsResponse", + }, + "v2.UpdateIncidentAttachments": { + "incidentId": { + "type": "string", + "format": "", }, - "filterStorageTier": { - "type": "LogsStorageTier", + "include": { + "type": "Array", "format": "", }, - "sort": { - "type": "LogsSort", + "body": { + "type": "IncidentAttachmentUpdateRequest", "format": "", }, - "pageCursor": { + "operationResponseType": "IncidentAttachmentUpdateResponse", + }, + "v2.ListIncidentIntegrations": { + "incidentId": { "type": "string", "format": "", }, - "pageLimit": { - "type": "number", - "format": "int32", - }, - "operationResponseType": "LogsListResponse", + "operationResponseType": "IncidentIntegrationMetadataListResponse", }, - "v2.ListLogs": { - "body": { - "type": "LogsListRequest", + "v2.CreateIncidentIntegration": { + "incidentId": { + "type": "string", "format": "", }, - "operationResponseType": "LogsListResponse", - }, - "v2.GetLogsArchiveOrder": { - "operationResponseType": "LogsArchiveOrder", - }, - "v2.UpdateLogsArchiveOrder": { "body": { - "type": "LogsArchiveOrder", + "type": "IncidentIntegrationMetadataCreateRequest", "format": "", }, - "operationResponseType": "LogsArchiveOrder", - }, - "v2.ListLogsArchives": { - "operationResponseType": "LogsArchives", + "operationResponseType": "IncidentIntegrationMetadataResponse", }, - "v2.CreateLogsArchive": { - "body": { - "type": "LogsArchiveCreateRequest", + "v2.DeleteIncidentIntegration": { + "incidentId": { + "type": "string", "format": "", }, - "operationResponseType": "LogsArchive", - }, - "v2.DeleteLogsArchive": { - "archiveId": { + "integrationMetadataId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetLogsArchive": { - "archiveId": { + "v2.GetIncidentIntegration": { + "incidentId": { "type": "string", "format": "", }, - "operationResponseType": "LogsArchive", - }, - "v2.UpdateLogsArchive": { - "archiveId": { + "integrationMetadataId": { "type": "string", "format": "", }, - "body": { - "type": "LogsArchiveCreateRequest", + "operationResponseType": "IncidentIntegrationMetadataResponse", + }, + "v2.UpdateIncidentIntegration": { + "incidentId": { + "type": "string", "format": "", }, - "operationResponseType": "LogsArchive", - }, - "v2.RemoveRoleFromArchive": { - "archiveId": { + "integrationMetadataId": { "type": "string", "format": "", }, "body": { - "type": "RelationshipToRole", + "type": "IncidentIntegrationMetadataPatchRequest", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "IncidentIntegrationMetadataResponse", }, - "v2.ListArchiveReadRoles": { - "archiveId": { + "v2.ListIncidentTodos": { + "incidentId": { "type": "string", "format": "", }, - "operationResponseType": "RolesResponse", + "operationResponseType": "IncidentTodoListResponse", }, - "v2.AddReadRoleToArchive": { - "archiveId": { + "v2.CreateIncidentTodo": { + "incidentId": { "type": "string", "format": "", }, "body": { - "type": "RelationshipToRole", + "type": "IncidentTodoCreateRequest", "format": "", }, - "operationResponseType": "void", - }, - "v2.ListLogsCustomDestinations": { - "operationResponseType": "CustomDestinationsResponse", + "operationResponseType": "IncidentTodoResponse", }, - "v2.CreateLogsCustomDestination": { - "body": { - "type": "CustomDestinationCreateRequest", + "v2.DeleteIncidentTodo": { + "incidentId": { + "type": "string", "format": "", }, - "operationResponseType": "CustomDestinationResponse", - }, - "v2.DeleteLogsCustomDestination": { - "customDestinationId": { + "todoId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetLogsCustomDestination": { - "customDestinationId": { + "v2.GetIncidentTodo": { + "incidentId": { "type": "string", "format": "", }, - "operationResponseType": "CustomDestinationResponse", + "todoId": { + "type": "string", + "format": "", + }, + "operationResponseType": "IncidentTodoResponse", }, - "v2.UpdateLogsCustomDestination": { - "customDestinationId": { + "v2.UpdateIncidentTodo": { + "incidentId": { + "type": "string", + "format": "", + }, + "todoId": { "type": "string", "format": "", }, "body": { - "type": "CustomDestinationUpdateRequest", + "type": "IncidentTodoPatchRequest", "format": "", }, - "operationResponseType": "CustomDestinationResponse", + "operationResponseType": "IncidentTodoResponse", }, - "v2.ListLogsMetrics": { - "operationResponseType": "LogsMetricsResponse", + "v2.ListAWSAccounts": { + "awsAccountId": { + "type": "string", + "format": "", + }, + "operationResponseType": "AWSAccountsResponse", }, - "v2.CreateLogsMetric": { + "v2.CreateAWSAccount": { "body": { - "type": "LogsMetricCreateRequest", + "type": "AWSAccountCreateRequest", "format": "", }, - "operationResponseType": "LogsMetricResponse", + "operationResponseType": "AWSAccountResponse", }, - "v2.DeleteLogsMetric": { - "metricId": { + "v2.DeleteAWSAccount": { + "awsAccountConfigId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetLogsMetric": { - "metricId": { + "v2.GetAWSAccount": { + "awsAccountConfigId": { "type": "string", "format": "", }, - "operationResponseType": "LogsMetricResponse", + "operationResponseType": "AWSAccountResponse", }, - "v2.UpdateLogsMetric": { - "metricId": { + "v2.UpdateAWSAccount": { + "awsAccountConfigId": { "type": "string", "format": "", }, "body": { - "type": "LogsMetricUpdateRequest", + "type": "AWSAccountUpdateRequest", "format": "", }, - "operationResponseType": "LogsMetricResponse", + "operationResponseType": "AWSAccountResponse", }, - "v2.ListTagConfigurations": { - "filterConfigured": { - "type": "boolean", - "format": "", - }, - "filterTagsConfigured": { - "type": "string", - "format": "", - }, - "filterMetricType": { - "type": "MetricTagConfigurationMetricTypeCategory", - "format": "", - }, - "filterIncludePercentiles": { - "type": "boolean", - "format": "", - }, - "filterQueried": { - "type": "boolean", + "v2.ListAWSNamespaces": { + "operationResponseType": "AWSNamespacesResponse", + }, + "v2.CreateNewAWSExternalID": { + "operationResponseType": "AWSNewExternalIDResponse", + }, + "v2.ListAWSLogsServices": { + "operationResponseType": "AWSLogsServicesResponse", + }, + "v2.ListGCPSTSAccounts": { + "operationResponseType": "GCPSTSServiceAccountsResponse", + }, + "v2.CreateGCPSTSAccount": { + "body": { + "type": "GCPSTSServiceAccountCreateRequest", "format": "", }, - "filterTags": { + "operationResponseType": "GCPSTSServiceAccountResponse", + }, + "v2.DeleteGCPSTSAccount": { + "accountId": { "type": "string", "format": "", }, - "windowSeconds": { - "type": "number", - "format": "int64", - }, - "pageSize": { - "type": "number", - "format": "int32", - }, - "pageCursor": { + "operationResponseType": "void", + }, + "v2.UpdateGCPSTSAccount": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "MetricsAndMetricTagConfigurationsResponse", - }, - "v2.DeleteBulkTagsMetricsConfiguration": { "body": { - "type": "MetricBulkTagConfigDeleteRequest", + "type": "GCPSTSServiceAccountUpdateRequest", "format": "", }, - "operationResponseType": "MetricBulkTagConfigResponse", + "operationResponseType": "GCPSTSServiceAccountResponse", }, - "v2.CreateBulkTagsMetricsConfiguration": { + "v2.GetGCPSTSDelegate": { + "operationResponseType": "GCPSTSDelegateAccountResponse", + }, + "v2.MakeGCPSTSDelegate": { "body": { - "type": "MetricBulkTagConfigCreateRequest", + "type": "any", "format": "", }, - "operationResponseType": "MetricBulkTagConfigResponse", - }, - "v2.ListActiveMetricConfigurations": { - "metricName": { + "operationResponseType": "GCPSTSDelegateAccountResponse", + }, + "v2.GetChannelByName": { + "tenantName": { "type": "string", "format": "", }, - "windowSeconds": { - "type": "number", - "format": "int64", - }, - "operationResponseType": "MetricSuggestedTagsAndAggregationsResponse", - }, - "v2.ListTagsByMetricName": { - "metricName": { + "teamName": { "type": "string", "format": "", }, - "operationResponseType": "MetricAllTagsResponse", - }, - "v2.ListMetricAssets": { - "metricName": { + "channelName": { "type": "string", "format": "", }, - "operationResponseType": "MetricAssetsResponse", + "operationResponseType": "MicrosoftTeamsGetChannelByNameResponse", }, - "v2.EstimateMetricsOutputSeries": { - "metricName": { + "v2.ListTenantBasedHandles": { + "tenantId": { "type": "string", "format": "", }, - "filterGroups": { + "name": { "type": "string", "format": "", }, - "filterHoursAgo": { - "type": "number", - "format": "int32", - }, - "filterNumAggregations": { - "type": "number", - "format": "int32", - }, - "filterPct": { - "type": "boolean", + "operationResponseType": "MicrosoftTeamsTenantBasedHandlesResponse", + }, + "v2.CreateTenantBasedHandle": { + "body": { + "type": "MicrosoftTeamsCreateTenantBasedHandleRequest", "format": "", }, - "filterTimespanH": { - "type": "number", - "format": "int32", - }, - "operationResponseType": "MetricEstimateResponse", + "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", }, - "v2.DeleteTagConfiguration": { - "metricName": { + "v2.DeleteTenantBasedHandle": { + "handleId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.ListTagConfigurationByName": { - "metricName": { + "v2.GetTenantBasedHandle": { + "handleId": { "type": "string", "format": "", }, - "operationResponseType": "MetricTagConfigurationResponse", + "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", }, - "v2.UpdateTagConfiguration": { - "metricName": { + "v2.UpdateTenantBasedHandle": { + "handleId": { "type": "string", "format": "", }, "body": { - "type": "MetricTagConfigurationUpdateRequest", + "type": "MicrosoftTeamsUpdateTenantBasedHandleRequest", "format": "", }, - "operationResponseType": "MetricTagConfigurationResponse", + "operationResponseType": "MicrosoftTeamsTenantBasedHandleResponse", }, - "v2.CreateTagConfiguration": { - "metricName": { - "type": "string", - "format": "", - }, + "v2.ListOpsgenieServices": { + "operationResponseType": "OpsgenieServicesResponse", + }, + "v2.CreateOpsgenieService": { "body": { - "type": "MetricTagConfigurationCreateRequest", + "type": "OpsgenieServiceCreateRequest", "format": "", }, - "operationResponseType": "MetricTagConfigurationResponse", + "operationResponseType": "OpsgenieServiceResponse", }, - "v2.ListVolumesByMetricName": { - "metricName": { + "v2.DeleteOpsgenieService": { + "integrationServiceId": { "type": "string", "format": "", }, - "operationResponseType": "MetricVolumesResponse", - }, - "v2.QueryScalarData": { - "body": { - "type": "ScalarFormulaQueryRequest", - "format": "", - }, - "operationResponseType": "ScalarFormulaQueryResponse", + "operationResponseType": "void", }, - "v2.QueryTimeseriesData": { - "body": { - "type": "TimeseriesFormulaQueryRequest", + "v2.GetOpsgenieService": { + "integrationServiceId": { + "type": "string", "format": "", }, - "operationResponseType": "TimeseriesFormulaQueryResponse", + "operationResponseType": "OpsgenieServiceResponse", }, - "v2.SubmitMetrics": { - "contentEncoding": { - "type": "MetricContentEncoding", + "v2.UpdateOpsgenieService": { + "integrationServiceId": { + "type": "string", "format": "", }, "body": { - "type": "MetricPayload", + "type": "OpsgenieServiceUpdateRequest", "format": "", }, - "operationResponseType": "IntakePayloadAccepted", + "operationResponseType": "OpsgenieServiceResponse", }, - "v2.ListMonitorConfigPolicies": { - "operationResponseType": "MonitorConfigPolicyListResponse", + "v2.ListCloudflareAccounts": { + "operationResponseType": "CloudflareAccountsResponse", }, - "v2.CreateMonitorConfigPolicy": { + "v2.CreateCloudflareAccount": { "body": { - "type": "MonitorConfigPolicyCreateRequest", + "type": "CloudflareAccountCreateRequest", "format": "", }, - "operationResponseType": "MonitorConfigPolicyResponse", + "operationResponseType": "CloudflareAccountResponse", }, - "v2.DeleteMonitorConfigPolicy": { - "policyId": { + "v2.DeleteCloudflareAccount": { + "accountId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetMonitorConfigPolicy": { - "policyId": { + "v2.GetCloudflareAccount": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "MonitorConfigPolicyResponse", + "operationResponseType": "CloudflareAccountResponse", }, - "v2.UpdateMonitorConfigPolicy": { - "policyId": { + "v2.UpdateCloudflareAccount": { + "accountId": { "type": "string", "format": "", }, "body": { - "type": "MonitorConfigPolicyEditRequest", + "type": "CloudflareAccountUpdateRequest", "format": "", }, - "operationResponseType": "MonitorConfigPolicyResponse", + "operationResponseType": "CloudflareAccountResponse", }, - "v2.ListDevices": { - "pageNumber": { - "type": "number", - "format": "int64", - }, - "pageSize": { - "type": "number", - "format": "int64", - }, - "sort": { - "type": "string", - "format": "", - }, - "filterTag": { - "type": "string", - "format": "", - }, - "operationResponseType": "ListDevicesResponse", + "v2.ListConfluentAccount": { + "operationResponseType": "ConfluentAccountsResponse", }, - "v2.GetDevice": { - "deviceId": { - "type": "string", + "v2.CreateConfluentAccount": { + "body": { + "type": "ConfluentAccountCreateRequest", "format": "", }, - "operationResponseType": "GetDeviceResponse", + "operationResponseType": "ConfluentAccountResponse", }, - "v2.GetInterfaces": { - "deviceId": { + "v2.DeleteConfluentAccount": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "GetInterfacesResponse", + "operationResponseType": "void", }, - "v2.ListDeviceUserTags": { - "deviceId": { + "v2.GetConfluentAccount": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "ListTagsResponse", + "operationResponseType": "ConfluentAccountResponse", }, - "v2.UpdateDeviceUserTags": { - "deviceId": { + "v2.UpdateConfluentAccount": { + "accountId": { "type": "string", "format": "", }, "body": { - "type": "ListTagsResponse", + "type": "ConfluentAccountUpdateRequest", "format": "", }, - "operationResponseType": "ListTagsResponse", - }, - "v2.ListOrgConfigs": { - "operationResponseType": "OrgConfigListResponse", + "operationResponseType": "ConfluentAccountResponse", }, - "v2.GetOrgConfig": { - "orgConfigName": { + "v2.ListConfluentResource": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "OrgConfigGetResponse", + "operationResponseType": "ConfluentResourcesResponse", }, - "v2.UpdateOrgConfig": { - "orgConfigName": { + "v2.CreateConfluentResource": { + "accountId": { "type": "string", "format": "", }, "body": { - "type": "OrgConfigWriteRequest", + "type": "ConfluentResourceRequest", "format": "", }, - "operationResponseType": "OrgConfigGetResponse", - }, - "v2.UploadIdPMetadata": { - "idpFile": { - "type": "HttpFile", - "format": "binary", - }, - "operationResponseType": "void", - }, - "v2.ListPermissions": { - "operationResponseType": "PermissionsResponse", + "operationResponseType": "ConfluentResourceResponse", }, - "v2.ListRoles": { - "pageSize": { - "type": "number", - "format": "int64", - }, - "pageNumber": { - "type": "number", - "format": "int64", - }, - "sort": { - "type": "RolesSort", - "format": "", - }, - "filter": { + "v2.DeleteConfluentResource": { + "accountId": { "type": "string", "format": "", }, - "filterId": { + "resourceId": { "type": "string", "format": "", }, - "operationResponseType": "RolesResponse", + "operationResponseType": "void", }, - "v2.CreateRole": { - "body": { - "type": "RoleCreateRequest", + "v2.GetConfluentResource": { + "accountId": { + "type": "string", "format": "", }, - "operationResponseType": "RoleCreateResponse", - }, - "v2.DeleteRole": { - "roleId": { + "resourceId": { "type": "string", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "ConfluentResourceResponse", }, - "v2.GetRole": { - "roleId": { + "v2.UpdateConfluentResource": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "RoleResponse", - }, - "v2.UpdateRole": { - "roleId": { + "resourceId": { "type": "string", "format": "", }, "body": { - "type": "RoleUpdateRequest", + "type": "ConfluentResourceRequest", + "format": "", + }, + "operationResponseType": "ConfluentResourceResponse", + }, + "v2.ListFastlyAccounts": { + "operationResponseType": "FastlyAccountsResponse", + }, + "v2.CreateFastlyAccount": { + "body": { + "type": "FastlyAccountCreateRequest", "format": "", }, - "operationResponseType": "RoleUpdateResponse", + "operationResponseType": "FastlyAccountResponse", }, - "v2.CloneRole": { - "roleId": { + "v2.DeleteFastlyAccount": { + "accountId": { "type": "string", "format": "", }, - "body": { - "type": "RoleCloneRequest", + "operationResponseType": "void", + }, + "v2.GetFastlyAccount": { + "accountId": { + "type": "string", "format": "", }, - "operationResponseType": "RoleResponse", + "operationResponseType": "FastlyAccountResponse", }, - "v2.RemovePermissionFromRole": { - "roleId": { + "v2.UpdateFastlyAccount": { + "accountId": { "type": "string", "format": "", }, "body": { - "type": "RelationshipToPermission", + "type": "FastlyAccountUpdateRequest", "format": "", }, - "operationResponseType": "PermissionsResponse", + "operationResponseType": "FastlyAccountResponse", }, - "v2.ListRolePermissions": { - "roleId": { + "v2.ListFastlyServices": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "PermissionsResponse", + "operationResponseType": "FastlyServicesResponse", }, - "v2.AddPermissionToRole": { - "roleId": { + "v2.CreateFastlyService": { + "accountId": { "type": "string", "format": "", }, "body": { - "type": "RelationshipToPermission", + "type": "FastlyServiceRequest", "format": "", }, - "operationResponseType": "PermissionsResponse", + "operationResponseType": "FastlyServiceResponse", }, - "v2.RemoveUserFromRole": { - "roleId": { + "v2.DeleteFastlyService": { + "accountId": { "type": "string", "format": "", }, - "body": { - "type": "RelationshipToUser", + "serviceId": { + "type": "string", "format": "", }, - "operationResponseType": "UsersResponse", + "operationResponseType": "void", }, - "v2.ListRoleUsers": { - "roleId": { + "v2.GetFastlyService": { + "accountId": { "type": "string", "format": "", }, - "pageSize": { - "type": "number", - "format": "int64", - }, - "pageNumber": { - "type": "number", - "format": "int64", - }, - "sort": { + "serviceId": { "type": "string", "format": "", }, - "filter": { + "operationResponseType": "FastlyServiceResponse", + }, + "v2.UpdateFastlyService": { + "accountId": { "type": "string", "format": "", }, - "operationResponseType": "UsersResponse", - }, - "v2.AddUserToRole": { - "roleId": { + "serviceId": { "type": "string", "format": "", }, "body": { - "type": "RelationshipToUser", + "type": "FastlyServiceRequest", "format": "", }, - "operationResponseType": "UsersResponse", + "operationResponseType": "FastlyServiceResponse", }, - "v2.ListFindings": { - "pageLimit": { - "type": "number", - "format": "int64", - }, - "snapshotTimestamp": { - "type": "number", - "format": "int64", - }, - "pageCursor": { - "type": "string", - "format": "", - }, - "filterTags": { - "type": "string", + "v2.ListOktaAccounts": { + "operationResponseType": "OktaAccountsResponse", + }, + "v2.CreateOktaAccount": { + "body": { + "type": "OktaAccountRequest", "format": "", }, - "filterEvaluationChangedAt": { + "operationResponseType": "OktaAccountResponse", + }, + "v2.DeleteOktaAccount": { + "accountId": { "type": "string", "format": "", }, - "filterMuted": { - "type": "boolean", - "format": "", - }, - "filterRuleId": { + "operationResponseType": "void", + }, + "v2.GetOktaAccount": { + "accountId": { "type": "string", "format": "", }, - "filterRuleName": { + "operationResponseType": "OktaAccountResponse", + }, + "v2.UpdateOktaAccount": { + "accountId": { "type": "string", "format": "", }, - "filterResourceType": { - "type": "string", + "body": { + "type": "OktaAccountUpdateRequest", "format": "", }, - "filterDiscoveryTimestamp": { - "type": "string", + "operationResponseType": "OktaAccountResponse", + }, + "v2.GetIPAllowlist": { + "operationResponseType": "IPAllowlistResponse", + }, + "v2.UpdateIPAllowlist": { + "body": { + "type": "IPAllowlistUpdateRequest", "format": "", }, - "filterEvaluation": { - "type": "FindingEvaluation", + "operationResponseType": "IPAllowlistResponse", + }, + "v2.SubmitLog": { + "contentEncoding": { + "type": "ContentEncoding", "format": "", }, - "filterStatus": { - "type": "FindingStatus", + "ddtags": { + "type": "string", "format": "", }, - "filterVulnerabilityType": { - "type": "Array", + "body": { + "type": "Array", "format": "", }, - "operationResponseType": "ListFindingsResponse", + "operationResponseType": "any", }, - "v2.MuteFindings": { + "v2.AggregateLogs": { "body": { - "type": "BulkMuteFindingsRequest", + "type": "LogsAggregateRequest", "format": "", }, - "operationResponseType": "BulkMuteFindingsResponse", + "operationResponseType": "LogsAggregateResponse", }, - "v2.GetFinding": { - "findingId": { + "v2.ListLogsGet": { + "filterQuery": { "type": "string", "format": "", }, - "snapshotTimestamp": { - "type": "number", - "format": "int64", - }, - "operationResponseType": "GetFindingResponse", - }, - "v2.ListVulnerableAssets": { - "pageToken": { - "type": "string", + "filterIndexes": { + "type": "Array", "format": "", }, - "pageNumber": { - "type": "number", - "format": "int64", + "filterFrom": { + "type": "Date", + "format": "date-time", }, - "filterName": { - "type": "string", - "format": "", + "filterTo": { + "type": "Date", + "format": "date-time", }, - "filterType": { - "type": "AssetType", + "filterStorageTier": { + "type": "LogsStorageTier", "format": "", }, - "filterVersionFirst": { - "type": "string", + "sort": { + "type": "LogsSort", "format": "", }, - "filterVersionLast": { + "pageCursor": { "type": "string", "format": "", }, - "filterRepositoryUrl": { - "type": "string", - "format": "", + "pageLimit": { + "type": "number", + "format": "int32", }, - "filterRisksInProduction": { - "type": "boolean", + "operationResponseType": "LogsListResponse", + }, + "v2.ListLogs": { + "body": { + "type": "LogsListRequest", "format": "", }, - "filterRisksUnderAttack": { - "type": "boolean", + "operationResponseType": "LogsListResponse", + }, + "v2.GetLogsArchiveOrder": { + "operationResponseType": "LogsArchiveOrder", + }, + "v2.UpdateLogsArchiveOrder": { + "body": { + "type": "LogsArchiveOrder", "format": "", }, - "filterRisksIsPubliclyAccessible": { - "type": "boolean", + "operationResponseType": "LogsArchiveOrder", + }, + "v2.ListLogsArchives": { + "operationResponseType": "LogsArchives", + }, + "v2.CreateLogsArchive": { + "body": { + "type": "LogsArchiveCreateRequest", "format": "", }, - "filterRisksHasPrivilegedAccess": { - "type": "boolean", + "operationResponseType": "LogsArchive", + }, + "v2.DeleteLogsArchive": { + "archiveId": { + "type": "string", "format": "", }, - "filterRisksHasAccessToSensitiveData": { - "type": "boolean", + "operationResponseType": "void", + }, + "v2.GetLogsArchive": { + "archiveId": { + "type": "string", "format": "", }, - "filterEnvironments": { + "operationResponseType": "LogsArchive", + }, + "v2.UpdateLogsArchive": { + "archiveId": { "type": "string", "format": "", }, - "filterArch": { + "body": { + "type": "LogsArchiveCreateRequest", + "format": "", + }, + "operationResponseType": "LogsArchive", + }, + "v2.RemoveRoleFromArchive": { + "archiveId": { "type": "string", "format": "", }, - "filterOperatingSystemName": { - "type": "string", + "body": { + "type": "RelationshipToRole", "format": "", }, - "filterOperatingSystemVersion": { + "operationResponseType": "void", + }, + "v2.ListArchiveReadRoles": { + "archiveId": { "type": "string", "format": "", }, - "operationResponseType": "ListVulnerableAssetsResponse", + "operationResponseType": "RolesResponse", }, - "v2.ListVulnerabilities": { - "pageToken": { + "v2.AddReadRoleToArchive": { + "archiveId": { "type": "string", "format": "", }, - "pageNumber": { - "type": "number", - "format": "int64", - }, - "filterType": { - "type": "VulnerabilityType", + "body": { + "type": "RelationshipToRole", "format": "", }, - "filterCvssBaseScoreOp": { - "type": "number", - "format": "double", - }, - "filterCvssBaseSeverity": { - "type": "VulnerabilitySeverity", + "operationResponseType": "void", + }, + "v2.ListLogsCustomDestinations": { + "operationResponseType": "CustomDestinationsResponse", + }, + "v2.CreateLogsCustomDestination": { + "body": { + "type": "CustomDestinationCreateRequest", "format": "", }, - "filterCvssBaseVector": { + "operationResponseType": "CustomDestinationResponse", + }, + "v2.DeleteLogsCustomDestination": { + "customDestinationId": { "type": "string", "format": "", }, - "filterCvssDatadogScoreOp": { - "type": "number", - "format": "double", - }, - "filterCvssDatadogSeverity": { - "type": "VulnerabilitySeverity", + "operationResponseType": "void", + }, + "v2.GetLogsCustomDestination": { + "customDestinationId": { + "type": "string", "format": "", }, - "filterCvssDatadogVector": { + "operationResponseType": "CustomDestinationResponse", + }, + "v2.UpdateLogsCustomDestination": { + "customDestinationId": { "type": "string", "format": "", }, - "filterStatus": { - "type": "VulnerabilityStatus", + "body": { + "type": "CustomDestinationUpdateRequest", "format": "", }, - "filterTool": { - "type": "VulnerabilityTool", + "operationResponseType": "CustomDestinationResponse", + }, + "v2.ListLogsMetrics": { + "operationResponseType": "LogsMetricsResponse", + }, + "v2.CreateLogsMetric": { + "body": { + "type": "LogsMetricCreateRequest", "format": "", }, - "filterLibraryName": { + "operationResponseType": "LogsMetricResponse", + }, + "v2.DeleteLogsMetric": { + "metricId": { "type": "string", "format": "", }, - "filterLibraryVersion": { + "operationResponseType": "void", + }, + "v2.GetLogsMetric": { + "metricId": { "type": "string", "format": "", }, - "filterAdvisoryId": { + "operationResponseType": "LogsMetricResponse", + }, + "v2.UpdateLogsMetric": { + "metricId": { "type": "string", "format": "", }, - "filterRisksExploitationProbability": { - "type": "boolean", + "body": { + "type": "LogsMetricUpdateRequest", "format": "", }, - "filterRisksPocExploitAvailable": { + "operationResponseType": "LogsMetricResponse", + }, + "v2.ListTagConfigurations": { + "filterConfigured": { "type": "boolean", "format": "", }, - "filterRisksExploitAvailable": { - "type": "boolean", + "filterTagsConfigured": { + "type": "string", "format": "", }, - "filterRisksEpssScoreOp": { - "type": "number", - "format": "double", - }, - "filterRisksEpssSeverity": { - "type": "VulnerabilitySeverity", + "filterMetricType": { + "type": "MetricTagConfigurationMetricTypeCategory", "format": "", }, - "filterLanguage": { - "type": "string", + "filterIncludePercentiles": { + "type": "boolean", "format": "", }, - "filterEcosystem": { - "type": "VulnerabilityEcosystem", + "filterQueried": { + "type": "boolean", "format": "", }, - "filterCodeLocationLocation": { + "filterTags": { "type": "string", "format": "", }, - "filterCodeLocationFilePath": { - "type": "string", - "format": "", + "windowSeconds": { + "type": "number", + "format": "int64", }, - "filterCodeLocationMethod": { + "pageSize": { + "type": "number", + "format": "int32", + }, + "pageCursor": { "type": "string", "format": "", }, - "filterFixAvailable": { - "type": "boolean", + "operationResponseType": "MetricsAndMetricTagConfigurationsResponse", + }, + "v2.DeleteBulkTagsMetricsConfiguration": { + "body": { + "type": "MetricBulkTagConfigDeleteRequest", "format": "", }, - "filterRepoDigests": { - "type": "string", + "operationResponseType": "MetricBulkTagConfigResponse", + }, + "v2.CreateBulkTagsMetricsConfiguration": { + "body": { + "type": "MetricBulkTagConfigCreateRequest", "format": "", }, - "filterAssetName": { + "operationResponseType": "MetricBulkTagConfigResponse", + }, + "v2.ListActiveMetricConfigurations": { + "metricName": { "type": "string", "format": "", }, - "filterAssetType": { - "type": "AssetType", - "format": "", + "windowSeconds": { + "type": "number", + "format": "int64", }, - "filterAssetVersionFirst": { + "operationResponseType": "MetricSuggestedTagsAndAggregationsResponse", + }, + "v2.ListTagsByMetricName": { + "metricName": { "type": "string", "format": "", }, - "filterAssetVersionLast": { + "operationResponseType": "MetricAllTagsResponse", + }, + "v2.ListMetricAssets": { + "metricName": { "type": "string", "format": "", }, - "filterAssetRepositoryUrl": { + "operationResponseType": "MetricAssetsResponse", + }, + "v2.EstimateMetricsOutputSeries": { + "metricName": { "type": "string", "format": "", }, - "filterAssetRisksInProduction": { - "type": "boolean", + "filterGroups": { + "type": "string", "format": "", }, - "filterAssetRisksUnderAttack": { - "type": "boolean", - "format": "", + "filterHoursAgo": { + "type": "number", + "format": "int32", }, - "filterAssetRisksIsPubliclyAccessible": { - "type": "boolean", - "format": "", + "filterNumAggregations": { + "type": "number", + "format": "int32", }, - "filterAssetRisksHasPrivilegedAccess": { + "filterPct": { "type": "boolean", "format": "", }, - "filterAssetRisksHasAccessToSensitiveData": { - "type": "boolean", - "format": "", + "filterTimespanH": { + "type": "number", + "format": "int32", }, - "filterAssetEnvironments": { + "operationResponseType": "MetricEstimateResponse", + }, + "v2.DeleteTagConfiguration": { + "metricName": { "type": "string", "format": "", }, - "filterAssetArch": { + "operationResponseType": "void", + }, + "v2.ListTagConfigurationByName": { + "metricName": { "type": "string", "format": "", }, - "filterAssetOperatingSystemName": { + "operationResponseType": "MetricTagConfigurationResponse", + }, + "v2.UpdateTagConfiguration": { + "metricName": { "type": "string", "format": "", }, - "filterAssetOperatingSystemVersion": { - "type": "string", + "body": { + "type": "MetricTagConfigurationUpdateRequest", "format": "", }, - "operationResponseType": "ListVulnerabilitiesResponse", - }, - "v2.ListSecurityFilters": { - "operationResponseType": "SecurityFiltersResponse", + "operationResponseType": "MetricTagConfigurationResponse", }, - "v2.CreateSecurityFilter": { + "v2.CreateTagConfiguration": { + "metricName": { + "type": "string", + "format": "", + }, "body": { - "type": "SecurityFilterCreateRequest", + "type": "MetricTagConfigurationCreateRequest", "format": "", }, - "operationResponseType": "SecurityFilterResponse", + "operationResponseType": "MetricTagConfigurationResponse", }, - "v2.DeleteSecurityFilter": { - "securityFilterId": { + "v2.ListVolumesByMetricName": { + "metricName": { "type": "string", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "MetricVolumesResponse", }, - "v2.GetSecurityFilter": { - "securityFilterId": { - "type": "string", + "v2.QueryScalarData": { + "body": { + "type": "ScalarFormulaQueryRequest", "format": "", }, - "operationResponseType": "SecurityFilterResponse", + "operationResponseType": "ScalarFormulaQueryResponse", }, - "v2.UpdateSecurityFilter": { - "securityFilterId": { - "type": "string", + "v2.QueryTimeseriesData": { + "body": { + "type": "TimeseriesFormulaQueryRequest", + "format": "", + }, + "operationResponseType": "TimeseriesFormulaQueryResponse", + }, + "v2.SubmitMetrics": { + "contentEncoding": { + "type": "MetricContentEncoding", "format": "", }, "body": { - "type": "SecurityFilterUpdateRequest", + "type": "MetricPayload", "format": "", }, - "operationResponseType": "SecurityFilterResponse", + "operationResponseType": "IntakePayloadAccepted", }, - "v2.ListSecurityMonitoringSuppressions": { - "operationResponseType": "SecurityMonitoringSuppressionsResponse", + "v2.ListMonitorConfigPolicies": { + "operationResponseType": "MonitorConfigPolicyListResponse", }, - "v2.CreateSecurityMonitoringSuppression": { + "v2.CreateMonitorConfigPolicy": { "body": { - "type": "SecurityMonitoringSuppressionCreateRequest", + "type": "MonitorConfigPolicyCreateRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringSuppressionResponse", + "operationResponseType": "MonitorConfigPolicyResponse", }, - "v2.DeleteSecurityMonitoringSuppression": { - "suppressionId": { + "v2.DeleteMonitorConfigPolicy": { + "policyId": { "type": "string", "format": "", }, "operationResponseType": "void", }, - "v2.GetSecurityMonitoringSuppression": { - "suppressionId": { + "v2.GetMonitorConfigPolicy": { + "policyId": { "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringSuppressionResponse", + "operationResponseType": "MonitorConfigPolicyResponse", }, - "v2.UpdateSecurityMonitoringSuppression": { - "suppressionId": { + "v2.UpdateMonitorConfigPolicy": { + "policyId": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringSuppressionUpdateRequest", + "type": "MonitorConfigPolicyEditRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringSuppressionResponse", + "operationResponseType": "MonitorConfigPolicyResponse", }, - "v2.ListSecurityMonitoringRules": { - "pageSize": { + "v2.ListDevices": { + "pageNumber": { "type": "number", "format": "int64", }, - "pageNumber": { + "pageSize": { "type": "number", "format": "int64", }, - "operationResponseType": "SecurityMonitoringListRulesResponse", - }, - "v2.CreateSecurityMonitoringRule": { - "body": { - "type": "SecurityMonitoringRuleCreatePayload", - "format": "", - }, - "operationResponseType": "SecurityMonitoringRuleResponse", - }, - "v2.ConvertSecurityMonitoringRuleFromJSONToTerraform": { - "body": { - "type": "SecurityMonitoringRuleConvertPayload", + "sort": { + "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleConvertResponse", - }, - "v2.TestSecurityMonitoringRule": { - "body": { - "type": "SecurityMonitoringRuleTestRequest", + "filterTag": { + "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleTestResponse", + "operationResponseType": "ListDevicesResponse", }, - "v2.ValidateSecurityMonitoringRule": { - "body": { - "type": "SecurityMonitoringRuleValidatePayload", + "v2.GetDevice": { + "deviceId": { + "type": "string", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "GetDeviceResponse", }, - "v2.DeleteSecurityMonitoringRule": { - "ruleId": { + "v2.GetInterfaces": { + "deviceId": { "type": "string", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "GetInterfacesResponse", }, - "v2.GetSecurityMonitoringRule": { - "ruleId": { + "v2.ListDeviceUserTags": { + "deviceId": { "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleResponse", + "operationResponseType": "ListTagsResponse", }, - "v2.UpdateSecurityMonitoringRule": { - "ruleId": { + "v2.UpdateDeviceUserTags": { + "deviceId": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringRuleUpdatePayload", + "type": "ListTagsResponse", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleResponse", + "operationResponseType": "ListTagsResponse", }, - "v2.ConvertExistingSecurityMonitoringRule": { - "ruleId": { + "v2.ListOrgConfigs": { + "operationResponseType": "OrgConfigListResponse", + }, + "v2.GetOrgConfig": { + "orgConfigName": { "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleConvertResponse", + "operationResponseType": "OrgConfigGetResponse", }, - "v2.TestExistingSecurityMonitoringRule": { - "ruleId": { + "v2.UpdateOrgConfig": { + "orgConfigName": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringRuleTestRequest", + "type": "OrgConfigWriteRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringRuleTestResponse", + "operationResponseType": "OrgConfigGetResponse", }, - "v2.ListSecurityMonitoringSignals": { - "filterQuery": { - "type": "string", - "format": "", + "v2.UploadIdPMetadata": { + "idpFile": { + "type": "HttpFile", + "format": "binary", }, - "filterFrom": { - "type": "Date", - "format": "date-time", + "operationResponseType": "void", + }, + "v2.ListPermissions": { + "operationResponseType": "PermissionsResponse", + }, + "v2.ListRoles": { + "pageSize": { + "type": "number", + "format": "int64", }, - "filterTo": { - "type": "Date", - "format": "date-time", + "pageNumber": { + "type": "number", + "format": "int64", }, "sort": { - "type": "SecurityMonitoringSignalsSort", + "type": "RolesSort", "format": "", }, - "pageCursor": { + "filter": { "type": "string", "format": "", }, - "pageLimit": { - "type": "number", - "format": "int32", + "filterId": { + "type": "string", + "format": "", }, - "operationResponseType": "SecurityMonitoringSignalsListResponse", + "operationResponseType": "RolesResponse", }, - "v2.SearchSecurityMonitoringSignals": { + "v2.CreateRole": { "body": { - "type": "SecurityMonitoringSignalListRequest", + "type": "RoleCreateRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringSignalsListResponse", + "operationResponseType": "RoleCreateResponse", }, - "v2.GetSecurityMonitoringSignal": { - "signalId": { + "v2.DeleteRole": { + "roleId": { "type": "string", "format": "", }, - "operationResponseType": "SecurityMonitoringSignalResponse", + "operationResponseType": "void", }, - "v2.EditSecurityMonitoringSignalAssignee": { - "signalId": { + "v2.GetRole": { + "roleId": { + "type": "string", + "format": "", + }, + "operationResponseType": "RoleResponse", + }, + "v2.UpdateRole": { + "roleId": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringSignalAssigneeUpdateRequest", + "type": "RoleUpdateRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", + "operationResponseType": "RoleUpdateResponse", }, - "v2.EditSecurityMonitoringSignalIncidents": { - "signalId": { + "v2.CloneRole": { + "roleId": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringSignalIncidentsUpdateRequest", + "type": "RoleCloneRequest", "format": "", }, - "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", + "operationResponseType": "RoleResponse", }, - "v2.EditSecurityMonitoringSignalState": { - "signalId": { + "v2.RemovePermissionFromRole": { + "roleId": { "type": "string", "format": "", }, "body": { - "type": "SecurityMonitoringSignalStateUpdateRequest", + "type": "RelationshipToPermission", "format": "", }, - "operationResponseType": "SecurityMonitoringSignalTriageUpdateResponse", + "operationResponseType": "PermissionsResponse", }, - "v2.ListHistoricalJobs": { - "pageSize": { - "type": "number", - "format": "int64", - }, - "pageNumber": { - "type": "number", - "format": "int64", - }, - "sort": { + "v2.ListRolePermissions": { + "roleId": { "type": "string", "format": "", }, - "filterQuery": { + "operationResponseType": "PermissionsResponse", + }, + "v2.AddPermissionToRole": { + "roleId": { "type": "string", "format": "", }, - "operationResponseType": "ListHistoricalJobsResponse", - }, - "v2.RunHistoricalJob": { "body": { - "type": "RunHistoricalJobRequest", + "type": "RelationshipToPermission", "format": "", }, - "operationResponseType": "JobCreateResponse", + "operationResponseType": "PermissionsResponse", }, - "v2.ConvertJobResultToSignal": { + "v2.RemoveUserFromRole": { + "roleId": { + "type": "string", + "format": "", + }, "body": { - "type": "ConvertJobResultsToSignalsRequest", + "type": "RelationshipToUser", "format": "", }, - "operationResponseType": "void", + "operationResponseType": "UsersResponse", }, - "v2.DeleteHistoricalJob": { - "jobId": { + "v2.ListRoleUsers": { + "roleId": { "type": "string", "format": "", }, - "operationResponseType": "void", - }, - "v2.GetHistoricalJob": { - "jobId": { + "pageSize": { + "type": "number", + "format": "int64", + }, + "pageNumber": { + "type": "number", + "format": "int64", + }, + "sort": { "type": "string", "format": "", }, - "operationResponseType": "HistoricalJobResponse", + "filter": { + "type": "string", + "format": "", + }, + "operationResponseType": "UsersResponse", }, - "v2.CancelHistoricalJob": { - "jobId": { + "v2.AddUserToRole": { + "roleId": { "type": "string", "format": "", }, - "operationResponseType": "void", + "body": { + "type": "RelationshipToUser", + "format": "", + }, + "operationResponseType": "UsersResponse", }, "v2.ListPowerpacks": { "pageLimit": { diff --git a/features/v2/security_monitoring.feature b/features/v2/security_monitoring.feature index 362378f63492..23dffe98a242 100644 --- a/features/v2/security_monitoring.feature +++ b/features/v2/security_monitoring.feature @@ -171,6 +171,20 @@ Feature: Security Monitoring And the response "message" is equal to "ddd" And the response "options.complianceRuleOptions.resourceType" is equal to "gcp_compute_disk" + @generated @skip @team:DataDog/k9-cloud-security-platform + Scenario: Create a custom framework returns "Bad Request" response + Given new "CreateCustomFramework" request + And body with value {"handle": "", "name": "", "requirements": [{"controls": [{"name": "", "rule_ids": [""]}], "name": ""}], "version": ""} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/k9-cloud-security-platform + Scenario: Create a custom framework returns "OK" response + Given new "CreateCustomFramework" request + And body with value {"handle": "", "name": "", "requirements": [{"controls": [{"name": "", "rule_ids": [""]}], "name": ""}], "version": ""} + When the request is sent + Then the response status is 200 OK + @team:DataDog/k9-cloud-security-platform Scenario: Create a detection rule returns "Bad Request" response Given new "CreateSecurityMonitoringRule" request @@ -827,6 +841,24 @@ Feature: Security Monitoring And the response "name" is equal to "{{ unique }}_cloud_updated" And the response "id" has the same value as "cloud_configuration_rule.id" + @generated @skip @team:DataDog/k9-cloud-security-platform + Scenario: Update a custom framework returns "Bad Request" response + Given new "UpdateCustomFramework" request + And request contains "handle" parameter from "REPLACE.ME" + And request contains "version" parameter from "REPLACE.ME" + And body with value {"handle": "", "name": "", "requirements": [{"controls": [{"name": "", "rule_ids": [""]}], "name": ""}], "version": ""} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/k9-cloud-security-platform + Scenario: Update a custom framework returns "OK" response + Given new "UpdateCustomFramework" request + And request contains "handle" parameter from "REPLACE.ME" + And request contains "version" parameter from "REPLACE.ME" + And body with value {"handle": "", "name": "", "requirements": [{"controls": [{"name": "", "rule_ids": [""]}], "name": ""}], "version": ""} + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/k9-cloud-security-platform Scenario: Update a security filter returns "Bad Request" response Given new "UpdateSecurityFilter" request diff --git a/features/v2/undo.json b/features/v2/undo.json index d6c6e9de87c6..154e3c46f158 100644 --- a/features/v2/undo.json +++ b/features/v2/undo.json @@ -439,6 +439,18 @@ "type": "safe" } }, + "CreateCustomFramework": { + "tag": "Security Monitoring", + "undo": { + "type": "idempotent" + } + }, + "UpdateCustomFramework": { + "tag": "Security Monitoring", + "undo": { + "type": "idempotent" + } + }, "ListContainerImages": { "tag": "Container Images", "undo": { diff --git a/packages/datadog-api-client-common/configuration.ts b/packages/datadog-api-client-common/configuration.ts index 766b8a30eab1..c6b5c2897ad4 100644 --- a/packages/datadog-api-client-common/configuration.ts +++ b/packages/datadog-api-client-common/configuration.ts @@ -235,6 +235,17 @@ export function createConfiguration( "v2.getApp": false, "v2.listApps": false, "v2.updateApp": false, + "v2.cancelHistoricalJob": false, + "v2.convertJobResultToSignal": false, + "v2.deleteHistoricalJob": false, + "v2.getFinding": false, + "v2.getHistoricalJob": false, + "v2.listFindings": false, + "v2.listHistoricalJobs": false, + "v2.listVulnerabilities": false, + "v2.listVulnerableAssets": false, + "v2.muteFindings": false, + "v2.runHistoricalJob": false, "v2.getActiveBillingDimensions": false, "v2.getBillingDimensionMapping": false, "v2.getMonthlyCostAttribution": false, @@ -274,17 +285,6 @@ export function createConfiguration( "v2.listAWSNamespaces": false, "v2.updateAWSAccount": false, "v2.listAWSLogsServices": false, - "v2.cancelHistoricalJob": false, - "v2.convertJobResultToSignal": false, - "v2.deleteHistoricalJob": false, - "v2.getFinding": false, - "v2.getHistoricalJob": false, - "v2.listFindings": false, - "v2.listHistoricalJobs": false, - "v2.listVulnerabilities": false, - "v2.listVulnerableAssets": false, - "v2.muteFindings": false, - "v2.runHistoricalJob": false, "v2.createScorecardOutcomesBatch": false, "v2.createScorecardRule": false, "v2.deleteScorecardRule": false, diff --git a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts index 97a459090a48..e205358e48dc 100644 --- a/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts +++ b/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.ts @@ -21,6 +21,7 @@ import { AssetType } from "../models/AssetType"; import { BulkMuteFindingsRequest } from "../models/BulkMuteFindingsRequest"; import { BulkMuteFindingsResponse } from "../models/BulkMuteFindingsResponse"; import { ConvertJobResultsToSignalsRequest } from "../models/ConvertJobResultsToSignalsRequest"; +import { CreateCustomFrameworkRequest } from "../models/CreateCustomFrameworkRequest"; import { Finding } from "../models/Finding"; import { FindingEvaluation } from "../models/FindingEvaluation"; import { FindingStatus } from "../models/FindingStatus"; @@ -61,6 +62,7 @@ import { SecurityMonitoringSuppressionCreateRequest } from "../models/SecurityMo import { SecurityMonitoringSuppressionResponse } from "../models/SecurityMonitoringSuppressionResponse"; import { SecurityMonitoringSuppressionsResponse } from "../models/SecurityMonitoringSuppressionsResponse"; import { SecurityMonitoringSuppressionUpdateRequest } from "../models/SecurityMonitoringSuppressionUpdateRequest"; +import { UpdateCustomFrameworkRequest } from "../models/UpdateCustomFrameworkRequest"; import { VulnerabilityEcosystem } from "../models/VulnerabilityEcosystem"; import { VulnerabilitySeverity } from "../models/VulnerabilitySeverity"; import { VulnerabilityStatus } from "../models/VulnerabilityStatus"; @@ -248,6 +250,48 @@ export class SecurityMonitoringApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async createCustomFramework( + body: CreateCustomFrameworkRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "createCustomFramework"); + } + + // Path Params + const localVarPath = "/api/v2/cloud_security_management/custom_frameworks"; + + // Make Request Context + const requestContext = _config + .getServer("v2.SecurityMonitoringApi.createCustomFramework") + .makeRequestContext(localVarPath, HttpMethod.POST); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "CreateCustomFrameworkRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async createSecurityFilter( body: SecurityFilterCreateRequest, _options?: Configuration @@ -2110,6 +2154,63 @@ export class SecurityMonitoringApiRequestFactory extends BaseAPIRequestFactory { return requestContext; } + public async updateCustomFramework( + handle: string, + version: string, + body: UpdateCustomFrameworkRequest, + _options?: Configuration + ): Promise { + const _config = _options || this.configuration; + + // verify required parameter 'handle' is not null or undefined + if (handle === null || handle === undefined) { + throw new RequiredError("handle", "updateCustomFramework"); + } + + // verify required parameter 'version' is not null or undefined + if (version === null || version === undefined) { + throw new RequiredError("version", "updateCustomFramework"); + } + + // verify required parameter 'body' is not null or undefined + if (body === null || body === undefined) { + throw new RequiredError("body", "updateCustomFramework"); + } + + // Path Params + const localVarPath = + "/api/v2/cloud_security_management/custom_frameworks/{handle}/{version}" + .replace("{handle}", encodeURIComponent(String(handle))) + .replace("{version}", encodeURIComponent(String(version))); + + // Make Request Context + const requestContext = _config + .getServer("v2.SecurityMonitoringApi.updateCustomFramework") + .makeRequestContext(localVarPath, HttpMethod.PUT); + requestContext.setHeaderParam("Accept", "*/*"); + requestContext.setHttpConfig(_config.httpConfig); + + // Body Params + const contentType = ObjectSerializer.getPreferredMediaType([ + "application/json", + ]); + requestContext.setHeaderParam("Content-Type", contentType); + const serializedBody = ObjectSerializer.stringify( + ObjectSerializer.serialize(body, "UpdateCustomFrameworkRequest", ""), + contentType + ); + requestContext.setBody(serializedBody); + + // Apply auth methods + applySecurityAuthentication(_config, requestContext, [ + "AuthZ", + "apiKeyAuth", + "appKeyAuth", + ]); + + return requestContext; + } + public async updateSecurityFilter( securityFilterId: string, body: SecurityFilterUpdateRequest, @@ -2574,6 +2675,62 @@ export class SecurityMonitoringApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to createCustomFramework + * @throws ApiException if the response code was not in [200, 299] + */ + public async createCustomFramework(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + return; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 429 || + response.httpStatusCode === 500 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -4430,6 +4587,62 @@ export class SecurityMonitoringApiResponseProcessor { ); } + /** + * Unwraps the actual response sent by the server from the response context and deserializes the response content + * to the expected objects + * + * @params response Response returned by the server for a request to updateCustomFramework + * @throws ApiException if the response code was not in [200, 299] + */ + public async updateCustomFramework(response: ResponseContext): Promise { + const contentType = ObjectSerializer.normalizeMediaType( + response.headers["content-type"] + ); + if (response.httpStatusCode === 200) { + return; + } + if ( + response.httpStatusCode === 400 || + response.httpStatusCode === 429 || + response.httpStatusCode === 500 + ) { + const bodyText = ObjectSerializer.parse( + await response.body.text(), + contentType + ); + let body: APIErrorResponse; + try { + body = ObjectSerializer.deserialize( + bodyText, + "APIErrorResponse" + ) as APIErrorResponse; + } catch (error) { + logger.debug(`Got error deserializing error: ${error}`); + throw new ApiException( + response.httpStatusCode, + bodyText + ); + } + throw new ApiException(response.httpStatusCode, body); + } + + // Work around for missing responses in specification, e.g. for petstore.yaml + if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) { + const body: void = ObjectSerializer.deserialize( + ObjectSerializer.parse(await response.body.text(), contentType), + "void", + "" + ) as void; + return body; + } + + const body = (await response.body.text()) || ""; + throw new ApiException( + response.httpStatusCode, + 'Unknown API Status Code!\nBody: "' + body + '"' + ); + } + /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects @@ -4713,6 +4926,13 @@ export interface SecurityMonitoringApiConvertSecurityMonitoringRuleFromJSONToTer body: SecurityMonitoringRuleConvertPayload; } +export interface SecurityMonitoringApiCreateCustomFrameworkRequest { + /** + * @type CreateCustomFrameworkRequest + */ + body: CreateCustomFrameworkRequest; +} + export interface SecurityMonitoringApiCreateSecurityFilterRequest { /** * The definition of the new security filter. @@ -5333,6 +5553,23 @@ export interface SecurityMonitoringApiTestSecurityMonitoringRuleRequest { body: SecurityMonitoringRuleTestRequest; } +export interface SecurityMonitoringApiUpdateCustomFrameworkRequest { + /** + * The framework handle + * @type string + */ + handle: string; + /** + * The framework version + * @type string + */ + version: string; + /** + * @type UpdateCustomFrameworkRequest + */ + body: UpdateCustomFrameworkRequest; +} + export interface SecurityMonitoringApiUpdateSecurityFilterRequest { /** * The ID of the security filter. @@ -5489,6 +5726,27 @@ export class SecurityMonitoringApi { }); } + /** + * Create a custom framework. + * @param param The request object + */ + public createCustomFramework( + param: SecurityMonitoringApiCreateCustomFrameworkRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.createCustomFramework( + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.createCustomFramework(responseContext); + }); + }); + } + /** * Create a security filter. * @@ -6518,6 +6776,29 @@ export class SecurityMonitoringApi { }); } + /** + * Update a custom framework. + * @param param The request object + */ + public updateCustomFramework( + param: SecurityMonitoringApiUpdateCustomFrameworkRequest, + options?: Configuration + ): Promise { + const requestContextPromise = this.requestFactory.updateCustomFramework( + param.handle, + param.version, + param.body, + options + ); + return requestContextPromise.then((requestContext) => { + return this.configuration.httpApi + .send(requestContext) + .then((responseContext) => { + return this.responseProcessor.updateCustomFramework(responseContext); + }); + }); + } + /** * Update a specific security filter. * Returns the security filter object when the request is successful. diff --git a/packages/datadog-api-client-v2/index.ts b/packages/datadog-api-client-v2/index.ts index 86cf9b204f91..c6e64fc7b301 100644 --- a/packages/datadog-api-client-v2/index.ts +++ b/packages/datadog-api-client-v2/index.ts @@ -449,6 +449,7 @@ export { SecurityMonitoringApiConvertExistingSecurityMonitoringRuleRequest, SecurityMonitoringApiConvertJobResultToSignalRequest, SecurityMonitoringApiConvertSecurityMonitoringRuleFromJSONToTerraformRequest, + SecurityMonitoringApiCreateCustomFrameworkRequest, SecurityMonitoringApiCreateSecurityFilterRequest, SecurityMonitoringApiCreateSecurityMonitoringRuleRequest, SecurityMonitoringApiCreateSecurityMonitoringSuppressionRequest, @@ -476,6 +477,7 @@ export { SecurityMonitoringApiSearchSecurityMonitoringSignalsRequest, SecurityMonitoringApiTestExistingSecurityMonitoringRuleRequest, SecurityMonitoringApiTestSecurityMonitoringRuleRequest, + SecurityMonitoringApiUpdateCustomFrameworkRequest, SecurityMonitoringApiUpdateSecurityFilterRequest, SecurityMonitoringApiUpdateSecurityMonitoringRuleRequest, SecurityMonitoringApiUpdateSecurityMonitoringSuppressionRequest, @@ -998,6 +1000,7 @@ export { CreateAppRequestDataType } from "./models/CreateAppRequestDataType"; export { CreateAppResponse } from "./models/CreateAppResponse"; export { CreateAppResponseData } from "./models/CreateAppResponseData"; export { CreateAppResponseDataType } from "./models/CreateAppResponseDataType"; +export { CreateCustomFrameworkRequest } from "./models/CreateCustomFrameworkRequest"; export { CreateDataDeletionRequestBody } from "./models/CreateDataDeletionRequestBody"; export { CreateDataDeletionRequestBodyAttributes } from "./models/CreateDataDeletionRequestBodyAttributes"; export { CreateDataDeletionRequestBodyData } from "./models/CreateDataDeletionRequestBodyData"; @@ -1305,6 +1308,8 @@ export { FindingStatus } from "./models/FindingStatus"; export { FindingType } from "./models/FindingType"; export { FindingVulnerabilityType } from "./models/FindingVulnerabilityType"; export { FormulaLimit } from "./models/FormulaLimit"; +export { FrameworkControl } from "./models/FrameworkControl"; +export { FrameworkRequirement } from "./models/FrameworkRequirement"; export { FullAPIKey } from "./models/FullAPIKey"; export { FullAPIKeyAttributes } from "./models/FullAPIKeyAttributes"; export { FullApplicationKey } from "./models/FullApplicationKey"; @@ -2412,6 +2417,7 @@ export { UpdateAppResponseData } from "./models/UpdateAppResponseData"; export { UpdateAppResponseDataAttributes } from "./models/UpdateAppResponseDataAttributes"; export { UpdateAppResponseDataType } from "./models/UpdateAppResponseDataType"; export { UpdateAppResponseRelationship } from "./models/UpdateAppResponseRelationship"; +export { UpdateCustomFrameworkRequest } from "./models/UpdateCustomFrameworkRequest"; export { UpdateOpenAPIResponse } from "./models/UpdateOpenAPIResponse"; export { UpdateOpenAPIResponseAttributes } from "./models/UpdateOpenAPIResponseAttributes"; export { UpdateOpenAPIResponseData } from "./models/UpdateOpenAPIResponseData"; diff --git a/packages/datadog-api-client-v2/models/CreateCustomFrameworkRequest.ts b/packages/datadog-api-client-v2/models/CreateCustomFrameworkRequest.ts new file mode 100644 index 000000000000..c1a53199ba6a --- /dev/null +++ b/packages/datadog-api-client-v2/models/CreateCustomFrameworkRequest.ts @@ -0,0 +1,97 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { FrameworkRequirement } from "./FrameworkRequirement"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Framework Data. + */ +export class CreateCustomFrameworkRequest { + /** + * Framework Description + */ + "description"?: string; + /** + * Framework Handle + */ + "handle": string; + /** + * Framework Icon URL + */ + "iconUrl"?: string; + /** + * Framework Name + */ + "name": string; + /** + * Framework Requirements + */ + "requirements": Array; + /** + * Framework Version + */ + "version": string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + required: true, + }, + iconUrl: { + baseName: "icon_url", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + requirements: { + baseName: "requirements", + type: "Array", + required: true, + }, + version: { + baseName: "version", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return CreateCustomFrameworkRequest.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/FrameworkControl.ts b/packages/datadog-api-client-v2/models/FrameworkControl.ts new file mode 100644 index 000000000000..264bed575615 --- /dev/null +++ b/packages/datadog-api-client-v2/models/FrameworkControl.ts @@ -0,0 +1,62 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Framework Control. + */ +export class FrameworkControl { + /** + * Control Name. + */ + "name": string; + /** + * Rule IDs. + */ + "ruleIds": Array; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + name: { + baseName: "name", + type: "string", + required: true, + }, + ruleIds: { + baseName: "rule_ids", + type: "Array", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return FrameworkControl.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/FrameworkRequirement.ts b/packages/datadog-api-client-v2/models/FrameworkRequirement.ts new file mode 100644 index 000000000000..a5e9e1f3b26c --- /dev/null +++ b/packages/datadog-api-client-v2/models/FrameworkRequirement.ts @@ -0,0 +1,63 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { FrameworkControl } from "./FrameworkControl"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Framework Requirement. + */ +export class FrameworkRequirement { + /** + * Requirement Controls. + */ + "controls": Array; + /** + * Requirement Name. + */ + "name": string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + controls: { + baseName: "controls", + type: "Array", + required: true, + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return FrameworkRequirement.attributeTypeMap; + } + + public constructor() {} +} diff --git a/packages/datadog-api-client-v2/models/ObjectSerializer.ts b/packages/datadog-api-client-v2/models/ObjectSerializer.ts index b67d3443ecac..32f805133d6c 100644 --- a/packages/datadog-api-client-v2/models/ObjectSerializer.ts +++ b/packages/datadog-api-client-v2/models/ObjectSerializer.ts @@ -290,6 +290,7 @@ import { CreateAppRequestData } from "./CreateAppRequestData"; import { CreateAppRequestDataAttributes } from "./CreateAppRequestDataAttributes"; import { CreateAppResponse } from "./CreateAppResponse"; import { CreateAppResponseData } from "./CreateAppResponseData"; +import { CreateCustomFrameworkRequest } from "./CreateCustomFrameworkRequest"; import { CreateDataDeletionRequestBody } from "./CreateDataDeletionRequestBody"; import { CreateDataDeletionRequestBodyAttributes } from "./CreateDataDeletionRequestBodyAttributes"; import { CreateDataDeletionRequestBodyData } from "./CreateDataDeletionRequestBodyData"; @@ -532,6 +533,8 @@ import { FindingAttributes } from "./FindingAttributes"; import { FindingMute } from "./FindingMute"; import { FindingRule } from "./FindingRule"; import { FormulaLimit } from "./FormulaLimit"; +import { FrameworkControl } from "./FrameworkControl"; +import { FrameworkRequirement } from "./FrameworkRequirement"; import { FullAPIKey } from "./FullAPIKey"; import { FullAPIKeyAttributes } from "./FullAPIKeyAttributes"; import { FullApplicationKey } from "./FullApplicationKey"; @@ -1395,6 +1398,7 @@ import { UpdateAppResponse } from "./UpdateAppResponse"; import { UpdateAppResponseData } from "./UpdateAppResponseData"; import { UpdateAppResponseDataAttributes } from "./UpdateAppResponseDataAttributes"; import { UpdateAppResponseRelationship } from "./UpdateAppResponseRelationship"; +import { UpdateCustomFrameworkRequest } from "./UpdateCustomFrameworkRequest"; import { UpdateOpenAPIResponse } from "./UpdateOpenAPIResponse"; import { UpdateOpenAPIResponseAttributes } from "./UpdateOpenAPIResponseAttributes"; import { UpdateOpenAPIResponseData } from "./UpdateOpenAPIResponseData"; @@ -2613,6 +2617,7 @@ const typeMap: { [index: string]: any } = { CreateAppRequestDataAttributes: CreateAppRequestDataAttributes, CreateAppResponse: CreateAppResponse, CreateAppResponseData: CreateAppResponseData, + CreateCustomFrameworkRequest: CreateCustomFrameworkRequest, CreateDataDeletionRequestBody: CreateDataDeletionRequestBody, CreateDataDeletionRequestBodyAttributes: CreateDataDeletionRequestBodyAttributes, @@ -2893,6 +2898,8 @@ const typeMap: { [index: string]: any } = { FindingMute: FindingMute, FindingRule: FindingRule, FormulaLimit: FormulaLimit, + FrameworkControl: FrameworkControl, + FrameworkRequirement: FrameworkRequirement, FullAPIKey: FullAPIKey, FullAPIKeyAttributes: FullAPIKeyAttributes, FullApplicationKey: FullApplicationKey, @@ -3854,6 +3861,7 @@ const typeMap: { [index: string]: any } = { UpdateAppResponseData: UpdateAppResponseData, UpdateAppResponseDataAttributes: UpdateAppResponseDataAttributes, UpdateAppResponseRelationship: UpdateAppResponseRelationship, + UpdateCustomFrameworkRequest: UpdateCustomFrameworkRequest, UpdateOpenAPIResponse: UpdateOpenAPIResponse, UpdateOpenAPIResponseAttributes: UpdateOpenAPIResponseAttributes, UpdateOpenAPIResponseData: UpdateOpenAPIResponseData, diff --git a/packages/datadog-api-client-v2/models/UpdateCustomFrameworkRequest.ts b/packages/datadog-api-client-v2/models/UpdateCustomFrameworkRequest.ts new file mode 100644 index 000000000000..3c8641d37370 --- /dev/null +++ b/packages/datadog-api-client-v2/models/UpdateCustomFrameworkRequest.ts @@ -0,0 +1,97 @@ +/** + * Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. + * This product includes software developed at Datadog (https://www.datadoghq.com/). + * Copyright 2020-Present Datadog, Inc. + */ +import { FrameworkRequirement } from "./FrameworkRequirement"; + +import { AttributeTypeMap } from "../../datadog-api-client-common/util"; + +/** + * Framework Data. + */ +export class UpdateCustomFrameworkRequest { + /** + * Framework Description + */ + "description"?: string; + /** + * Framework Handle + */ + "handle": string; + /** + * Framework Icon URL + */ + "iconUrl"?: string; + /** + * Framework Name + */ + "name": string; + /** + * Framework Requirements + */ + "requirements": Array; + /** + * Framework Version + */ + "version": string; + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + "additionalProperties"?: { [key: string]: any }; + + /** + * @ignore + */ + "_unparsed"?: boolean; + + /** + * @ignore + */ + static readonly attributeTypeMap: AttributeTypeMap = { + description: { + baseName: "description", + type: "string", + }, + handle: { + baseName: "handle", + type: "string", + required: true, + }, + iconUrl: { + baseName: "icon_url", + type: "string", + }, + name: { + baseName: "name", + type: "string", + required: true, + }, + requirements: { + baseName: "requirements", + type: "Array", + required: true, + }, + version: { + baseName: "version", + type: "string", + required: true, + }, + additionalProperties: { + baseName: "additionalProperties", + type: "any", + }, + }; + + /** + * @ignore + */ + static getAttributeTypeMap(): AttributeTypeMap { + return UpdateCustomFrameworkRequest.attributeTypeMap; + } + + public constructor() {} +}