diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32fbca19..826af923 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -132,7 +132,7 @@ jobs: # - name: "[PUBLISH] configure aws credentials" - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 if: env.REG_EVENT == 'push' with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} diff --git a/providers/src/datadog/v00.00.00000/provider.yaml b/providers/src/datadog/v00.00.00000/provider.yaml index dd612f06..77917f68 100644 --- a/providers/src/datadog/v00.00.00000/provider.yaml +++ b/providers/src/datadog/v00.00.00000/provider.yaml @@ -425,5 +425,12 @@ providerServices: description: 'Create, Edit, And Disable Users.' config: auth: - type: bearer + type: custom + location: header + name: DD-API-KEY credentialsenvvar: DD_API_KEY + successor: + type: custom + location: header + name: DD-APPLICATION-KEY + credentialsenvvar: DD_APP_KEY diff --git a/providers/src/datadog/v00.00.00000/services/apm_retention_filters.yaml b/providers/src/datadog/v00.00.00000/services/apm_retention_filters.yaml index 38345baa..cf075ced 100644 --- a/providers/src/datadog/v00.00.00000/services/apm_retention_filters.yaml +++ b/providers/src/datadog/v00.00.00000/services/apm_retention_filters.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/audit.yaml b/providers/src/datadog/v00.00.00000/services/audit.yaml index d8d5902b..607fd5fd 100644 --- a/providers/src/datadog/v00.00.00000/services/audit.yaml +++ b/providers/src/datadog/v00.00.00000/services/audit.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/authn_mappings.yaml b/providers/src/datadog/v00.00.00000/services/authn_mappings.yaml index f0cf53d8..74343d00 100644 --- a/providers/src/datadog/v00.00.00000/services/authn_mappings.yaml +++ b/providers/src/datadog/v00.00.00000/services/authn_mappings.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/ci_visibility.yaml b/providers/src/datadog/v00.00.00000/services/ci_visibility.yaml index 12140c55..767a65a1 100644 --- a/providers/src/datadog/v00.00.00000/services/ci_visibility.yaml +++ b/providers/src/datadog/v00.00.00000/services/ci_visibility.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/cloud_workload_security.yaml b/providers/src/datadog/v00.00.00000/services/cloud_workload_security.yaml index 18970167..bc02b556 100644 --- a/providers/src/datadog/v00.00.00000/services/cloud_workload_security.yaml +++ b/providers/src/datadog/v00.00.00000/services/cloud_workload_security.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/cloudflare_integration.yaml b/providers/src/datadog/v00.00.00000/services/cloudflare_integration.yaml index 8ac5c0a3..c24a06e3 100644 --- a/providers/src/datadog/v00.00.00000/services/cloudflare_integration.yaml +++ b/providers/src/datadog/v00.00.00000/services/cloudflare_integration.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/confluent_cloud.yaml b/providers/src/datadog/v00.00.00000/services/confluent_cloud.yaml index f66e26e4..309c09ba 100644 --- a/providers/src/datadog/v00.00.00000/services/confluent_cloud.yaml +++ b/providers/src/datadog/v00.00.00000/services/confluent_cloud.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/containers.yaml b/providers/src/datadog/v00.00.00000/services/containers.yaml index a396f80e..8216dac5 100644 --- a/providers/src/datadog/v00.00.00000/services/containers.yaml +++ b/providers/src/datadog/v00.00.00000/services/containers.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/dashboard_lists.yaml b/providers/src/datadog/v00.00.00000/services/dashboard_lists.yaml index 2ede739e..c8c5d643 100644 --- a/providers/src/datadog/v00.00.00000/services/dashboard_lists.yaml +++ b/providers/src/datadog/v00.00.00000/services/dashboard_lists.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/dora_metrics.yaml b/providers/src/datadog/v00.00.00000/services/dora_metrics.yaml index e7d66e1c..46ca83e6 100644 --- a/providers/src/datadog/v00.00.00000/services/dora_metrics.yaml +++ b/providers/src/datadog/v00.00.00000/services/dora_metrics.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/downtimes.yaml b/providers/src/datadog/v00.00.00000/services/downtimes.yaml index 497cd93a..6823062e 100644 --- a/providers/src/datadog/v00.00.00000/services/downtimes.yaml +++ b/providers/src/datadog/v00.00.00000/services/downtimes.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/events.yaml b/providers/src/datadog/v00.00.00000/services/events.yaml index 24a2a93d..9d36fea2 100644 --- a/providers/src/datadog/v00.00.00000/services/events.yaml +++ b/providers/src/datadog/v00.00.00000/services/events.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/fastly_integration.yaml b/providers/src/datadog/v00.00.00000/services/fastly_integration.yaml index c915e2ca..79b47a09 100644 --- a/providers/src/datadog/v00.00.00000/services/fastly_integration.yaml +++ b/providers/src/datadog/v00.00.00000/services/fastly_integration.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/gcp_integration.yaml b/providers/src/datadog/v00.00.00000/services/gcp_integration.yaml index 85febfe6..06a4a591 100644 --- a/providers/src/datadog/v00.00.00000/services/gcp_integration.yaml +++ b/providers/src/datadog/v00.00.00000/services/gcp_integration.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/incidents.yaml b/providers/src/datadog/v00.00.00000/services/incidents.yaml index 4a52c89b..1c8908cc 100644 --- a/providers/src/datadog/v00.00.00000/services/incidents.yaml +++ b/providers/src/datadog/v00.00.00000/services/incidents.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/ip_allowlist.yaml b/providers/src/datadog/v00.00.00000/services/ip_allowlist.yaml index be8b79b3..741b97ba 100644 --- a/providers/src/datadog/v00.00.00000/services/ip_allowlist.yaml +++ b/providers/src/datadog/v00.00.00000/services/ip_allowlist.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/key_management.yaml b/providers/src/datadog/v00.00.00000/services/key_management.yaml index 63298d9b..afe6d67d 100644 --- a/providers/src/datadog/v00.00.00000/services/key_management.yaml +++ b/providers/src/datadog/v00.00.00000/services/key_management.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/log_archives.yaml b/providers/src/datadog/v00.00.00000/services/log_archives.yaml index cb60854b..da2f29bf 100644 --- a/providers/src/datadog/v00.00.00000/services/log_archives.yaml +++ b/providers/src/datadog/v00.00.00000/services/log_archives.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/log_metrics.yaml b/providers/src/datadog/v00.00.00000/services/log_metrics.yaml index 334254de..659ffd32 100644 --- a/providers/src/datadog/v00.00.00000/services/log_metrics.yaml +++ b/providers/src/datadog/v00.00.00000/services/log_metrics.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/logs.yaml b/providers/src/datadog/v00.00.00000/services/logs.yaml index 2ae6f5cb..ef5bfa0a 100644 --- a/providers/src/datadog/v00.00.00000/services/logs.yaml +++ b/providers/src/datadog/v00.00.00000/services/logs.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/metrics.yaml b/providers/src/datadog/v00.00.00000/services/metrics.yaml index 20e41521..724cdad4 100644 --- a/providers/src/datadog/v00.00.00000/services/metrics.yaml +++ b/providers/src/datadog/v00.00.00000/services/metrics.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/monitors.yaml b/providers/src/datadog/v00.00.00000/services/monitors.yaml index e5e32b2a..aaee3613 100644 --- a/providers/src/datadog/v00.00.00000/services/monitors.yaml +++ b/providers/src/datadog/v00.00.00000/services/monitors.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/okta_integration.yaml b/providers/src/datadog/v00.00.00000/services/okta_integration.yaml index 018f1493..19b9a5ca 100644 --- a/providers/src/datadog/v00.00.00000/services/okta_integration.yaml +++ b/providers/src/datadog/v00.00.00000/services/okta_integration.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/opsgenie_integration.yaml b/providers/src/datadog/v00.00.00000/services/opsgenie_integration.yaml index 0b16c187..d688d737 100644 --- a/providers/src/datadog/v00.00.00000/services/opsgenie_integration.yaml +++ b/providers/src/datadog/v00.00.00000/services/opsgenie_integration.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/organizations.yaml b/providers/src/datadog/v00.00.00000/services/organizations.yaml index 1a8f720e..e64a4f34 100644 --- a/providers/src/datadog/v00.00.00000/services/organizations.yaml +++ b/providers/src/datadog/v00.00.00000/services/organizations.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/powerpack.yaml b/providers/src/datadog/v00.00.00000/services/powerpack.yaml index 2b7d1e37..95201ff8 100644 --- a/providers/src/datadog/v00.00.00000/services/powerpack.yaml +++ b/providers/src/datadog/v00.00.00000/services/powerpack.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/processes.yaml b/providers/src/datadog/v00.00.00000/services/processes.yaml index 6bcadb98..4a140e7e 100644 --- a/providers/src/datadog/v00.00.00000/services/processes.yaml +++ b/providers/src/datadog/v00.00.00000/services/processes.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/restriction_policies.yaml b/providers/src/datadog/v00.00.00000/services/restriction_policies.yaml index b6fefbd0..c8493047 100644 --- a/providers/src/datadog/v00.00.00000/services/restriction_policies.yaml +++ b/providers/src/datadog/v00.00.00000/services/restriction_policies.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/roles.yaml b/providers/src/datadog/v00.00.00000/services/roles.yaml index 5ebcc4a7..20bdb34f 100644 --- a/providers/src/datadog/v00.00.00000/services/roles.yaml +++ b/providers/src/datadog/v00.00.00000/services/roles.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/rum.yaml b/providers/src/datadog/v00.00.00000/services/rum.yaml index dff8d8f7..0cb447f0 100644 --- a/providers/src/datadog/v00.00.00000/services/rum.yaml +++ b/providers/src/datadog/v00.00.00000/services/rum.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/security_monitoring.yaml b/providers/src/datadog/v00.00.00000/services/security_monitoring.yaml index 22ef3a99..cc94d949 100644 --- a/providers/src/datadog/v00.00.00000/services/security_monitoring.yaml +++ b/providers/src/datadog/v00.00.00000/services/security_monitoring.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/sensitive_data_scanner.yaml b/providers/src/datadog/v00.00.00000/services/sensitive_data_scanner.yaml index fc007b13..6c5d110e 100644 --- a/providers/src/datadog/v00.00.00000/services/sensitive_data_scanner.yaml +++ b/providers/src/datadog/v00.00.00000/services/sensitive_data_scanner.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/service_accounts.yaml b/providers/src/datadog/v00.00.00000/services/service_accounts.yaml index 15a9aca6..f82d4cb6 100644 --- a/providers/src/datadog/v00.00.00000/services/service_accounts.yaml +++ b/providers/src/datadog/v00.00.00000/services/service_accounts.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/service_definition.yaml b/providers/src/datadog/v00.00.00000/services/service_definition.yaml index d556b9ed..91557e0e 100644 --- a/providers/src/datadog/v00.00.00000/services/service_definition.yaml +++ b/providers/src/datadog/v00.00.00000/services/service_definition.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/service_scorecards.yaml b/providers/src/datadog/v00.00.00000/services/service_scorecards.yaml index 84fb0887..f6825f61 100644 --- a/providers/src/datadog/v00.00.00000/services/service_scorecards.yaml +++ b/providers/src/datadog/v00.00.00000/services/service_scorecards.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/span_metrics.yaml b/providers/src/datadog/v00.00.00000/services/span_metrics.yaml index 0c3ce4f6..1295d6ab 100644 --- a/providers/src/datadog/v00.00.00000/services/span_metrics.yaml +++ b/providers/src/datadog/v00.00.00000/services/span_metrics.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/spans.yaml b/providers/src/datadog/v00.00.00000/services/spans.yaml index 2f14acda..b5c85e1d 100644 --- a/providers/src/datadog/v00.00.00000/services/spans.yaml +++ b/providers/src/datadog/v00.00.00000/services/spans.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/synthetics.yaml b/providers/src/datadog/v00.00.00000/services/synthetics.yaml index 4c8c04d6..fa4f2108 100644 --- a/providers/src/datadog/v00.00.00000/services/synthetics.yaml +++ b/providers/src/datadog/v00.00.00000/services/synthetics.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/teams.yaml b/providers/src/datadog/v00.00.00000/services/teams.yaml index 96b79aa3..3312666d 100644 --- a/providers/src/datadog/v00.00.00000/services/teams.yaml +++ b/providers/src/datadog/v00.00.00000/services/teams.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/usage_metering.yaml b/providers/src/datadog/v00.00.00000/services/usage_metering.yaml index f92924ab..d791b7b8 100644 --- a/providers/src/datadog/v00.00.00000/services/usage_metering.yaml +++ b/providers/src/datadog/v00.00.00000/services/usage_metering.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com diff --git a/providers/src/datadog/v00.00.00000/services/users.yaml b/providers/src/datadog/v00.00.00000/services/users.yaml index de06320b..432f2d88 100644 --- a/providers/src/datadog/v00.00.00000/services/users.yaml +++ b/providers/src/datadog/v00.00.00000/services/users.yaml @@ -1,7 +1,10 @@ openapi: 3.0.0 servers: - - url: 'https://api.datadoghq.com' - description: Datadog API + - url: 'https://{dd_site:^(?:api\.datadoghq\.com|us3\.datadoghq\.com|us5\.datadoghq\.com|datadoghq\.eu|ddog-gov\.com)$}/' + variables: + dd_site: + default: api.datadoghq.com + description: The regional site for Datadog customers. info: contact: email: support@datadoghq.com @@ -1569,6 +1572,44 @@ components: insert: [] update: [] delete: [] + vw_users: + name: vw_users + id: datadog.users.vw_users + config: + views: + select: + predicate: sqlDialect == "sqlite3" + ddl: |- + SELECT + id, + JSON_EXTRACT(attributes, '$.name') as name, + JSON_EXTRACT(attributes, '$.email') as email, + JSON_EXTRACT(attributes, '$.handle') as handle, + JSON_EXTRACT(attributes, '$.title') as title, + JSON_EXTRACT(attributes, '$.status') as status, + CASE + WHEN JSON_EXTRACT(attributes, '$.mfa_enabled') = 1 THEN 'true' + ELSE 'false' + END as mfa_enabled, + CASE + WHEN JSON_EXTRACT(attributes, '$.verified') = 1 THEN 'true' + ELSE 'false' + END as verified, + CASE + WHEN JSON_EXTRACT(attributes, '$.disabled') = 1 THEN 'true' + ELSE 'false' + END as disabled, + CASE + WHEN JSON_EXTRACT(attributes, '$.service_account') = 1 THEN 'true' + ELSE 'false' + END as service_account, + JSON_EXTRACT(attributes, '$.icon') as icon, + JSON_EXTRACT(attributes, '$.allowed_login_methods') as allowed_login_methods, + JSON_EXTRACT(attributes, '$.created_at') as created_at, + JSON_EXTRACT(attributes, '$.modified_at') as modified_at + FROM + datadog.users.users + WHERE dd_site = 'us3.datadoghq.com' paths: /api/v2/user_invitations: post: diff --git a/providers/src/homebrew/v00.00.00000/services/formula.yaml b/providers/src/homebrew/v00.00.00000/services/formula.yaml index d74c441b..fc8e4113 100644 --- a/providers/src/homebrew/v00.00.00000/services/formula.yaml +++ b/providers/src/homebrew/v00.00.00000/services/formula.yaml @@ -439,9 +439,9 @@ components: insert: [] update: [] delete: [] - info: - name: info - id: homebrew.formula.info + vw_info: + name: vw_info + id: homebrew.formula.vw_info config: views: select: @@ -460,31 +460,31 @@ components: FROM homebrew.formula.formula WHERE formula_name = 'stackql' - build_errors: - name: build_errors - id: homebrew.formula.build_errors + vw_build_errors: + name: vw_build_errors + id: homebrew.formula.vw_build_errors config: views: select: predicate: sqlDialect == "sqlite3" ddl: |- SELECT - formula_name as name, + name as formula_name, JSON_EXTRACT(JSON_EXTRACT(analytics, '$.build_error.30d'), '$.' || formula_name) as build_errors_30d FROM homebrew.formula.formula WHERE formula_name = 'stackql' - usage_metrics: - name: usage_metrics - id: homebrew.formula.usage_metrics + vw_usage_metrics: + name: vw_usage_metrics + id: homebrew.formula.vw_usage_metrics config: views: select: predicate: sqlDialect == "sqlite3" - ddl: "SELECT\nformula_name as name,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.30d'), '$.' || formula_name) as installs_30d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.90d'), '$.' || formula_name) as installs_90d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.365d'), '$.' || formula_name) as installs_365d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.30d'), '$.' || formula_name) as install_on_requests_30d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.90d'), '$.' || formula_name) as install_on_requests_90d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.365d'), '$.' || formula_name) as install_on_requests_365d\t\nFROM\nhomebrew.formula.formula\nWHERE formula_name = 'stackql'" - dependencies: - name: dependencies - id: homebrew.formula.dependencies + ddl: "SELECT\nname as formula_name,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.30d'), '$.' || formula_name) as installs_30d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.90d'), '$.' || formula_name) as installs_90d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install.365d'), '$.' || formula_name) as installs_365d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.30d'), '$.' || formula_name) as install_on_requests_30d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.90d'), '$.' || formula_name) as install_on_requests_90d,\nJSON_EXTRACT(JSON_EXTRACT(analytics, '$.install_on_request.365d'), '$.' || formula_name) as install_on_requests_365d\t\nFROM\nhomebrew.formula.formula\nWHERE formula_name = 'stackql'" + vw_dependencies: + name: vw_dependencies + id: homebrew.formula.vw_dependencies config: views: select: @@ -501,9 +501,9 @@ components: FROM homebrew.formula.formula WHERE formula_name = 'stackql' - conflicts: - name: conflicts - id: homebrew.formula.conflicts + vw_conflicts: + name: vw_conflicts + id: homebrew.formula.vw_conflicts config: views: select: @@ -516,9 +516,9 @@ components: FROM homebrew.formula.formula WHERE formula_name = 'stackql' - lifecycle: - name: lifecycle - id: homebrew.formula.lifecycle + vw_lifecycle: + name: vw_lifecycle + id: homebrew.formula.vw_lifecycle config: views: select: @@ -535,9 +535,9 @@ components: FROM homebrew.formula.formula WHERE formula_name = 'stackql' - urls: - name: urls - id: homebrew.formula.urls + vw_urls: + name: vw_urls + id: homebrew.formula.vw_urls config: views: select: @@ -557,9 +557,9 @@ components: FROM homebrew.formula.formula WHERE formula_name = 'stackql' - versions: - name: versions - id: homebrew.formula.versions + vw_versions: + name: vw_versions + id: homebrew.formula.vw_versions config: views: select: