From daaeae4c7d819f81742bbd74ff4f512585229ed4 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 28 Apr 2026 09:22:51 +0000 Subject: [PATCH] Regenerate client from commit 671c6a4 of spec repo --- .generator/schemas/v2/openapi.yaml | 187 ++++++++++++++ .../MuteSecurityFindings.java | 60 +++++ .../MuteSecurityFindings_298521544.java | 59 +++++ .../MuteSecurityFindings_3830190821.java | 60 +++++ .../com/datadog/api/client/ApiClient.java | 1 + .../client/v2/api/SecurityMonitoringApi.java | 159 ++++++++++++ .../api/client/v2/model/MuteDataType.java | 53 ++++ .../v2/model/MuteFindingsMuteAttributes.java | 235 +++++++++++++++++ .../client/v2/model/MuteFindingsReason.java | 73 ++++++ .../client/v2/model/MuteFindingsRequest.java | 145 +++++++++++ .../v2/model/MuteFindingsRequestData.java | 239 ++++++++++++++++++ .../MuteFindingsRequestDataAttributes.java | 147 +++++++++++ .../MuteFindingsRequestDataRelationships.java | 147 +++++++++++ .../client/v2/model/MuteFindingsResponse.java | 136 ++++++++++ .../v2/model/MuteFindingsResponseData.java | 178 +++++++++++++ ...th_metadata_deserializes_successfully.json | 2 +- ...your_organization_returns_OK_response.json | 2 +- ...ount_config_returns_Conflict_response.json | 2 +- ...t_config_returns_Bad_Request_response.json | 2 +- ...nt_config_returns_No_Content_response.json | 2 +- ...turns_AWS_External_ID_object_response.json | 2 +- ...g_returns_AWS_Account_object_response.json | 2 +- ...t_config_returns_Bad_Request_response.json | 2 +- ...rns_AWS_Accounts_List_object_response.json | 2 +- ...s_AWS_Namespaces_List_object_response.json | 2 +- ...s_AWS_Namespaces_List_object_response.json | 2 +- ...t_config_returns_Bad_Request_response.json | 2 +- ...ive_case_returns_Bad_Request_response.json | 2 +- .../v2/Archive_case_returns_OK_response.json | 2 +- ...ign_case_returns_Bad_Request_response.json | 2 +- .../v2/Assign_case_returns_OK_response.json | 2 +- ...re_items_returns_Bad_Request_response.json | 2 +- ...e_datastore_items_returns_OK_response.json | 2 +- ...re_items_returns_Bad_Request_response.json | 2 +- ...e_datastore_items_returns_OK_response.json | 2 +- ..._a_historical_job_returns_OK_response.json | 2 +- ...ent_case_returns_Bad_Request_response.json | 2 +- .../v2/Comment_case_returns_OK_response.json | 2 +- ...eturns_AWS_CCM_Config_object_response.json | 4 +- ..._CCM_config_returns_Conflict_response.json | 4 +- ..._options_returns_Bad_Request_response.json | 2 +- .../Create_App_returns_Created_response.json | 2 +- ...can_options_returns_Conflict_response.json | 2 +- ..._Connection_returns_Conflict_response.json | 4 +- ...te_Org_Connection_returns_OK_response.json | 2 +- ...te_Scanning_Group_returns_OK_response.json | 2 +- ...ate_Scanning_Rule_returns_OK_response.json | 4 +- ...should_save_match_returns_OK_response.json | 4 +- ...Workflow_returns_Bad_request_response.json | 2 +- ...Workflow_returns_Bad_request_response.json | 2 +- ...m_framework_returns_Conflict_response.json | 6 +- ..._custom_framework_returns_OK_response.json | 4 +- ...e_a_dataset_returns_Conflict_response.json | 4 +- .../Create_a_dataset_returns_OK_response.json | 2 +- ...restriction_query_returns_OK_response.json | 2 +- ...t_returns_AWS_Account_object_response.json | 2 +- ...integration_returns_Conflict_response.json | 4 +- ...ncident_type_returns_CREATED_response.json | 2 +- ...ase_type_returns_Bad_Request_response.json | 2 +- ..._a_case_type_returns_CREATED_response.json | 2 +- ...ication_rule_returns_Created_response.json | 2 +- ...ion_template_returns_Created_response.json | 2 +- ...with_a_permission_returns_OK_response.json | 2 +- ..._deletion_request_returns_OK_response.json | 2 +- ...CM_config_returns_No_Content_response.json | 2 +- .../v2/Delete_App_returns_OK_response.json | 2 +- ...ete_Multiple_Apps_returns_OK_response.json | 2 +- ...te_Org_Connection_returns_OK_response.json | 2 +- ...te_Scanning_Group_returns_OK_response.json | 4 +- ...ete_Scanning_Rule_returns_OK_response.json | 4 +- ...case_type_returns_NotContent_response.json | 2 +- ...elete_a_case_type_returns_OK_response.json | 2 +- ..._custom_framework_returns_OK_response.json | 6 +- ...a_dataset_returns_No_Content_response.json | 2 +- ...Delete_a_pipeline_returns_OK_response.json | 2 +- ...restriction_query_returns_OK_response.json | 2 +- ..._retention_filter_returns_OK_response.json | 2 +- ...egration_returns_Bad_Request_response.json | 2 +- ...tegration_returns_No_Content_response.json | 2 +- ...ntegration_returns_Not_Found_response.json | 2 +- ..._an_incident_type_returns_OK_response.json | 2 +- ..._comment_returns_Bad_Request_response.json | 2 +- ...e_comment_returns_No_Content_response.json | 2 +- ...se_comment_returns_Not_Found_response.json | 2 +- ..._from_case_returns_Not_Found_response.json | 2 +- ...tribute_from_case_returns_OK_response.json | 2 +- ...s_config_returns_Bad_Request_response.json | 2 +- ...es_config_returns_No_Content_response.json | 2 +- ...te_datastore_item_returns_OK_response.json | 2 +- ...tion_rule_returns_No_Content_response.json | 2 +- ..._template_returns_No_Content_response.json | 2 +- .../Edit_a_dataset_returns_OK_response.json | 2 +- ...turns_AWS_External_ID_object_response.json | 2 +- ...turns_AWS_External_ID_object_response.json | 2 +- ...sk_by_id_returns_Bad_Request_response.json | 2 +- ...task_by_id_returns_Not_Found_response.json | 2 +- ...Demand_task_by_id_returns_OK_response.json | 2 +- ...S_On_Demand_tasks_returns_OK_response.json | 2 +- ...and_task_returns_Bad_Request_response.json | 2 +- ...emand_task_returns_Not_Found_response.json | 2 +- ...WS_on_demand_task_returns_OK_response.json | 2 +- .../v2/Get_App_returns_Gone_response.json | 2 +- .../v2/Get_App_returns_OK_response.json | 2 +- ..._GCP_scan_options_returns_OK_response.json | 2 +- ..._exclusion_filter_returns_OK_response.json | 2 +- ..._a_critical_asset_returns_OK_response.json | 2 +- ..._custom_framework_returns_OK_response.json | 4 +- ..._retention_filter_returns_OK_response.json | 2 +- ...t_a_job_s_details_returns_OK_response.json | 2 +- ...restriction_query_returns_OK_response.json | 2 +- ...gle_dataset_by_ID_returns_OK_response.json | 2 +- ...specific_pipeline_returns_OK_response.json | 2 +- ...nfig_of_case_type_returns_OK_response.json | 2 +- .../Get_all_datasets_returns_OK_response.json | 2 +- .../v2/Get_all_rules_returns_OK_response.json | 2 +- ...D_returns_AWS_Account_object_response.json | 2 +- ...onfig_ID_returns_Bad_Request_response.json | 2 +- .../v2/Get_datastore_returns_OK_response.json | 2 +- ...fication_template_returns_OK_response.json | 2 +- ...WS_Logs_Services_List_object_response.json | 2 +- ...details_of_a_case_returns_OK_response.json | 2 +- ...deletion_requests_returns_OK_response.json | 2 +- ...mission_to_a_role_returns_OK_response.json | 2 +- ...restriction_query_returns_OK_response.json | 2 +- ...S_on_demand_tasks_returns_OK_response.json | 2 +- ..._GCP_scan_options_returns_OK_response.json | 2 +- ...t_Scanning_Groups_returns_OK_response.json | 6 +- ...rns_AWS_Accounts_List_object_response.json | 2 +- .../List_all_rules_returns_OK_response.json | 2 +- ...t_datastore_items_returns_OK_response.json | 2 +- ...otification_rules_returns_OK_response.json | 2 +- ...WS_Logs_Services_List_object_response.json | 2 +- ...s_AWS_Namespaces_List_object_response.json | 2 +- ...ssions_for_a_role_returns_OK_response.json | 2 +- .../List_permissions_returns_OK_response.json | 2 +- ...restriction_query_returns_OK_response.json | 2 +- ..._findings_returns_Accepted_response.freeze | 1 + ...ty_findings_returns_Accepted_response.json | 32 +++ ...findings_returns_Not_Found_response.freeze | 1 + ...y_findings_returns_Not_Found_response.json | 32 +++ ...turns_Unprocessable_Entity_response.freeze | 1 + ...returns_Unprocessable_Entity_response.json | 32 +++ ...n_Options_returns_No_Content_response.json | 2 +- ..._GCP_Scan_Options_returns_OK_response.json | 2 +- ..._Options_returns_Bad_Request_response.json | 2 +- ...can_Options_returns_Conflict_response.json | 2 +- .../Publish_App_returns_Created_response.json | 2 +- ...r_Groups_returns_Bad_Request_response.json | 4 +- .../Reorder_Groups_returns_OK_response.json | 6 +- ...permission_returns_Not_found_response.json | 2 +- ...Revoke_permission_returns_OK_response.json | 2 +- ...ive_case_returns_Bad_Request_response.json | 2 +- .../Unarchive_case_returns_OK_response.json | 2 +- ...ign_case_returns_Bad_Request_response.json | 2 +- .../v2/Unassign_case_returns_OK_response.json | 2 +- ..._findings_returns_Accepted_response.freeze | 1 + ...ty_findings_returns_Accepted_response.json | 32 +++ ...findings_returns_Not_Found_response.freeze | 1 + ...y_findings_returns_Not_Found_response.json | 32 +++ ...turns_Unprocessable_Entity_response.freeze | 1 + ...returns_Unprocessable_Entity_response.json | 32 +++ .../v2/Unpublish_App_returns_OK_response.json | 2 +- ...n_options_returns_No_Content_response.json | 2 +- ...date_App_returns_Bad_Request_response.json | 2 +- .../v2/Update_App_returns_OK_response.json | 2 +- ..._GCP_scan_options_returns_OK_response.json | 2 +- ...nnection_returns_Bad_Request_response.json | 2 +- ...Connection_returns_Not_Found_response.json | 2 +- ...te_Org_Connection_returns_OK_response.json | 2 +- ...te_Scanning_Group_returns_OK_response.json | 4 +- ...ing_Rule_returns_Bad_Request_response.json | 4 +- ...ate_Scanning_Rule_returns_OK_response.json | 4 +- ..._a_critical_asset_returns_OK_response.json | 2 +- ..._custom_framework_returns_OK_response.json | 4 +- ...n_filter_returns_Bad_Request_response.json | 2 +- ...Update_a_pipeline_returns_OK_response.json | 2 +- ...n_filter_returns_Bad_Request_response.json | 2 +- ...ion_filter_returns_Not_Found_response.json | 2 +- ..._retention_filter_returns_OK_response.json | 2 +- ..._filters_returns_Bad_Request_response.json | 2 +- ...on_filters_returns_Not_Found_response.json | 2 +- ...e_a_role_returns_Bad_Request_response.json | 2 +- ...ate_a_role_returns_Not_found_response.json | 2 +- ...n_returns_AWS_Account_object_response.json | 2 +- ...egration_returns_Bad_Request_response.json | 2 +- ..._an_incident_type_returns_OK_response.json | 2 +- ...e_case_attributes_returns_OK_response.json | 2 +- ...ttribute_returns_Bad_Request_response.json | 2 +- ..._attribute_returns_Not_Found_response.json | 2 +- ..._custom_attribute_returns_OK_response.json | 2 +- ..._case_description_returns_OK_response.json | 2 +- ...priority_returns_Bad_Request_response.json | 2 +- ...ate_case_priority_returns_OK_response.json | 2 +- ...e_status_returns_Bad_Request_response.json | 2 +- ...pdate_case_status_returns_OK_response.json | 2 +- ...se_title_returns_Bad_Request_response.json | 2 +- ...Update_case_title_returns_OK_response.json | 2 +- ...te_datastore_item_returns_OK_response.json | 2 +- .../Update_datastore_returns_OK_response.json | 2 +- ...notification_rule_returns_OK_response.json | 2 +- ...fication_template_returns_OK_response.json | 2 +- .../client/v2/api/security_monitoring.feature | 80 ++++++ .../com/datadog/api/client/v2/api/undo.json | 6 + 203 files changed, 2361 insertions(+), 198 deletions(-) create mode 100644 examples/v2/security-monitoring/MuteSecurityFindings.java create mode 100644 examples/v2/security-monitoring/MuteSecurityFindings_298521544.java create mode 100644 examples/v2/security-monitoring/MuteSecurityFindings_3830190821.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteDataType.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsMuteAttributes.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsReason.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequest.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestData.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataAttributes.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataRelationships.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponse.java create mode 100644 src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponseData.java create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.json create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.json create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.json create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.json create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.json create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.freeze create mode 100644 src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.json diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 478df242ef8..bcbb1f15007 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -45082,6 +45082,125 @@ components: meta: $ref: "#/components/schemas/MonthlyCostAttributionMeta" type: object + MuteDataType: + default: mute + description: Mute resource type. + enum: + - mute + example: mute + type: string + x-enum-varnames: + - MUTE + MuteFindingsMuteAttributes: + description: Mute properties to apply to the findings. + properties: + description: + description: Additional information about the reason why the findings are muted or unmuted. This field has a limit of 280 characters. + example: "To be resolved later." + type: string + expire_at: + description: >- + The expiration date of the mute action (Unix ms). It must be set to a value greater than the current timestamp. If this field is not provided, the findings remain muted indefinitely. + example: 1778721573794 + format: int64 + type: integer + is_muted: + description: Whether the findings should be muted or unmuted. + example: true + type: boolean + reason: + $ref: "#/components/schemas/MuteFindingsReason" + description: The reason why the findings are muted or unmuted. + required: + - is_muted + - reason + type: object + MuteFindingsReason: + description: The reason why the findings are muted or unmuted. + enum: + - PENDING_FIX + - FALSE_POSITIVE + - OTHER + - NO_FIX + - DUPLICATE + - RISK_ACCEPTED + - NO_PENDING_FIX + - HUMAN_ERROR + - NO_LONGER_ACCEPTED_RISK + example: PENDING_FIX + type: string + x-enum-varnames: + - PENDING_FIX + - FALSE_POSITIVE + - OTHER + - NO_FIX + - DUPLICATE + - RISK_ACCEPTED + - NO_PENDING_FIX + - HUMAN_ERROR + - NO_LONGER_ACCEPTED_RISK + MuteFindingsRequest: + description: Request to mute or unmute security findings. + properties: + data: + $ref: "#/components/schemas/MuteFindingsRequestData" + required: + - data + type: object + MuteFindingsRequestData: + description: Data of the mute request. + properties: + attributes: + $ref: "#/components/schemas/MuteFindingsRequestDataAttributes" + id: + description: Unique identifier of the mute request. + example: "93bfeb70-af47-424d-908a-948d3f08e37f" + type: string + relationships: + $ref: "#/components/schemas/MuteFindingsRequestDataRelationships" + type: + $ref: "#/components/schemas/MuteDataType" + required: + - attributes + - relationships + - type + type: object + MuteFindingsRequestDataAttributes: + description: Attributes of the mute request. + properties: + mute: + $ref: "#/components/schemas/MuteFindingsMuteAttributes" + required: + - mute + type: object + MuteFindingsRequestDataRelationships: + description: Relationships of the mute request. + properties: + findings: + $ref: "#/components/schemas/Findings" + description: Security findings to mute or unmute. + required: + - findings + type: object + MuteFindingsResponse: + description: Response for the mute or unmute request. + properties: + data: + $ref: "#/components/schemas/MuteFindingsResponseData" + type: object + MuteFindingsResponseData: + description: Data of the mute response. + properties: + id: + description: Unique identifier of the mute request. + example: "93bfeb70-af47-424d-908a-948d3f08e37f" + type: string + type: + $ref: "#/components/schemas/MuteDataType" + required: + - type + - id + type: object NotebookCreateData: description: Notebook creation data properties: @@ -118827,6 +118946,74 @@ paths: permissions: - security_monitoring_findings_write - appsec_vm_write + /api/v2/security/findings/mute: + patch: + description: >- + Mute or unmute security findings. + + You can mute or unmute up to 100 security findings per request. The request body must include `is_muted` and `reason` attributes. The allowed reasons depend on whether the finding is being muted or unmuted: + - To mute a finding: `PENDING_FIX`, `FALSE_POSITIVE`, `OTHER`, `NO_FIX`, `DUPLICATE`, `RISK_ACCEPTED`. + - To unmute a finding: `NO_PENDING_FIX`, `HUMAN_ERROR`, `NO_LONGER_ACCEPTED_RISK`, `OTHER`. + operationId: MuteSecurityFindings + requestBody: + content: + application/json: + examples: + default: + value: + data: + attributes: + mute: + description: "To be resolved later." + expire_at: 1778721573794 + is_muted: true + reason: "RISK_ACCEPTED" + relationships: + findings: + data: + - id: "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==" + type: "findings" + type: "mute" + schema: + $ref: "#/components/schemas/MuteFindingsRequest" + required: true + responses: + "202": + content: + application/json: + schema: + $ref: "#/components/schemas/MuteFindingsResponse" + description: Accepted + "400": + $ref: "#/components/responses/BadRequestResponse" + "401": + $ref: "#/components/responses/UnauthorizedResponse" + "404": + $ref: "#/components/responses/NotFoundResponse" + "422": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: "Unprocessable Entity" + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + security: + - apiKeyAuth: [] + appKeyAuth: [] + - AuthZ: [] + summary: Mute or unmute security findings + tags: + - "Security Monitoring" + x-codegen-request-body-name: body + "x-permission": + operator: OR + permissions: + - security_monitoring_findings_write + - appsec_vm_write + x-unstable: |- + **Note**: This endpoint is in preview and is subject to change. + If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/security/findings/search: post: description: |- diff --git a/examples/v2/security-monitoring/MuteSecurityFindings.java b/examples/v2/security-monitoring/MuteSecurityFindings.java new file mode 100644 index 00000000000..805c47b8ecb --- /dev/null +++ b/examples/v2/security-monitoring/MuteSecurityFindings.java @@ -0,0 +1,60 @@ +// Mute or unmute security findings returns "Accepted" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.SecurityMonitoringApi; +import com.datadog.api.client.v2.model.FindingData; +import com.datadog.api.client.v2.model.FindingDataType; +import com.datadog.api.client.v2.model.Findings; +import com.datadog.api.client.v2.model.MuteDataType; +import com.datadog.api.client.v2.model.MuteFindingsMuteAttributes; +import com.datadog.api.client.v2.model.MuteFindingsReason; +import com.datadog.api.client.v2.model.MuteFindingsRequest; +import com.datadog.api.client.v2.model.MuteFindingsRequestData; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataAttributes; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataRelationships; +import com.datadog.api.client.v2.model.MuteFindingsResponse; +import java.util.Collections; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.muteSecurityFindings", true); + SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient); + + MuteFindingsRequest body = + new MuteFindingsRequest() + .data( + new MuteFindingsRequestData() + .attributes( + new MuteFindingsRequestDataAttributes() + .mute( + new MuteFindingsMuteAttributes() + .description("To be resolved later.") + .expireAt(1778721573794L) + .isMuted(true) + .reason(MuteFindingsReason.PENDING_FIX))) + .id("93bfeb70-af47-424d-908a-948d3f08e37f") + .relationships( + new MuteFindingsRequestDataRelationships() + .findings( + new Findings() + .data( + Collections.singletonList( + new FindingData() + .id("ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==") + .type(FindingDataType.FINDINGS))))) + .type(MuteDataType.MUTE)); + + try { + MuteFindingsResponse result = apiInstance.muteSecurityFindings(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SecurityMonitoringApi#muteSecurityFindings"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/security-monitoring/MuteSecurityFindings_298521544.java b/examples/v2/security-monitoring/MuteSecurityFindings_298521544.java new file mode 100644 index 00000000000..2cf83e21c90 --- /dev/null +++ b/examples/v2/security-monitoring/MuteSecurityFindings_298521544.java @@ -0,0 +1,59 @@ +// Unmute security findings returns "Accepted" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.SecurityMonitoringApi; +import com.datadog.api.client.v2.model.FindingData; +import com.datadog.api.client.v2.model.FindingDataType; +import com.datadog.api.client.v2.model.Findings; +import com.datadog.api.client.v2.model.MuteDataType; +import com.datadog.api.client.v2.model.MuteFindingsMuteAttributes; +import com.datadog.api.client.v2.model.MuteFindingsReason; +import com.datadog.api.client.v2.model.MuteFindingsRequest; +import com.datadog.api.client.v2.model.MuteFindingsRequestData; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataAttributes; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataRelationships; +import com.datadog.api.client.v2.model.MuteFindingsResponse; +import java.util.Collections; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.muteSecurityFindings", true); + SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient); + + MuteFindingsRequest body = + new MuteFindingsRequest() + .data( + new MuteFindingsRequestData() + .attributes( + new MuteFindingsRequestDataAttributes() + .mute( + new MuteFindingsMuteAttributes() + .description("Resolved.") + .isMuted(false) + .reason(MuteFindingsReason.NO_PENDING_FIX))) + .relationships( + new MuteFindingsRequestDataRelationships() + .findings( + new Findings() + .data( + Collections.singletonList( + new FindingData() + .id( + "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=") + .type(FindingDataType.FINDINGS))))) + .type(MuteDataType.MUTE)); + + try { + MuteFindingsResponse result = apiInstance.muteSecurityFindings(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SecurityMonitoringApi#muteSecurityFindings"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/examples/v2/security-monitoring/MuteSecurityFindings_3830190821.java b/examples/v2/security-monitoring/MuteSecurityFindings_3830190821.java new file mode 100644 index 00000000000..88718d8cbc0 --- /dev/null +++ b/examples/v2/security-monitoring/MuteSecurityFindings_3830190821.java @@ -0,0 +1,60 @@ +// Mute security findings returns "Accepted" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.SecurityMonitoringApi; +import com.datadog.api.client.v2.model.FindingData; +import com.datadog.api.client.v2.model.FindingDataType; +import com.datadog.api.client.v2.model.Findings; +import com.datadog.api.client.v2.model.MuteDataType; +import com.datadog.api.client.v2.model.MuteFindingsMuteAttributes; +import com.datadog.api.client.v2.model.MuteFindingsReason; +import com.datadog.api.client.v2.model.MuteFindingsRequest; +import com.datadog.api.client.v2.model.MuteFindingsRequestData; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataAttributes; +import com.datadog.api.client.v2.model.MuteFindingsRequestDataRelationships; +import com.datadog.api.client.v2.model.MuteFindingsResponse; +import java.util.Collections; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.muteSecurityFindings", true); + SecurityMonitoringApi apiInstance = new SecurityMonitoringApi(defaultClient); + + MuteFindingsRequest body = + new MuteFindingsRequest() + .data( + new MuteFindingsRequestData() + .attributes( + new MuteFindingsRequestDataAttributes() + .mute( + new MuteFindingsMuteAttributes() + .description("To be resolved later.") + .expireAt(1778721573794L) + .isMuted(true) + .reason(MuteFindingsReason.RISK_ACCEPTED))) + .relationships( + new MuteFindingsRequestDataRelationships() + .findings( + new Findings() + .data( + Collections.singletonList( + new FindingData() + .id( + "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=") + .type(FindingDataType.FINDINGS))))) + .type(MuteDataType.MUTE)); + + try { + MuteFindingsResponse result = apiInstance.muteSecurityFindings(body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SecurityMonitoringApi#muteSecurityFindings"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index b0fd4ca270c..699b6df241c 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -858,6 +858,7 @@ public class ApiClient { put("v2.listVulnerabilities", false); put("v2.listVulnerableAssets", false); put("v2.muteFindings", false); + put("v2.muteSecurityFindings", false); put("v2.runHistoricalJob", false); put("v2.searchSecurityMonitoringHistsignals", false); put("v2.getCodeCoverageBranchSummary", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java b/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java index a1f8c376055..4303ecac93a 100644 --- a/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/SecurityMonitoringApi.java @@ -43,6 +43,8 @@ import com.datadog.api.client.v2.model.ListSecurityFindingsResponse; import com.datadog.api.client.v2.model.ListVulnerabilitiesResponse; import com.datadog.api.client.v2.model.ListVulnerableAssetsResponse; +import com.datadog.api.client.v2.model.MuteFindingsRequest; +import com.datadog.api.client.v2.model.MuteFindingsResponse; import com.datadog.api.client.v2.model.NotificationRuleResponse; import com.datadog.api.client.v2.model.PatchNotificationRuleParameters; import com.datadog.api.client.v2.model.RunHistoricalJobRequest; @@ -15222,6 +15224,163 @@ public CompletableFuture> muteFindingsWith new GenericType() {}); } + /** + * Mute or unmute security findings. + * + *

See {@link #muteSecurityFindingsWithHttpInfo}. + * + * @param body (required) + * @return MuteFindingsResponse + * @throws ApiException if fails to make API call + */ + public MuteFindingsResponse muteSecurityFindings(MuteFindingsRequest body) throws ApiException { + return muteSecurityFindingsWithHttpInfo(body).getData(); + } + + /** + * Mute or unmute security findings. + * + *

See {@link #muteSecurityFindingsWithHttpInfoAsync}. + * + * @param body (required) + * @return CompletableFuture<MuteFindingsResponse> + */ + public CompletableFuture muteSecurityFindingsAsync( + MuteFindingsRequest body) { + return muteSecurityFindingsWithHttpInfoAsync(body) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Mute or unmute security findings. You can mute or unmute up to 100 security findings per + * request. The request body must include is_muted and reason + * attributes. The allowed reasons depend on whether the finding is being muted or unmuted: - To + * mute a finding: PENDING_FIX, FALSE_POSITIVE, OTHER, + * NO_FIX, DUPLICATE, RISK_ACCEPTED. - To unmute a finding: + * NO_PENDING_FIX, HUMAN_ERROR, NO_LONGER_ACCEPTED_RISK, + * OTHER. + * + * @param body (required) + * @return ApiResponse<MuteFindingsResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
202 Accepted -
400 Bad Request -
401 Unauthorized -
404 Not Found -
422 Unprocessable Entity -
429 Too many requests -
+ */ + public ApiResponse muteSecurityFindingsWithHttpInfo( + MuteFindingsRequest body) throws ApiException { + // Check if unstable operation is enabled + String operationId = "muteSecurityFindings"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)); + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + throw new ApiException( + 400, "Missing the required parameter 'body' when calling muteSecurityFindings"); + } + // create path and map variables + String localVarPath = "/api/v2/security/findings/mute"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.SecurityMonitoringApi.muteSecurityFindings", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + return apiClient.invokeAPI( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Mute or unmute security findings. + * + *

See {@link #muteSecurityFindingsWithHttpInfo}. + * + * @param body (required) + * @return CompletableFuture<ApiResponse<MuteFindingsResponse>> + */ + public CompletableFuture> muteSecurityFindingsWithHttpInfoAsync( + MuteFindingsRequest body) { + // Check if unstable operation is enabled + String operationId = "muteSecurityFindings"; + if (apiClient.isUnstableOperationEnabled("v2." + operationId)) { + apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId)); + } else { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId))); + return result; + } + Object localVarPostBody = body; + + // verify the required parameter 'body' is set + if (body == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, "Missing the required parameter 'body' when calling muteSecurityFindings")); + return result; + } + // create path and map variables + String localVarPath = "/api/v2/security/findings/mute"; + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.SecurityMonitoringApi.muteSecurityFindings", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "PATCH", + builder, + localVarHeaderParams, + new String[] {"application/json"}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** * Patch a signal-based notification rule. * diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteDataType.java b/src/main/java/com/datadog/api/client/v2/model/MuteDataType.java new file mode 100644 index 00000000000..e293780cca1 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteDataType.java @@ -0,0 +1,53 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** Mute resource type. */ +@JsonSerialize(using = MuteDataType.MuteDataTypeSerializer.class) +public class MuteDataType extends ModelEnum { + + private static final Set allowedValues = new HashSet(Arrays.asList("mute")); + + public static final MuteDataType MUTE = new MuteDataType("mute"); + + MuteDataType(String value) { + super(value, allowedValues); + } + + public static class MuteDataTypeSerializer extends StdSerializer { + public MuteDataTypeSerializer(Class t) { + super(t); + } + + public MuteDataTypeSerializer() { + this(null); + } + + @Override + public void serialize(MuteDataType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static MuteDataType fromValue(String value) { + return new MuteDataType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsMuteAttributes.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsMuteAttributes.java new file mode 100644 index 00000000000..f72852e9ca0 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsMuteAttributes.java @@ -0,0 +1,235 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Mute properties to apply to the findings. */ +@JsonPropertyOrder({ + MuteFindingsMuteAttributes.JSON_PROPERTY_DESCRIPTION, + MuteFindingsMuteAttributes.JSON_PROPERTY_EXPIRE_AT, + MuteFindingsMuteAttributes.JSON_PROPERTY_IS_MUTED, + MuteFindingsMuteAttributes.JSON_PROPERTY_REASON +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsMuteAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_EXPIRE_AT = "expire_at"; + private Long expireAt; + + public static final String JSON_PROPERTY_IS_MUTED = "is_muted"; + private Boolean isMuted; + + public static final String JSON_PROPERTY_REASON = "reason"; + private MuteFindingsReason reason; + + public MuteFindingsMuteAttributes() {} + + @JsonCreator + public MuteFindingsMuteAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_IS_MUTED) Boolean isMuted, + @JsonProperty(required = true, value = JSON_PROPERTY_REASON) MuteFindingsReason reason) { + this.isMuted = isMuted; + this.reason = reason; + this.unparsed |= !reason.isValid(); + } + + public MuteFindingsMuteAttributes description(String description) { + this.description = description; + return this; + } + + /** + * Additional information about the reason why the findings are muted or unmuted. This field has a + * limit of 280 characters. + * + * @return description + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public MuteFindingsMuteAttributes expireAt(Long expireAt) { + this.expireAt = expireAt; + return this; + } + + /** + * The expiration date of the mute action (Unix ms). It must be set to a value greater than the + * current timestamp. If this field is not provided, the findings remain muted indefinitely. + * + * @return expireAt + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EXPIRE_AT) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Long getExpireAt() { + return expireAt; + } + + public void setExpireAt(Long expireAt) { + this.expireAt = expireAt; + } + + public MuteFindingsMuteAttributes isMuted(Boolean isMuted) { + this.isMuted = isMuted; + return this; + } + + /** + * Whether the findings should be muted or unmuted. + * + * @return isMuted + */ + @JsonProperty(JSON_PROPERTY_IS_MUTED) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Boolean getIsMuted() { + return isMuted; + } + + public void setIsMuted(Boolean isMuted) { + this.isMuted = isMuted; + } + + public MuteFindingsMuteAttributes reason(MuteFindingsReason reason) { + this.reason = reason; + this.unparsed |= !reason.isValid(); + return this; + } + + /** + * The reason why the findings are muted or unmuted. + * + * @return reason + */ + @JsonProperty(JSON_PROPERTY_REASON) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteFindingsReason getReason() { + return reason; + } + + public void setReason(MuteFindingsReason reason) { + if (!reason.isValid()) { + this.unparsed = true; + } + this.reason = reason; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsMuteAttributes + */ + @JsonAnySetter + public MuteFindingsMuteAttributes putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsMuteAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsMuteAttributes muteFindingsMuteAttributes = (MuteFindingsMuteAttributes) o; + return Objects.equals(this.description, muteFindingsMuteAttributes.description) + && Objects.equals(this.expireAt, muteFindingsMuteAttributes.expireAt) + && Objects.equals(this.isMuted, muteFindingsMuteAttributes.isMuted) + && Objects.equals(this.reason, muteFindingsMuteAttributes.reason) + && Objects.equals( + this.additionalProperties, muteFindingsMuteAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(description, expireAt, isMuted, reason, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsMuteAttributes {\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" expireAt: ").append(toIndentedString(expireAt)).append("\n"); + sb.append(" isMuted: ").append(toIndentedString(isMuted)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsReason.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsReason.java new file mode 100644 index 00000000000..deaaba54114 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsReason.java @@ -0,0 +1,73 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.datadog.api.client.ModelEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.SerializerProvider; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.StdSerializer; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashSet; +import java.util.Set; + +/** The reason why the findings are muted or unmuted. */ +@JsonSerialize(using = MuteFindingsReason.MuteFindingsReasonSerializer.class) +public class MuteFindingsReason extends ModelEnum { + + private static final Set allowedValues = + new HashSet( + Arrays.asList( + "PENDING_FIX", + "FALSE_POSITIVE", + "OTHER", + "NO_FIX", + "DUPLICATE", + "RISK_ACCEPTED", + "NO_PENDING_FIX", + "HUMAN_ERROR", + "NO_LONGER_ACCEPTED_RISK")); + + public static final MuteFindingsReason PENDING_FIX = new MuteFindingsReason("PENDING_FIX"); + public static final MuteFindingsReason FALSE_POSITIVE = new MuteFindingsReason("FALSE_POSITIVE"); + public static final MuteFindingsReason OTHER = new MuteFindingsReason("OTHER"); + public static final MuteFindingsReason NO_FIX = new MuteFindingsReason("NO_FIX"); + public static final MuteFindingsReason DUPLICATE = new MuteFindingsReason("DUPLICATE"); + public static final MuteFindingsReason RISK_ACCEPTED = new MuteFindingsReason("RISK_ACCEPTED"); + public static final MuteFindingsReason NO_PENDING_FIX = new MuteFindingsReason("NO_PENDING_FIX"); + public static final MuteFindingsReason HUMAN_ERROR = new MuteFindingsReason("HUMAN_ERROR"); + public static final MuteFindingsReason NO_LONGER_ACCEPTED_RISK = + new MuteFindingsReason("NO_LONGER_ACCEPTED_RISK"); + + MuteFindingsReason(String value) { + super(value, allowedValues); + } + + public static class MuteFindingsReasonSerializer extends StdSerializer { + public MuteFindingsReasonSerializer(Class t) { + super(t); + } + + public MuteFindingsReasonSerializer() { + this(null); + } + + @Override + public void serialize(MuteFindingsReason value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static MuteFindingsReason fromValue(String value) { + return new MuteFindingsReason(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequest.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequest.java new file mode 100644 index 00000000000..5f9b829f709 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequest.java @@ -0,0 +1,145 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Request to mute or unmute security findings. */ +@JsonPropertyOrder({MuteFindingsRequest.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsRequest { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MuteFindingsRequestData data; + + public MuteFindingsRequest() {} + + @JsonCreator + public MuteFindingsRequest( + @JsonProperty(required = true, value = JSON_PROPERTY_DATA) MuteFindingsRequestData data) { + this.data = data; + this.unparsed |= data.unparsed; + } + + public MuteFindingsRequest data(MuteFindingsRequestData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data of the mute request. + * + * @return data + */ + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteFindingsRequestData getData() { + return data; + } + + public void setData(MuteFindingsRequestData data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsRequest + */ + @JsonAnySetter + public MuteFindingsRequest putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsRequest object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsRequest muteFindingsRequest = (MuteFindingsRequest) o; + return Objects.equals(this.data, muteFindingsRequest.data) + && Objects.equals(this.additionalProperties, muteFindingsRequest.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsRequest {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestData.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestData.java new file mode 100644 index 00000000000..55195bfd4e0 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestData.java @@ -0,0 +1,239 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data of the mute request. */ +@JsonPropertyOrder({ + MuteFindingsRequestData.JSON_PROPERTY_ATTRIBUTES, + MuteFindingsRequestData.JSON_PROPERTY_ID, + MuteFindingsRequestData.JSON_PROPERTY_RELATIONSHIPS, + MuteFindingsRequestData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsRequestData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ATTRIBUTES = "attributes"; + private MuteFindingsRequestDataAttributes attributes; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_RELATIONSHIPS = "relationships"; + private MuteFindingsRequestDataRelationships relationships; + + public static final String JSON_PROPERTY_TYPE = "type"; + private MuteDataType type = MuteDataType.MUTE; + + public MuteFindingsRequestData() {} + + @JsonCreator + public MuteFindingsRequestData( + @JsonProperty(required = true, value = JSON_PROPERTY_ATTRIBUTES) + MuteFindingsRequestDataAttributes attributes, + @JsonProperty(required = true, value = JSON_PROPERTY_RELATIONSHIPS) + MuteFindingsRequestDataRelationships relationships, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) MuteDataType type) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + this.relationships = relationships; + this.unparsed |= relationships.unparsed; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MuteFindingsRequestData attributes(MuteFindingsRequestDataAttributes attributes) { + this.attributes = attributes; + this.unparsed |= attributes.unparsed; + return this; + } + + /** + * Attributes of the mute request. + * + * @return attributes + */ + @JsonProperty(JSON_PROPERTY_ATTRIBUTES) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteFindingsRequestDataAttributes getAttributes() { + return attributes; + } + + public void setAttributes(MuteFindingsRequestDataAttributes attributes) { + this.attributes = attributes; + } + + public MuteFindingsRequestData id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the mute request. + * + * @return id + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public MuteFindingsRequestData relationships(MuteFindingsRequestDataRelationships relationships) { + this.relationships = relationships; + this.unparsed |= relationships.unparsed; + return this; + } + + /** + * Relationships of the mute request. + * + * @return relationships + */ + @JsonProperty(JSON_PROPERTY_RELATIONSHIPS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteFindingsRequestDataRelationships getRelationships() { + return relationships; + } + + public void setRelationships(MuteFindingsRequestDataRelationships relationships) { + this.relationships = relationships; + } + + public MuteFindingsRequestData type(MuteDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Mute resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteDataType getType() { + return type; + } + + public void setType(MuteDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsRequestData + */ + @JsonAnySetter + public MuteFindingsRequestData putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsRequestData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsRequestData muteFindingsRequestData = (MuteFindingsRequestData) o; + return Objects.equals(this.attributes, muteFindingsRequestData.attributes) + && Objects.equals(this.id, muteFindingsRequestData.id) + && Objects.equals(this.relationships, muteFindingsRequestData.relationships) + && Objects.equals(this.type, muteFindingsRequestData.type) + && Objects.equals(this.additionalProperties, muteFindingsRequestData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(attributes, id, relationships, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsRequestData {\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" relationships: ").append(toIndentedString(relationships)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataAttributes.java new file mode 100644 index 00000000000..391b38b5400 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataAttributes.java @@ -0,0 +1,147 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Attributes of the mute request. */ +@JsonPropertyOrder({MuteFindingsRequestDataAttributes.JSON_PROPERTY_MUTE}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsRequestDataAttributes { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_MUTE = "mute"; + private MuteFindingsMuteAttributes mute; + + public MuteFindingsRequestDataAttributes() {} + + @JsonCreator + public MuteFindingsRequestDataAttributes( + @JsonProperty(required = true, value = JSON_PROPERTY_MUTE) MuteFindingsMuteAttributes mute) { + this.mute = mute; + this.unparsed |= mute.unparsed; + } + + public MuteFindingsRequestDataAttributes mute(MuteFindingsMuteAttributes mute) { + this.mute = mute; + this.unparsed |= mute.unparsed; + return this; + } + + /** + * Mute properties to apply to the findings. + * + * @return mute + */ + @JsonProperty(JSON_PROPERTY_MUTE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteFindingsMuteAttributes getMute() { + return mute; + } + + public void setMute(MuteFindingsMuteAttributes mute) { + this.mute = mute; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsRequestDataAttributes + */ + @JsonAnySetter + public MuteFindingsRequestDataAttributes putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsRequestDataAttributes object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsRequestDataAttributes muteFindingsRequestDataAttributes = + (MuteFindingsRequestDataAttributes) o; + return Objects.equals(this.mute, muteFindingsRequestDataAttributes.mute) + && Objects.equals( + this.additionalProperties, muteFindingsRequestDataAttributes.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(mute, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsRequestDataAttributes {\n"); + sb.append(" mute: ").append(toIndentedString(mute)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataRelationships.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataRelationships.java new file mode 100644 index 00000000000..5c6891f5ba1 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsRequestDataRelationships.java @@ -0,0 +1,147 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Relationships of the mute request. */ +@JsonPropertyOrder({MuteFindingsRequestDataRelationships.JSON_PROPERTY_FINDINGS}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsRequestDataRelationships { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_FINDINGS = "findings"; + private Findings findings; + + public MuteFindingsRequestDataRelationships() {} + + @JsonCreator + public MuteFindingsRequestDataRelationships( + @JsonProperty(required = true, value = JSON_PROPERTY_FINDINGS) Findings findings) { + this.findings = findings; + this.unparsed |= findings.unparsed; + } + + public MuteFindingsRequestDataRelationships findings(Findings findings) { + this.findings = findings; + this.unparsed |= findings.unparsed; + return this; + } + + /** + * A list of security findings. + * + * @return findings + */ + @JsonProperty(JSON_PROPERTY_FINDINGS) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public Findings getFindings() { + return findings; + } + + public void setFindings(Findings findings) { + this.findings = findings; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsRequestDataRelationships + */ + @JsonAnySetter + public MuteFindingsRequestDataRelationships putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsRequestDataRelationships object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsRequestDataRelationships muteFindingsRequestDataRelationships = + (MuteFindingsRequestDataRelationships) o; + return Objects.equals(this.findings, muteFindingsRequestDataRelationships.findings) + && Objects.equals( + this.additionalProperties, muteFindingsRequestDataRelationships.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(findings, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsRequestDataRelationships {\n"); + sb.append(" findings: ").append(toIndentedString(findings)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponse.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponse.java new file mode 100644 index 00000000000..7dfd379fab1 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponse.java @@ -0,0 +1,136 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Response for the mute or unmute request. */ +@JsonPropertyOrder({MuteFindingsResponse.JSON_PROPERTY_DATA}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsResponse { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_DATA = "data"; + private MuteFindingsResponseData data; + + public MuteFindingsResponse data(MuteFindingsResponseData data) { + this.data = data; + this.unparsed |= data.unparsed; + return this; + } + + /** + * Data of the mute response. + * + * @return data + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DATA) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public MuteFindingsResponseData getData() { + return data; + } + + public void setData(MuteFindingsResponseData data) { + this.data = data; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsResponse + */ + @JsonAnySetter + public MuteFindingsResponse putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsResponse object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsResponse muteFindingsResponse = (MuteFindingsResponse) o; + return Objects.equals(this.data, muteFindingsResponse.data) + && Objects.equals(this.additionalProperties, muteFindingsResponse.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(data, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsResponse {\n"); + sb.append(" data: ").append(toIndentedString(data)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponseData.java b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponseData.java new file mode 100644 index 00000000000..4edc5ad23cb --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/MuteFindingsResponseData.java @@ -0,0 +1,178 @@ +/* + * 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 2019-Present Datadog, Inc. + */ + +package com.datadog.api.client.v2.model; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +/** Data of the mute response. */ +@JsonPropertyOrder({ + MuteFindingsResponseData.JSON_PROPERTY_ID, + MuteFindingsResponseData.JSON_PROPERTY_TYPE +}) +@jakarta.annotation.Generated( + value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") +public class MuteFindingsResponseData { + @JsonIgnore public boolean unparsed = false; + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_TYPE = "type"; + private MuteDataType type = MuteDataType.MUTE; + + public MuteFindingsResponseData() {} + + @JsonCreator + public MuteFindingsResponseData( + @JsonProperty(required = true, value = JSON_PROPERTY_ID) String id, + @JsonProperty(required = true, value = JSON_PROPERTY_TYPE) MuteDataType type) { + this.id = id; + this.type = type; + this.unparsed |= !type.isValid(); + } + + public MuteFindingsResponseData id(String id) { + this.id = id; + return this; + } + + /** + * Unique identifier of the mute request. + * + * @return id + */ + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public MuteFindingsResponseData type(MuteDataType type) { + this.type = type; + this.unparsed |= !type.isValid(); + return this; + } + + /** + * Mute resource type. + * + * @return type + */ + @JsonProperty(JSON_PROPERTY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public MuteDataType getType() { + return type; + } + + public void setType(MuteDataType type) { + if (!type.isValid()) { + this.unparsed = true; + } + this.type = type; + } + + /** + * A container for additional, undeclared properties. This is a holder for any undeclared + * properties as specified with the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. If the property + * does not already exist, create it otherwise replace it. + * + * @param key The arbitrary key to set + * @param value The associated value + * @return MuteFindingsResponseData + */ + @JsonAnySetter + public MuteFindingsResponseData putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return The additional properties + */ + @JsonAnyGetter + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key The arbitrary key to get + * @return The specific additional property for the given key + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + /** Return true if this MuteFindingsResponseData object is equal to o. */ + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MuteFindingsResponseData muteFindingsResponseData = (MuteFindingsResponseData) o; + return Objects.equals(this.id, muteFindingsResponseData.id) + && Objects.equals(this.type, muteFindingsResponseData.type) + && Objects.equals(this.additionalProperties, muteFindingsResponseData.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(id, type, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MuteFindingsResponseData {\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" additionalProperties: ") + .append(toIndentedString(additionalProperties)) + .append("\n"); + sb.append('}'); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } +} diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json index dbf89c929d7..0b1cdf6a6a8 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_deserializes_successfully.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json index e94edfb7099..91c8275f382 100644 --- a/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v1/Get_all_hosts_with_metadata_for_your_organization_returns_OK_response.json @@ -28,6 +28,6 @@ "timeToLive": { "unlimited": true }, - "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e" + "id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json index ff861cd3c9f..d603e22c7bf 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Create_account_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json index c82b6c27f29..a42ef29bfae 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json index d6e72cc1e7a..20187b03f7f 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Delete_account_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json index 7bf88c684fb..a0731b5ad4a 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json index bb9830f6a8c..70fc4d3589b 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json index 6352d5f0102..87cb96a7640 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_account_config_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_all_account_configs_returns_AWS_Accounts_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_all_account_configs_returns_AWS_Accounts_List_object_response.json index cb1a6e0b10f..e1e0b004585 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Get_all_account_configs_returns_AWS_Accounts_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Get_all_account_configs_returns_AWS_Accounts_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "101a55f5-5a26-d616-5fb4-8d0451d83d11" + "id": "101a55f5-5a26-d616-5fb4-8d0451d83d10" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json index 7711ea26b7b..994e56ed9eb 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_available_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json index 2e4479a46a7..7711ea26b7b 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_List_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json index be15f60baf7..77aa5204b9c 100644 --- a/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/AWS_Integration_Patch_account_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb" + "id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json index 40582f084c5..2be18c73072 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json index 51e1a4871f0..adda0ec49d5 100644 --- a/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Archive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json index 97d2e012fb0..4323550909c 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json index 8baecba84ae..c791186e6fd 100644 --- a/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Assign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json index 25ab575ed0d..394f3b77f1e 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d35" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json index 0bed01261bb..d39fee8a337 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_delete_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json index b22410fa4ef..834de428629 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d30" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json index 78166900f4b..b7e39e620cf 100644 --- a/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Bulk_write_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json index 9645e2b41cc..b2d3b56dbd7 100644 --- a/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Cancel_a_historical_job_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json index 38717139557..9b1a448d846 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e7014600" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json index 8294b60bbf6..43ce65998fe 100644 --- a/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Comment_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json index 5ba8e36023e..7e70b6729df 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_AWS_CCM_Config_object_response.json @@ -18,7 +18,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541b0" + "id": "b2bcb392-2d71-be89-5578-460535c541af" }, { "httpRequest": { @@ -48,7 +48,7 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f8479221" + "id": "58d1c8d5-bb10-59b9-aa85-8871f847921f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json index a885ab105be..563401356dc 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_CCM_config_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f847921f" + "id": "58d1c8d5-bb10-59b9-aa85-8871f8479220" }, { "httpRequest": { @@ -57,6 +57,6 @@ "timeToLive": { "unlimited": true }, - "id": "58d1c8d5-bb10-59b9-aa85-8871f8479220" + "id": "58d1c8d5-bb10-59b9-aa85-8871f8479221" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json index fb2bbc86068..76a4e155ad0 100644 --- a/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_AWS_scan_options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e2891484-5e4d-166a-c2fe-dce7aead5f70" + "id": "e2891484-5e4d-166a-c2fe-dce7aead5f71" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json index 32bcba6d838..ef26cd89a47 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json index 82770941cf9..cd295ed246c 100644 --- a/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_GCP_scan_options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json index 95cb4a17509..7d376643348 100644 --- a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae48" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae49" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json index fa161e3c9f3..09c3eea3a79 100644 --- a/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae46" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json index c5cec303481..c7581f314f6 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e80" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json index e1271adce11..02cf1734a56 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e78" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json index 6e0d881f9be..1fec75541c7 100644 --- a/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Scanning_Rule_with_should_save_match_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e84" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json index 18bfaac3c98..95a9b514916 100644 --- a/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_Workflow_returns_Bad_request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f5" + "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f6" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json index 4db34a7a497..c995fd8ce46 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_Workflow_returns_Bad_request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f6" + "id": "9dbbb4fe-ff77-d906-2de1-752f55e537f5" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json index 0f7572f4ef5..33f84691420 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3e" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json index 09067379e94..5b2bdee0951 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" }, { "httpRequest": { @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json index 59f9627d8a8..f98e1c3550d 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addc9" + "id": "32c558cf-4a2e-f914-f443-ab94000addcc" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addca" + "id": "32c558cf-4a2e-f914-f443-ab94000addcd" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json index b8a271f0acf..3f9206673d4 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_dataset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcb" + "id": "32c558cf-4a2e-f914-f443-ab94000addce" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json index 955d0fd03c0..2cb19c254b0 100644 --- a/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185f" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json index 83646ddb287..4e7150c70a8 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_account_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json index c7a019ef829..18ed773dab0 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_AWS_integration_returns_Conflict_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" }, { "httpRequest": { @@ -57,7 +57,7 @@ "timeToLive": { "unlimited": true }, - "id": "bf073e02-7e0b-dc8b-b075-82932236e50b" + "id": "bf073e02-7e0b-dc8b-b075-82932236e50a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json index ae1a3ad8373..5fdb5139b99 100644 --- a/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_an_incident_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json index 127207e03a2..2afada8e889 100644 --- a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json index 2c09ac6a877..76a037f2ed4 100644 --- a/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json +++ b/src/test/resources/cassettes/features/v2/Create_custom_attribute_config_for_a_case_type_returns_CREATED_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6465" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6467" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json index 92627d59122..31333da4750 100644 --- a/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_incident_notification_rule_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json index ef0e3694a98..91af4088c4a 100644 --- a/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_incident_notification_template_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd8" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json index 691f6f7875c..cf1765920e9 100644 --- a/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Create_role_with_a_permission_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892175" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json index 626d104be82..8155c3aeded 100644 --- a/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Creates_a_data_deletion_request_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json index c32805bcdb2..efa9967a0e4 100644 --- a/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_AWS_CCM_config_returns_No_Content_response.json @@ -18,6 +18,6 @@ "timeToLive": { "unlimited": true }, - "id": "b2bcb392-2d71-be89-5578-460535c541af" + "id": "b2bcb392-2d71-be89-5578-460535c541b0" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json index a03b13eebf8..0c91755cb44 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json index 5c08c51b83a..17f6987468c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c513" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json index c63dd04ca65..bb02652c1ea 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae48" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae43" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json index 10df5ded7d7..bc7e7c252fa 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e81" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa3" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json index a42f408744d..0a4283ae5ae 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7d" + "id": "01611a93-5e74-0630-3c51-f707c3b51e85" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa1" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json index c3fdd0c217b..1511b4f762f 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_NotContent_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6462" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json index b58cbe03324..7919b99b4ff 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json index ebf1f92f4a9..0f7523c96c6 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c72" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c74" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3b" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3c" }, { "httpRequest": { @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3c" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json index 76d59841326..92c10c6b507 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_dataset_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcf" + "id": "32c558cf-4a2e-f914-f443-ab94000addc9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json index 6c3e76fcdd4..73d82f08f24 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json index b4f342c7c6b..9d5fec45de3 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185e" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json index 381d1b90a1b..aeb041f1a43 100644 --- a/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json index a42ef29bfae..c82b6c27f29 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "73fd406e-d686-10bd-50ee-83f2c499e8a8" + "id": "73fd406e-d686-10bd-50ee-83f2c499e8a9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json index 6835906bc64..1530f93b73b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json index 853e659f141..7d178b53207 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_AWS_integration_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce3" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json index 10d1b44602d..ee9ff41cc5e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json index 6b20954ff8b..7808c1e347b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fd" + "id": "79babc38-7a70-5347-c8a6-73b0e70145eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json index e59aab67ec7..fcf4a2bf172 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fe" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json index 4a4af70d4d6..f1c8d39365e 100644 --- a/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_case_comment_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f5" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json index fdd4d1fe201..075a7f9db40 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json index bdecf0c16b6..7c90bfe4fab 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attribute_from_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6466" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json index 32e889b68d6..ed84911497c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6461" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json index a265db54be7..149174ae6d9 100644 --- a/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_custom_attributes_config_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6464" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6463" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json index 9906d02abaf..a1c5ecbb403 100644 --- a/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_datastore_item_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d35" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d33" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json index 3d010c58b58..621a6a2a79d 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_rule_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json index e668325311c..23e7a36d764 100644 --- a/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_incident_notification_template_returns_No_Content_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json index d3a3a7bbb1e..f868434d6ac 100644 --- a/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Edit_a_dataset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcc" + "id": "32c558cf-4a2e-f914-f443-ab94000addcf" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json index 75b451b6900..c2491988476 100644 --- a/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_a_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json index dbcf089d3c7..1e23eb77688 100644 --- a/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json +++ b/src/test/resources/cassettes/features/v2/Generate_new_external_ID_returns_AWS_External_ID_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cc" + "id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json index fe4cf251d57..6b2882ea815 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json index 8f47c5e0492..ae97185c72c 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe8" + "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json index 04d16bff7ed..27e64e2ebe0 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_task_by_id_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33da" + "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json index 5fe868f6988..774e33bf524 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_On_Demand_tasks_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7442c701-c89c-a74b-3de9-6b4cff876178" + "id": "7442c701-c89c-a74b-3de9-6b4cff876179" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json index 6b2882ea815..fe4cf251d57 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "4fd99083-06ab-185c-0a48-d579a5f192c2" + "id": "4fd99083-06ab-185c-0a48-d579a5f192c1" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json index ae97185c72c..8f47c5e0492 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_Not_Found_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe9" + "id": "fa2322eb-4e11-c229-ab3c-0bd21e1ecfe8" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json index 27e64e2ebe0..04d16bff7ed 100644 --- a/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_AWS_on_demand_task_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33d9" + "id": "6e597e91-1a7b-26f6-97a8-b4b2658f33da" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json index f2e8ebc7ed1..d0faeb9a172 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_Gone_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json index bebb2a28f98..b461aa9101d 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50c" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json index cab40f18769..018b1504a4a 100644 --- a/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_GCP_scan_options_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fab" + "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fac" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_WAF_exclusion_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_WAF_exclusion_filter_returns_OK_response.json index 54bbc61f4be..c713b9b4bf3 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_WAF_exclusion_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_WAF_exclusion_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e8" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3eb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json index eccc4031f16..0baec6032c5 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json index 8855a987e9a..958f238638a 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c76" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c75" }, { "httpRequest": { @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3f" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json index 4c1dc3043b8..b3366690d8d 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_given_APM_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json index 5534121a3e8..e1bd23989d9 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_job_s_details_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80ffd" + "id": "6bb82102-e994-f0d1-ee96-e1e3f1d80fff" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json index d76b3217ed0..f6628e0a51d 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json index d3568a82564..462a7eb38f0 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_single_dataset_by_ID_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addce" + "id": "32c558cf-4a2e-f914-f443-ab94000addca" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json index c6e40d9ebaf..40f41bf5c71 100644 --- a/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_a_specific_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7c" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json index 07da3e25a95..758e4fb66ad 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_custom_attributes_config_of_case_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6463" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6466" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json index 8c8b8ce6d00..7b4fa0f864b 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_datasets_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "32c558cf-4a2e-f914-f443-ab94000addcd" + "id": "32c558cf-4a2e-f914-f443-ab94000addcb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json index 6e336f005de..e1d7d6dfa5f 100644 --- a/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_all_rules_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e2e839d-ac73-21dc-b480-36e366ae09d9" + "id": "7e2e839d-ac73-21dc-b480-36e366ae09da" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json index 83cf7035f14..9933d6258ad 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce1" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json index 87cb96a7640..6352d5f0102 100644 --- a/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Get_an_AWS_integration_by_config_ID_returns_Bad_Request_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690" + "id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json index b79df729351..f392f13fc4c 100644 --- a/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d34" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d31" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json index 39e1970bef7..273c818221c 100644 --- a/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd9" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json index f469a5cda1f..e05cab1201f 100644 --- a/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/Get_list_of_AWS_log_ready_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json index f8de8236dab..9aabde754b9 100644 --- a/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_the_details_of_a_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f6" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json index 5a0fb2b36de..1eccad92176 100644 --- a/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Gets_a_list_of_data_deletion_requests_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "516e2b97-25f6-b08c-4d4a-1da22948b32e" + "id": "516e2b97-25f6-b08c-4d4a-1da22948b32f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json index 08ab09fd252..d1447e359b2 100644 --- a/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Grant_permission_to_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892173" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json index 1d634f061da..d88ac2ed754 100644 --- a/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Grant_role_to_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51861" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f5185e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json index f5543674faa..61e60b91801 100644 --- a/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_AWS_on_demand_tasks_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7442c701-c89c-a74b-3de9-6b4cff876179" + "id": "7442c701-c89c-a74b-3de9-6b4cff876178" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json index e200ee772e9..c09bb52e54b 100644 --- a/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_GCP_scan_options_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fac" + "id": "f9eb4412-690a-34d5-e9ac-6eb62df01fab" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json index 481b1a30e15..b59f7c51711 100644 --- a/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_Scanning_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7e" + "id": "01611a93-5e74-0630-3c51-f707c3b51e82" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa2" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7f" + "id": "01611a93-5e74-0630-3c51-f707c3b51e83" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_all_AWS_integrations_returns_AWS_Accounts_List_object_response.json b/src/test/resources/cassettes/features/v2/List_all_AWS_integrations_returns_AWS_Accounts_List_object_response.json index 4ddbbbf6380..bd48720dd5f 100644 --- a/src/test/resources/cassettes/features/v2/List_all_AWS_integrations_returns_AWS_Accounts_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_AWS_integrations_returns_AWS_Accounts_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "101a55f5-5a26-d616-5fb4-8d0451d83d10" + "id": "101a55f5-5a26-d616-5fb4-8d0451d83d11" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json index 2cd151adcdb..80e2da9ecca 100644 --- a/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_all_rules_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "7e2e839d-ac73-21dc-b480-36e366ae09da" + "id": "7e2e839d-ac73-21dc-b480-36e366ae09d9" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json index 3a4c2c18041..ca6902dd772 100644 --- a/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_datastore_items_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d32" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json index 3cb9d5c6927..26f01926eeb 100644 --- a/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_incident_notification_rules_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bdb" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json b/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json index e05cab1201f..f469a5cda1f 100644 --- a/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_log_services_returns_AWS_Logs_Services_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d7b" + "id": "03c3c0d9-a62f-5ac6-398b-e22a05d14d79" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json b/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json index 4e2a1b8a39b..25a1f8a4ae0 100644 --- a/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json +++ b/src/test/resources/cassettes/features/v2/List_namespaces_returns_AWS_Namespaces_List_object_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11" + "id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json index f27b1bc88fb..a48da463a36 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_for_a_role_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892174" + "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json index 15f40344bd7..ca2387782fd 100644 --- a/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_permissions_returns_OK_response.json @@ -23,6 +23,6 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216c" + "id": "ab2c08c1-60c7-9278-3246-d650bb892173" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json index 88ddad7a3ae..b3459ffd0fc 100644 --- a/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_roles_for_a_restriction_query_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "eb3b308b-3d56-9ef8-4096-dd7718f51860" + "id": "eb3b308b-3d56-9ef8-4096-dd7718f51862" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.freeze b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.freeze new file mode 100644 index 00000000000..c70fc98419e --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:46:59.369Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.json b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.json new file mode 100644 index 00000000000..95103e22349 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Accepted_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"To be resolved later.\",\"expire_at\":1778721573794,\"is_muted\":true,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"7a0bd082-5c8a-4ea3-a8a5-c5036e083ddb\",\"type\":\"mute\"}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 202, + "reasonPhrase": "Accepted" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "9b3f208c-877a-c592-6853-2ef78dd43be3" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.freeze new file mode 100644 index 00000000000..2343aeed263 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:13:25.084Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.json new file mode 100644 index 00000000000..4c926c40108 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Not_Found_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"To be resolved later.\",\"expire_at\":1778721573794,\"is_muted\":true,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"finding not found\"}]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 404, + "reasonPhrase": "Not Found" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "d1f8f2d1-76e8-6c80-42ec-caaaa6aa0d5c" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.freeze b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.freeze new file mode 100644 index 00000000000..4217cf20b9c --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:19:46.205Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.json b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.json new file mode 100644 index 00000000000..408b8a20e95 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Mute_security_findings_returns_Unprocessable_Entity_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"To be resolved later.\",\"expire_at\":1,\"is_muted\":true,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"errors\":[{\"status\":\"422\",\"title\":\"Invalid Request\",\"detail\":\"Invalid expiration date. Please provide an expiration date in the future\"}]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 422, + "reasonPhrase": "Unprocessable Entity" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "53c23a76-c624-b9b3-333b-bf7d895a6cae" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json index 0a176ee003e..974c53ce63d 100644 --- a/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_AWS_Scan_Options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json index 46d1bbda4f0..15c0687ec0c 100644 --- a/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Patch_GCP_Scan_Options_returns_OK_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "b0e82961-e316-45f9-b544-8011dda3dd98" + "id": "b0e82961-e316-45f9-b544-8011dda3dd99" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json index 76a4e155ad0..fb2bbc86068 100644 --- a/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Post_AWS_Scan_Options_returns_Bad_Request_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e2891484-5e4d-166a-c2fe-dce7aead5f71" + "id": "e2891484-5e4d-166a-c2fe-dce7aead5f70" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json index cd295ed246c..82770941cf9 100644 --- a/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json +++ b/src/test/resources/cassettes/features/v2/Post_GCP_Scan_Options_returns_Conflict_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95be" + "id": "e60f404e-4f1f-e719-af9d-8d61a2bd95bf" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json index 122367ac740..458c0a50fce 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c511" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json index e61e22c527a..9232671467e 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e82" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json index b704a75d7a7..f301ca6f3ce 100644 --- a/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Reorder_Groups_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" + "id": "01611a93-5e74-0630-3c51-f707c3b51e80" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa4" }, { "httpRequest": { @@ -79,7 +79,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7c" + "id": "01611a93-5e74-0630-3c51-f707c3b51e81" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json index d34dbe2c91b..d59c27e003b 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892172" + "id": "ab2c08c1-60c7-9278-3246-d650bb892174" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json index f5ca912756d..988f4ea02fd 100644 --- a/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Revoke_permission_returns_OK_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216e" + "id": "ab2c08c1-60c7-9278-3246-d650bb892175" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json index 813463d333c..5f10e5a84ba 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fa" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f7" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json index 60a873eea23..2cf2f5e7036 100644 --- a/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unarchive_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json index 4d8b7b62fd0..cd0f546067e 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f4" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json index 45c975b8ad7..25c50b5140f 100644 --- a/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unassign_case_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ff" + "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.freeze b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.freeze new file mode 100644 index 00000000000..aeddfe329e9 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:48:26.948Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.json b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.json new file mode 100644 index 00000000000..f60d9a230af --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Accepted_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"Resolved.\",\"is_muted\":false,\"reason\":\"NO_PENDING_FIX\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"data\":{\"id\":\"4ae87c1e-099b-4f63-af21-3568cf226263\",\"type\":\"mute\"}}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 202, + "reasonPhrase": "Accepted" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "7a89c56a-4381-3675-3749-6179bca9381d" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.freeze new file mode 100644 index 00000000000..2e3bb3a33a6 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:23:28.911Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.json new file mode 100644 index 00000000000..71a5a386d15 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Not_Found_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"Resolved.\",\"is_muted\":false,\"reason\":\"NO_PENDING_FIX\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"errors\":[{\"status\":\"404\",\"title\":\"Not Found\",\"detail\":\"finding not found\"}]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 404, + "reasonPhrase": "Not Found" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "34adfc8f-6e21-678f-ad92-6e9d27183f3f" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.freeze b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.freeze new file mode 100644 index 00000000000..1c328239af8 --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.freeze @@ -0,0 +1 @@ +2026-04-27T16:23:50.077Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.json b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.json new file mode 100644 index 00000000000..9613b22461d --- /dev/null +++ b/src/test/resources/cassettes/features/v2/Unmute_security_findings_returns_Unprocessable_Entity_response.json @@ -0,0 +1,32 @@ +[ + { + "httpRequest": { + "body": { + "type": "JSON", + "json": "{\"data\":{\"attributes\":{\"mute\":{\"description\":\"Resolved.\",\"is_muted\":false,\"reason\":\"RISK_ACCEPTED\"}},\"relationships\":{\"findings\":{\"data\":[{\"id\":\"ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==\",\"type\":\"findings\"}]}},\"type\":\"mute\"}}" + }, + "headers": {}, + "method": "PATCH", + "path": "/api/v2/security/findings/mute", + "keepAlive": false, + "secure": true + }, + "httpResponse": { + "body": "{\"errors\":[{\"status\":\"422\",\"title\":\"Invalid Request\",\"detail\":\"The provided reason is not valid for the specified mute action. Possible values: [NO_PENDING_FIX HUMAN_ERROR NO_LONGER_ACCEPTED_RISK OTHER]\"}]}", + "headers": { + "Content-Type": [ + "application/vnd.api+json" + ] + }, + "statusCode": 422, + "reasonPhrase": "Unprocessable Entity" + }, + "times": { + "remainingTimes": 1 + }, + "timeToLive": { + "unlimited": true + }, + "id": "b8eefd7f-eab6-4592-abc6-fa34ec940734" + } +] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json index 102c77a74fe..5aa2107af10 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50f" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json index 974c53ce63d..0a176ee003e 100644 --- a/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json +++ b/src/test/resources/cassettes/features/v2/Update_AWS_scan_options_returns_No_Content_response.json @@ -22,6 +22,6 @@ "timeToLive": { "unlimited": true }, - "id": "0f485c8a-a29e-ebed-3836-545f90bc9456" + "id": "0f485c8a-a29e-ebed-3836-545f90bc9457" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json index 86a19127bf9..b2d72b87ba2 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c512" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c514" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json index 44af9ec407e..385920ba074 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "c782b1f3-1b03-d50f-8fcd-12e51226c50e" + "id": "c782b1f3-1b03-d50f-8fcd-12e51226c510" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json index 15c0687ec0c..46d1bbda4f0 100644 --- a/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_GCP_scan_options_returns_OK_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "b0e82961-e316-45f9-b544-8011dda3dd99" + "id": "b0e82961-e316-45f9-b544-8011dda3dd98" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json index 78da17d9040..970a0b596df 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae44" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json index cb8bbfa87f3..33523d241e1 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae47" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae45" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json index 98eacb05028..e14debdb1c1 100644 --- a/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Org_Connection_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae49" + "id": "76efebf6-d204-c8e8-5a8c-bd11c0a4ae44" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json index 1f5fdda09e0..949fd15a46e 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Group_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e83" + "id": "01611a93-5e74-0630-3c51-f707c3b51e78" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa5" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json index 0b352ba3fba..bc71ccd8654 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_Bad_Request_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e7a" + "id": "01611a93-5e74-0630-3c51-f707c3b51e84" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238a9f" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json index fe18d92a837..7a985fbb55d 100644 --- a/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_Scanning_Rule_returns_OK_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "01611a93-5e74-0630-3c51-f707c3b51e85" + "id": "01611a93-5e74-0630-3c51-f707c3b51e7b" }, { "httpRequest": { @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa7" + "id": "e6af4a2f-dfda-8f06-6f3a-f5528b238aa0" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json index 6b10b1f99cb..3f634cdfdc4 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_critical_asset_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e5" + "id": "6ffb5b4d-a3b7-6fa1-1d1c-e0464f43c9e6" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json index 08144afbd3b..4144e776050 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_custom_framework_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "13fe9685-b072-5fe0-c841-4499a9e71c73" + "id": "13fe9685-b072-5fe0-c841-4499a9e71c71" }, { "httpRequest": { @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e535722a-99e3-30cf-49f7-2d093bd78b3d" + "id": "e535722a-99e3-30cf-49f7-2d093bd78b3a" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json index 05a194ff998..84230fa914c 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_legacy_WAF_exclusion_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "f87651cf-cb9d-db71-c4de-1be9e301b3eb" + "id": "f87651cf-cb9d-db71-c4de-1be9e301b3e8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json index 7ee7239080c..5486c5522b1 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_pipeline_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7e" + "id": "1c5790bf-1fdc-930d-ee1e-046e57b87c7c" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json index c669844b54b..dff3c5435d1 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0697" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069d" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Not_Found_response.json index 170166752c7..f8e2615c3f8 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ce266f9d-5f90-251e-805b-1fa5bbd62feb" + "id": "ce266f9d-5f90-251e-805b-1fa5bbd62fea" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json index d9e8b04dedd..cd4b267d68f 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filter_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069e" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff0699" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json index 87c7ca222ab..f7ba5a0c135 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069c" + "id": "b2404278-8cc9-cba4-e3eb-03a7fdff069e" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Not_Found_response.json index f8e2615c3f8..170166752c7 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_retention_filters_returns_Not_Found_response.json @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "ce266f9d-5f90-251e-805b-1fa5bbd62fea" + "id": "ce266f9d-5f90-251e-805b-1fa5bbd62feb" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json index 7974cef2f13..73305cd59ef 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Bad_Request_response.json @@ -53,7 +53,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb89216d" + "id": "ab2c08c1-60c7-9278-3246-d650bb892171" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json index 6aaa5818b15..811fe023421 100644 --- a/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_a_role_returns_Not_found_response.json @@ -23,7 +23,7 @@ "timeToLive": { "unlimited": true }, - "id": "ab2c08c1-60c7-9278-3246-d650bb892171" + "id": "ab2c08c1-60c7-9278-3246-d650bb892172" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json index 2efa53de1ac..c0415eb8a2f 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_AWS_Account_object_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce4" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json index 833d5ca5043..38f465a9e25 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_AWS_integration_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce2" + "id": "479ab602-1a6a-ff9c-cfae-4a71849b3ce4" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json index 82f7a958707..d75c200e9ae 100644 --- a/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_an_incident_type_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd3" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json index 3e4e610c567..aa33727ca2c 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_attributes_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ed" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ff" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json index 0587c45a38b..876ad2e41fe 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6468" + "id": "dc45fc73-0f09-c12d-941b-eaf799af6469" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json index 3dff6385ef2..a9ce37fb461 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_Not_Found_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" + "id": "79babc38-7a70-5347-c8a6-73b0e7014600" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json index 2ac4e9e9466..3e0850132da 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_custom_attribute_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "dc45fc73-0f09-c12d-941b-eaf799af6467" + "id": "dc45fc73-0f09-c12d-941b-eaf799af646a" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json index 4f21d1e7ffd..31556059bfd 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_description_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f3" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ec" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json index 1ef3a7d5fe9..88b2bb14ac5 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fc" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f5" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json index 7dd888e1dca..8acf5728617 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_priority_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f8" + "id": "79babc38-7a70-5347-c8a6-73b0e70145e9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json index 49be045f79f..60921358de9 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145ee" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ef" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json index 0d587bfafd7..b4040b956bc 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_status_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f1" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f9" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json index 8b574c36444..c06b8597bd4 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_Bad_Request_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145fb" + "id": "79babc38-7a70-5347-c8a6-73b0e70145ea" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json index 7a63513bd9a..1a052a0e510 100644 --- a/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_case_title_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "79babc38-7a70-5347-c8a6-73b0e70145f0" + "id": "79babc38-7a70-5347-c8a6-73b0e70145f2" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json index a293ad3ef40..6b8400bc073 100644 --- a/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_datastore_item_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2d" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d30" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json index 4ba02334273..3300bd74e78 100644 --- a/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_datastore_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2e" + "id": "6574cf7e-1c55-24e1-45d2-b92f9fa74d2f" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json index aad946720a2..4de99e63586 100644 --- a/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_incident_notification_rule_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd1" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd8" }, { "httpRequest": { diff --git a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json index 733dc11b1e7..b9bf77f1d8f 100644 --- a/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_incident_notification_template_returns_OK_response.json @@ -27,7 +27,7 @@ "timeToLive": { "unlimited": true }, - "id": "7bcfec66-5300-9891-51e5-e4d7e0833bd6" + "id": "7bcfec66-5300-9891-51e5-e4d7e0833bda" }, { "httpRequest": { diff --git a/src/test/resources/com/datadog/api/client/v2/api/security_monitoring.feature b/src/test/resources/com/datadog/api/client/v2/api/security_monitoring.feature index 9c65c8a95bd..820747b79b7 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/security_monitoring.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/security_monitoring.feature @@ -1864,6 +1864,62 @@ Feature: Security Monitoring When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/k9-investigation + Scenario: Mute or unmute security findings returns "Accepted" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "PENDING_FIX"}}, "id": "93bfeb70-af47-424d-908a-948d3f08e37f", "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 202 Accepted + + @generated @skip @team:DataDog/k9-investigation + Scenario: Mute or unmute security findings returns "Bad Request" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "PENDING_FIX"}}, "id": "93bfeb70-af47-424d-908a-948d3f08e37f", "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/k9-investigation + Scenario: Mute or unmute security findings returns "Not Found" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "PENDING_FIX"}}, "id": "93bfeb70-af47-424d-908a-948d3f08e37f", "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/k9-investigation + Scenario: Mute or unmute security findings returns "Unprocessable Entity" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "PENDING_FIX"}}, "id": "93bfeb70-af47-424d-908a-948d3f08e37f", "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 422 Unprocessable Entity + + @team:DataDog/k9-investigation + Scenario: Mute security findings returns "Accepted" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "RISK_ACCEPTED"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 202 Accepted + + @team:DataDog/k9-investigation + Scenario: Mute security findings returns "Not Found" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1778721573794, "is_muted": true, "reason": "RISK_ACCEPTED"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/k9-investigation + Scenario: Mute security findings returns "Unprocessable Entity" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "To be resolved later.", "expire_at": 1, "is_muted": true, "reason": "RISK_ACCEPTED"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 422 Unprocessable Entity + @team:DataDog/cloud-security-posture-management Scenario: Patch a signal-based notification rule returns "Bad Request" response Given new "PatchSignalNotificationRule" request @@ -2065,6 +2121,30 @@ Feature: Security Monitoring When the request is sent Then the response status is 200 OK + @team:DataDog/k9-investigation + Scenario: Unmute security findings returns "Accepted" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "Resolved.", "is_muted": false, "reason": "NO_PENDING_FIX"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwMC0wYmd-MDE4NjcyMDJkMzE4MDE5ODY5MGE4ZmQ2MmFlMjg0Y2M=", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 202 Accepted + + @team:DataDog/k9-investigation + Scenario: Unmute security findings returns "Not Found" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "Resolved.", "is_muted": false, "reason": "NO_PENDING_FIX"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 404 Not Found + + @team:DataDog/k9-investigation + Scenario: Unmute security findings returns "Unprocessable Entity" response + Given operation "MuteSecurityFindings" enabled + And new "MuteSecurityFindings" request + And body with value {"data": {"attributes": {"mute": {"description": "Resolved.", "is_muted": false, "reason": "RISK_ACCEPTED"}}, "relationships": {"findings": {"data": [{"id": "ZGVmLTAwcC1pZXJ-aS0wZjhjNjMyZDNmMzRlZTgzNw==", "type": "findings"}]}}, "type": "mute"}} + When the request is sent + Then the response status is 422 Unprocessable Entity + @skip-validation @team:DataDog/k9-cloud-siem Scenario: Update a cloud configuration rule's details returns "OK" response Given new "UpdateSecurityMonitoringRule" request diff --git a/src/test/resources/com/datadog/api/client/v2/api/undo.json b/src/test/resources/com/datadog/api/client/v2/api/undo.json index efb20d6825d..974daba7138 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/undo.json +++ b/src/test/resources/com/datadog/api/client/v2/api/undo.json @@ -5308,6 +5308,12 @@ "type": "unsafe" } }, + "MuteSecurityFindings": { + "tag": "Security Monitoring", + "undo": { + "type": "idempotent" + } + }, "SearchSecurityFindings": { "tag": "Security Monitoring", "undo": {