diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f9610113951..c708caefd78 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -31093,7 +31093,7 @@ components: properties: org_site: description: The site of the organization. - example: "datadoghq.com" + example: "us1" type: string org_uuid: description: The UUID of the organization. @@ -51401,7 +51401,7 @@ components: type: string owner_org_site: description: The site of the organization that owns this org group. - example: "datadoghq.com" + example: "us1" type: string owner_org_uuid: description: The UUID of the organization that owns this org group. @@ -51507,7 +51507,7 @@ components: type: string org_site: description: The site of the member organization. - example: "datadoghq.com" + example: "us1" type: string org_uuid: description: The UUID of the member organization. @@ -51728,11 +51728,8 @@ components: example: value: "UTC" type: object - enforced_at: - description: Timestamp when the policy was enforced. - example: "2024-01-15T10:30:00Z" - format: date-time - type: string + enforcement_tier: + $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier" modified_at: description: Timestamp when the policy was last modified. example: "2024-01-15T10:30:00Z" @@ -51742,9 +51739,12 @@ components: description: The name of the policy. example: "monitor_timezone" type: string + policy_type: + $ref: "#/components/schemas/OrgGroupPolicyPolicyType" required: - policy_name - - enforced_at + - policy_type + - enforcement_tier - modified_at type: object OrgGroupPolicyConfigAttributes: @@ -51815,7 +51815,8 @@ components: x-enum-varnames: - ORG_GROUP_POLICY_CONFIGS OrgGroupPolicyCreateAttributes: - description: Attributes for creating an org group policy. + description: >- + Attributes for creating an org group policy. If `policy_type` or `enforcement_tier` are not provided, they default to `org_config` and `DEFAULT` respectively. properties: content: additionalProperties: {} @@ -51823,10 +51824,14 @@ components: example: value: "UTC" type: object + enforcement_tier: + $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier" policy_name: description: The name of the policy. example: "monitor_timezone" type: string + policy_type: + $ref: "#/components/schemas/OrgGroupPolicyPolicyType" required: - policy_name - content @@ -51880,6 +51885,20 @@ components: - type - attributes type: object + OrgGroupPolicyEnforcementTier: + default: DEFAULT + description: >- + The enforcement tier of the policy. `DEFAULT` means the policy is set but member orgs may mutate it. `ENFORCE` means the policy is strictly controlled and mutations are blocked for affected orgs. `DELEGATE` means each member org controls its own value. + enum: + - DEFAULT + - ENFORCE + - DELEGATE + example: DEFAULT + type: string + x-enum-varnames: + - DEFAULT + - ENFORCE + - DELEGATE OrgGroupPolicyListResponse: description: Response containing a list of org group policies. properties: @@ -51912,7 +51931,7 @@ components: type: string org_site: description: The site of the organization that has the override. - example: "datadoghq.com" + example: "us1" type: string org_uuid: description: The UUID of the organization that has the override. @@ -51930,7 +51949,7 @@ components: properties: org_site: description: The site of the organization. - example: "datadoghq.com" + example: "us1" type: string org_uuid: description: The UUID of the organization to grant the override. @@ -52046,11 +52065,12 @@ components: x-enum-varnames: - ORG_GROUP_POLICY_OVERRIDES OrgGroupPolicyOverrideUpdateAttributes: - description: Attributes for updating a policy override. + description: >- + Attributes for updating a policy override. The `org_uuid` and `org_site` fields must match the existing override and cannot be changed. properties: org_site: description: The site of the organization. - example: "datadoghq.com" + example: "us1" type: string org_uuid: description: The UUID of the organization. @@ -52086,6 +52106,16 @@ components: required: - data type: object + OrgGroupPolicyPolicyType: + default: org_config + description: >- + The type of the policy. Only `org_config` is supported, indicating a policy backed by an organization configuration setting. + enum: + - org_config + example: org_config + type: string + x-enum-varnames: + - ORG_CONFIG OrgGroupPolicyRelationshipToOne: description: Relationship to a single org group policy. properties: @@ -52154,6 +52184,8 @@ components: example: value: "UTC" type: object + enforcement_tier: + $ref: "#/components/schemas/OrgGroupPolicyEnforcementTier" type: object OrgGroupPolicyUpdateData: description: Data for updating an org group policy. @@ -108448,7 +108480,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" org_name: "Acme Corp" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "f1e2d3c4-b5a6-7890-1234-567890abcdef" relationships: @@ -108506,7 +108538,7 @@ paths: data: attributes: orgs: - - org_site: "datadoghq.com" + - org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" relationships: source_org_group: @@ -108533,7 +108565,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-16T14:00:00Z" org_name: "Acme Corp" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "f1e2d3c4-b5a6-7890-1234-567890abcdef" relationships: @@ -108598,7 +108630,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" org_name: "Acme Corp" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "f1e2d3c4-b5a6-7890-1234-567890abcdef" relationships: @@ -108679,7 +108711,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-16T14:00:00Z" org_name: "Acme Corp" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "f1e2d3c4-b5a6-7890-1234-567890abcdef" relationships: @@ -108747,9 +108779,10 @@ paths: - attributes: content: value: "UTC" - enforced_at: "2024-01-15T10:30:00Z" + enforcement_tier: "DEFAULT" modified_at: "2024-01-15T10:30:00Z" policy_name: "monitor_timezone" + policy_type: "org_config" id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" relationships: org_group: @@ -108805,7 +108838,9 @@ paths: attributes: content: value: "UTC" + enforcement_tier: "DEFAULT" policy_name: "monitor_timezone" + policy_type: "org_config" relationships: org_group: data: @@ -108826,9 +108861,10 @@ paths: attributes: content: value: "UTC" - enforced_at: "2024-01-15T10:30:00Z" + enforcement_tier: "DEFAULT" modified_at: "2024-01-15T10:30:00Z" policy_name: "monitor_timezone" + policy_type: "org_config" id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" relationships: org_group: @@ -108918,8 +108954,73 @@ paths: 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/). + get: + description: Get a specific organization group policy by its ID. + operationId: GetOrgGroupPolicy + parameters: + - $ref: "#/components/parameters/OrgGroupPolicyId" + responses: + "200": + content: + application/json: + examples: + default: + value: + data: + attributes: + content: + value: "UTC" + enforcement_tier: "DEFAULT" + modified_at: "2024-01-15T10:30:00Z" + policy_name: "monitor_timezone" + policy_type: "org_config" + id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" + relationships: + org_group: + data: + id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" + type: org_groups + type: org_group_policies + schema: + $ref: "#/components/schemas/OrgGroupPolicyResponse" + description: OK + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + summary: Get an org group policy + tags: [Org Groups] + "x-permission": + operator: OR + permissions: + - org_group_read + 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/). patch: - description: Update the content of an existing organization group policy. + description: Update an existing organization group policy. operationId: UpdateOrgGroupPolicy parameters: - $ref: "#/components/parameters/OrgGroupPolicyId" @@ -108933,6 +109034,7 @@ paths: attributes: content: value: "US/Eastern" + enforcement_tier: "ENFORCE" id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" type: org_group_policies schema: @@ -108949,9 +109051,10 @@ paths: attributes: content: value: "US/Eastern" - enforced_at: "2024-01-15T10:30:00Z" + enforcement_tier: "ENFORCE" modified_at: "2024-01-16T14:00:00Z" policy_name: "monitor_timezone" + policy_type: "org_config" id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" relationships: org_group: @@ -109065,7 +109168,7 @@ paths: - attributes: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321" relationships: @@ -109124,7 +109227,7 @@ paths: value: data: attributes: - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" relationships: org_group: @@ -109150,7 +109253,7 @@ paths: attributes: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321" relationships: @@ -109245,6 +109348,73 @@ paths: 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/). + get: + description: Get a specific organization group policy override by its ID. + operationId: GetOrgGroupPolicyOverride + parameters: + - $ref: "#/components/parameters/OrgGroupPolicyOverrideId" + responses: + "200": + content: + application/json: + examples: + default: + value: + data: + attributes: + created_at: "2024-01-15T10:30:00Z" + modified_at: "2024-01-15T10:30:00Z" + org_site: "us1" + org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" + id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321" + relationships: + org_group: + data: + id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" + type: org_groups + org_group_policy: + data: + id: "1a2b3c4d-5e6f-7890-abcd-ef0123456789" + type: org_group_policies + type: org_group_policy_overrides + schema: + $ref: "#/components/schemas/OrgGroupPolicyOverrideResponse" + description: OK + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Bad Request + "401": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Unauthorized + "403": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Forbidden + "404": + content: + application/json: + schema: + $ref: "#/components/schemas/JSONAPIErrorResponse" + description: Not Found + "429": + $ref: "#/components/responses/TooManyRequestsResponse" + summary: Get an org group policy override + tags: [Org Groups] + "x-permission": + operator: OR + permissions: + - org_group_read + 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/). patch: description: Update an existing organization group policy override. operationId: UpdateOrgGroupPolicyOverride @@ -109258,7 +109428,7 @@ paths: value: data: attributes: - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321" type: org_group_policy_overrides @@ -109276,7 +109446,7 @@ paths: attributes: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-16T14:00:00Z" - org_site: "datadoghq.com" + org_site: "us1" org_uuid: "c3d4e5f6-a7b8-9012-cdef-012345678901" id: "9f8e7d6c-5b4a-3210-fedc-ba0987654321" relationships: @@ -109348,7 +109518,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" name: "My Org Group" - owner_org_site: "datadoghq.com" + owner_org_site: "us1" owner_org_uuid: "b2c3d4e5-f6a7-8901-bcde-f01234567890" id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" type: org_groups @@ -109415,7 +109585,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" name: "My Org Group" - owner_org_site: "datadoghq.com" + owner_org_site: "us1" owner_org_uuid: "b2c3d4e5-f6a7-8901-bcde-f01234567890" id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" type: org_groups @@ -109518,7 +109688,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-15T10:30:00Z" name: "My Org Group" - owner_org_site: "datadoghq.com" + owner_org_site: "us1" owner_org_uuid: "b2c3d4e5-f6a7-8901-bcde-f01234567890" id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" type: org_groups @@ -109591,7 +109761,7 @@ paths: created_at: "2024-01-15T10:30:00Z" modified_at: "2024-01-16T14:00:00Z" name: "Updated Org Group Name" - owner_org_site: "datadoghq.com" + owner_org_site: "us1" owner_org_uuid: "b2c3d4e5-f6a7-8901-bcde-f01234567890" id: "a1b2c3d4-e5f6-7890-abcd-ef0123456789" type: org_groups diff --git a/examples/v2/org-groups/BulkUpdateOrgGroupMemberships.java b/examples/v2/org-groups/BulkUpdateOrgGroupMemberships.java index 2fe8696448f..7f873ad5dc0 100644 --- a/examples/v2/org-groups/BulkUpdateOrgGroupMemberships.java +++ b/examples/v2/org-groups/BulkUpdateOrgGroupMemberships.java @@ -31,7 +31,7 @@ public static void main(String[] args) { .orgs( Collections.singletonList( new GlobalOrgIdentifier() - .orgSite("datadoghq.com") + .orgSite("us1") .orgUuid( UUID.fromString( "c3d4e5f6-a7b8-9012-cdef-012345678901"))))) diff --git a/examples/v2/org-groups/CreateOrgGroupPolicy.java b/examples/v2/org-groups/CreateOrgGroupPolicy.java index 2550c0b516a..2520e6e84e7 100644 --- a/examples/v2/org-groups/CreateOrgGroupPolicy.java +++ b/examples/v2/org-groups/CreateOrgGroupPolicy.java @@ -7,6 +7,8 @@ import com.datadog.api.client.v2.model.OrgGroupPolicyCreateData; import com.datadog.api.client.v2.model.OrgGroupPolicyCreateRelationships; import com.datadog.api.client.v2.model.OrgGroupPolicyCreateRequest; +import com.datadog.api.client.v2.model.OrgGroupPolicyEnforcementTier; +import com.datadog.api.client.v2.model.OrgGroupPolicyPolicyType; import com.datadog.api.client.v2.model.OrgGroupPolicyResponse; import com.datadog.api.client.v2.model.OrgGroupPolicyType; import com.datadog.api.client.v2.model.OrgGroupRelationshipToOne; @@ -28,7 +30,9 @@ public static void main(String[] args) { .attributes( new OrgGroupPolicyCreateAttributes() .content(Map.ofEntries(Map.entry("value", "UTC"))) - .policyName("monitor_timezone")) + .enforcementTier(OrgGroupPolicyEnforcementTier.DEFAULT) + .policyName("monitor_timezone") + .policyType(OrgGroupPolicyPolicyType.ORG_CONFIG)) .relationships( new OrgGroupPolicyCreateRelationships() .orgGroup( diff --git a/examples/v2/org-groups/CreateOrgGroupPolicyOverride.java b/examples/v2/org-groups/CreateOrgGroupPolicyOverride.java index 7feb4026590..10ffeedc2dd 100644 --- a/examples/v2/org-groups/CreateOrgGroupPolicyOverride.java +++ b/examples/v2/org-groups/CreateOrgGroupPolicyOverride.java @@ -29,7 +29,7 @@ public static void main(String[] args) { new OrgGroupPolicyOverrideCreateData() .attributes( new OrgGroupPolicyOverrideCreateAttributes() - .orgSite("datadoghq.com") + .orgSite("us1") .orgUuid(UUID.fromString("c3d4e5f6-a7b8-9012-cdef-012345678901"))) .relationships( new OrgGroupPolicyOverrideCreateRelationships() diff --git a/examples/v2/org-groups/GetOrgGroupPolicy.java b/examples/v2/org-groups/GetOrgGroupPolicy.java new file mode 100644 index 00000000000..5c405fc2f6c --- /dev/null +++ b/examples/v2/org-groups/GetOrgGroupPolicy.java @@ -0,0 +1,27 @@ +// Get an org group policy returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.OrgGroupsApi; +import com.datadog.api.client.v2.model.OrgGroupPolicyResponse; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.getOrgGroupPolicy", true); + OrgGroupsApi apiInstance = new OrgGroupsApi(defaultClient); + + try { + OrgGroupPolicyResponse result = + apiInstance.getOrgGroupPolicy(UUID.fromString("1a2b3c4d-5e6f-7890-abcd-ef0123456789")); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling OrgGroupsApi#getOrgGroupPolicy"); + 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/org-groups/GetOrgGroupPolicyOverride.java b/examples/v2/org-groups/GetOrgGroupPolicyOverride.java new file mode 100644 index 00000000000..6989093b49e --- /dev/null +++ b/examples/v2/org-groups/GetOrgGroupPolicyOverride.java @@ -0,0 +1,28 @@ +// Get an org group policy override returns "OK" response + +import com.datadog.api.client.ApiClient; +import com.datadog.api.client.ApiException; +import com.datadog.api.client.v2.api.OrgGroupsApi; +import com.datadog.api.client.v2.model.OrgGroupPolicyOverrideResponse; +import java.util.UUID; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = ApiClient.getDefaultApiClient(); + defaultClient.setUnstableOperationEnabled("v2.getOrgGroupPolicyOverride", true); + OrgGroupsApi apiInstance = new OrgGroupsApi(defaultClient); + + try { + OrgGroupPolicyOverrideResponse result = + apiInstance.getOrgGroupPolicyOverride( + UUID.fromString("9f8e7d6c-5b4a-3210-fedc-ba0987654321")); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling OrgGroupsApi#getOrgGroupPolicyOverride"); + 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/org-groups/UpdateOrgGroupPolicy.java b/examples/v2/org-groups/UpdateOrgGroupPolicy.java index a21e4b34543..e71c05b963e 100644 --- a/examples/v2/org-groups/UpdateOrgGroupPolicy.java +++ b/examples/v2/org-groups/UpdateOrgGroupPolicy.java @@ -3,6 +3,7 @@ import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; import com.datadog.api.client.v2.api.OrgGroupsApi; +import com.datadog.api.client.v2.model.OrgGroupPolicyEnforcementTier; import com.datadog.api.client.v2.model.OrgGroupPolicyResponse; import com.datadog.api.client.v2.model.OrgGroupPolicyType; import com.datadog.api.client.v2.model.OrgGroupPolicyUpdateAttributes; @@ -23,7 +24,8 @@ public static void main(String[] args) { new OrgGroupPolicyUpdateData() .attributes( new OrgGroupPolicyUpdateAttributes() - .content(Map.ofEntries(Map.entry("value", "UTC")))) + .content(Map.ofEntries(Map.entry("value", "UTC"))) + .enforcementTier(OrgGroupPolicyEnforcementTier.DEFAULT)) .id(UUID.fromString("1a2b3c4d-5e6f-7890-abcd-ef0123456789")) .type(OrgGroupPolicyType.ORG_GROUP_POLICIES)); diff --git a/examples/v2/org-groups/UpdateOrgGroupPolicyOverride.java b/examples/v2/org-groups/UpdateOrgGroupPolicyOverride.java index 1f553b641e5..1b29b6ff01a 100644 --- a/examples/v2/org-groups/UpdateOrgGroupPolicyOverride.java +++ b/examples/v2/org-groups/UpdateOrgGroupPolicyOverride.java @@ -22,7 +22,7 @@ public static void main(String[] args) { new OrgGroupPolicyOverrideUpdateData() .attributes( new OrgGroupPolicyOverrideUpdateAttributes() - .orgSite("datadoghq.com") + .orgSite("us1") .orgUuid(UUID.fromString("c3d4e5f6-a7b8-9012-cdef-012345678901"))) .id(UUID.fromString("9f8e7d6c-5b4a-3210-fedc-ba0987654321")) .type(OrgGroupPolicyOverrideType.ORG_GROUP_POLICY_OVERRIDES)); diff --git a/src/main/java/com/datadog/api/client/ApiClient.java b/src/main/java/com/datadog/api/client/ApiClient.java index bd4b45252db..b0fd4ca270c 100644 --- a/src/main/java/com/datadog/api/client/ApiClient.java +++ b/src/main/java/com/datadog/api/client/ApiClient.java @@ -981,6 +981,8 @@ public class ApiClient { put("v2.deleteOrgGroupPolicyOverride", false); put("v2.getOrgGroup", false); put("v2.getOrgGroupMembership", false); + put("v2.getOrgGroupPolicy", false); + put("v2.getOrgGroupPolicyOverride", false); put("v2.listOrgGroupMemberships", false); put("v2.listOrgGroupPolicies", false); put("v2.listOrgGroupPolicyConfigs", false); diff --git a/src/main/java/com/datadog/api/client/v2/api/OrgGroupsApi.java b/src/main/java/com/datadog/api/client/v2/api/OrgGroupsApi.java index f834931d079..3c0f5b30a56 100644 --- a/src/main/java/com/datadog/api/client/v2/api/OrgGroupsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/OrgGroupsApi.java @@ -1475,6 +1475,332 @@ public ApiResponse getOrgGroupMembershipWithHttpInfo new GenericType() {}); } + /** + * Get an org group policy. + * + *

See {@link #getOrgGroupPolicyWithHttpInfo}. + * + * @param orgGroupPolicyId The ID of the org group policy. (required) + * @return OrgGroupPolicyResponse + * @throws ApiException if fails to make API call + */ + public OrgGroupPolicyResponse getOrgGroupPolicy(UUID orgGroupPolicyId) throws ApiException { + return getOrgGroupPolicyWithHttpInfo(orgGroupPolicyId).getData(); + } + + /** + * Get an org group policy. + * + *

See {@link #getOrgGroupPolicyWithHttpInfoAsync}. + * + * @param orgGroupPolicyId The ID of the org group policy. (required) + * @return CompletableFuture<OrgGroupPolicyResponse> + */ + public CompletableFuture getOrgGroupPolicyAsync(UUID orgGroupPolicyId) { + return getOrgGroupPolicyWithHttpInfoAsync(orgGroupPolicyId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get a specific organization group policy by its ID. + * + * @param orgGroupPolicyId The ID of the org group policy. (required) + * @return ApiResponse<OrgGroupPolicyResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse getOrgGroupPolicyWithHttpInfo(UUID orgGroupPolicyId) + throws ApiException { + // Check if unstable operation is enabled + String operationId = "getOrgGroupPolicy"; + 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 = null; + + // verify the required parameter 'orgGroupPolicyId' is set + if (orgGroupPolicyId == null) { + throw new ApiException( + 400, "Missing the required parameter 'orgGroupPolicyId' when calling getOrgGroupPolicy"); + } + // create path and map variables + String localVarPath = + "/api/v2/org_group_policies/{org_group_policy_id}" + .replaceAll( + "\\{" + "org_group_policy_id" + "\\}", + apiClient.escapeString(orgGroupPolicyId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.OrgGroupsApi.getOrgGroupPolicy", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get an org group policy. + * + *

See {@link #getOrgGroupPolicyWithHttpInfo}. + * + * @param orgGroupPolicyId The ID of the org group policy. (required) + * @return CompletableFuture<ApiResponse<OrgGroupPolicyResponse>> + */ + public CompletableFuture> getOrgGroupPolicyWithHttpInfoAsync( + UUID orgGroupPolicyId) { + // Check if unstable operation is enabled + String operationId = "getOrgGroupPolicy"; + 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 = null; + + // verify the required parameter 'orgGroupPolicyId' is set + if (orgGroupPolicyId == null) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'orgGroupPolicyId' when calling getOrgGroupPolicy")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/org_group_policies/{org_group_policy_id}" + .replaceAll( + "\\{" + "org_group_policy_id" + "\\}", + apiClient.escapeString(orgGroupPolicyId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.OrgGroupsApi.getOrgGroupPolicy", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get an org group policy override. + * + *

See {@link #getOrgGroupPolicyOverrideWithHttpInfo}. + * + * @param orgGroupPolicyOverrideId The ID of the org group policy override. (required) + * @return OrgGroupPolicyOverrideResponse + * @throws ApiException if fails to make API call + */ + public OrgGroupPolicyOverrideResponse getOrgGroupPolicyOverride(UUID orgGroupPolicyOverrideId) + throws ApiException { + return getOrgGroupPolicyOverrideWithHttpInfo(orgGroupPolicyOverrideId).getData(); + } + + /** + * Get an org group policy override. + * + *

See {@link #getOrgGroupPolicyOverrideWithHttpInfoAsync}. + * + * @param orgGroupPolicyOverrideId The ID of the org group policy override. (required) + * @return CompletableFuture<OrgGroupPolicyOverrideResponse> + */ + public CompletableFuture getOrgGroupPolicyOverrideAsync( + UUID orgGroupPolicyOverrideId) { + return getOrgGroupPolicyOverrideWithHttpInfoAsync(orgGroupPolicyOverrideId) + .thenApply( + response -> { + return response.getData(); + }); + } + + /** + * Get a specific organization group policy override by its ID. + * + * @param orgGroupPolicyOverrideId The ID of the org group policy override. (required) + * @return ApiResponse<OrgGroupPolicyOverrideResponse> + * @throws ApiException if fails to make API call + * @http.response.details + * + * + * + * + * + * + * + * + * + *
Response details
Status Code Description Response Headers
200 OK -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
429 Too many requests -
+ */ + public ApiResponse getOrgGroupPolicyOverrideWithHttpInfo( + UUID orgGroupPolicyOverrideId) throws ApiException { + // Check if unstable operation is enabled + String operationId = "getOrgGroupPolicyOverride"; + 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 = null; + + // verify the required parameter 'orgGroupPolicyOverrideId' is set + if (orgGroupPolicyOverrideId == null) { + throw new ApiException( + 400, + "Missing the required parameter 'orgGroupPolicyOverrideId' when calling" + + " getOrgGroupPolicyOverride"); + } + // create path and map variables + String localVarPath = + "/api/v2/org_group_policy_overrides/{org_group_policy_override_id}" + .replaceAll( + "\\{" + "org_group_policy_override_id" + "\\}", + apiClient.escapeString(orgGroupPolicyOverrideId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder = + apiClient.createBuilder( + "v2.OrgGroupsApi.getOrgGroupPolicyOverride", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + return apiClient.invokeAPI( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + + /** + * Get an org group policy override. + * + *

See {@link #getOrgGroupPolicyOverrideWithHttpInfo}. + * + * @param orgGroupPolicyOverrideId The ID of the org group policy override. (required) + * @return CompletableFuture<ApiResponse<OrgGroupPolicyOverrideResponse>> + */ + public CompletableFuture> + getOrgGroupPolicyOverrideWithHttpInfoAsync(UUID orgGroupPolicyOverrideId) { + // Check if unstable operation is enabled + String operationId = "getOrgGroupPolicyOverride"; + 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 = null; + + // verify the required parameter 'orgGroupPolicyOverrideId' is set + if (orgGroupPolicyOverrideId == null) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally( + new ApiException( + 400, + "Missing the required parameter 'orgGroupPolicyOverrideId' when calling" + + " getOrgGroupPolicyOverride")); + return result; + } + // create path and map variables + String localVarPath = + "/api/v2/org_group_policy_overrides/{org_group_policy_override_id}" + .replaceAll( + "\\{" + "org_group_policy_override_id" + "\\}", + apiClient.escapeString(orgGroupPolicyOverrideId.toString())); + + Map localVarHeaderParams = new HashMap(); + + Invocation.Builder builder; + try { + builder = + apiClient.createBuilder( + "v2.OrgGroupsApi.getOrgGroupPolicyOverride", + localVarPath, + new ArrayList(), + localVarHeaderParams, + new HashMap(), + new String[] {"application/json"}, + new String[] {"apiKeyAuth", "appKeyAuth"}); + } catch (ApiException ex) { + CompletableFuture> result = + new CompletableFuture<>(); + result.completeExceptionally(ex); + return result; + } + return apiClient.invokeAPIAsync( + "GET", + builder, + localVarHeaderParams, + new String[] {}, + localVarPostBody, + new HashMap(), + false, + new GenericType() {}); + } + /** Manage optional parameters to listOrgGroupMemberships. */ public static class ListOrgGroupMembershipsOptionalParameters { private UUID filterOrgGroupId; @@ -3054,7 +3380,7 @@ public CompletableFuture updateOrgGroupPolicyAsync( } /** - * Update the content of an existing organization group policy. + * Update an existing organization group policy. * * @param orgGroupPolicyId The ID of the org group policy. (required) * @param body (required) diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyAttributes.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyAttributes.java index cc19fe78892..82362a36e5e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyAttributes.java @@ -21,9 +21,10 @@ /** Attributes of an org group policy. */ @JsonPropertyOrder({ OrgGroupPolicyAttributes.JSON_PROPERTY_CONTENT, - OrgGroupPolicyAttributes.JSON_PROPERTY_ENFORCED_AT, + OrgGroupPolicyAttributes.JSON_PROPERTY_ENFORCEMENT_TIER, OrgGroupPolicyAttributes.JSON_PROPERTY_MODIFIED_AT, - OrgGroupPolicyAttributes.JSON_PROPERTY_POLICY_NAME + OrgGroupPolicyAttributes.JSON_PROPERTY_POLICY_NAME, + OrgGroupPolicyAttributes.JSON_PROPERTY_POLICY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -32,8 +33,8 @@ public class OrgGroupPolicyAttributes { public static final String JSON_PROPERTY_CONTENT = "content"; private Map content = null; - public static final String JSON_PROPERTY_ENFORCED_AT = "enforced_at"; - private OffsetDateTime enforcedAt; + public static final String JSON_PROPERTY_ENFORCEMENT_TIER = "enforcement_tier"; + private OrgGroupPolicyEnforcementTier enforcementTier = OrgGroupPolicyEnforcementTier.DEFAULT; public static final String JSON_PROPERTY_MODIFIED_AT = "modified_at"; private OffsetDateTime modifiedAt; @@ -41,16 +42,25 @@ public class OrgGroupPolicyAttributes { public static final String JSON_PROPERTY_POLICY_NAME = "policy_name"; private String policyName; + public static final String JSON_PROPERTY_POLICY_TYPE = "policy_type"; + private OrgGroupPolicyPolicyType policyType = OrgGroupPolicyPolicyType.ORG_CONFIG; + public OrgGroupPolicyAttributes() {} @JsonCreator public OrgGroupPolicyAttributes( - @JsonProperty(required = true, value = JSON_PROPERTY_ENFORCED_AT) OffsetDateTime enforcedAt, + @JsonProperty(required = true, value = JSON_PROPERTY_ENFORCEMENT_TIER) + OrgGroupPolicyEnforcementTier enforcementTier, @JsonProperty(required = true, value = JSON_PROPERTY_MODIFIED_AT) OffsetDateTime modifiedAt, - @JsonProperty(required = true, value = JSON_PROPERTY_POLICY_NAME) String policyName) { - this.enforcedAt = enforcedAt; + @JsonProperty(required = true, value = JSON_PROPERTY_POLICY_NAME) String policyName, + @JsonProperty(required = true, value = JSON_PROPERTY_POLICY_TYPE) + OrgGroupPolicyPolicyType policyType) { + this.enforcementTier = enforcementTier; + this.unparsed |= !enforcementTier.isValid(); this.modifiedAt = modifiedAt; this.policyName = policyName; + this.policyType = policyType; + this.unparsed |= !policyType.isValid(); } public OrgGroupPolicyAttributes content(Map content) { @@ -82,24 +92,31 @@ public void setContent(Map content) { this.content = content; } - public OrgGroupPolicyAttributes enforcedAt(OffsetDateTime enforcedAt) { - this.enforcedAt = enforcedAt; + public OrgGroupPolicyAttributes enforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) { + this.enforcementTier = enforcementTier; + this.unparsed |= !enforcementTier.isValid(); return this; } /** - * Timestamp when the policy was enforced. + * The enforcement tier of the policy. DEFAULT means the policy is set but member + * orgs may mutate it. ENFORCE means the policy is strictly controlled and mutations + * are blocked for affected orgs. DELEGATE means each member org controls its own + * value. * - * @return enforcedAt + * @return enforcementTier */ - @JsonProperty(JSON_PROPERTY_ENFORCED_AT) + @JsonProperty(JSON_PROPERTY_ENFORCEMENT_TIER) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public OffsetDateTime getEnforcedAt() { - return enforcedAt; + public OrgGroupPolicyEnforcementTier getEnforcementTier() { + return enforcementTier; } - public void setEnforcedAt(OffsetDateTime enforcedAt) { - this.enforcedAt = enforcedAt; + public void setEnforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) { + if (!enforcementTier.isValid()) { + this.unparsed = true; + } + this.enforcementTier = enforcementTier; } public OrgGroupPolicyAttributes modifiedAt(OffsetDateTime modifiedAt) { @@ -142,6 +159,31 @@ public void setPolicyName(String policyName) { this.policyName = policyName; } + public OrgGroupPolicyAttributes policyType(OrgGroupPolicyPolicyType policyType) { + this.policyType = policyType; + this.unparsed |= !policyType.isValid(); + return this; + } + + /** + * The type of the policy. Only org_config is supported, indicating a policy backed + * by an organization configuration setting. + * + * @return policyType + */ + @JsonProperty(JSON_PROPERTY_POLICY_TYPE) + @JsonInclude(value = JsonInclude.Include.ALWAYS) + public OrgGroupPolicyPolicyType getPolicyType() { + return policyType; + } + + public void setPolicyType(OrgGroupPolicyPolicyType policyType) { + if (!policyType.isValid()) { + this.unparsed = true; + } + this.policyType = policyType; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -199,15 +241,17 @@ public boolean equals(Object o) { } OrgGroupPolicyAttributes orgGroupPolicyAttributes = (OrgGroupPolicyAttributes) o; return Objects.equals(this.content, orgGroupPolicyAttributes.content) - && Objects.equals(this.enforcedAt, orgGroupPolicyAttributes.enforcedAt) + && Objects.equals(this.enforcementTier, orgGroupPolicyAttributes.enforcementTier) && Objects.equals(this.modifiedAt, orgGroupPolicyAttributes.modifiedAt) && Objects.equals(this.policyName, orgGroupPolicyAttributes.policyName) + && Objects.equals(this.policyType, orgGroupPolicyAttributes.policyType) && Objects.equals(this.additionalProperties, orgGroupPolicyAttributes.additionalProperties); } @Override public int hashCode() { - return Objects.hash(content, enforcedAt, modifiedAt, policyName, additionalProperties); + return Objects.hash( + content, enforcementTier, modifiedAt, policyName, policyType, additionalProperties); } @Override @@ -215,9 +259,10 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrgGroupPolicyAttributes {\n"); sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append(" enforcedAt: ").append(toIndentedString(enforcedAt)).append("\n"); + sb.append(" enforcementTier: ").append(toIndentedString(enforcementTier)).append("\n"); sb.append(" modifiedAt: ").append(toIndentedString(modifiedAt)).append("\n"); sb.append(" policyName: ").append(toIndentedString(policyName)).append("\n"); + sb.append(" policyType: ").append(toIndentedString(policyType)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateAttributes.java index 0be94b1f43d..9e541d95040 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateAttributes.java @@ -17,10 +17,16 @@ import java.util.Map; import java.util.Objects; -/** Attributes for creating an org group policy. */ +/** + * Attributes for creating an org group policy. If policy_type or + * enforcement_tier are not provided, they default to org_config and + * DEFAULT respectively. + */ @JsonPropertyOrder({ OrgGroupPolicyCreateAttributes.JSON_PROPERTY_CONTENT, - OrgGroupPolicyCreateAttributes.JSON_PROPERTY_POLICY_NAME + OrgGroupPolicyCreateAttributes.JSON_PROPERTY_ENFORCEMENT_TIER, + OrgGroupPolicyCreateAttributes.JSON_PROPERTY_POLICY_NAME, + OrgGroupPolicyCreateAttributes.JSON_PROPERTY_POLICY_TYPE }) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -29,9 +35,15 @@ public class OrgGroupPolicyCreateAttributes { public static final String JSON_PROPERTY_CONTENT = "content"; private Map content = new HashMap(); + public static final String JSON_PROPERTY_ENFORCEMENT_TIER = "enforcement_tier"; + private OrgGroupPolicyEnforcementTier enforcementTier = OrgGroupPolicyEnforcementTier.DEFAULT; + public static final String JSON_PROPERTY_POLICY_NAME = "policy_name"; private String policyName; + public static final String JSON_PROPERTY_POLICY_TYPE = "policy_type"; + private OrgGroupPolicyPolicyType policyType = OrgGroupPolicyPolicyType.ORG_CONFIG; + public OrgGroupPolicyCreateAttributes() {} @JsonCreator @@ -67,6 +79,35 @@ public void setContent(Map content) { this.content = content; } + public OrgGroupPolicyCreateAttributes enforcementTier( + OrgGroupPolicyEnforcementTier enforcementTier) { + this.enforcementTier = enforcementTier; + this.unparsed |= !enforcementTier.isValid(); + return this; + } + + /** + * The enforcement tier of the policy. DEFAULT means the policy is set but member + * orgs may mutate it. ENFORCE means the policy is strictly controlled and mutations + * are blocked for affected orgs. DELEGATE means each member org controls its own + * value. + * + * @return enforcementTier + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ENFORCEMENT_TIER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OrgGroupPolicyEnforcementTier getEnforcementTier() { + return enforcementTier; + } + + public void setEnforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) { + if (!enforcementTier.isValid()) { + this.unparsed = true; + } + this.enforcementTier = enforcementTier; + } + public OrgGroupPolicyCreateAttributes policyName(String policyName) { this.policyName = policyName; return this; @@ -87,6 +128,32 @@ public void setPolicyName(String policyName) { this.policyName = policyName; } + public OrgGroupPolicyCreateAttributes policyType(OrgGroupPolicyPolicyType policyType) { + this.policyType = policyType; + this.unparsed |= !policyType.isValid(); + return this; + } + + /** + * The type of the policy. Only org_config is supported, indicating a policy backed + * by an organization configuration setting. + * + * @return policyType + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_POLICY_TYPE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OrgGroupPolicyPolicyType getPolicyType() { + return policyType; + } + + public void setPolicyType(OrgGroupPolicyPolicyType policyType) { + if (!policyType.isValid()) { + this.unparsed = true; + } + this.policyType = policyType; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -145,14 +212,16 @@ public boolean equals(Object o) { OrgGroupPolicyCreateAttributes orgGroupPolicyCreateAttributes = (OrgGroupPolicyCreateAttributes) o; return Objects.equals(this.content, orgGroupPolicyCreateAttributes.content) + && Objects.equals(this.enforcementTier, orgGroupPolicyCreateAttributes.enforcementTier) && Objects.equals(this.policyName, orgGroupPolicyCreateAttributes.policyName) + && Objects.equals(this.policyType, orgGroupPolicyCreateAttributes.policyType) && Objects.equals( this.additionalProperties, orgGroupPolicyCreateAttributes.additionalProperties); } @Override public int hashCode() { - return Objects.hash(content, policyName, additionalProperties); + return Objects.hash(content, enforcementTier, policyName, policyType, additionalProperties); } @Override @@ -160,7 +229,9 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrgGroupPolicyCreateAttributes {\n"); sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" enforcementTier: ").append(toIndentedString(enforcementTier)).append("\n"); sb.append(" policyName: ").append(toIndentedString(policyName)).append("\n"); + sb.append(" policyType: ").append(toIndentedString(policyType)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\n"); diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateData.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateData.java index 116ec810863..efea81a6f93 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyCreateData.java @@ -60,7 +60,9 @@ public OrgGroupPolicyCreateData attributes(OrgGroupPolicyCreateAttributes attrib } /** - * Attributes for creating an org group policy. + * Attributes for creating an org group policy. If policy_type or + * enforcement_tier are not provided, they default to org_config and + * DEFAULT respectively. * * @return attributes */ diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyEnforcementTier.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyEnforcementTier.java new file mode 100644 index 00000000000..73f2a240ff9 --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyEnforcementTier.java @@ -0,0 +1,65 @@ +/* + * 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 enforcement tier of the policy. DEFAULT means the policy is set but member orgs + * may mutate it. ENFORCE means the policy is strictly controlled and mutations are + * blocked for affected orgs. DELEGATE means each member org controls its own value. + */ +@JsonSerialize(using = OrgGroupPolicyEnforcementTier.OrgGroupPolicyEnforcementTierSerializer.class) +public class OrgGroupPolicyEnforcementTier extends ModelEnum { + + private static final Set allowedValues = + new HashSet(Arrays.asList("DEFAULT", "ENFORCE", "DELEGATE")); + + public static final OrgGroupPolicyEnforcementTier DEFAULT = + new OrgGroupPolicyEnforcementTier("DEFAULT"); + public static final OrgGroupPolicyEnforcementTier ENFORCE = + new OrgGroupPolicyEnforcementTier("ENFORCE"); + public static final OrgGroupPolicyEnforcementTier DELEGATE = + new OrgGroupPolicyEnforcementTier("DELEGATE"); + + OrgGroupPolicyEnforcementTier(String value) { + super(value, allowedValues); + } + + public static class OrgGroupPolicyEnforcementTierSerializer + extends StdSerializer { + public OrgGroupPolicyEnforcementTierSerializer(Class t) { + super(t); + } + + public OrgGroupPolicyEnforcementTierSerializer() { + this(null); + } + + @Override + public void serialize( + OrgGroupPolicyEnforcementTier value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static OrgGroupPolicyEnforcementTier fromValue(String value) { + return new OrgGroupPolicyEnforcementTier(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateAttributes.java index 2da703d0c7b..499f98402d5 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateAttributes.java @@ -18,7 +18,10 @@ import java.util.Objects; import java.util.UUID; -/** Attributes for updating a policy override. */ +/** + * Attributes for updating a policy override. The org_uuid and org_site + * fields must match the existing override and cannot be changed. + */ @JsonPropertyOrder({ OrgGroupPolicyOverrideUpdateAttributes.JSON_PROPERTY_ORG_SITE, OrgGroupPolicyOverrideUpdateAttributes.JSON_PROPERTY_ORG_UUID diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateData.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateData.java index 00d80af12c8..964879f945b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateData.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyOverrideUpdateData.java @@ -60,7 +60,8 @@ public OrgGroupPolicyOverrideUpdateData attributes( } /** - * Attributes for updating a policy override. + * Attributes for updating a policy override. The org_uuid and org_site + * fields must match the existing override and cannot be changed. * * @return attributes */ diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyPolicyType.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyPolicyType.java new file mode 100644 index 00000000000..ad8ee90b73d --- /dev/null +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyPolicyType.java @@ -0,0 +1,59 @@ +/* + * 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 type of the policy. Only org_config is supported, indicating a policy backed by + * an organization configuration setting. + */ +@JsonSerialize(using = OrgGroupPolicyPolicyType.OrgGroupPolicyPolicyTypeSerializer.class) +public class OrgGroupPolicyPolicyType extends ModelEnum { + + private static final Set allowedValues = new HashSet(Arrays.asList("org_config")); + + public static final OrgGroupPolicyPolicyType ORG_CONFIG = + new OrgGroupPolicyPolicyType("org_config"); + + OrgGroupPolicyPolicyType(String value) { + super(value, allowedValues); + } + + public static class OrgGroupPolicyPolicyTypeSerializer + extends StdSerializer { + public OrgGroupPolicyPolicyTypeSerializer(Class t) { + super(t); + } + + public OrgGroupPolicyPolicyTypeSerializer() { + this(null); + } + + @Override + public void serialize( + OrgGroupPolicyPolicyType value, JsonGenerator jgen, SerializerProvider provider) + throws IOException, JsonProcessingException { + jgen.writeObject(value.value); + } + } + + @JsonCreator + public static OrgGroupPolicyPolicyType fromValue(String value) { + return new OrgGroupPolicyPolicyType(value); + } +} diff --git a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyUpdateAttributes.java b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyUpdateAttributes.java index 48fd2c3aeda..428c121c21b 100644 --- a/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyUpdateAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/OrgGroupPolicyUpdateAttributes.java @@ -17,7 +17,10 @@ import java.util.Objects; /** Attributes for updating an org group policy. */ -@JsonPropertyOrder({OrgGroupPolicyUpdateAttributes.JSON_PROPERTY_CONTENT}) +@JsonPropertyOrder({ + OrgGroupPolicyUpdateAttributes.JSON_PROPERTY_CONTENT, + OrgGroupPolicyUpdateAttributes.JSON_PROPERTY_ENFORCEMENT_TIER +}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OrgGroupPolicyUpdateAttributes { @@ -25,6 +28,9 @@ public class OrgGroupPolicyUpdateAttributes { public static final String JSON_PROPERTY_CONTENT = "content"; private Map content = null; + public static final String JSON_PROPERTY_ENFORCEMENT_TIER = "enforcement_tier"; + private OrgGroupPolicyEnforcementTier enforcementTier = OrgGroupPolicyEnforcementTier.DEFAULT; + public OrgGroupPolicyUpdateAttributes content(Map content) { this.content = content; return this; @@ -54,6 +60,35 @@ public void setContent(Map content) { this.content = content; } + public OrgGroupPolicyUpdateAttributes enforcementTier( + OrgGroupPolicyEnforcementTier enforcementTier) { + this.enforcementTier = enforcementTier; + this.unparsed |= !enforcementTier.isValid(); + return this; + } + + /** + * The enforcement tier of the policy. DEFAULT means the policy is set but member + * orgs may mutate it. ENFORCE means the policy is strictly controlled and mutations + * are blocked for affected orgs. DELEGATE means each member org controls its own + * value. + * + * @return enforcementTier + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ENFORCEMENT_TIER) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public OrgGroupPolicyEnforcementTier getEnforcementTier() { + return enforcementTier; + } + + public void setEnforcementTier(OrgGroupPolicyEnforcementTier enforcementTier) { + if (!enforcementTier.isValid()) { + this.unparsed = true; + } + this.enforcementTier = enforcementTier; + } + /** * A container for additional, undeclared properties. This is a holder for any undeclared * properties as specified with the 'additionalProperties' keyword in the OAS document. @@ -112,13 +147,14 @@ public boolean equals(Object o) { OrgGroupPolicyUpdateAttributes orgGroupPolicyUpdateAttributes = (OrgGroupPolicyUpdateAttributes) o; return Objects.equals(this.content, orgGroupPolicyUpdateAttributes.content) + && Objects.equals(this.enforcementTier, orgGroupPolicyUpdateAttributes.enforcementTier) && Objects.equals( this.additionalProperties, orgGroupPolicyUpdateAttributes.additionalProperties); } @Override public int hashCode() { - return Objects.hash(content, additionalProperties); + return Objects.hash(content, enforcementTier, additionalProperties); } @Override @@ -126,6 +162,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OrgGroupPolicyUpdateAttributes {\n"); sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" enforcementTier: ").append(toIndentedString(enforcementTier)).append("\n"); sb.append(" additionalProperties: ") .append(toIndentedString(additionalProperties)) .append("\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/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/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/org_groups.feature b/src/test/resources/com/datadog/api/client/v2/api/org_groups.feature index 73cce63cd8e..b8c5fe1b61d 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/org_groups.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/org_groups.feature @@ -12,7 +12,7 @@ Feature: Org Groups Scenario: Bulk update org group memberships returns "Bad Request" response Given operation "BulkUpdateOrgGroupMemberships" enabled And new "BulkUpdateOrgGroupMemberships" request - And body with value {"data": {"attributes": {"orgs": [{"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} + And body with value {"data": {"attributes": {"orgs": [{"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} When the request is sent Then the response status is 400 Bad Request @@ -20,7 +20,7 @@ Feature: Org Groups Scenario: Bulk update org group memberships returns "Not Found" response Given operation "BulkUpdateOrgGroupMemberships" enabled And new "BulkUpdateOrgGroupMemberships" request - And body with value {"data": {"attributes": {"orgs": [{"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} + And body with value {"data": {"attributes": {"orgs": [{"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} When the request is sent Then the response status is 404 Not Found @@ -28,7 +28,7 @@ Feature: Org Groups Scenario: Bulk update org group memberships returns "OK" response Given operation "BulkUpdateOrgGroupMemberships" enabled And new "BulkUpdateOrgGroupMemberships" request - And body with value {"data": {"attributes": {"orgs": [{"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} + And body with value {"data": {"attributes": {"orgs": [{"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}]}, "relationships": {"source_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "target_org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_membership_bulk_updates"}} When the request is sent Then the response status is 200 OK @@ -36,7 +36,7 @@ Feature: Org Groups Scenario: Create an org group policy override returns "Bad Request" response Given operation "CreateOrgGroupPolicyOverride" enabled And new "CreateOrgGroupPolicyOverride" request - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 400 Bad Request @@ -44,7 +44,7 @@ Feature: Org Groups Scenario: Create an org group policy override returns "Conflict" response Given operation "CreateOrgGroupPolicyOverride" enabled And new "CreateOrgGroupPolicyOverride" request - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 409 Conflict @@ -52,7 +52,7 @@ Feature: Org Groups Scenario: Create an org group policy override returns "Created" response Given operation "CreateOrgGroupPolicyOverride" enabled And new "CreateOrgGroupPolicyOverride" request - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}, "org_group_policy": {"data": {"id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}}}, "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 201 Created @@ -60,7 +60,7 @@ Feature: Org Groups Scenario: Create an org group policy returns "Bad Request" response Given operation "CreateOrgGroupPolicy" enabled And new "CreateOrgGroupPolicy" request - And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "policy_name": "monitor_timezone"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} When the request is sent Then the response status is 400 Bad Request @@ -68,7 +68,7 @@ Feature: Org Groups Scenario: Create an org group policy returns "Conflict" response Given operation "CreateOrgGroupPolicy" enabled And new "CreateOrgGroupPolicy" request - And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "policy_name": "monitor_timezone"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} When the request is sent Then the response status is 409 Conflict @@ -76,7 +76,7 @@ Feature: Org Groups Scenario: Create an org group policy returns "Created" response Given operation "CreateOrgGroupPolicy" enabled And new "CreateOrgGroupPolicy" request - And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "policy_name": "monitor_timezone"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT", "policy_name": "monitor_timezone", "policy_type": "org_config"}, "relationships": {"org_group": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789", "type": "org_groups"}}}, "type": "org_group_policies"}} When the request is sent Then the response status is 201 Created @@ -200,6 +200,54 @@ Feature: Org Groups When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy override returns "Bad Request" response + Given operation "GetOrgGroupPolicyOverride" enabled + And new "GetOrgGroupPolicyOverride" request + And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy override returns "Not Found" response + Given operation "GetOrgGroupPolicyOverride" enabled + And new "GetOrgGroupPolicyOverride" request + And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy override returns "OK" response + Given operation "GetOrgGroupPolicyOverride" enabled + And new "GetOrgGroupPolicyOverride" request + And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy returns "Bad Request" response + Given operation "GetOrgGroupPolicy" enabled + And new "GetOrgGroupPolicy" request + And request contains "org_group_policy_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy returns "Not Found" response + Given operation "GetOrgGroupPolicy" enabled + And new "GetOrgGroupPolicy" request + And request contains "org_group_policy_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/org-management + Scenario: Get an org group policy returns "OK" response + Given operation "GetOrgGroupPolicy" enabled + And new "GetOrgGroupPolicy" request + And request contains "org_group_policy_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/org-management Scenario: Get an org group returns "Bad Request" response Given operation "GetOrgGroup" enabled @@ -323,7 +371,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicyOverride" enabled And new "UpdateOrgGroupPolicyOverride" request And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 400 Bad Request @@ -332,7 +380,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicyOverride" enabled And new "UpdateOrgGroupPolicyOverride" request And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 404 Not Found @@ -341,7 +389,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicyOverride" enabled And new "UpdateOrgGroupPolicyOverride" request And request contains "org_group_policy_override_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"org_site": "datadoghq.com", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} + And body with value {"data": {"attributes": {"org_site": "us1", "org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"}, "id": "9f8e7d6c-5b4a-3210-fedc-ba0987654321", "type": "org_group_policy_overrides"}} When the request is sent Then the response status is 200 OK @@ -350,7 +398,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicy" enabled And new "UpdateOrgGroupPolicy" request And request contains "org_group_policy_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"content": {"value": "UTC"}}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} When the request is sent Then the response status is 400 Bad Request @@ -359,7 +407,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicy" enabled And new "UpdateOrgGroupPolicy" request And request contains "org_group_policy_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"content": {"value": "UTC"}}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} When the request is sent Then the response status is 404 Not Found @@ -368,7 +416,7 @@ Feature: Org Groups Given operation "UpdateOrgGroupPolicy" enabled And new "UpdateOrgGroupPolicy" request And request contains "org_group_policy_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"content": {"value": "UTC"}}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} + And body with value {"data": {"attributes": {"content": {"value": "UTC"}, "enforcement_tier": "DEFAULT"}, "id": "1a2b3c4d-5e6f-7890-abcd-ef0123456789", "type": "org_group_policies"}} When the request is sent Then the response status is 200 OK 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 061beded331..484b2541ffb 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 @@ -4228,6 +4228,12 @@ "type": "unsafe" } }, + "GetOrgGroupPolicy": { + "tag": "Org Groups", + "undo": { + "type": "safe" + } + }, "UpdateOrgGroupPolicy": { "tag": "Org Groups", "undo": { @@ -4264,6 +4270,12 @@ "type": "unsafe" } }, + "GetOrgGroupPolicyOverride": { + "tag": "Org Groups", + "undo": { + "type": "safe" + } + }, "UpdateOrgGroupPolicyOverride": { "tag": "Org Groups", "undo": {