diff --git a/.github/renovate.json5 b/.github/renovate.json5
index c33717a98e54a7..5dbb094f21427c 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -14,7 +14,7 @@
},
],
packageRules: [
- { matchManagers: ["npm"], groupName: "Website" },
+ { matchFileNames: ["website/**"], groupName: "Website" },
{
matchPackageNames: ["github.com/jackc/pgx/v4"],
allowedVersions: "<5",
diff --git a/.github/styles/Vocab/Base/accept.txt b/.github/styles/config/vocabularies/Base/accept.txt
similarity index 100%
rename from .github/styles/Vocab/Base/accept.txt
rename to .github/styles/config/vocabularies/Base/accept.txt
diff --git a/.github/styles/Vocab/Base/reject.txt b/.github/styles/config/vocabularies/Base/reject.txt
similarity index 100%
rename from .github/styles/Vocab/Base/reject.txt
rename to .github/styles/config/vocabularies/Base/reject.txt
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index b7704b99251afc..84265ea322f77d 100644
--- a/.github/workflows/cli.yml
+++ b/.github/workflows/cli.yml
@@ -50,10 +50,10 @@ jobs:
run: go build .
- name: Test
run: make test
- - name: gen-docs
+ - name: gen
if: matrix.os == 'ubuntu-latest'
- run: make gen-docs
- - name: Fail if docs are changed
+ run: make gen
+ - name: Fail if files are changed
if: matrix.os == 'ubuntu-latest'
run: test "$(git status -s ../website/pages/docs/reference/cli/*.md | wc -l)" -eq 0
validate-release:
diff --git a/.github/workflows/lint_markdown.yml b/.github/workflows/lint_markdown.yml
index 7256c166d42a5e..c223a5d3328ed4 100644
--- a/.github/workflows/lint_markdown.yml
+++ b/.github/workflows/lint_markdown.yml
@@ -20,6 +20,7 @@ jobs:
vale_flags: "--glob=!{website/pages/blog/podcast-software-engineer-daily.md,**/CHANGELOG.md,**/docs/tables/README.md,plugins/source/test/docs/tables/*.md,.github/styles/proselint/README.md,**/v1-migration.md,website/pages/docs/plugins/sources/*/tables.md,plugins/source/*/docs/policies.md,**/tables/**/*,website/pages/case-studies/*.mdx,cli/internal/docs/testdata/*.md}"
filter_mode: nofilter
fail_on_error: true
+ version: '3.0.3'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
lint-structure:
diff --git a/.github/workflows/manual_commands_triggers.yml b/.github/workflows/manual_commands_triggers.yml
index 1fa42460abda13..2ec36a8c7ad0f5 100644
--- a/.github/workflows/manual_commands_triggers.yml
+++ b/.github/workflows/manual_commands_triggers.yml
@@ -32,7 +32,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Set up Go 1.x
uses: actions/setup-go@v4
diff --git a/.github/workflows/publish_plugin_to_hub.yml b/.github/workflows/publish_plugin_to_hub.yml
index 0cc6d85ea39953..a936e9dfda1e4d 100644
--- a/.github/workflows/publish_plugin_to_hub.yml
+++ b/.github/workflows/publish_plugin_to_hub.yml
@@ -127,7 +127,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Publish plugin to hub
working-directory: ${{ needs.prepare.outputs.plugin_dir }}
diff --git a/.github/workflows/publish_plugin_to_hub_duckdb.yml b/.github/workflows/publish_plugin_to_hub_duckdb.yml
index 20411a014ecba3..167858925222e4 100644
--- a/.github/workflows/publish_plugin_to_hub_duckdb.yml
+++ b/.github/workflows/publish_plugin_to_hub_duckdb.yml
@@ -107,7 +107,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Publish plugin to hub
working-directory: ${{ needs.prepare.outputs.plugin_dir }}
diff --git a/.github/workflows/publish_plugin_to_hub_snowflake.yml b/.github/workflows/publish_plugin_to_hub_snowflake.yml
index 9786e7469f2acd..f943729b446ddb 100644
--- a/.github/workflows/publish_plugin_to_hub_snowflake.yml
+++ b/.github/workflows/publish_plugin_to_hub_snowflake.yml
@@ -108,7 +108,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Publish plugin to hub
working-directory: ${{ needs.prepare.outputs.plugin_dir }}
diff --git a/.github/workflows/publish_plugin_to_hub_sqlite.yml b/.github/workflows/publish_plugin_to_hub_sqlite.yml
index 81385a6ad3cae0..ee8fc8715c341d 100644
--- a/.github/workflows/publish_plugin_to_hub_sqlite.yml
+++ b/.github/workflows/publish_plugin_to_hub_sqlite.yml
@@ -107,7 +107,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Publish plugin to hub
working-directory: ${{ needs.prepare.outputs.plugin_dir }}
diff --git a/.github/workflows/source_airtable.yml b/.github/workflows/source_airtable.yml
index 75b474cba3f4e1..4e1a1958d395c0 100644
--- a/.github/workflows/source_airtable.yml
+++ b/.github/workflows/source_airtable.yml
@@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
- node-version: '16'
+ node-version: '20'
cache: 'npm'
cache-dependency-path: './plugins/source/airtable/package-lock.json'
diff --git a/.github/workflows/source_alicloud.yml b/.github/workflows/source_alicloud.yml
index ade57eb42d5f6d..e48f9212f7538a 100644
--- a/.github/workflows/source_alicloud.yml
+++ b/.github/workflows/source_alicloud.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_aws.yml b/.github/workflows/source_aws.yml
index 2b48c721a4573b..747afa0c604292 100644
--- a/.github/workflows/source_aws.yml
+++ b/.github/workflows/source_aws.yml
@@ -49,7 +49,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_awspricing.yml b/.github/workflows/source_awspricing.yml
index 6bf745c2fe9306..7de70860ff5365 100644
--- a/.github/workflows/source_awspricing.yml
+++ b/.github/workflows/source_awspricing.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_azure.yml b/.github/workflows/source_azure.yml
index c10d9fb9cf131e..f23f13d4eeff4a 100644
--- a/.github/workflows/source_azure.yml
+++ b/.github/workflows/source_azure.yml
@@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_cloudflare.yml b/.github/workflows/source_cloudflare.yml
index d85ad2f40f365a..d846ec2bd77a5f 100644
--- a/.github/workflows/source_cloudflare.yml
+++ b/.github/workflows/source_cloudflare.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_datadog.yml b/.github/workflows/source_datadog.yml
index ec61e9f20e8198..d253c84d1b8051 100644
--- a/.github/workflows/source_datadog.yml
+++ b/.github/workflows/source_datadog.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_digitalocean.yml b/.github/workflows/source_digitalocean.yml
index 3ccaa7ba3f2c85..6c14755821d5aa 100644
--- a/.github/workflows/source_digitalocean.yml
+++ b/.github/workflows/source_digitalocean.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_gcp.yml b/.github/workflows/source_gcp.yml
index 04f8106f353385..74836323d2adb7 100644
--- a/.github/workflows/source_gcp.yml
+++ b/.github/workflows/source_gcp.yml
@@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
@@ -130,7 +130,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Migrate DB
run: cloudquery migrate test/policy_cq_config.yml
env:
diff --git a/.github/workflows/source_github.yml b/.github/workflows/source_github.yml
index 616d222a6ceb7a..41e5c856955bd5 100644
--- a/.github/workflows/source_github.yml
+++ b/.github/workflows/source_github.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_gitlab.yml b/.github/workflows/source_gitlab.yml
index 3fd358c40ec74e..5203ebe03c1ed3 100644
--- a/.github/workflows/source_gitlab.yml
+++ b/.github/workflows/source_gitlab.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_hackernews.yml b/.github/workflows/source_hackernews.yml
index b446198698e43d..59c4e0a9aa58ae 100644
--- a/.github/workflows/source_hackernews.yml
+++ b/.github/workflows/source_hackernews.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_hubspot.yml b/.github/workflows/source_hubspot.yml
index 1945e61280e4a6..1f481e8c50d521 100644
--- a/.github/workflows/source_hubspot.yml
+++ b/.github/workflows/source_hubspot.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_k8s.yml b/.github/workflows/source_k8s.yml
index ea6ea69cf7c20d..375d45cadac56f 100644
--- a/.github/workflows/source_k8s.yml
+++ b/.github/workflows/source_k8s.yml
@@ -47,7 +47,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
@@ -130,7 +130,7 @@ jobs:
- name: Setup CloudQuery
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: Migrate DB
run: cloudquery migrate test/policy_cq_config.yml
env:
diff --git a/.github/workflows/source_notion.yml b/.github/workflows/source_notion.yml
index 476d76d626399b..324664cd4e1630 100644
--- a/.github/workflows/source_notion.yml
+++ b/.github/workflows/source_notion.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_okta.yml b/.github/workflows/source_okta.yml
index 5d598f5c3b9bfd..69d37f840b8a52 100644
--- a/.github/workflows/source_okta.yml
+++ b/.github/workflows/source_okta.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_oracle.yml b/.github/workflows/source_oracle.yml
index f80dd3023026c7..6bf1e9ffac007c 100644
--- a/.github/workflows/source_oracle.yml
+++ b/.github/workflows/source_oracle.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen-docs
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_pagerduty.yml b/.github/workflows/source_pagerduty.yml
index 40c1b458b2b3ee..1fc10ccbdfacbb 100644
--- a/.github/workflows/source_pagerduty.yml
+++ b/.github/workflows/source_pagerduty.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/source_test.yml b/.github/workflows/source_test.yml
index 55be5eb5a1dcfd..1aba642182cdd0 100644
--- a/.github/workflows/source_test.yml
+++ b/.github/workflows/source_test.yml
@@ -46,7 +46,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: cloudquery/setup-cloudquery@v3
with:
- version: v4.3.6
+ version: v4.4.0
- name: gen
if: github.event_name == 'pull_request'
run: make gen
diff --git a/.github/workflows/wait_for_required_workflows.yml b/.github/workflows/wait_for_required_workflows.yml
index 4dbafa39326700..4fe5527449363d 100644
--- a/.github/workflows/wait_for_required_workflows.yml
+++ b/.github/workflows/wait_for_required_workflows.yml
@@ -20,7 +20,7 @@ jobs:
fetch-depth: 0
- name: Get changed files
id: changed-files
- uses: tj-actions/changed-files@v39
+ uses: tj-actions/changed-files@v41
- uses: actions/github-script@v6
env:
FILES: ${{ steps.changed-files.outputs.all_modified_files }}
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 790e53b4e1a3ab..5fb089396ec9b0 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,99 +1,99 @@
{
- "cli": "4.4.0",
+ "cli": "5.0.0",
"cli+FILLER": "0.0.0",
"plugins/source/aws": "22.19.2",
"plugins/source/aws+FILLER": "0.0.0",
"plugins/source/azure": "10.3.0",
"plugins/source/azure+FILLER": "0.0.0",
- "plugins/source/cloudflare": "6.0.1",
+ "plugins/source/cloudflare": "6.0.2",
"plugins/source/cloudflare+FILLER": "0.0.0",
- "plugins/source/digitalocean": "5.3.12",
+ "plugins/source/digitalocean": "5.3.13",
"plugins/source/digitalocean+FILLER": "0.0.0",
"plugins/source/gcp": "10.0.0",
"plugins/source/gcp+FILLER": "0.0.0",
- "plugins/source/github": "7.6.2",
+ "plugins/source/github": "7.6.3",
"plugins/source/github+FILLER": "0.0.0",
- "plugins/source/k8s": "5.2.5",
+ "plugins/source/k8s": "5.2.6",
"plugins/source/k8s+FILLER": "0.0.0",
- "plugins/source/okta": "3.2.16",
+ "plugins/source/okta": "3.2.17",
"plugins/source/okta+FILLER": "0.0.0",
"plugins/source/terraform": "3.0.12",
"plugins/source/terraform+FILLER": "0.0.0",
"plugins/source/test": "3.1.15",
"plugins/source/test+FILLER": "0.0.0",
- "plugins/destination/postgresql": "7.1.4",
+ "plugins/destination/postgresql": "7.1.5",
"plugins/destination/postgresql+FILLER": "0.0.0",
- "plugins/destination/test": "2.2.17",
+ "plugins/destination/test": "2.2.18",
"plugins/destination/test+FILLER": "0.0.0",
- "plugins/destination/sqlite": "2.4.19",
+ "plugins/destination/sqlite": "2.4.20",
"plugins/destination/sqlite+FILLER": "0.0.0",
- "plugins/destination/snowflake": "3.3.7",
+ "plugins/destination/snowflake": "3.3.8",
"plugins/destination/snowflake+FILLER": "0.0.0",
- "plugins/source/datadog": "4.2.6",
+ "plugins/source/datadog": "4.2.7",
"plugins/source/datadog+FILLER": "0.0.0",
- "plugins/destination/bigquery": "3.3.11",
+ "plugins/destination/bigquery": "3.3.13",
"plugins/destination/bigquery+FILLER": "0.0.0",
- "plugins/source/pagerduty": "3.1.2",
+ "plugins/source/pagerduty": "3.1.3",
"plugins/source/pagerduty+FILLER": "0.0.0",
- "plugins/destination/mongodb": "2.2.20",
+ "plugins/destination/mongodb": "2.2.21",
"plugins/destination/mongodb+FILLER": "0.0.0",
- "plugins/source/gitlab": "4.1.16",
+ "plugins/source/gitlab": "4.1.17",
"plugins/source/gitlab+FILLER": "0.0.0",
- "plugins/destination/gcs": "3.4.15",
+ "plugins/destination/gcs": "3.4.16",
"plugins/destination/gcs+FILLER": "0.0.0",
- "plugins/destination/s3": "4.8.6",
+ "plugins/destination/s3": "4.8.7",
"plugins/destination/s3+FILLER": "0.0.0",
- "plugins/destination/file": "3.4.14",
+ "plugins/destination/file": "3.4.16",
"plugins/destination/file+FILLER": "0.0.0",
- "plugins/destination/azblob": "3.4.15",
+ "plugins/destination/azblob": "3.4.17",
"plugins/destination/azblob+FILLER": "0.0.0",
- "plugins/destination/neo4j": "5.0.4",
+ "plugins/destination/neo4j": "5.0.5",
"plugins/destination/neo4j+FILLER": "0.0.0",
- "plugins/destination/kafka": "3.2.17",
+ "plugins/destination/kafka": "3.2.19",
"plugins/destination/kafka+FILLER": "0.0.0",
- "plugins/source/hackernews": "3.0.19",
+ "plugins/source/hackernews": "3.0.20",
"plugins/source/hackernews+FILLER": "0.0.0",
- "scaffold": "2.1.21",
+ "scaffold": "2.1.23",
"scaffold+FILLER": "0.0.0",
- "plugins/source/oracle": "4.2.5",
+ "plugins/source/oracle": "4.2.9",
"plugins/source/oracle+FILLER": "0.0.0",
- "plugins/source/alicloud": "4.0.18",
+ "plugins/source/alicloud": "4.0.19",
"plugins/source/alicloud+FILLER": "0.0.0",
- "plugins/destination/mssql": "4.3.19",
+ "plugins/destination/mssql": "4.3.20",
"plugins/destination/mssql+FILLER": "0.0.0",
"plugins/source/stripe": "2.1.12",
"plugins/source/stripe+FILLER": "0.0.0",
- "plugins/source/hubspot": "3.0.16",
+ "plugins/source/hubspot": "3.0.17",
"plugins/source/hubspot+FILLER": "0.0.0",
- "plugins/destination/elasticsearch": "3.1.10",
+ "plugins/destination/elasticsearch": "3.1.12",
"plugins/destination/elasticsearch+FILLER": "0.0.0",
- "plugins/destination/clickhouse": "3.4.6",
+ "plugins/destination/clickhouse": "3.4.8",
"plugins/destination/clickhouse+FILLER": "0.0.0",
"plugins/source/postgresql": "3.0.7",
"plugins/source/postgresql+FILLER": "0.0.0",
"plugins/source/homebrew": "3.0.13",
"plugins/source/homebrew+FILLER": "0.0.0",
- "plugins/destination/mysql": "4.0.11",
+ "plugins/destination/mysql": "4.0.12",
"plugins/destination/mysql+FILLER": "0.0.0",
- "plugins/destination/firehose": "2.2.16",
+ "plugins/destination/firehose": "2.2.17",
"plugins/destination/firehose+FILLER": "0.0.0",
- "plugins/source/awspricing": "3.0.16",
+ "plugins/source/awspricing": "3.0.17",
"plugins/source/awspricing+FILLER": "0.0.0",
- "plugins/destination/duckdb": "5.0.8",
+ "plugins/destination/duckdb": "5.0.10",
"plugins/destination/duckdb+FILLER": "0.0.0",
"plugins/source/mysql": "2.0.12",
"plugins/source/mysql+FILLER": "0.0.0",
- "plugins/destination/gremlin": "2.2.18",
+ "plugins/destination/gremlin": "2.2.19",
"plugins/destination/gremlin+FILLER": "0.0.0",
- "plugins/destination/meilisearch": "2.2.18",
+ "plugins/destination/meilisearch": "2.2.19",
"plugins/destination/meilisearch+FILLER": "1.0.0",
- "plugins/source/firestore": "3.0.18",
+ "plugins/source/firestore": "3.0.19",
"plugins/source/firestore+FILLER": "0.0.0",
"plugins/source/oracledb": "3.0.12",
"plugins/source/oracledb+FILLER": "0.0.0",
"plugins/source/square": "1.1.1",
"plugins/source/square+FILLER": "0.0.0",
- "plugins/source/typeform": "1.2.0",
+ "plugins/source/typeform": "1.2.1",
"plugins/source/typeform+FILLER": "0.0.0",
"plugins/source/jira": "1.0.10",
"plugins/source/jira+FILLER": "0.0.0",
@@ -103,5 +103,5 @@
"plugins/source/airtable+FILLER": "0.0.0",
"plugins/source/bitbucket": "1.0.5",
"plugins/source/bitbucket+FILLER": "0.0.0",
- "plugins/source/notion": "1.0.8"
+ "plugins/source/notion": "1.0.9"
}
diff --git a/cli/.golangci.yml b/cli/.golangci.yml
index ca9086f7c15f49..080f3a7cc8ac74 100644
--- a/cli/.golangci.yml
+++ b/cli/.golangci.yml
@@ -86,6 +86,7 @@ linters:
- importas
- misspell
- nakedret
+ - perfsprint
- prealloc
- revive
- staticcheck
diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md
index 188be703f5b306..11d8ece55e8e4f 100644
--- a/cli/CHANGELOG.md
+++ b/cli/CHANGELOG.md
@@ -5,6 +5,43 @@ All notable changes to CloudQuery will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [5.0.0](https://github.com/cloudquery/cloudquery/compare/cli-v4.4.0...cli-v5.0.0) (2024-01-12)
+
+
+### ⚠ BREAKING CHANGES
+
+* Remove deprecated top level spec options (https://github.com/cloudquery/cloudquery/pull/15999). The following deprecated spec options were removed:
+ * source plugin top level spec:
+ * `concurrency`
+ * `table_concurrency`
+ * `resource_concurrency`
+ * `backend`
+ * `backend_spec`
+ * destination plugin top level spec:
+ * `batch_size`
+ * `batch_size_bytes`
+
+ **For most users this shouldn't be a breaking change**. We've deprecated these options a while ago and some were moved to the plugin level spec. If you were using the deprecated options on a CLI version lower than `v5.0.0` you should have gotten a warning about it.
+
+### Features
+
+* Add JSON schema for CLI specs ([#15998](https://github.com/cloudquery/cloudquery/issues/15998)) ([da02049](https://github.com/cloudquery/cloudquery/commit/da020491c5901a1f775515bd86eaaed2950c3b93))
+* Remove deprecated spec options (https://github.com/cloudquery/cloudquery/pull/15999) ([9e25f4a](https://github.com/cloudquery/cloudquery/commit/9e25f4a6171c46ed0e09f13a8d4216120e57007f))
+* Upload images from markdown files to CDN when publishing ([#16033](https://github.com/cloudquery/cloudquery/issues/16033)) ([cf7cdb1](https://github.com/cloudquery/cloudquery/commit/cf7cdb15219651de2a8195f02799b4e4f1114fe1))
+
+
+### Bug Fixes
+
+* Add `X-Meta-User-Team-Name` during docker push ([#16013](https://github.com/cloudquery/cloudquery/issues/16013)) ([129b7c2](https://github.com/cloudquery/cloudquery/commit/129b7c2d92db70bb782177cdaa26abc0c8e83d3e))
+* Add missing `X-Meta-User-Team-Name` header and manifest types option ([#16113](https://github.com/cloudquery/cloudquery/issues/16113)) ([9d8899e](https://github.com/cloudquery/cloudquery/commit/9d8899ee6e0a06a7b4ad3b64a5169da6e4cdf379))
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 6d44906 ([#16115](https://github.com/cloudquery/cloudquery/issues/16115)) ([8b0ae62](https://github.com/cloudquery/cloudquery/commit/8b0ae6266d19a10fe84102837802358f0b9bb1bc))
+* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.6.4 ([#16067](https://github.com/cloudquery/cloudquery/issues/16067)) ([2e7b7d6](https://github.com/cloudquery/cloudquery/commit/2e7b7d67ee28cb3b393455accd10e664c7fff62e))
+* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.2 ([#15948](https://github.com/cloudquery/cloudquery/issues/15948)) ([2def2ef](https://github.com/cloudquery/cloudquery/commit/2def2ef6268352fb7b229d55d27fd84f7e8bba1c))
+* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.3 ([#16002](https://github.com/cloudquery/cloudquery/issues/16002)) ([e2d5605](https://github.com/cloudquery/cloudquery/commit/e2d5605c7cb5239303f0844b1fd9e5aab6cdf2cd))
+* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.16.4 ([#16126](https://github.com/cloudquery/cloudquery/issues/16126)) ([6a776ae](https://github.com/cloudquery/cloudquery/commit/6a776ae5e26acf417f5d7f1aa9db72da4a3a8af1))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.1 ([#16069](https://github.com/cloudquery/cloudquery/issues/16069)) ([edda65c](https://github.com/cloudquery/cloudquery/commit/edda65c238b2cb78a7a2078b62557a7d8d822e49))
+
## [4.4.0](https://github.com/cloudquery/cloudquery/compare/cli-v4.3.6...cli-v4.4.0) (2024-01-02)
diff --git a/cli/Makefile b/cli/Makefile
index 519f1b69e2faba..69db26ca25aa9b 100644
--- a/cli/Makefile
+++ b/cli/Makefile
@@ -11,3 +11,10 @@ test:
gen-docs:
rm -rf ../website/pages/docs/reference/cli/*.md
go run main.go doc ../website/pages/docs/reference/cli/
+
+.PHONY: gen-spec-schema
+gen-spec-schema:
+ go run internal/specs/v0/gen/main.go
+
+.PHONY: gen
+gen: gen-docs gen-spec-schema
\ No newline at end of file
diff --git a/cli/cmd/addon_download_test.go b/cli/cmd/addon_download_test.go
index e8df905836b490..eceae67bb2ada0 100644
--- a/cli/cmd/addon_download_test.go
+++ b/cli/cmd/addon_download_test.go
@@ -3,7 +3,8 @@ package cmd
import (
"crypto/sha256"
"encoding/json"
- "fmt"
+
+ "encoding/hex"
"net/http"
"net/http/httptest"
"os"
@@ -30,7 +31,7 @@ func TestAddonDownload(t *testing.T) {
s := sha256.New()
s.Write(payload)
- payloadChecksum := fmt.Sprintf("%x", s.Sum(nil))
+ payloadChecksum := hex.EncodeToString(s.Sum(nil))
gotCalls := map[string]int{}
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
@@ -88,7 +89,7 @@ func TestAddonDownloadStdout(t *testing.T) {
s := sha256.New()
s.Write(payload)
- payloadChecksum := fmt.Sprintf("%x", s.Sum(nil))
+ payloadChecksum := hex.EncodeToString(s.Sum(nil))
gotCalls := map[string]int{}
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
diff --git a/cli/cmd/analytics.go b/cli/cmd/analytics.go
index 565d26b2312031..c176f7a59e0326 100644
--- a/cli/cmd/analytics.go
+++ b/cli/cmd/analytics.go
@@ -65,7 +65,7 @@ func (c *AnalyticsClient) SendSyncMetrics(ctx context.Context, sourceSpec specs.
}
if c.client != nil {
sourcePath := sourceSpec.Path
- if sourceSpec.Registry == specs.RegistryLocal || sourceSpec.Registry == specs.RegistryGrpc {
+ if sourceSpec.Registry == specs.RegistryLocal || sourceSpec.Registry == specs.RegistryGRPC {
_, sourcePath = path.Split(sourceSpec.Path)
}
syncSummary := &analytics.SyncSummary{
@@ -81,7 +81,7 @@ func (c *AnalyticsClient) SendSyncMetrics(ctx context.Context, sourceSpec specs.
}
for _, destinationSpec := range destinationsSpecs {
destPath := destinationSpec.Path
- if destinationSpec.Registry == specs.RegistryLocal || destinationSpec.Registry == specs.RegistryGrpc {
+ if destinationSpec.Registry == specs.RegistryLocal || destinationSpec.Registry == specs.RegistryGRPC {
_, destPath = path.Split(destinationSpec.Path)
}
syncSummary.Destinations = append(syncSummary.Destinations, &analytics.Destination{
diff --git a/cli/cmd/infer_test.go b/cli/cmd/infer_test.go
index 14aa6febbddc02..ae2be68218b3cf 100644
--- a/cli/cmd/infer_test.go
+++ b/cli/cmd/infer_test.go
@@ -28,7 +28,6 @@ spec:
name: gcp
path: cloudquery/gcp
version: v10.0.0
- table_concurrency: 10
destinations: [dummydest]
tables: [test]
---
@@ -50,7 +49,6 @@ spec:
name: gcp
path: cloudquery/gcp
version: v99.999.0
- table_concurrency: 10
destinations: [dummydest]
tables: [test]
---
@@ -72,7 +70,6 @@ spec:
path: cloudquery/gcp
registry: cloudquery
version: v99.999.0
- table_concurrency: 10
destinations: [dummydest]
tables: [test]
---
@@ -94,7 +91,6 @@ spec:
path: cloudquery/gcp
registry: github
version: v99.999.0
- table_concurrency: 10
destinations: [dummydest]
tables: [test]
---
diff --git a/cli/cmd/login.go b/cli/cmd/login.go
index f3f77b96585ddb..1f0db532220034 100644
--- a/cli/cmd/login.go
+++ b/cli/cmd/login.go
@@ -134,7 +134,7 @@ func runLogin(ctx context.Context, cmd *cobra.Command) (err error) {
stdinFd := int(os.Stdin.Fd())
if !term.IsTerminal(stdinFd) {
- return fmt.Errorf("reading from non-terminal stdin is not supported. Hint: Consider setting an api key with the `CLOUDQUERY_API_KEY` env variable")
+ return errors.New("reading from non-terminal stdin is not supported. Hint: Consider setting an api key with the `CLOUDQUERY_API_KEY` env variable")
}
oldState, err := term.MakeRaw(stdinFd)
@@ -162,7 +162,7 @@ func runLogin(ctx context.Context, cmd *cobra.Command) (err error) {
}
if refreshToken == "" {
- return fmt.Errorf("failed to get refresh token")
+ return errors.New("failed to get refresh token")
}
fmt.Println("Authenticating...")
diff --git a/cli/cmd/migrate.go b/cli/cmd/migrate.go
index f1a2db9c8ba7c0..1ce26f7ef1120f 100644
--- a/cli/cmd/migrate.go
+++ b/cli/cmd/migrate.go
@@ -1,6 +1,7 @@
package cmd
import (
+ "errors"
"fmt"
"slices"
"strings"
@@ -166,7 +167,7 @@ func migrate(cmd *cobra.Command, args []string) error {
return fmt.Errorf("failed to migrate source %v@%v: %w", source.Name, source.Version, err)
}
case 0:
- return fmt.Errorf("please upgrade your source or use a CLI version between v3.0.1 and v3.5.3")
+ return errors.New("please upgrade your source or use a CLI version between v3.0.1 and v3.5.3")
case -1:
return fmt.Errorf("please upgrade CLI to sync source %v@%v", source.Name, source.Version)
case -2:
diff --git a/cli/cmd/plugin_docs_download.go b/cli/cmd/plugin_docs_download.go
index c77ba7b287e06a..21201ef0a37885 100644
--- a/cli/cmd/plugin_docs_download.go
+++ b/cli/cmd/plugin_docs_download.go
@@ -2,6 +2,7 @@ package cmd
import (
"context"
+ "errors"
"fmt"
"net/http"
"os"
@@ -102,7 +103,7 @@ func runPluginDocsDownload(ctx context.Context, cmd *cobra.Command, args []strin
return hub.ErrorFromHTTPResponse(resp.HTTPResponse, resp)
}
if resp.JSON200 == nil {
- return fmt.Errorf("failed to read docs: nil response")
+ return errors.New("failed to read docs: nil response")
}
for _, item := range resp.JSON200.Items {
safeName := strings.ReplaceAll(item.Name, string(filepath.Separator), "_") + ".md"
diff --git a/cli/cmd/registry.go b/cli/cmd/registry.go
index 95812d4e420ef2..aed6ddc20964af 100644
--- a/cli/cmd/registry.go
+++ b/cli/cmd/registry.go
@@ -9,11 +9,11 @@ import (
func SpecRegistryToPlugin(registry specs.Registry) managedplugin.Registry {
switch registry {
- case specs.RegistryGithub:
+ case specs.RegistryGitHub:
return managedplugin.RegistryGithub
case specs.RegistryLocal:
return managedplugin.RegistryLocal
- case specs.RegistryGrpc:
+ case specs.RegistryGRPC:
return managedplugin.RegistryGrpc
case specs.RegistryDocker:
return managedplugin.RegistryDocker
diff --git a/cli/cmd/specs.go b/cli/cmd/specs.go
index 5fb2cb0963232b..e8ea2b3eaf2dc5 100644
--- a/cli/cmd/specs.go
+++ b/cli/cmd/specs.go
@@ -7,24 +7,13 @@ import (
pbSpecs "github.com/cloudquery/plugin-pb-go/specs"
)
-func CLIBackendToPbBackend(backend specs.Backend) pbSpecs.Backend {
- switch backend {
- case specs.BackendLocal:
- return pbSpecs.BackendLocal
- case specs.BackendNone:
- return pbSpecs.BackendNone
- default:
- panic(fmt.Sprintf("unknown backend %q", backend.String()))
- }
-}
-
func CLIRegistryToPbRegistry(registry specs.Registry) pbSpecs.Registry {
switch registry {
- case specs.RegistryGithub:
+ case specs.RegistryGitHub:
return pbSpecs.RegistryGithub
case specs.RegistryLocal:
return pbSpecs.RegistryLocal
- case specs.RegistryGrpc:
+ case specs.RegistryGRPC:
return pbSpecs.RegistryGrpc
case specs.RegistryCloudQuery:
return pbSpecs.RegistryCloudQuery
@@ -33,17 +22,6 @@ func CLIRegistryToPbRegistry(registry specs.Registry) pbSpecs.Registry {
}
}
-func CLISchedulerToPbScheduler(scheduler specs.Scheduler) pbSpecs.Scheduler {
- switch scheduler {
- case specs.SchedulerDFS:
- return pbSpecs.SchedulerDFS
- case specs.SchedulerRoundRobin:
- return pbSpecs.SchedulerRoundRobin
- default:
- panic(fmt.Sprintf("unknown scheduler %q", scheduler.String()))
- }
-}
-
// This converts CLI configuration to a source spec prior to V3 version
// when our spec wasn't decoupled from the over the wire protocol
func CLISourceSpecToPbSpec(spec specs.Source) pbSpecs.Source {
@@ -58,14 +36,6 @@ func CLISourceSpecToPbSpec(spec specs.Source) pbSpecs.Source {
Destinations: spec.Destinations,
Spec: spec.Spec,
DeterministicCQID: spec.DeterministicCQID,
-
- // allow use of deprecated options here for backwards-compatibility
- Concurrency: spec.Concurrency, // nolint:staticcheck
- TableConcurrency: spec.TableConcurrency, // nolint:staticcheck
- ResourceConcurrency: spec.ResourceConcurrency, // nolint:staticcheck
- Backend: CLIBackendToPbBackend(spec.Backend), // nolint:staticcheck
- BackendSpec: spec.BackendSpec, // nolint:staticcheck
- Scheduler: CLISchedulerToPbScheduler(spec.Scheduler), // nolint:staticcheck
}
}
@@ -112,10 +82,7 @@ func CLIDestinationSpecToPbSpec(spec specs.Destination) pbSpecs.Destination {
Registry: CLIRegistryToPbRegistry(spec.Registry),
WriteMode: CLIWriteModeToPbWriteMode(spec.WriteMode),
MigrateMode: CLIMigrateModeToPbMigrateMode(spec.MigrateMode),
-
- BatchSize: spec.BatchSize, // nolint:staticcheck // allow use of deprecated options here for backwards-compatibility
- BatchSizeBytes: spec.BatchSizeBytes, // nolint:staticcheck // allow use of deprecated options here for backwards-compatibility
- Spec: spec.Spec,
- PKMode: CLIPkModeToPbPKMode(spec.PKMode),
+ PKMode: CLIPkModeToPbPKMode(spec.PKMode),
+ Spec: spec.Spec,
}
}
diff --git a/cli/cmd/sync.go b/cli/cmd/sync.go
index 5ec0ed5661b03a..2a6852062fbd10 100644
--- a/cli/cmd/sync.go
+++ b/cli/cmd/sync.go
@@ -214,13 +214,7 @@ func sync(cmd *cobra.Command, args []string) error {
for field, msg := range warnings {
log.Warn().Str("source", source.Name).Str("field", field).Msg(msg)
}
- if _, found := warnings["scheduler"]; found {
- source.Spec["scheduler"] = source.Scheduler.String() // nolint:staticcheck // use of deprecated field
- }
- if _, found := warnings["concurrency"]; found {
- source.Spec["concurrency"] = source.Concurrency // nolint:staticcheck // use of deprecated field
- }
- for i, destination := range destinationClientsForSource {
+ for _, destination := range destinationClientsForSource {
versions, err := destination.Versions(ctx)
if err != nil {
return fmt.Errorf("failed to get destination versions: %w", err)
@@ -232,12 +226,6 @@ func sync(cmd *cobra.Command, args []string) error {
for field, msg := range destWarnings {
log.Warn().Str("destination", destination.Name()).Str("field", field).Msg(msg)
}
- if _, found := destWarnings["batch_size"]; found {
- destinationForSourceSpec[i].Spec["batch_size"] = destinationForSourceSpec[i].BatchSize // nolint:staticcheck // use of deprecated field
- }
- if _, found := destWarnings["batch_size_bytes"]; found {
- destinationForSourceSpec[i].Spec["batch_size_bytes"] = destinationForSourceSpec[i].BatchSizeBytes // nolint:staticcheck // use of deprecated field
- }
}
src := v3source{
diff --git a/cli/go.mod b/cli/go.mod
index 01bc05316dab3c..afaf6a74c7f695 100644
--- a/cli/go.mod
+++ b/cli/go.mod
@@ -3,12 +3,13 @@ module github.com/cloudquery/cloudquery/cli
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/bradleyjkemp/cupaloy/v2 v2.8.0
github.com/cenkalti/backoff/v4 v4.2.1
- github.com/cloudquery/cloudquery-api-go v1.6.3
- github.com/cloudquery/plugin-pb-go v1.16.0
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/cloudquery-api-go v1.6.4
+ github.com/cloudquery/codegen v0.3.12
+ github.com/cloudquery/plugin-pb-go v1.16.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/distribution/reference v0.5.0
github.com/docker/distribution v2.8.3+incompatible
github.com/docker/docker v24.0.7+incompatible
@@ -16,6 +17,7 @@ require (
github.com/ghodss/yaml v1.0.0
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.5.0
+ github.com/invopop/jsonschema v0.11.0
github.com/opencontainers/go-digest v1.0.0
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8
github.com/rs/zerolog v1.31.0
@@ -23,6 +25,11 @@ require (
github.com/spf13/cobra v1.6.1
github.com/stretchr/testify v1.8.4
github.com/thoas/go-funk v0.9.3
+ github.com/wk8/go-ordered-map/v2 v2.1.8
+ github.com/yuin/goldmark v1.6.0
+ golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
+ golang.org/x/net v0.19.0
+ golang.org/x/sync v0.5.0
golang.org/x/term v0.15.0
google.golang.org/grpc v1.60.1
google.golang.org/protobuf v1.31.0
@@ -42,7 +49,9 @@ require (
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/avast/retry-go/v4 v4.5.1 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
+ github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
+ github.com/buger/jsonparser v1.1.1 // indirect
github.com/bytedance/sonic v1.10.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
@@ -82,8 +91,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
@@ -106,6 +115,7 @@ require (
github.com/prometheus/procfs v0.6.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
+ github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/schollz/closestmatch v2.1.0+incompatible // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/pflag v1.0.5 // indirect
@@ -121,9 +131,7 @@ require (
github.com/zeebo/xxh3 v1.0.2 // indirect
golang.org/x/arch v0.6.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
- golang.org/x/exp v0.0.0-20231226003508-02704c960a9b // indirect
golang.org/x/mod v0.14.0 // indirect
- golang.org/x/net v0.19.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
@@ -133,3 +141,6 @@ require (
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
+
+// github.com/cloudquery/jsonschema @ cqmain
+replace github.com/invopop/jsonschema => github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f
diff --git a/cli/go.sum b/cli/go.sum
index 1ad2cd32897ca7..2ccf3c9c4bc879 100644
--- a/cli/go.sum
+++ b/cli/go.sum
@@ -27,14 +27,16 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/avast/retry-go/v4 v4.5.1 h1:AxIx0HGi4VZ3I02jr78j5lZ3M6x1E0Ivxa6b0pUUh7o=
github.com/avast/retry-go/v4 v4.5.1/go.mod h1:/sipNsvNB3RRuT5iNcb6h73nw3IBmXJ/H3XrCQYSOpc=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
+github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk=
+github.com/bahlo/generic-list-go v0.2.0/go.mod h1:2KvAjgMlE5NNynlg/5iLrrCCZ2+5xWbdbCW3pNTGyYg=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
@@ -42,6 +44,8 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
github.com/bradleyjkemp/cupaloy/v2 v2.8.0/go.mod h1:bm7JXdkRd4BHJk9HpwqAI8BoAY1lps46Enkdqw6aRX0=
+github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=
+github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
github.com/bytedance/sonic v1.5.0/go.mod h1:ED5hyg4y6t3/9Ku1R6dU/4KyJ48DZ4jPhfY1O2AihPM=
github.com/bytedance/sonic v1.10.0-rc/go.mod h1:ElCzW+ufi8qKqNW0FY314xriJhyJhuoJ3gFZdAHF7NM=
github.com/bytedance/sonic v1.10.2 h1:GQebETVBxYB7JGWJtLBi07OVzWwt+8dWA00gEVW2ZFE=
@@ -58,12 +62,16 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
+github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
+github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
+github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
+github.com/cloudquery/plugin-pb-go v1.16.4 h1:F+sqacjbD6qJiUrj5OhcE58gjdoIRFg2XbiZTMoujpY=
+github.com/cloudquery/plugin-pb-go v1.16.4/go.mod h1:AcjdnSbv3f/atz4MsvJIpYJJJA2wOWffWPvfNJGTQSw=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -214,10 +222,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
@@ -306,6 +314,8 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo=
github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U=
+github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
+github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk=
github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g=
github.com/schollz/progressbar/v3 v3.13.1 h1:o8rySDYiQ59Mwzy2FELeHY5ZARXZTVJC7iHD6PEFUiE=
@@ -358,6 +368,8 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
+github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/fJgbpc=
+github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw=
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c=
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0=
@@ -375,6 +387,8 @@ github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDf
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
+github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68=
+github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ=
github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0=
diff --git a/cli/internal/docs/markdown.go b/cli/internal/docs/markdown.go
index 9eaa33ab36fb11..139b679ab7f2b1 100644
--- a/cli/internal/docs/markdown.go
+++ b/cli/internal/docs/markdown.go
@@ -62,7 +62,7 @@ func (g *Generator) renderTable(dir string, table *schema.Table) error {
return fmt.Errorf("failed to parse template: %v", err)
}
- outputPath := filepath.Join(dir, fmt.Sprintf("%s.md", table.Name))
+ outputPath := filepath.Join(dir, table.Name+".md")
var b bytes.Buffer
if err := t.Execute(&b, table); err != nil {
diff --git a/cli/internal/publish/addons.go b/cli/internal/publish/addons.go
index 966db654456a91..a2d1214b98130b 100644
--- a/cli/internal/publish/addons.go
+++ b/cli/internal/publish/addons.go
@@ -3,6 +3,7 @@ package publish
import (
"context"
"crypto/sha256"
+ "encoding/hex"
"encoding/json"
"errors"
"fmt"
@@ -17,6 +18,7 @@ import (
cqapiauth "github.com/cloudquery/cloudquery-api-go/auth"
"github.com/cloudquery/cloudquery-api-go/config"
"github.com/cloudquery/cloudquery/cli/internal/hub"
+ "github.com/cloudquery/cloudquery/cli/internal/publish/images"
"github.com/cloudquery/cloudquery/cli/internal/team"
)
@@ -69,11 +71,15 @@ func CreateNewAddonDraftVersion(ctx context.Context, c *cloudquery_api.ClientWit
}
if manifest.PathToDoc != "" {
- b, err := os.ReadFile(filepath.Join(manifestDir, manifest.PathToDoc))
+ absDocFile := filepath.Join(manifestDir, manifest.PathToDoc)
+ b, err := os.ReadFile(absDocFile)
if err != nil {
return fmt.Errorf("failed to read doc file: %w", err)
}
- body.Doc = string(b)
+ body.Doc, err = images.ProcessDocument(ctx, c, manifest.TeamName, filepath.Dir(absDocFile), string(b))
+ if err != nil {
+ return fmt.Errorf("failed to process doc images: %w", err)
+ }
}
if manifest.Message != "" {
@@ -98,7 +104,7 @@ func CreateNewAddonDraftVersion(ctx context.Context, c *cloudquery_api.ClientWit
if _, err := io.Copy(s, f); err != nil {
return fmt.Errorf("failed to calculate checksum: %w", err)
}
- body.Checksum = fmt.Sprintf("%x", s.Sum(nil))
+ body.Checksum = hex.EncodeToString(s.Sum(nil))
resp, err := c.CreateAddonVersionWithResponse(ctx, manifest.TeamName, cloudquery_api.AddonType(manifest.AddonType), manifest.AddonName, version, body)
if err != nil {
@@ -120,17 +126,17 @@ func UploadAddon(ctx context.Context, c *cloudquery_api.ClientWithResponses, man
return fmt.Errorf("failed to upload addon: %w", err)
}
if resp.HTTPResponse.StatusCode > 299 {
- msg := fmt.Sprintf("failed to upload addon: %s", resp.HTTPResponse.Status)
+ msg := "failed to upload addon: " + resp.HTTPResponse.Status
switch {
case resp.JSON403 != nil:
msg = fmt.Sprintf("%s: %s", msg, resp.JSON403.Message)
case resp.JSON401 != nil:
msg = fmt.Sprintf("%s: %s", msg, resp.JSON401.Message)
}
- return fmt.Errorf(msg)
+ return errors.New(msg)
}
if resp.JSON201 == nil {
- return fmt.Errorf("upload response is nil, failed to upload addon")
+ return errors.New("upload response is nil, failed to upload addon")
}
uploadURL := resp.JSON201.Url
@@ -148,7 +154,7 @@ func GetTeamForAnyToken(ctx context.Context, c *cloudquery_api.ClientWithRespons
return "", fmt.Errorf("failed to get team from config: %w", err)
}
if currentTeam == "" {
- return "", fmt.Errorf("team is required. Hint: use `cloudquery switch` to set a team")
+ return "", errors.New("team is required. Hint: use `cloudquery switch` to set a team")
}
return currentTeam, nil
case cqapiauth.APIKey:
@@ -228,7 +234,7 @@ func DownloadAddonFromResponse(res *http.Response, expectedChecksum, targetDir s
return fmt.Errorf("failed to close response body: %w", err)
}
- writtenChecksum := fmt.Sprintf("%x", shaWriter.Sum(nil))
+ writtenChecksum := hex.EncodeToString(shaWriter.Sum(nil))
if writtenChecksum != expectedChecksum {
return fmt.Errorf("checksum mismatch: expected %s, got %s", expectedChecksum, writtenChecksum)
}
diff --git a/cli/internal/publish/images/images.go b/cli/internal/publish/images/images.go
new file mode 100644
index 00000000000000..404d386e40544c
--- /dev/null
+++ b/cli/internal/publish/images/images.go
@@ -0,0 +1,508 @@
+package images
+
+import (
+ "bytes"
+ "context"
+ "crypto/sha1"
+ "encoding/hex"
+ "fmt"
+ "io"
+ "net/http"
+ "net/url"
+ "os"
+ "path/filepath"
+ "sort"
+ "strings"
+
+ cloudquery_api "github.com/cloudquery/cloudquery-api-go"
+ "github.com/cloudquery/cloudquery/cli/internal/hub"
+ "github.com/yuin/goldmark"
+ "github.com/yuin/goldmark/ast"
+ "golang.org/x/net/html"
+
+ "github.com/yuin/goldmark/parser"
+ "github.com/yuin/goldmark/text"
+ "github.com/yuin/goldmark/util"
+ "golang.org/x/exp/maps"
+ "golang.org/x/sync/errgroup"
+)
+
+type reference struct {
+ ref string // image filename inc. all paths (to replace with URL)
+ absFile string // absolute path to image file, to upload
+ url string // result of upload
+
+ startPos int // start of complete markdown tag. if html: start of actual ref
+ endPos int // exclusive
+}
+
+type listKey struct {
+ name, sum string
+}
+
+func ProcessDocument(ctx context.Context, c *cloudquery_api.ClientWithResponses, teamName, docDir, contents string) (string, error) {
+ ims, err := findMarkdownImages(contents, docDir)
+ if err != nil {
+ return "", err
+ }
+ if len(ims) == 0 {
+ return contents, nil
+ }
+
+ fmt.Println("Preparing to upload images...")
+
+ reqs := make([]cloudquery_api.TeamImageCreate, 0, len(ims))
+ for k := range ims {
+ reqs = append(reqs, cloudquery_api.TeamImageCreate{
+ Name: k.name,
+ Checksum: k.sum,
+ })
+ }
+
+ resp, err := c.CreateTeamImagesWithResponse(ctx, teamName, cloudquery_api.CreateTeamImagesJSONRequestBody{Images: reqs})
+ if err != nil {
+ return "", fmt.Errorf("failed to prepare doc images: %w", err)
+ }
+ if resp.HTTPResponse.StatusCode > 299 {
+ return "", fmt.Errorf("failed preparing: %w", hub.ErrorFromHTTPResponse(resp.HTTPResponse, resp))
+ }
+
+ for _, item := range resp.JSON201.Items {
+ item := item
+
+ key := listKey{name: item.Name, sum: item.Checksum}
+ for i := range ims[key] {
+ ims[key][i].url = item.URL
+ }
+ }
+
+ contents, err = replaceMarkdownImages(contents, ims)
+ if err != nil {
+ return "", fmt.Errorf("failed replacing markdown: %w", err)
+ }
+
+ fmt.Println("Uploading images...")
+ eg, egCtx := errgroup.WithContext(ctx)
+ eg.SetLimit(4)
+
+ // Iterate again to upload
+ for _, item := range resp.JSON201.Items {
+ if item.UploadURL == nil {
+ // Already exists in bucket
+ continue
+ }
+ item := item
+ absFile := ims[listKey{name: item.Name, sum: item.Checksum}][0].absFile
+ eg.Go(func() error {
+ return uploadFile(egCtx, *item.UploadURL, absFile)
+ })
+ }
+
+ if err := eg.Wait(); err != nil {
+ return "", fmt.Errorf("failed to upload doc images: %w", err)
+ }
+
+ return contents, nil
+}
+
+func findMarkdownImages(contents, docDir string) (map[listKey][]reference, error) {
+ imf := &imageFinder{
+ docDir: docDir,
+ }
+ p := goldmark.New(
+ goldmark.WithParserOptions(
+ parser.WithASTTransformers(util.Prioritized(imf, 999999)),
+ ),
+ )
+ if err := p.Convert([]byte(contents), io.Discard); err != nil {
+ return nil, fmt.Errorf("failed to parse markdown: %w", err)
+ }
+ if imf.err != nil {
+ return nil, imf.err
+ }
+
+ return imf.images, nil
+}
+
+func convertMarkdownReferences(ims map[listKey][]reference) ([]reference, error) {
+ type pos struct {
+ at int
+ end bool
+ }
+ reps := make([]reference, 0, len(ims))
+ posList := make([]pos, 0, 2*len(ims))
+ for _, imList := range ims {
+ for _, ir := range imList {
+ if ir.endPos == 0 {
+ // return "", fmt.Errorf("unknown range for image %q", ir.ref)
+ continue // skip
+ }
+ if ir.startPos >= ir.endPos {
+ return nil, fmt.Errorf("invalid range for image %q", ir.ref)
+ }
+
+ posList = append(posList, pos{at: ir.startPos}, pos{at: ir.endPos - 1, end: true})
+ ir := ir
+ reps = append(reps, ir)
+ }
+ }
+
+ sort.Slice(posList, func(i, j int) bool {
+ if posList[i].at == posList[j].at {
+ return !posList[i].end
+ }
+ return posList[i].at < posList[j].at
+ })
+
+ // check for overlaps
+ var (
+ lastPos int
+ open int
+ )
+ for _, p := range posList {
+ if p.end {
+ open--
+ } else {
+ open++
+ }
+ if open > 1 {
+ return nil, fmt.Errorf("found overlapping range: %d-%d", lastPos, p.at)
+ }
+ lastPos = p.at
+ }
+
+ return reps, nil
+}
+
+func replaceMarkdownImages(contents string, ims map[listKey][]reference) (string, error) {
+ reps, err := convertMarkdownReferences(ims)
+ if err != nil {
+ return "", err
+ }
+
+ // sort by start position, descending
+ sort.Slice(reps, func(i, j int) bool {
+ return reps[i].startPos > reps[j].startPos
+ })
+
+ // replace in reverse order
+ for _, ir := range reps {
+ literalTag := contents[ir.startPos:ir.endPos]
+ replacedTag := strings.Replace(literalTag, ir.ref, ir.url, 1)
+ contents = contents[:ir.startPos] + replacedTag + contents[ir.endPos:]
+ }
+
+ return contents, nil
+}
+
+func uploadFile(ctx context.Context, uploadURL, file string) error {
+ f, err := os.Open(file)
+ if err != nil {
+ return err
+ }
+ defer f.Close()
+
+ first512 := make([]byte, 512)
+ if _, err := f.Read(first512); err != nil {
+ return err
+ }
+ ct := http.DetectContentType(first512)
+ if _, err := f.Seek(0, io.SeekStart); err != nil {
+ return err
+ }
+
+ req, err := http.NewRequest(http.MethodPut, uploadURL, f)
+ if err != nil {
+ return err
+ }
+ req.Header.Set("Content-Type", ct)
+
+ resp, err := http.DefaultClient.Do(req.WithContext(ctx))
+ if err != nil {
+ return err
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ return fmt.Errorf("failed to upload image: %s", resp.Status)
+ }
+ return nil
+}
+
+func ensureValidFilename(filename, absDir string) (string, error) {
+ u, err := url.Parse(filename)
+ if err != nil {
+ return "", nil // skip
+ }
+
+ if u.Scheme == "" {
+ // it's a local file
+ if filepath.IsAbs(filename) {
+ return filename, nil
+ }
+
+ return filepath.Join(absDir, filename), nil
+ } else if u.Scheme != "file" {
+ return "", nil // skip
+ }
+
+ if u.Host != "" && u.Host != "localhost" {
+ return "", fmt.Errorf("invalid file URL %s", filename)
+ }
+ p := u.Path
+ if strings.HasPrefix(p, "/") && os.PathSeparator == '\\' {
+ p = strings.TrimPrefix(p, "/")
+ }
+ filename = filepath.FromSlash(p)
+ return filename, nil
+}
+
+func sha1sum(filename string) (string, error) {
+ f, err := os.Open(filename)
+ if err != nil {
+ return "", err
+ }
+ defer f.Close()
+
+ s := sha1.New()
+ _, err = io.Copy(s, f)
+ if err != nil {
+ return "", err
+ }
+ result := s.Sum(nil)
+ return hex.EncodeToString(result), nil
+}
+
+type imageFinder struct {
+ images map[listKey][]reference
+ docDir string
+ err error
+}
+
+func (f *imageFinder) Transform(node *ast.Document, reader text.Reader, pc parser.Context) {
+ if f.images == nil {
+ f.images = make(map[listKey][]reference)
+ }
+
+ type refKeyType struct {
+ dest, title string
+ }
+
+ refs := pc.References()
+ refList := make(map[refKeyType][]parser.Reference, len(refs))
+ for _, ref := range refs {
+ key := refKeyType{dest: string(ref.Destination()), title: string(ref.Title())}
+ refList[key] = append(refList[key], ref) // multiple refs can have the same dest/title (but different labels)
+ }
+
+ src := reader.Source()
+
+ var allImgs []reference
+ imageDestinations := make(map[refKeyType]struct{}) // referenced dests are put in here so that we can check them later
+ f.err = ast.Walk(node, func(n ast.Node, entering bool) (ast.WalkStatus, error) {
+ if !entering {
+ return ast.WalkContinue, nil
+ }
+
+ var (
+ imgs []reference
+
+ htmlBytes []byte
+ htmlStartPos int
+ )
+ switch el := n.(type) {
+ case *ast.Image:
+ imgRef := reference{
+ ref: string(el.Destination),
+ }
+ refKey := refKeyType{dest: imgRef.ref, title: string(el.Title)}
+ imageDestinations[refKey] = struct{}{} // mark this as an image so that we can cross-check with the reference list later
+ if len(refList[refKey]) > 0 {
+ // it's a reference, no need to check further as we won't find anything useful (regarding byte positions). Leave it to the reference handler
+ return ast.WalkContinue, nil
+ }
+
+ p := el.BaseNode.Parent()
+ for p != nil && imgRef.endPos == 0 {
+ if p.Kind() == ast.KindParagraph {
+ for i := 0; i < p.Lines().Len(); i++ {
+ // we can have multiple lines in a paragraph, so we need to check each one to match destination/title, hoping there are no dupes
+ lineLiteral := src[p.Lines().At(i).Start:p.Lines().At(i).Stop]
+
+ // these checks are false negative if this image is a reference, but we handled them above
+ if !bytes.Contains(lineLiteral, el.Destination) || (len(el.Title) > 0 && !bytes.Contains(lineLiteral, el.Title)) {
+ continue
+ }
+ if len(el.Title) == 0 { // if no title, make sure the element ends with the link
+ parts := bytes.SplitN(lineLiteral, el.Destination, 2)
+ if len(parts) != 2 || !bytes.HasPrefix(bytes.TrimSpace(parts[1]), []byte(")")) { // HasPrefix because we can be inside a link
+ continue
+ }
+ }
+ imgRef.startPos, imgRef.endPos = p.Lines().At(i).Start, p.Lines().At(i).Stop
+ break
+ }
+ break
+ }
+ p = p.Parent()
+ }
+ imgs = append(imgs, imgRef)
+ case *ast.CodeBlock:
+ return ast.WalkSkipChildren, nil
+ case *ast.FencedCodeBlock:
+ return ast.WalkSkipChildren, nil
+ case *ast.HTMLBlock:
+ sz := el.Lines().Len()
+ for i := 0; i < sz; i++ {
+ a := el.Lines().At(i)
+ htmlBytes = append(htmlBytes, src[a.Start:a.Stop]...)
+ if i == 0 {
+ htmlStartPos = a.Start
+ }
+ }
+ // handle htmlBytes below
+ case *ast.RawHTML:
+ if el.Segments != nil {
+ for i := 0; i < el.Segments.Len(); i++ { // should have 1 segment per tag?
+ a := el.Segments.At(i)
+ htmlBytes = append(htmlBytes, src[a.Start:a.Stop]...)
+ if i == 0 {
+ htmlStartPos = a.Start
+ }
+ }
+ } else {
+ sz := el.Lines().Len()
+ for i := 0; i < sz; i++ {
+ a := el.Lines().At(i)
+ htmlBytes = append(htmlBytes, src[a.Start:a.Stop]...)
+ if i == 0 {
+ htmlStartPos = a.Start
+ }
+ }
+ }
+ // handle htmlBytes below
+ default:
+ return ast.WalkContinue, nil
+ }
+
+ if len(htmlBytes) > 0 {
+ htmlImages, err := parseHTMLImages(htmlBytes, htmlStartPos)
+ if err != nil {
+ return ast.WalkStop, err
+ }
+ imgs = append(imgs, htmlImages...)
+ }
+
+ allImgs = append(allImgs, imgs...)
+ return ast.WalkContinue, nil
+ })
+ if f.err != nil {
+ return
+ }
+
+ f.err = func() error {
+ refKeys := maps.Keys(refList)
+ sort.Slice(refKeys, func(i, j int) bool {
+ if refKeys[i].title == refKeys[j].title {
+ return refKeys[i].dest < refKeys[j].dest
+ }
+ if refKeys[i].dest == refKeys[j].dest {
+ return refKeys[i].title < refKeys[j].title
+ }
+ return refKeys[i].dest < refKeys[j].dest && refKeys[i].title < refKeys[j].title
+ })
+
+ for _, refKey := range refKeys {
+ if _, isImage := imageDestinations[refKey]; !isImage {
+ continue // only use this reference if it's a previously found image (ast.Image and dest/title match)
+ }
+
+ for _, pcRef := range refList[refKey] {
+ // here we rebuild a `[image-id]: image.png "Optional Title Here"` line and replace it inside src. We're happy as long as there's a preceding space
+ refLine := append([]byte{'['}, pcRef.Label()...)
+ refLine = append(refLine, []byte("]: ")...)
+ refLine = append(refLine, pcRef.Destination()...)
+ if len(pcRef.Title()) > 0 {
+ refLine = append(refLine, []byte(` "`)...)
+ refLine = append(refLine, pcRef.Title()...)
+ refLine = append(refLine, []byte{'"'}...)
+ }
+
+ if idx := bytes.Index(src, refLine); idx > 0 {
+ check := bytes.TrimSpace(src[idx-1 : idx+len(refLine)]) // make sure it has some kind of space before
+ if bytes.Equal(check, refLine) {
+ allImgs = append(allImgs, reference{
+ ref: string(pcRef.Destination()),
+ startPos: idx,
+ endPos: idx + len(refLine),
+ })
+ }
+ }
+ }
+ }
+
+ // process all matches here
+ for _, img := range allImgs {
+ absFile, err := ensureValidFilename(img.ref, f.docDir)
+ if err != nil {
+ return err
+ }
+ if absFile == "" {
+ continue // skip
+ }
+ s, err := sha1sum(absFile)
+ if err != nil {
+ return fmt.Errorf("error processing image %q: %w", img.ref, err)
+ }
+ fileRef := filepath.Base(absFile)
+ key := listKey{name: fileRef, sum: s}
+ f.images[key] = append(f.images[key], reference{
+ ref: img.ref,
+ absFile: absFile,
+ startPos: img.startPos,
+ endPos: img.endPos,
+ })
+ }
+ return nil
+ }()
+}
+
+func parseHTMLImages(htmlBytes []byte, htmlOffset int) ([]reference, error) {
+ htmldoc, err := html.Parse(bytes.NewReader(htmlBytes))
+ if err != nil {
+ return nil, err
+ }
+
+ var imgs []reference
+ var f func(*html.Node) int
+ offset := 0
+
+ f = func(n *html.Node) int {
+ if n.Type == html.ElementNode && n.Data == "img" {
+ for _, a := range n.Attr {
+ if a.Key != "src" {
+ continue
+ }
+ searchBytes := htmlBytes[offset:]
+ startPos := bytes.Index(searchBytes, []byte(a.Val)) + offset
+ endPos := startPos + len(a.Val)
+ imgs = append(imgs, reference{
+ ref: a.Val,
+ startPos: htmlOffset + startPos,
+ endPos: htmlOffset + endPos,
+ })
+ offset = endPos
+ return offset
+ }
+ }
+ for c := n.FirstChild; c != nil; c = c.NextSibling {
+ offset = f(c)
+ }
+ return offset
+ }
+
+ _ = f(htmldoc)
+ return imgs, nil
+}
+
+var _ parser.ASTTransformer = &imageFinder{}
diff --git a/cli/internal/publish/images/images_test.go b/cli/internal/publish/images/images_test.go
new file mode 100644
index 00000000000000..fe1d3be589a70c
--- /dev/null
+++ b/cli/internal/publish/images/images_test.go
@@ -0,0 +1,368 @@
+package images
+
+import (
+ "os"
+ "path/filepath"
+ "sort"
+ "strings"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+)
+
+func TestFindMarkdownImages(t *testing.T) {
+ cases := []struct {
+ name string
+ contents string
+ expect map[string][]reference
+ expectError string
+
+ endPosAdjustBy int // used for file:/// links where the file reference is absolute, applies to all imageReference.endPos in expect
+ }{
+ {
+ name: "no images",
+ contents: `# Title
+`,
+ expect: nil,
+ },
+ {
+ name: "basic",
+ contents: `# Title
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 22}}},
+ },
+ {
+ name: "basic with alt",
+ contents: `# Title
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 30}}},
+ },
+ {
+ name: "html with alt and width",
+ contents: `# Title
+
`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 18, endPos: 27}}},
+ },
+ {
+ name: "html with single quotes",
+ contents: `# Title
+
`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 18, endPos: 27}}},
+ },
+ {
+ name: "double html with alt and width",
+ contents: `# Title
+
`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 18, endPos: 27}, {ref: "image.png", startPos: 68, endPos: 77}}},
+ },
+ {
+ name: "double html in div",
+ contents: `# Title
+


+
+
`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 18, endPos: 27}}},
+ },
+ {
+ name: "tricky html alt",
+ contents: `# Title
+
`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 31, endPos: 40}}},
+ },
+ {
+ name: "tricky html alt multiline",
+ contents: `# Title
+
+` + "```" + `
+`,
+ expect: nil,
+ },
+ {
+ name: "quoted image",
+ contents: `# Title
+` + "```" + `
+
+` + "```" + `
+`,
+ expect: nil,
+ },
+ {
+ name: "single quoted html",
+ contents: `# Title
+` + "`" + `
` + "`" + `
+`,
+ expect: nil,
+ },
+ {
+ name: "single quoted image",
+ contents: `# Title
+` + "`" + `` + "`" + `
+`,
+ expect: nil,
+ },
+ {
+ name: "basic with alt and title",
+ contents: `# Title
+
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 43}}},
+ },
+ {
+ name: "basic with title",
+ contents: `# Title
+
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 35}}},
+ },
+ {
+ name: "basic with title or alt, multiple",
+ contents: `# Title
+
+More test
+
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 36}, {ref: "image.png", startPos: 46, endPos: 63}}},
+ },
+ {
+ name: "ref",
+ contents: `# Title
+![Alt text][image-id]
+
+[image-id]: image.png "Optional Title Here"
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 31, endPos: 74}}},
+ },
+ {
+ name: "ref multiple",
+ contents: `# Title
+![Alt text][image-id]
+
+text
+
+![Same text][image-id]
+
+[image-id]: image.png "Optional Title Here"
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 61, endPos: 104}}},
+ },
+ {
+ name: "ref multiple with same image",
+ contents: `# Title
+![Alt text][image-id]
+
+text
+
+![Same text][image-ip]
+
+[image-id]: image.png "Optional Title Here"
+[image-ip]: image.png "Some Title Here"
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 61, endPos: 104}, {ref: "image.png", startPos: 105, endPos: 144}}},
+ },
+ {
+ name: "ref multiple with same image title and id",
+ contents: `# Title
+![Alt text][image-id]
+
+text
+
+![Same text][image-id]
+
+[image-id]: image.png "Title Here"
+[image-id]: image.png "Title Here"
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 61, endPos: 95}}}, // expect a single match
+ },
+ {
+ name: "ref multiple with same image and title",
+ contents: `# Title
+![Alt text][image-id]
+
+text
+
+![Same text][image-ip]
+
+[image-id]: image.png "Optional Title Here"
+[image-ip]: image.png "Optional Title Here"
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 61, endPos: 104}, {ref: "image.png", startPos: 105, endPos: 148}}},
+ },
+ {
+ name: "href",
+ contents: `# Title
+[](http://example.com/)
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "image.png", startPos: 8, endPos: 53}}}, // includes full href
+ },
+ {
+ name: "subdir",
+ contents: `# Title
+
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:image.png": {{ref: "assets/images/image.png", startPos: 8, endPos: 44}}},
+ },
+ {
+ name: "basic file://",
+ contents: `# Title
+`,
+ expect: map[string][]reference{"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3:my special@image.png": {{ref: "file://${ABS_IMAGE}", startPos: 8, endPos: 0 /* special zero */}}},
+ endPosAdjustBy: 12, // number of extra characters except the placeholder/filename
+ },
+ {
+ name: "external image urls",
+ contents: `# Title
+ or 
+
+
+`,
+ expect: nil,
+ expectError: `error processing image "path.to/img2/image.png": open`,
+ },
+ }
+
+ tempdir := t.TempDir()
+ data := []byte("test")
+ require.NoError(t, os.WriteFile(filepath.Join(tempdir, "image.png"), data, 0644))
+ require.NoError(t, os.MkdirAll(filepath.Join(tempdir, "assets", "images"), 0755))
+ require.NoError(t, os.WriteFile(filepath.Join(tempdir, "assets", "images", "image.png"), data, 0644))
+
+ special := filepath.Join(tempdir, "my special@image.png")
+ require.NoError(t, os.WriteFile(special, data, 0644))
+ specialAbs, err := filepath.Abs(special)
+ require.NoError(t, err)
+ specialAbsEscaped := strings.NewReplacer(" ", "%20", "@", "%40", string(filepath.Separator), "/").Replace(specialAbs)
+ if filepath.Separator == '\\' {
+ specialAbsEscaped = "/" + specialAbsEscaped // absolute paths in file:// mode start with "/", not C:\ (`file:///C:/`, not `file://C:/`)
+ }
+
+ const mockURL = "https://example.com/file.ext"
+ for _, tc := range cases {
+ tc := tc
+ t.Run(tc.name, func(t *testing.T) {
+ tc.contents = strings.ReplaceAll(tc.contents, "${ABS_IMAGE}", specialAbsEscaped)
+ out, err := findMarkdownImages(tc.contents, tempdir)
+ if tc.expectError != "" {
+ require.ErrorContains(t, err, tc.expectError)
+ return
+ }
+ require.NoError(t, err)
+
+ // clean up for successful comparison, also set mock URL
+ for k, v := range out {
+ for i := range v {
+ v[i].absFile = ""
+ v[i].url = mockURL
+ }
+ out[k] = v
+ }
+ if len(out) == 0 {
+ out = nil
+ }
+
+ expect := convertStringToRefKey(tc.expect)
+
+ // adjust end position for special case
+ for k, v := range expect {
+ for i := range v {
+ if strings.Contains(v[i].ref, "${ABS_IMAGE}") {
+ v[i].ref = strings.ReplaceAll(v[i].ref, "${ABS_IMAGE}", specialAbsEscaped)
+ v[i].endPos = v[i].startPos + len(specialAbsEscaped) + tc.endPosAdjustBy
+ }
+ v[i].url = mockURL
+ }
+ expect[k] = v
+ }
+
+ for k := range out {
+ sort.Slice(out[k], func(i, j int) bool {
+ return out[k][i].startPos < out[k][j].startPos
+ })
+ }
+
+ require.EqualValues(t, expect, out)
+
+ replaced, err := replaceMarkdownImages(tc.contents, out)
+ require.NoError(t, err)
+
+ if len(tc.expect) > 0 {
+ require.Contains(t, replaced, mockURL)
+ }
+ })
+ }
+}
+
+func TestConvertMarkdownReferencesOverlaps(t *testing.T) {
+ cases := []struct {
+ name string
+ refs map[string][]reference
+ expectError bool
+ }{
+ {
+ name: "no overlaps",
+ refs: map[string][]reference{"a:b": {{ref: "a", startPos: 0, endPos: 1}, {ref: "a", startPos: 1, endPos: 3}}},
+ },
+ {
+ name: "overlaps by 1 byte",
+ refs: map[string][]reference{"a:b": {{ref: "a", startPos: 0, endPos: 2}, {ref: "a", startPos: 1, endPos: 3}}},
+ expectError: true,
+ },
+ {
+ name: "invalid range",
+ refs: map[string][]reference{"a:b": {{ref: "a", startPos: 0, endPos: 2}, {ref: "a", startPos: 3, endPos: 1}}},
+ expectError: true,
+ },
+ {
+ name: "overlapping last elem with first",
+ refs: map[string][]reference{"a:b": {{ref: "a", startPos: 0, endPos: 2}, {ref: "a", startPos: 2, endPos: 3}, {ref: "a", startPos: 0, endPos: 1}}},
+ expectError: true,
+ },
+ }
+ for _, tc := range cases {
+ tc := tc
+ t.Run(tc.name, func(t *testing.T) {
+ _, err := convertMarkdownReferences(convertStringToRefKey(tc.refs))
+ if tc.expectError {
+ require.Error(t, err)
+ return
+ }
+ require.NoError(t, err)
+ })
+ }
+}
+
+func convertStringToRefKey(input map[string][]reference) map[listKey][]reference {
+ if input == nil {
+ return nil
+ }
+ ret := make(map[listKey][]reference, len(input))
+ for k := range input {
+ parts := strings.SplitN(k, ":", 2)
+ key := listKey{name: parts[1], sum: parts[0]}
+ ret[key] = input[k]
+ }
+ return ret
+}
diff --git a/cli/internal/publish/plugins.go b/cli/internal/publish/plugins.go
index d38056882d7990..62596bdc5149b8 100644
--- a/cli/internal/publish/plugins.go
+++ b/cli/internal/publish/plugins.go
@@ -18,6 +18,7 @@ import (
cloudquery_api "github.com/cloudquery/cloudquery-api-go"
"github.com/cloudquery/cloudquery/cli/internal/hub"
+ "github.com/cloudquery/cloudquery/cli/internal/publish/images"
"github.com/distribution/reference"
"github.com/docker/distribution"
"github.com/docker/distribution/manifest/manifestlist"
@@ -195,6 +196,12 @@ func UploadPluginDocs(ctx context.Context, c *cloudquery_api.ClientWithResponses
return fmt.Errorf("failed to read docs file: %w", err)
}
contentStr := hub.NormalizeContent(string(content))
+
+ contentStr, err = images.ProcessDocument(ctx, c, teamName, docsDir, contentStr)
+ if err != nil {
+ return fmt.Errorf("failed to process doc images for %s: %w", dirEntry.Name(), err)
+ }
+
pages = append(pages, cloudquery_api.PluginDocsPageCreate{
Content: contentStr,
Name: strings.TrimSuffix(dirEntry.Name(), fileExt),
@@ -287,17 +294,17 @@ func UploadPluginBinary(ctx context.Context, c *cloudquery_api.ClientWithRespons
return fmt.Errorf("failed to upload binary: %w", err)
}
if resp.HTTPResponse.StatusCode > 299 {
- msg := fmt.Sprintf("failed to upload binary: %s", resp.HTTPResponse.Status)
+ msg := "failed to upload binary: " + resp.HTTPResponse.Status
switch {
case resp.JSON403 != nil:
msg = fmt.Sprintf("%s: %s", msg, resp.JSON403.Message)
case resp.JSON401 != nil:
msg = fmt.Sprintf("%s: %s", msg, resp.JSON401.Message)
}
- return fmt.Errorf(msg)
+ return errors.New(msg)
}
if resp.JSON201 == nil {
- return fmt.Errorf("upload response is nil, failed to upload binary")
+ return errors.New("upload response is nil, failed to upload binary")
}
uploadURL := resp.JSON201.Url
err = hub.UploadFile(uploadURL, localPath)
@@ -337,7 +344,7 @@ func loadDockerImage(ctx context.Context, cli *client.Client, imagePath string)
return fmt.Errorf("failed to load image: %v", err)
}
if resp.Body == nil {
- return fmt.Errorf("failed to load image: response body is nil")
+ return errors.New("failed to load image: response body is nil")
}
respString := getResponseAsString(resp.Body)
@@ -377,7 +384,7 @@ func pushImage(ctx context.Context, dockerClient *client.Client, t TargetBuild,
return nil
}
-func getDockerToken(ctx context.Context, ref reference.Named, version, username, password string, insecureSkipVerify bool) (string, error) {
+func getDockerToken(ctx context.Context, ref reference.Named, version, team, username, password string, insecureSkipVerify bool) (string, error) {
// https://distribution.github.io/distribution/spec/auth/token/#how-to-authenticate
domain := reference.Domain(ref)
name := reference.Path(ref)
@@ -401,7 +408,7 @@ func getDockerToken(ctx context.Context, ref reference.Named, version, username,
}
challengeHeader := challengeRes.Header.Get("WWW-Authenticate")
if challengeHeader == "" {
- return "", fmt.Errorf("client: missing WWW-Authenticate header")
+ return "", errors.New("client: missing WWW-Authenticate header")
}
challenges := challenge.ResponseChallenges(challengeRes)
if len(challenges) != 1 {
@@ -418,6 +425,7 @@ func getDockerToken(ctx context.Context, ref reference.Named, version, username,
req, err := http.NewRequestWithContext(ctx, http.MethodGet, url, nil)
basicAuth := base64.StdEncoding.EncodeToString([]byte(username + ":" + password))
req.Header.Add("X-Meta-Plugin-Version", version)
+ req.Header.Add("X-Meta-User-Team-Name", team)
req.Header.Add("Authorization", "Basic "+basicAuth)
if err != nil {
return "", fmt.Errorf("client: could not create request: %s", err)
@@ -429,6 +437,10 @@ func getDockerToken(ctx context.Context, ref reference.Named, version, username,
}
defer res.Body.Close()
+ if res.StatusCode != http.StatusOK {
+ return "", fmt.Errorf("client: unexpected status code: %d", res.StatusCode)
+ }
+
tokenResponse := map[string]string{}
if err := json.NewDecoder(res.Body).Decode(&tokenResponse); err != nil {
return "", fmt.Errorf("client: could not decode response: %s", err)
@@ -451,21 +463,6 @@ func getManifestParams(target string) (imageName reference.Named, repository str
}
func getManifestService(ctx context.Context, imageName reference.Named, repository string, registryAuth string, insecureSkipVerify bool) (distribution.ManifestService, error) {
- schema2Func := func(b []byte) (distribution.Manifest, distribution.Descriptor, error) {
- m := new(schema2.DeserializedManifest)
- err := m.UnmarshalJSON(b)
- if err != nil {
- return nil, distribution.Descriptor{}, err
- }
-
- dgst := digest.FromBytes(b)
- return m, distribution.Descriptor{Digest: dgst, Size: int64(len(b)), MediaType: schema2.MediaTypeManifest}, err
- }
- err := distribution.RegisterManifestSchema(schema2.MediaTypeManifest, schema2Func)
- if err != nil {
- return nil, fmt.Errorf("failed to create Docker manifest: %v", err)
- }
-
repo, err := distributionclient.NewRepository(imageName, "https://"+repository, newTransportWithRegistryAuth(insecureSkipVerify, registryAuth))
if err != nil {
return nil, fmt.Errorf("failed to create Docker repository: %v", err)
@@ -502,7 +499,7 @@ func getManifestList(ctx context.Context, manifestService distribution.ManifestS
descriptors := make([]manifestlist.ManifestDescriptor, 0)
for i, namedTag := range namedTags {
buildTarget := pkgJSON.SupportedTargets[i]
- manifest, err := manifestService.Get(ctx, "", distribution.WithTag(namedTag.Tag()))
+ manifest, err := manifestService.Get(ctx, "", distribution.WithTag(namedTag.Tag()), distribution.WithManifestMediaTypes([]string{schema2.MediaTypeManifest}))
if err != nil {
return nil, fmt.Errorf("failed to create Docker manifest: %v", err)
}
@@ -555,13 +552,13 @@ func PublishToDockerRegistry(ctx context.Context, token, distDir string, pkgJSON
// and talking to the registry directly since the Docker Engine API doesn't support the manifest API yet
// Loading and pushing the images is done via the Docker Go SDK
- additionalHeaders := map[string]string{"X-Meta-Plugin-Version": pkgJSON.Version}
+ additionalHeaders := map[string]string{"X-Meta-Plugin-Version": pkgJSON.Version, "X-Meta-User-Team-Name": pkgJSON.Team}
dockerClient, err := client.NewClientWithOpts(client.FromEnv, client.WithHTTPHeaders(additionalHeaders))
if err != nil {
return fmt.Errorf("failed to create Docker client: %v", err)
}
if len(pkgJSON.SupportedTargets) == 0 {
- return fmt.Errorf("no supported targets found")
+ return errors.New("no supported targets found")
}
fmt.Println("Pushing images to CloudQuery Docker Registry...")
for _, t := range pkgJSON.SupportedTargets {
@@ -601,7 +598,7 @@ func PublishToDockerRegistry(ctx context.Context, token, distDir string, pkgJSON
insecureSkipVerify = true
}
- dockerToken, err := getDockerToken(ctx, ref, pkgJSON.Version, username, password, insecureSkipVerify)
+ dockerToken, err := getDockerToken(ctx, ref, pkgJSON.Version, pkgJSON.Team, username, password, insecureSkipVerify)
if err != nil {
return fmt.Errorf("failed to get bearer token: %v", err)
}
diff --git a/cli/internal/specs/v0/backend.go b/cli/internal/specs/v0/backend.go
deleted file mode 100644
index 6c6cea9153ed64..00000000000000
--- a/cli/internal/specs/v0/backend.go
+++ /dev/null
@@ -1,60 +0,0 @@
-package specs
-
-import (
- "bytes"
- "encoding/json"
- "fmt"
-)
-
-type Backend int
-
-const (
- BackendNone Backend = iota
- BackendLocal
-)
-
-var AllBackends = Backends{BackendNone, BackendLocal}
-var AllBackendNames = [...]string{
- BackendNone: "none",
- BackendLocal: "local",
-}
-
-type Backends []Backend
-
-func (s Backends) String() string {
- var buffer bytes.Buffer
- for i, backend := range s {
- if i > 0 {
- buffer.WriteString(", ")
- }
- buffer.WriteString(backend.String())
- }
- return buffer.String()
-}
-
-func (s Backend) String() string {
- return AllBackendNames[s]
-}
-func (s Backend) MarshalJSON() ([]byte, error) {
- return []byte(`"` + s.String() + `"`), nil
-}
-
-func (s *Backend) UnmarshalJSON(data []byte) (err error) {
- var backend string
- if err := json.Unmarshal(data, &backend); err != nil {
- return err
- }
- if *s, err = BackendFromString(backend); err != nil {
- return err
- }
- return nil
-}
-
-func BackendFromString(s string) (Backend, error) {
- for i, backend := range AllBackendNames {
- if s == backend {
- return Backend(i), nil
- }
- }
- return BackendNone, fmt.Errorf("unknown backend %s", s)
-}
diff --git a/cli/internal/specs/v0/backend_test.go b/cli/internal/specs/v0/backend_test.go
deleted file mode 100644
index d16056afb628db..00000000000000
--- a/cli/internal/specs/v0/backend_test.go
+++ /dev/null
@@ -1,36 +0,0 @@
-package specs
-
-import (
- "encoding/json"
- "testing"
-
- "gopkg.in/yaml.v3"
-)
-
-func TestBackendJsonMarshalUnmarshal(t *testing.T) {
- b, err := json.Marshal(BackendLocal)
- if err != nil {
- t.Fatal("failed to marshal backend:", err)
- }
- var backend Backend
- if err := json.Unmarshal(b, &backend); err != nil {
- t.Fatal("failed to unmarshal backend:", err)
- }
- if backend != BackendLocal {
- t.Fatal("expected backend to be local, but got:", backend)
- }
-}
-
-func TestBackendYamlMarshalUnmarshal(t *testing.T) {
- b, err := yaml.Marshal(BackendLocal)
- if err != nil {
- t.Fatal("failed to marshal backend:", err)
- }
- var backend Backend
- if err := yaml.Unmarshal(b, &backend); err != nil {
- t.Fatal("failed to unmarshal backend:", err)
- }
- if backend != BackendLocal {
- t.Fatal("expected backend to be local, but got:", backend)
- }
-}
diff --git a/cli/internal/specs/v0/destination.go b/cli/internal/specs/v0/destination.go
index 989b54a93425d8..37b3d9884e5e21 100644
--- a/cli/internal/specs/v0/destination.go
+++ b/cli/internal/specs/v0/destination.go
@@ -5,53 +5,35 @@ import (
"encoding/json"
"fmt"
"strings"
-
- "github.com/thoas/go-funk"
)
+// Destination plugin spec
type Destination struct {
- Name string `json:"name,omitempty"`
- Version string `json:"version,omitempty"`
- Path string `json:"path,omitempty"`
- Registry Registry `json:"registry,omitempty"`
- WriteMode WriteMode `json:"write_mode,omitempty"`
- MigrateMode MigrateMode `json:"migrate_mode,omitempty"`
- // Deprecated: use plugin-spec batch_size_bytes instead
- BatchSize int `json:"batch_size,omitempty"`
- // Deprecated: use plugin-spec batch_size_bytes instead
- BatchSizeBytes int `json:"batch_size_bytes,omitempty"`
- Spec map[string]any `json:"spec,omitempty"`
- PKMode PKMode `json:"pk_mode,omitempty"`
+ Metadata
+
+ // Destination plugin write mode
+ WriteMode WriteMode `json:"write_mode,omitempty" jsonschema:"default=overwrite-delete-stale"`
+
+ // Destination plugin migrate mode
+ MigrateMode MigrateMode `json:"migrate_mode,omitempty" jsonschema:"default=safe"`
+
+ // Destination plugin PK mode
+ PKMode PKMode `json:"pk_mode,omitempty" jsonschema:"default=default"`
- // registryInferred is a flag that indicates whether the registry was inferred from a zero value
- registryInferred bool
+ // Destination plugin own (nested) spec
+ Spec map[string]any `json:"spec,omitempty"`
}
-func (d *Destination) GetWarnings() Warnings {
+func (*Destination) GetWarnings() Warnings {
warnings := make(map[string]string)
- if d.BatchSize != 0 {
- warnings["batch_size"] = "batch_size in the top-level spec is deprecated and will be removed in a future release. Please use the plugin-spec `batch_size` option instead."
- }
- if d.BatchSizeBytes != 0 {
- warnings["batch_size_bytes"] = "batch_size_bytes in the top-level spec is deprecated and will be removed in a future release. Please use the plugin-spec `batch_size_bytes` option instead."
- }
return warnings
}
-func (d *Destination) SetDefaults(defaultBatchSize, defaultBatchSizeBytes int) {
+func (d *Destination) SetDefaults() {
+ d.Metadata.SetDefaults()
if d.Spec == nil {
d.Spec = make(map[string]any)
}
- if d.Registry == RegistryUnset {
- d.Registry = RegistryCloudQuery
- d.registryInferred = true
- }
- if d.BatchSize == 0 {
- d.BatchSize = defaultBatchSize
- }
- if d.BatchSizeBytes == 0 {
- d.BatchSizeBytes = defaultBatchSizeBytes
- }
}
func (d *Destination) UnmarshalSpec(out any) error {
@@ -66,35 +48,11 @@ func (d *Destination) UnmarshalSpec(out any) error {
}
func (d *Destination) Validate() error {
- if d.Name == "" {
- return fmt.Errorf("name is required")
- }
- if d.Path == "" {
- msg := "path is required"
- // give a small hint to help users transition from the old config format that didn't require path
- officialPlugins := []string{"postgresql", "csv"}
- if funk.ContainsString(officialPlugins, d.Name) {
- msg += fmt.Sprintf(". Hint: try setting path to cloudquery/%s in your config", d.Name)
- }
- return fmt.Errorf(msg)
- }
-
- if d.Registry.NeedVersion() {
- if d.Version == "" {
- return fmt.Errorf("version is required")
- }
- if !strings.HasPrefix(d.Version, "v") {
- return fmt.Errorf("version must start with v")
- }
- }
- if d.BatchSize < 0 {
- return fmt.Errorf("batch_size must be greater than 0")
- }
- return nil
+ return d.Metadata.Validate()
}
func (d Destination) VersionString() string {
- if d.Registry != RegistryGithub {
+ if d.Registry != RegistryGitHub {
return fmt.Sprintf("%s (%s@%s)", d.Name, d.Registry, d.Path)
}
pathParts := strings.Split(d.Path, "/")
@@ -106,7 +64,3 @@ func (d Destination) VersionString() string {
}
return fmt.Sprintf("%s (%s@%s)", d.Name, pathParts[1], d.Version)
}
-
-func (d Destination) RegistryInferred() bool {
- return d.registryInferred
-}
diff --git a/cli/internal/specs/v0/destination_test.go b/cli/internal/specs/v0/destination_test.go
index bfaa23b06cdc23..fff831debc3ff6 100644
--- a/cli/internal/specs/v0/destination_test.go
+++ b/cli/internal/specs/v0/destination_test.go
@@ -3,6 +3,7 @@ package specs
import (
"testing"
+ "github.com/cloudquery/codegen/jsonschema"
"github.com/stretchr/testify/require"
)
@@ -45,8 +46,8 @@ spec:
`,
"failed to decode spec: json: cannot unmarshal number into Go struct field Source.name of type string",
&Source{
- Name: "test",
- Tables: []string{"*"},
+ Metadata: Metadata{Name: "test"},
+ Tables: []string{"*"},
},
},
{
@@ -57,8 +58,8 @@ spec:
`,
`failed to decode spec: json: unknown field "namea"`,
&Source{
- Name: "test",
- Tables: []string{"*"},
+ Metadata: Metadata{Name: "test"},
+ Tables: []string{"*"},
},
},
}
@@ -126,12 +127,12 @@ spec:
`,
"",
&Destination{
- Name: "test",
- Registry: RegistryGrpc,
- Path: "localhost:9999",
- BatchSize: 10000,
- BatchSizeBytes: 10000000,
- Spec: map[string]any{},
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryGRPC,
+ Path: "localhost:9999",
+ },
+ Spec: map[string]any{},
},
},
{
@@ -144,12 +145,12 @@ spec:
`,
"",
&Destination{
- Name: "test",
- Registry: RegistryLocal,
- Path: "/home/user/some_executable",
- BatchSize: 10000,
- BatchSizeBytes: 10000000,
- Spec: map[string]any{},
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryLocal,
+ Path: "/home/user/some_executable",
+ },
+ Spec: map[string]any{},
},
},
{
@@ -162,14 +163,14 @@ spec:
`,
"",
&Destination{
- Name: "test",
- Registry: RegistryCloudQuery,
- Path: "cloudquery/test",
- Version: "v1.1.0",
- BatchSize: 10000,
- BatchSizeBytes: 10000000,
- Spec: map[string]any{},
- registryInferred: true,
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryCloudQuery,
+ Path: "cloudquery/test",
+ Version: "v1.1.0",
+ registryInferred: true,
+ },
+ Spec: map[string]any{},
},
},
{
@@ -183,13 +184,13 @@ spec:
`,
"",
&Destination{
- Name: "test",
- Registry: RegistryGithub,
- Path: "cloudquery/test",
- Version: "v1.1.0",
- BatchSize: 10000,
- BatchSizeBytes: 10000000,
- Spec: map[string]any{},
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryGitHub,
+ Path: "cloudquery/test",
+ Version: "v1.1.0",
+ },
+ Spec: map[string]any{},
},
},
}
@@ -205,7 +206,7 @@ func TestDestinationUnmarshalSpecValidate(t *testing.T) {
t.Fatal(err)
}
destination := spec.Spec.(*Destination)
- destination.SetDefaults(10000, 10000000)
+ destination.SetDefaults()
err = destination.Validate()
if err != nil {
if err.Error() != tc.err {
@@ -220,69 +221,98 @@ func TestDestinationUnmarshalSpecValidate(t *testing.T) {
}
func TestDestination_VersionString(t *testing.T) {
- type fields struct {
- Name string
- Version string
- Path string
- Registry Registry
- }
tests := []struct {
- name string
- fields fields
- want string
+ name string
+ meta Metadata
+ want string
}{
{
name: "should use short version without name part in path when those are the same",
- fields: fields{
+ meta: Metadata{
Name: "aws",
Version: "v10.0.0",
Path: "cloudquery/aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "aws (v10.0.0)",
},
{
name: "should use long version with path when name doesn't match path",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "cloudquery/aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "my-aws-spec (aws@v10.0.0)",
},
{
name: "should handle non GitHub registry",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "localhost:7777",
- Registry: RegistryGrpc,
+ Registry: RegistryGRPC,
},
want: "my-aws-spec (grpc@localhost:7777)",
},
{
name: "should handle malformed path",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "my-aws-spec (aws@v10.0.0)",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- d := Destination{
- Name: tt.fields.Name,
- Version: tt.fields.Version,
- Path: tt.fields.Path,
- Registry: tt.fields.Registry,
- }
+ d := Destination{Metadata: tt.meta}
if got := d.VersionString(); got != tt.want {
t.Errorf("Destination.String() = %v, want %v", got, tt.want)
}
})
}
}
+
+func TestDestination_JSONSchema(t *testing.T) {
+ data, err := jsonschema.Generate(new(Destination))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `{}`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `[]`,
+ },
+ {
+ Name: "missing spec",
+ Spec: `{"name":"a","path":"b","registry":"local"}`,
+ },
+ {
+ Name: "empty spec",
+ Spec: `{"name":"a","path":"b","registry":"local","spec":{}}`,
+ },
+ {
+ Name: "null spec",
+ Spec: `{"name":"a","path":"b","registry":"local","spec":null}`,
+ },
+ {
+ Name: "bad spec type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","spec":[]}`,
+ },
+ // write_mode, migrate_mode & pk_mode are tested separately
+ })
+}
diff --git a/cli/internal/specs/v0/doc.go b/cli/internal/specs/v0/doc.go
index db22d708627883..bd6548f1cede3c 100644
--- a/cli/internal/specs/v0/doc.go
+++ b/cli/internal/specs/v0/doc.go
@@ -1,3 +1,3 @@
-// Package specs specs for source and destination plugins including
+// Package specs includes specs for source and destination plugins including
// parsers and readers.
package specs
diff --git a/cli/internal/specs/v0/gen/main.go b/cli/internal/specs/v0/gen/main.go
new file mode 100644
index 00000000000000..d8e7088d4f904d
--- /dev/null
+++ b/cli/internal/specs/v0/gen/main.go
@@ -0,0 +1,40 @@
+package main
+
+import (
+ "fmt"
+ "log"
+ "path"
+ "reflect"
+ "runtime"
+
+ "github.com/cloudquery/cloudquery/cli/internal/specs/v0"
+ cqgen_jsonschema "github.com/cloudquery/codegen/jsonschema"
+ "github.com/invopop/jsonschema"
+)
+
+func main() {
+ fmt.Println("Generating JSON schema for CLI spec")
+ specsType := reflect.TypeOf(specs.Spec{})
+ cqgen_jsonschema.GenerateIntoFile(new(specs.Spec), path.Join(currDir(), "..", "schema.json"),
+ cqgen_jsonschema.WithAddGoComments("github.com/cloudquery/cloudquery/cli/internal/specs/v0", path.Join(currDir(), "..")),
+ func(r *jsonschema.Reflector) {
+ r.AdditionalFields = func(t reflect.Type) []reflect.StructField {
+ if t == specsType { // we need to add the extra fields, as the `spec` field is just `any`
+ return reflect.VisibleFields(reflect.TypeOf(struct {
+ Source specs.Source
+ Destination specs.Destination
+ }{}))
+ }
+ return nil
+ }
+ },
+ )
+}
+
+func currDir() string {
+ _, filename, _, ok := runtime.Caller(0)
+ if !ok {
+ log.Fatal("Failed to get caller information")
+ }
+ return path.Dir(filename)
+}
diff --git a/cli/internal/specs/v0/kind.go b/cli/internal/specs/v0/kind.go
new file mode 100644
index 00000000000000..ff2560faeb5e1d
--- /dev/null
+++ b/cli/internal/specs/v0/kind.go
@@ -0,0 +1,62 @@
+package specs
+
+import (
+ "bytes"
+ "encoding/json"
+ "fmt"
+
+ "github.com/invopop/jsonschema"
+)
+
+type Kind int
+
+const (
+ KindSource Kind = iota
+ KindDestination
+)
+
+var (
+ AllKinds = [...]string{
+ KindSource: "source",
+ KindDestination: "destination",
+ }
+)
+
+func (k Kind) String() string {
+ return AllKinds[k]
+}
+
+func (k Kind) MarshalJSON() ([]byte, error) {
+ buffer := bytes.NewBufferString(`"`)
+ buffer.WriteString(k.String())
+ buffer.WriteString(`"`)
+ return buffer.Bytes(), nil
+}
+
+func (k *Kind) UnmarshalJSON(data []byte) (err error) {
+ var kind string
+ if err := json.Unmarshal(data, &kind); err != nil {
+ return err
+ }
+ if *k, err = KindFromString(kind); err != nil {
+ return err
+ }
+ return nil
+}
+
+func (Kind) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.Type = "string"
+ sc.Enum = make([]any, len(AllKinds))
+ for i, k := range AllKinds {
+ sc.Enum[i] = k
+ }
+}
+
+func KindFromString(s string) (Kind, error) {
+ for k, str := range AllKinds {
+ if s == str {
+ return Kind(k), nil
+ }
+ }
+ return KindSource, fmt.Errorf("unknown kind %s", s)
+}
diff --git a/cli/internal/specs/v0/kind_test.go b/cli/internal/specs/v0/kind_test.go
new file mode 100644
index 00000000000000..e6fb86f488bfa6
--- /dev/null
+++ b/cli/internal/specs/v0/kind_test.go
@@ -0,0 +1,61 @@
+package specs
+
+import (
+ "testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
+)
+
+func TestKindFromString(t *testing.T) {
+ k, err := KindFromString("source")
+ require.NoError(t, err)
+ require.Equal(t, KindSource, k)
+
+ k, err = KindFromString("destination")
+ require.NoError(t, err)
+ require.Equal(t, KindDestination, k)
+
+ k, err = KindFromString("Destination")
+ require.Error(t, err)
+ require.Equal(t, KindSource, k)
+
+ k, err = KindFromString("")
+ require.Error(t, err)
+ require.Equal(t, KindSource, k)
+}
+
+func TestKind_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(Kind))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `""`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "bad value",
+ Err: true,
+ Spec: `"extra"`,
+ },
+ {
+ Name: "source",
+ Spec: `"source"`,
+ },
+ {
+ Name: "destination",
+ Spec: `"destination"`,
+ },
+ })
+}
diff --git a/cli/internal/specs/v0/metadata.go b/cli/internal/specs/v0/metadata.go
new file mode 100644
index 00000000000000..fc285e727d7596
--- /dev/null
+++ b/cli/internal/specs/v0/metadata.go
@@ -0,0 +1,112 @@
+package specs
+
+import (
+ "errors"
+ "fmt"
+ "slices"
+ "strings"
+
+ "github.com/invopop/jsonschema"
+ orderedmap "github.com/wk8/go-ordered-map/v2"
+)
+
+// Spec part to define exact plugin: name, version & location.
+type Metadata struct {
+ // Name of the plugin to use
+ Name string `json:"name" jsonschema:"required,minLength=1"`
+
+ // Version of the plugin to be used
+ Version string `json:"version"`
+
+ // Path is the canonical path to the plugin in a given registry
+ // For example:
+ // * for `registry: github` the `path` will be: `org/repo`
+ // * for `registry: local` the `path` will be the path to the binary: `./path/to/binary`
+ // * for `registry: grpc` the `path` will be the address of the gRPC server: `host:port`
+ Path string `json:"path" jsonschema:"required,minLength=1"`
+
+ // Registry can be "", "github", "local", "grpc", "docker", "cloudquery"
+ Registry Registry `json:"registry,omitempty" jsonschema:"default=cloudquery"`
+
+ // registryInferred is a flag that indicates whether the registry was inferred from an empty value
+ registryInferred bool
+}
+
+func (m *Metadata) Validate() error {
+ if m.Name == "" {
+ return errors.New("name is required")
+ }
+
+ if m.Path == "" {
+ msg := "path is required"
+ // give a small hint to help users transition from the old config format that didn't require path
+ officialPlugins := []string{
+ "aws",
+ "azure",
+ "gcp",
+ "digitalocean",
+ "github",
+ "heroku",
+ "k8s",
+ "okta",
+ "terraform",
+ "cloudflare",
+ "postgresql",
+ "csv",
+ "clickhouse",
+ }
+ if slices.Contains(officialPlugins, m.Name) {
+ msg += fmt.Sprintf(". Hint: try setting path to cloudquery/%s in your config", m.Name)
+ }
+ return errors.New(msg)
+ }
+
+ if m.Registry.NeedVersion() {
+ if m.Version == "" {
+ return errors.New("version is required")
+ }
+ if !strings.HasPrefix(m.Version, "v") {
+ return errors.New("version must start with v")
+ }
+ }
+
+ return nil
+}
+
+// JSONSchemaExtend has to be in sync with Registry.NeedVersion
+func (Metadata) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.If = &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := orderedmap.New[string, *jsonschema.Schema]()
+ registry := *sc.Properties.Value("registry")
+ registry.Enum = []any{RegistryUnset.String(), RegistryGitHub.String(), RegistryCloudQuery.String()}
+ registry.Description = ""
+ registry.Default = nil
+ properties.Set("registry", ®istry)
+ return properties
+ }(),
+ }
+ sc.Then = &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := orderedmap.New[string, *jsonschema.Schema]()
+ version := *sc.Properties.Value("version")
+ version.Pattern = `^v.*$` // v1.2.3, v1, v0
+ version.Description = ""
+ version.Default = nil
+ properties.Set("version", &version)
+ return properties
+ }(),
+ Required: []string{"version"},
+ }
+}
+
+func (m *Metadata) SetDefaults() {
+ if m.Registry == RegistryUnset {
+ m.Registry = RegistryCloudQuery
+ m.registryInferred = true
+ }
+}
+
+func (m *Metadata) RegistryInferred() bool {
+ return m.registryInferred
+}
diff --git a/cli/internal/specs/v0/metadata_test.go b/cli/internal/specs/v0/metadata_test.go
new file mode 100644
index 00000000000000..11493d3b08ba27
--- /dev/null
+++ b/cli/internal/specs/v0/metadata_test.go
@@ -0,0 +1,161 @@
+package specs
+
+import (
+ "testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
+)
+
+func TestMetadata_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(Metadata))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `{}`, // name & path are always required
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "minimal",
+ Spec: `{"name":"a","path":"b","registry":"docker"}`,
+ },
+ {
+ Name: "empty name",
+ Err: true,
+ Spec: `{"name":"","path":"b","registry":"docker"}`,
+ },
+ {
+ Name: "null name",
+ Err: true,
+ Spec: `{"name":null,"path":"b","registry":"docker"}`,
+ },
+ {
+ Name: "bad name type",
+ Err: true,
+ Spec: `{"name":123,"path":"b","registry":"docker"}`,
+ },
+ {
+ Name: "empty path",
+ Err: true,
+ Spec: `{"name":"a","path":"","registry":"docker"}`,
+ },
+ {
+ Name: "null path",
+ Err: true,
+ Spec: `{"name":"a","path":null,"registry":"docker"}`,
+ },
+ {
+ Name: "bad path type",
+ Err: true,
+ Spec: `{"name":"a","path":123,"registry":"docker"}`,
+ },
+ {
+ Name: "null registry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":null}`,
+ },
+ {
+ Name: "bad registry type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":123}`,
+ },
+ {
+ Name: "registry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":123}`,
+ },
+ {
+ Name: "empty registry without version",
+ Err: true, // this will imply CQ, but CQ requires version
+ Spec: `{"name":"a","path":"b","registry":""}`,
+ },
+ {
+ Name: "empty registry with version",
+ Spec: `{"name":"a","path":"b","registry":"","version":"v0"}`,
+ },
+ {
+ Name: "github registry without version",
+ Err: true, // this requires version
+ Spec: `{"name":"a","path":"b","registry":"github"}`,
+ },
+ {
+ Name: "github registry with version",
+ Spec: `{"name":"a","path":"b","registry":"github","version":"v0"}`,
+ },
+ {
+ Name: "local registry without version",
+ Spec: `{"name":"a","path":"b","registry":"local"}`,
+ },
+ {
+ Name: "local registry with version", // we just ignore version
+ Spec: `{"name":"a","path":"b","registry":"local","version":"v0"}`,
+ },
+ {
+ Name: "grpc registry without version",
+ Spec: `{"name":"a","path":"b","registry":"grpc"}`,
+ },
+ {
+ Name: "grpc registry with version", // we just ignore version
+ Spec: `{"name":"a","path":"b","registry":"grpc","version":"v0"}`,
+ },
+ {
+ Name: "docker registry without version",
+ Spec: `{"name":"a","path":"b","registry":"docker"}`,
+ },
+ {
+ Name: "docker registry with version", // we just ignore version
+ Spec: `{"name":"a","path":"b","registry":"docker","version":"v0"}`,
+ },
+ {
+ Name: "cloudquery registry without version",
+ Err: true, // this requires version
+ Spec: `{"name":"a","path":"b","registry":"cloudquery"}`,
+ },
+ {
+ Name: "cloudquery registry with version",
+ Spec: `{"name":"a","path":"b","registry":"cloudquery","version":"v0"}`,
+ },
+ {
+ Name: "empty version",
+ Spec: `{"name":"a","path":"b","registry":"local","version":""}`,
+ },
+ {
+ Name: "null version",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","version":null}`,
+ },
+ {
+ Name: "bad version type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","version":123}`,
+ },
+ {
+ Name: "bad version format when ignored", // we ignore version for registry: local
+ Spec: `{"name":"a","path":"b","registry":"local","version":"a"}`,
+ },
+ {
+ Name: "proper version format when ignored", // we ignore version for registry: local
+ Spec: `{"name":"a","path":"b","registry":"local","version":"v0"}`,
+ },
+ {
+ Name: "bad version format when accounted for",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"","version":"a"}`,
+ },
+ {
+ Name: "proper version format when accounted for",
+ Spec: `{"name":"a","path":"b","registry":"","version":"v0"}`,
+ },
+ })
+}
diff --git a/cli/internal/specs/v0/migrate_mode.go b/cli/internal/specs/v0/migrate_mode.go
index f821b0c2e86dff..d55a0da1fac4f2 100644
--- a/cli/internal/specs/v0/migrate_mode.go
+++ b/cli/internal/specs/v0/migrate_mode.go
@@ -4,6 +4,8 @@ import (
"bytes"
"encoding/json"
"fmt"
+
+ "github.com/invopop/jsonschema"
)
type MigrateMode int
@@ -14,11 +16,14 @@ const (
)
var (
- migrateModeStrings = []string{"safe", "forced"}
+ AllMigrateModes = [...]string{
+ MigrateModeSafe: "safe",
+ MigrateModeForced: "forced",
+ }
)
func (m MigrateMode) String() string {
- return migrateModeStrings[m]
+ return AllMigrateModes[m]
}
func (m MigrateMode) MarshalJSON() ([]byte, error) {
@@ -39,12 +44,19 @@ func (m *MigrateMode) UnmarshalJSON(data []byte) (err error) {
return nil
}
+func (MigrateMode) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.Type = "string"
+ sc.Enum = make([]any, len(AllMigrateModes))
+ for i, k := range AllMigrateModes {
+ sc.Enum[i] = k
+ }
+}
+
func MigrateModeFromString(s string) (MigrateMode, error) {
- switch s {
- case "safe":
- return MigrateModeSafe, nil
- case "forced":
- return MigrateModeForced, nil
+ for m, str := range AllMigrateModes {
+ if s == str {
+ return MigrateMode(m), nil
+ }
}
- return 0, fmt.Errorf("invalid migrate mode: %s", s)
+ return MigrateModeSafe, fmt.Errorf("invalid migrate mode: %s", s)
}
diff --git a/cli/internal/specs/v0/migrate_mode_test.go b/cli/internal/specs/v0/migrate_mode_test.go
index 34bc2efbb94bde..3dd12c029e038d 100644
--- a/cli/internal/specs/v0/migrate_mode_test.go
+++ b/cli/internal/specs/v0/migrate_mode_test.go
@@ -2,26 +2,66 @@ package specs
import (
"testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
)
func TestMigrateModeFromString(t *testing.T) {
- var migrateMode MigrateMode
- if err := migrateMode.UnmarshalJSON([]byte(`"forced"`)); err != nil {
- t.Fatal(err)
- }
- if migrateMode != MigrateModeForced {
- t.Fatalf("expected MigrateModeForced, got %v", migrateMode)
- }
- if err := migrateMode.UnmarshalJSON([]byte(`"safe"`)); err != nil {
- t.Fatal(err)
- }
- if migrateMode != MigrateModeSafe {
- t.Fatalf("expected MigrateModeSafe, got %v", migrateMode)
- }
+ m, err := MigrateModeFromString("safe")
+ require.NoError(t, err)
+ require.Equal(t, MigrateModeSafe, m)
+
+ m, err = MigrateModeFromString("forced")
+ require.NoError(t, err)
+ require.Equal(t, MigrateModeForced, m)
+
+ m, err = MigrateModeFromString("Forced")
+ require.Error(t, err)
+ require.Equal(t, MigrateModeSafe, m)
+
+ m, err = MigrateModeFromString("")
+ require.Error(t, err)
+ require.Equal(t, MigrateModeSafe, m)
+}
+
+func TestMigrateMode_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(MigrateMode))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `""`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "bad value",
+ Err: true,
+ Spec: `"extra"`,
+ },
+ {
+ Name: "safe",
+ Spec: `"safe"`,
+ },
+ {
+ Name: "forced",
+ Spec: `"forced"`,
+ },
+ })
}
-func TestMigrateMode(t *testing.T) {
- for _, migrateModeStr := range migrateModeStrings {
+func TestMigrateModeRoundTrip(t *testing.T) {
+ for _, migrateModeStr := range AllMigrateModes {
migrateMode, err := MigrateModeFromString(migrateModeStr)
if err != nil {
t.Fatal(err)
diff --git a/cli/internal/specs/v0/pk_mode.go b/cli/internal/specs/v0/pk_mode.go
index 38c22bb1b73a74..54bfd272806d26 100644
--- a/cli/internal/specs/v0/pk_mode.go
+++ b/cli/internal/specs/v0/pk_mode.go
@@ -4,6 +4,8 @@ import (
"bytes"
"encoding/json"
"fmt"
+
+ "github.com/invopop/jsonschema"
)
type PKMode int
@@ -14,11 +16,14 @@ const (
)
var (
- pkModeStrings = []string{"default", "cq-id-only"}
+ AllPKModes = [...]string{
+ PKModeDefaultKeys: "default",
+ PKModeCQID: "cq-id-only",
+ }
)
func (m PKMode) String() string {
- return pkModeStrings[m]
+ return AllPKModes[m]
}
func (m PKMode) MarshalJSON() ([]byte, error) {
@@ -39,12 +44,19 @@ func (m *PKMode) UnmarshalJSON(data []byte) (err error) {
return nil
}
+func (PKMode) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.Type = "string"
+ sc.Enum = make([]any, len(AllPKModes))
+ for i, k := range AllPKModes {
+ sc.Enum[i] = k
+ }
+}
+
func PKModeFromString(s string) (PKMode, error) {
- switch s {
- case "default":
- return PKModeDefaultKeys, nil
- case "cq-id-only":
- return PKModeCQID, nil
+ for m, str := range AllPKModes {
+ if s == str {
+ return PKMode(m), nil
+ }
}
- return 0, fmt.Errorf("invalid pk mode: %s", s)
+ return PKModeDefaultKeys, fmt.Errorf("invalid pk mode: %s", s)
}
diff --git a/cli/internal/specs/v0/pk_mode_test.go b/cli/internal/specs/v0/pk_mode_test.go
index 198d185ead0b62..c590fd58bd8b30 100644
--- a/cli/internal/specs/v0/pk_mode_test.go
+++ b/cli/internal/specs/v0/pk_mode_test.go
@@ -2,26 +2,66 @@ package specs
import (
"testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
)
func TestPKModeFromString(t *testing.T) {
- var pkMode PKMode
- if err := pkMode.UnmarshalJSON([]byte(`"cq-id-only"`)); err != nil {
- t.Fatal(err)
- }
- if pkMode != PKModeCQID {
- t.Fatalf("expected PKModeCQID, got %v", pkMode)
- }
- if err := pkMode.UnmarshalJSON([]byte(`"default"`)); err != nil {
- t.Fatal(err)
- }
- if pkMode != PKModeDefaultKeys {
- t.Fatalf("expected PKModeCompositeKeys, got %v", pkMode)
- }
+ m, err := PKModeFromString("default")
+ require.NoError(t, err)
+ require.Equal(t, PKModeDefaultKeys, m)
+
+ m, err = PKModeFromString("cq-id-only")
+ require.NoError(t, err)
+ require.Equal(t, PKModeCQID, m)
+
+ m, err = PKModeFromString("Default")
+ require.Error(t, err)
+ require.Equal(t, PKModeDefaultKeys, m)
+
+ m, err = PKModeFromString("")
+ require.Error(t, err)
+ require.Equal(t, PKModeDefaultKeys, m)
+}
+
+func TestPKMode_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(PKMode))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `""`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "bad value",
+ Err: true,
+ Spec: `"extra"`,
+ },
+ {
+ Name: "default",
+ Spec: `"default"`,
+ },
+ {
+ Name: "cq-id-only",
+ Spec: `"cq-id-only"`,
+ },
+ })
}
-func TestPKMode(t *testing.T) {
- for _, pkModeStr := range pkModeStrings {
+func TestPKModeRoundTrip(t *testing.T) {
+ for _, pkModeStr := range AllPKModes {
pkMode, err := PKModeFromString(pkModeStr)
if err != nil {
t.Fatal(err)
diff --git a/cli/internal/specs/v0/registry.go b/cli/internal/specs/v0/registry.go
index 07b41f41478a8f..91f73fef08c153 100644
--- a/cli/internal/specs/v0/registry.go
+++ b/cli/internal/specs/v0/registry.go
@@ -4,21 +4,34 @@ import (
"bytes"
"encoding/json"
"fmt"
+
+ "github.com/invopop/jsonschema"
)
type Registry int
const (
RegistryUnset Registry = iota
- RegistryGithub
+ RegistryGitHub
RegistryLocal
- RegistryGrpc
+ RegistryGRPC
RegistryDocker
RegistryCloudQuery
)
+var (
+ AllRegistries = [...]string{
+ RegistryUnset: "",
+ RegistryGitHub: "github",
+ RegistryLocal: "local",
+ RegistryGRPC: "grpc",
+ RegistryDocker: "docker",
+ RegistryCloudQuery: "cloudquery",
+ }
+)
+
func (r Registry) String() string {
- return [...]string{"", "github", "local", "grpc", "docker", "cloudquery"}[r]
+ return AllRegistries[r]
}
func (r Registry) MarshalJSON() ([]byte, error) {
@@ -39,25 +52,24 @@ func (r *Registry) UnmarshalJSON(data []byte) (err error) {
return nil
}
+func (Registry) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.Type = "string"
+ sc.Enum = make([]any, len(AllRegistries))
+ for i, k := range AllRegistries {
+ sc.Enum[i] = k
+ }
+}
+
+// NeedVersion has to be in sync with Metadata.JSONSchemaExtend
func (r Registry) NeedVersion() bool {
- return r == RegistryGithub || r == RegistryCloudQuery
+ return r == RegistryGitHub || r == RegistryCloudQuery
}
func RegistryFromString(s string) (Registry, error) {
- switch s {
- case "":
- return RegistryUnset, nil
- case "github":
- return RegistryGithub, nil
- case "local":
- return RegistryLocal, nil
- case "grpc":
- return RegistryGrpc, nil
- case "docker":
- return RegistryDocker, nil
- case "cloudquery":
- return RegistryCloudQuery, nil
- default:
- return RegistryGithub, fmt.Errorf("unknown registry %q", s)
+ for r, str := range AllRegistries {
+ if s == str {
+ return Registry(r), nil
+ }
}
+ return RegistryUnset, fmt.Errorf("unknown registry %q", s)
}
diff --git a/cli/internal/specs/v0/registry_test.go b/cli/internal/specs/v0/registry_test.go
index 1ae64b17cad2c0..fbe1df6e102ad8 100644
--- a/cli/internal/specs/v0/registry_test.go
+++ b/cli/internal/specs/v0/registry_test.go
@@ -4,11 +4,13 @@ import (
"encoding/json"
"testing"
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
"gopkg.in/yaml.v3"
)
func TestRegistryJsonMarshalUnmarshal(t *testing.T) {
- b, err := json.Marshal(RegistryGrpc)
+ b, err := json.Marshal(RegistryGRPC)
if err != nil {
t.Fatal("failed to marshal registry:", err)
}
@@ -16,13 +18,13 @@ func TestRegistryJsonMarshalUnmarshal(t *testing.T) {
if err := json.Unmarshal(b, ®istry); err != nil {
t.Fatal("failed to unmarshal registry:", err)
}
- if registry != RegistryGrpc {
+ if registry != RegistryGRPC {
t.Fatal("expected registry to be grpc, but got:", registry)
}
}
func TestRegistryYamlMarshalUnmarshal(t *testing.T) {
- b, err := yaml.Marshal(RegistryGrpc)
+ b, err := yaml.Marshal(RegistryGRPC)
if err != nil {
t.Fatal("failed to marshal registry:", err)
}
@@ -30,7 +32,87 @@ func TestRegistryYamlMarshalUnmarshal(t *testing.T) {
if err := yaml.Unmarshal(b, ®istry); err != nil {
t.Fatal("failed to unmarshal registry:", err)
}
- if registry != RegistryGrpc {
+ if registry != RegistryGRPC {
t.Fatal("expected registry to be github, but got:", registry)
}
}
+
+func TestRegistryFromString(t *testing.T) {
+ r, err := RegistryFromString("")
+ require.NoError(t, err)
+ require.Equal(t, RegistryUnset, r)
+
+ r, err = RegistryFromString("github")
+ require.NoError(t, err)
+ require.Equal(t, RegistryGitHub, r)
+
+ r, err = RegistryFromString("local")
+ require.NoError(t, err)
+ require.Equal(t, RegistryLocal, r)
+
+ r, err = RegistryFromString("grpc")
+ require.NoError(t, err)
+ require.Equal(t, RegistryGRPC, r)
+
+ r, err = RegistryFromString("docker")
+ require.NoError(t, err)
+ require.Equal(t, RegistryDocker, r)
+
+ r, err = RegistryFromString("cloudquery")
+ require.NoError(t, err)
+ require.Equal(t, RegistryCloudQuery, r)
+
+ r, err = RegistryFromString("CloudQuery")
+ require.Error(t, err)
+ require.Equal(t, RegistryUnset, r)
+}
+
+func TestRegistry_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(Registry))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Spec: `""`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "bad value",
+ Err: true,
+ Spec: `"extra"`,
+ },
+ {
+ Name: "unset",
+ Spec: `""`,
+ },
+ {
+ Name: "github",
+ Spec: `"github"`,
+ },
+ {
+ Name: "local",
+ Spec: `"local"`,
+ },
+ {
+ Name: "grpc",
+ Spec: `"grpc"`,
+ },
+ {
+ Name: "docker",
+ Spec: `"docker"`,
+ },
+ {
+ Name: "cloudquery",
+ Spec: `"cloudquery"`,
+ },
+ })
+}
diff --git a/cli/internal/specs/v0/scheduler.go b/cli/internal/specs/v0/scheduler.go
deleted file mode 100644
index 582e7ac91f64ca..00000000000000
--- a/cli/internal/specs/v0/scheduler.go
+++ /dev/null
@@ -1,60 +0,0 @@
-package specs
-
-import (
- "bytes"
- "encoding/json"
- "fmt"
-)
-
-type Scheduler int
-
-const (
- SchedulerDFS Scheduler = iota
- SchedulerRoundRobin
-)
-
-var AllStrategies = Schedulers{SchedulerDFS, SchedulerRoundRobin}
-var AllSchedulerNames = [...]string{
- SchedulerDFS: "dfs",
- SchedulerRoundRobin: "round-robin",
-}
-
-type Schedulers []Scheduler
-
-func (s Schedulers) String() string {
- var buffer bytes.Buffer
- for i, scheduler := range s {
- if i > 0 {
- buffer.WriteString(", ")
- }
- buffer.WriteString(scheduler.String())
- }
- return buffer.String()
-}
-
-func (s Scheduler) String() string {
- return AllSchedulerNames[s]
-}
-func (s Scheduler) MarshalJSON() ([]byte, error) {
- return []byte(`"` + s.String() + `"`), nil
-}
-
-func (s *Scheduler) UnmarshalJSON(data []byte) (err error) {
- var scheduler string
- if err := json.Unmarshal(data, &scheduler); err != nil {
- return err
- }
- if *s, err = SchedulerFromString(scheduler); err != nil {
- return err
- }
- return nil
-}
-
-func SchedulerFromString(s string) (Scheduler, error) {
- for i, scheduler := range AllSchedulerNames {
- if s == scheduler {
- return Scheduler(i), nil
- }
- }
- return SchedulerDFS, fmt.Errorf("unknown scheduler %s", s)
-}
diff --git a/cli/internal/specs/v0/scheduler_test.go b/cli/internal/specs/v0/scheduler_test.go
deleted file mode 100644
index e63f61d4d788ad..00000000000000
--- a/cli/internal/specs/v0/scheduler_test.go
+++ /dev/null
@@ -1,36 +0,0 @@
-package specs
-
-import (
- "encoding/json"
- "testing"
-
- "gopkg.in/yaml.v3"
-)
-
-func TestSchedulerJsonMarshalUnmarshal(t *testing.T) {
- b, err := json.Marshal(SchedulerDFS)
- if err != nil {
- t.Fatal("failed to marshal scheduler:", err)
- }
- var scheduler Scheduler
- if err := json.Unmarshal(b, &scheduler); err != nil {
- t.Fatal("failed to unmarshal scheduler:", err)
- }
- if scheduler != SchedulerDFS {
- t.Fatal("expected scheduler to be dfs, but got:", scheduler)
- }
-}
-
-func TestSchedulerYamlMarshalUnmarshal(t *testing.T) {
- b, err := yaml.Marshal(SchedulerDFS)
- if err != nil {
- t.Fatal("failed to marshal scheduler:", err)
- }
- var scheduler Scheduler
- if err := yaml.Unmarshal(b, &scheduler); err != nil {
- t.Fatal("failed to unmarshal scheduler:", err)
- }
- if scheduler != SchedulerDFS {
- t.Fatal("expected scheduler to be dfs, but got:", scheduler)
- }
-}
diff --git a/cli/internal/specs/v0/schema.json b/cli/internal/specs/v0/schema.json
new file mode 100644
index 00000000000000..7518c80c64e3a7
--- /dev/null
+++ b/cli/internal/specs/v0/schema.json
@@ -0,0 +1,332 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "$id": "https://github.com/cloudquery/cloudquery/cli/internal/specs/v0/spec",
+ "$ref": "#/$defs/Spec",
+ "$defs": {
+ "BackendOptions": {
+ "properties": {
+ "table_name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "The name of the table to store the key-value pairs for incremental progress."
+ },
+ "connection": {
+ "type": "string",
+ "minLength": 1,
+ "description": "Connection string for the destination plugin.\nCan be either `@@plugin.name.connection` or a fully-qualified gRPC connection string."
+ }
+ },
+ "additionalProperties": false,
+ "type": "object",
+ "required": [
+ "table_name",
+ "connection"
+ ],
+ "description": "Backend options to be used in conjunction with incremental tables (stores the incremental progres)"
+ },
+ "Destination": {
+ "if": {
+ "properties": {
+ "registry": {
+ "type": "string",
+ "enum": [
+ "",
+ "github",
+ "cloudquery"
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "version": {
+ "type": "string",
+ "pattern": "^v.*$"
+ }
+ },
+ "required": [
+ "version"
+ ]
+ },
+ "properties": {
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "Name of the plugin to use"
+ },
+ "version": {
+ "type": "string",
+ "description": "Version of the plugin to be used"
+ },
+ "path": {
+ "type": "string",
+ "minLength": 1,
+ "description": "Path is the canonical path to the plugin in a given registry\nFor example:\n* for `registry: github` the `path` will be: `org/repo`\n* for `registry: local` the `path` will be the path to the binary: `./path/to/binary`\n* for `registry: grpc` the `path` will be the address of the gRPC server: `host:port`"
+ },
+ "registry": {
+ "type": "string",
+ "enum": [
+ "",
+ "github",
+ "local",
+ "grpc",
+ "docker",
+ "cloudquery"
+ ],
+ "description": "Registry can be \"\", \"github\", \"local\", \"grpc\", \"docker\", \"cloudquery\"",
+ "default": "cloudquery"
+ },
+ "write_mode": {
+ "type": "string",
+ "enum": [
+ "overwrite-delete-stale",
+ "overwrite",
+ "append"
+ ],
+ "description": "Destination plugin write mode",
+ "default": "overwrite-delete-stale"
+ },
+ "migrate_mode": {
+ "type": "string",
+ "enum": [
+ "safe",
+ "forced"
+ ],
+ "description": "Destination plugin migrate mode",
+ "default": "safe"
+ },
+ "pk_mode": {
+ "type": "string",
+ "enum": [
+ "default",
+ "cq-id-only"
+ ],
+ "description": "Destination plugin PK mode",
+ "default": "default"
+ },
+ "spec": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Destination plugin own (nested) spec"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "type": "object",
+ "required": [
+ "name",
+ "path"
+ ],
+ "description": "Destination plugin spec"
+ },
+ "Source": {
+ "if": {
+ "properties": {
+ "registry": {
+ "type": "string",
+ "enum": [
+ "",
+ "github",
+ "cloudquery"
+ ]
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "version": {
+ "type": "string",
+ "pattern": "^v.*$"
+ }
+ },
+ "required": [
+ "version"
+ ]
+ },
+ "properties": {
+ "name": {
+ "type": "string",
+ "minLength": 1,
+ "description": "Name of the plugin to use"
+ },
+ "version": {
+ "type": "string",
+ "description": "Version of the plugin to be used"
+ },
+ "path": {
+ "type": "string",
+ "minLength": 1,
+ "description": "Path is the canonical path to the plugin in a given registry\nFor example:\n* for `registry: github` the `path` will be: `org/repo`\n* for `registry: local` the `path` will be the path to the binary: `./path/to/binary`\n* for `registry: grpc` the `path` will be the address of the gRPC server: `host:port`"
+ },
+ "registry": {
+ "type": "string",
+ "enum": [
+ "",
+ "github",
+ "local",
+ "grpc",
+ "docker",
+ "cloudquery"
+ ],
+ "description": "Registry can be \"\", \"github\", \"local\", \"grpc\", \"docker\", \"cloudquery\"",
+ "default": "cloudquery"
+ },
+ "tables": {
+ "items": {
+ "type": "string",
+ "minLength": 1
+ },
+ "type": "array",
+ "minItems": 1,
+ "description": "Tables to sync from the source plugin"
+ },
+ "skip_tables": {
+ "oneOf": [
+ {
+ "items": {
+ "type": "string",
+ "minLength": 1
+ },
+ "type": "array",
+ "description": "SkipTables defines tables to skip when syncing data. Useful if a glob pattern is used in Tables"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "skip_dependent_tables": {
+ "type": "boolean",
+ "description": "SkipDependentTables changes the matching behavior with regard to dependent tables. If set to true, dependent tables will not be synced unless they are explicitly matched by Tables.",
+ "default": false
+ },
+ "destinations": {
+ "items": {
+ "type": "string",
+ "minLength": 1
+ },
+ "type": "array",
+ "minItems": 1,
+ "description": "Destinations are the names of destination plugins to send sync data to"
+ },
+ "backend_options": {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/BackendOptions",
+ "description": "Optional Backend options for sync operation"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "spec": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Source plugin own (nested) spec"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "deterministic_cq_id": {
+ "type": "boolean",
+ "description": "DeterministicCQID is a flag that indicates whether the source plugin should generate a random UUID as the value of `_cq_id`\nor whether it should calculate a UUID that is a hash of the primary keys (if they exist) or the entire resource.",
+ "default": false
+ },
+ "otel_endpoint": {
+ "type": "string",
+ "description": "If specified this will spawn the plugin with `--otel-endpoint`",
+ "default": ""
+ },
+ "otel_endpoint_insecure": {
+ "type": "boolean",
+ "description": "If specified this will spawn the plugin with `--otel-endpoint-insecure`",
+ "default": false
+ }
+ },
+ "additionalProperties": false,
+ "type": "object",
+ "required": [
+ "name",
+ "path",
+ "tables",
+ "destinations"
+ ],
+ "description": "Source plugin spec"
+ },
+ "Spec": {
+ "allOf": [
+ {
+ "if": {
+ "properties": {
+ "kind": {
+ "type": "string",
+ "const": "source",
+ "description": "CloudQuery plugin kind"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "spec": {
+ "$ref": "#/$defs/Source"
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "kind": {
+ "type": "string",
+ "const": "destination",
+ "description": "CloudQuery plugin kind"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "spec": {
+ "$ref": "#/$defs/Destination"
+ }
+ }
+ }
+ }
+ ],
+ "properties": {
+ "kind": {
+ "type": "string",
+ "enum": [
+ "source",
+ "destination"
+ ],
+ "description": "CloudQuery plugin kind"
+ },
+ "spec": {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/Source"
+ },
+ {
+ "$ref": "#/$defs/Destination"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "type": "object",
+ "required": [
+ "kind",
+ "spec"
+ ]
+ }
+ }
+}
diff --git a/cli/internal/specs/v0/source.go b/cli/internal/specs/v0/source.go
index d5bd5a639689fa..8b70b9197f240d 100644
--- a/cli/internal/specs/v0/source.go
+++ b/cli/internal/specs/v0/source.go
@@ -3,99 +3,58 @@ package specs
import (
"bytes"
"encoding/json"
+ "errors"
"fmt"
"slices"
"strings"
- "github.com/thoas/go-funk"
-)
-
-const (
- defaultConcurrency = 500000
+ "github.com/invopop/jsonschema"
)
+// Backend options to be used in conjunction with incremental tables (stores the incremental progres)
type BackendOptions struct {
- TableName string `json:"table_name,omitempty"`
- Connection string `json:"connection,omitempty"`
+ // The name of the table to store the key-value pairs for incremental progress.
+ TableName string `json:"table_name,omitempty" jsonschema:"required,minLength=1"`
+
+ // Connection string for the destination plugin.
+ // Can be either `@@plugin.name.connection` or a fully-qualified gRPC connection string.
+ Connection string `json:"connection,omitempty" jsonschema:"required,minLength=1"`
}
-// Source is the spec for a source plugin
+// Source plugin spec
type Source struct {
- // Name of the source plugin to use
- Name string `json:"name,omitempty"`
- // Version of the source plugin to use
- Version string `json:"version,omitempty"`
- // Path is the canonical path to the source plugin in a given registry
- // For example:
- // in github the path will be: org/repo
- // For the local registry the path will be the path to the binary: ./path/to/binary
- // For the gRPC registry the path will be the address of the gRPC server: host:port
- Path string `json:"path,omitempty"`
- // Registry can be "", "github", "local", "grpc", "docker", "cloudquery"
- Registry Registry `json:"registry,omitempty"`
- // Deprecated: Concurrency is the number of concurrent workers to use when syncing data. Should now use plugin-specific field instead.
- Concurrency uint64 `json:"concurrency,omitempty"`
- // Deprecated: use plugin-level Concurrency instead
- TableConcurrency uint64 `json:"table_concurrency,omitempty"`
- // Deprecated: use plugin-level Concurrency instead
- ResourceConcurrency uint64 `json:"resource_concurrency,omitempty"`
+ Metadata
+
// Tables to sync from the source plugin
- Tables []string `json:"tables,omitempty"`
+ Tables []string `json:"tables,omitempty" jsonschema:"required,minItems=1,minLength=1"`
// SkipTables defines tables to skip when syncing data. Useful if a glob pattern is used in Tables
- SkipTables []string `json:"skip_tables,omitempty"`
+ SkipTables []string `json:"skip_tables,omitempty" jsonschema:"minLength=1"`
// SkipDependentTables changes the matching behavior with regard to dependent tables. If set to true, dependent tables will not be synced unless they are explicitly matched by Tables.
- SkipDependentTables bool `json:"skip_dependent_tables,omitempty"`
+ SkipDependentTables bool `json:"skip_dependent_tables,omitempty" jsonschema:"default=false"`
// Destinations are the names of destination plugins to send sync data to
- Destinations []string `json:"destinations,omitempty"`
+ Destinations []string `json:"destinations,omitempty" jsonschema:"required,minItems=1,minLength=1"`
// Optional Backend options for sync operation
BackendOptions *BackendOptions `json:"backend_options,omitempty"`
- // Deprecated: Backend is the name of the state backend to use. Should now use `backend_options` instead.
- Backend Backend `json:"backend,omitempty"`
- // Deprecated: BackendSpec contains any backend-specific configuration. Should now use `backend_options` instead.
- BackendSpec any `json:"backend_spec,omitempty"`
- // Deprecated: Scheduler defines the scheduling algorithm that should be used to sync data. Should now use plugin-specific field instead.
- Scheduler Scheduler `json:"scheduler,omitempty"`
- // Spec defines plugin specific configuration
- // This is different in every source plugin.
+ // Source plugin own (nested) spec
Spec map[string]any `json:"spec,omitempty"`
- // DeterministicCQID is a flag that indicates whether the source plugin should generate a random UUID as the value of _cq_id
+ // DeterministicCQID is a flag that indicates whether the source plugin should generate a random UUID as the value of `_cq_id`
// or whether it should calculate a UUID that is a hash of the primary keys (if they exist) or the entire resource.
- DeterministicCQID bool `json:"deterministic_cq_id,omitempty"`
-
- // If specified this will spawn the plugin with --otel-endpoint
- OtelEndpoint string `json:"otel_endpoint,omitempty"`
- // If specified this will spawn the plugin with --otel-endpoint-insecure
- OtelEndpointInsecure bool `json:"otel_endpoint_insecure,omitempty"`
+ DeterministicCQID bool `json:"deterministic_cq_id,omitempty" jsonschema:"default=false"`
- // registryInferred is a flag that indicates whether the registry was inferred from an empty value
- registryInferred bool
+ // If specified this will spawn the plugin with `--otel-endpoint`
+ OtelEndpoint string `json:"otel_endpoint,omitempty" jsonschema:"default="`
+ // If specified this will spawn the plugin with `--otel-endpoint-insecure`
+ OtelEndpointInsecure bool `json:"otel_endpoint_insecure,omitempty" jsonschema:"default=false"`
}
// GetWarnings returns a list of deprecated options that were used in the source config. This should be
// called before SetDefaults.
func (s *Source) GetWarnings() Warnings {
warnings := make(map[string]string)
- if s.Backend.String() != BackendNone.String() {
- warnings["backend"] = "the top-level `backend` option is deprecated. Please use the plugin-level `backend_options` option instead"
- }
- if s.BackendSpec != nil {
- warnings["backend_spec"] = "the top-level `backend_spec` option is deprecated. Please use the plugin-level `backend_options` option instead"
- }
- if s.Scheduler.String() != SchedulerDFS.String() {
- warnings["scheduler"] = "the top-level `scheduler` option is deprecated. Please use the plugin-level `scheduler` option instead"
- }
- if s.Concurrency != 0 {
- warnings["concurrency"] = "the top-level `concurrency` option is deprecated. Please use the plugin-level `concurrency` option instead"
- }
- if s.TableConcurrency != 0 {
- warnings["table_concurrency"] = "the `table_concurrency` option is deprecated. Please use the plugin-level `concurrency` option instead"
- }
- if s.ResourceConcurrency != 0 {
- warnings["resource_concurrency"] = "the `resource_concurrency` option is deprecated. Please use the plugin-level `concurrency` option instead"
- }
+
if s.SkipDependentTables && slices.Contains(s.Tables, "*") {
warnings["skip_dependent_tables"] = "the `skip_dependent_tables` option is ineffective when used with '*' `tables`"
}
@@ -107,28 +66,10 @@ func (s *Source) GetWarnings() Warnings {
}
func (s *Source) SetDefaults() {
+ s.Metadata.SetDefaults()
if s.Spec == nil {
s.Spec = make(map[string]any)
}
- if s.Registry == RegistryUnset {
- s.Registry = RegistryCloudQuery
- s.registryInferred = true
- }
- if s.Backend.String() == "" {
- s.Backend = BackendNone
- }
- if s.Scheduler.String() == "" {
- s.Scheduler = SchedulerDFS
- }
-
- if s.TableConcurrency != 0 || s.ResourceConcurrency != 0 {
- // attempt to make a sensible backwards-compatible choice, but the CLI
- // should raise a warning about this until the `table_concurrency` and `resource_concurrency` options are fully removed.
- s.Concurrency = s.TableConcurrency + s.ResourceConcurrency
- }
- if s.Concurrency == 0 {
- s.Concurrency = defaultConcurrency
- }
}
// UnmarshalSpec unmarshals the internal spec into the given interface
@@ -143,55 +84,34 @@ func (s *Source) UnmarshalSpec(out any) error {
return dec.Decode(out)
}
-// UnmarshalBackendSpec unmarshals the backend spec into the given interface
-func (s *Source) UnmarshalBackendSpec(out any) error {
- b, err := json.Marshal(s.BackendSpec)
- if err != nil {
- return err
- }
- dec := json.NewDecoder(bytes.NewReader(b))
- dec.UseNumber()
- dec.DisallowUnknownFields()
- return dec.Decode(out)
+func (Source) JSONSchemaExtend(sc *jsonschema.Schema) {
+ tables := sc.Properties.Value("tables")
+ *tables = *tables.OneOf[0] // only value
+
+ destinations := sc.Properties.Value("destinations")
+ *destinations = *destinations.OneOf[0] // only value
+
+ Metadata{}.JSONSchemaExtend(sc) // have to call manually
}
func (s *Source) Validate() error {
- if s.Name == "" {
- return fmt.Errorf("name is required")
- }
- if s.Path == "" {
- msg := "path is required"
- // give a small hint to help users transition from the old config format that didn't require path
- officialPlugins := []string{"aws", "azure", "gcp", "digitalocean", "github", "heroku", "k8s", "okta", "terraform", "cloudflare"}
- if funk.ContainsString(officialPlugins, s.Name) {
- msg += fmt.Sprintf(". Hint: try setting path to cloudquery/%s in your config", s.Name)
- }
- return fmt.Errorf(msg)
+ if err := s.Metadata.Validate(); err != nil {
+ return err
}
if len(s.Tables) == 0 {
- return fmt.Errorf("tables configuration is required. Hint: set the tables you want to sync by adding `tables: [...]` or use `cloudquery tables` to list available tables")
+ return errors.New("tables configuration is required. Hint: set the tables you want to sync by adding `tables: [...]` or use `cloudquery tables` to list available tables")
}
- if s.Registry.NeedVersion() {
- if s.Version == "" {
- return fmt.Errorf("version is required")
- }
- if !strings.HasPrefix(s.Version, "v") {
- return fmt.Errorf("version must start with v")
- }
- }
if len(s.Destinations) == 0 {
- return fmt.Errorf("at least one destination is required")
- }
- if !funk.Contains(AllStrategies, s.Scheduler) {
- return fmt.Errorf("unknown scheduler %v. Must be one of: %v", s.Scheduler, AllStrategies.String())
+ return errors.New("at least one destination is required")
}
+
return nil
}
func (s Source) VersionString() string {
- if s.Registry != RegistryGithub {
+ if s.Registry != RegistryGitHub {
return fmt.Sprintf("%s (%s@%s)", s.Name, s.Registry, s.Path)
}
pathParts := strings.Split(s.Path, "/")
@@ -203,7 +123,3 @@ func (s Source) VersionString() string {
}
return fmt.Sprintf("%s (%s@%s)", s.Name, pathParts[1], s.Version)
}
-
-func (s Source) RegistryInferred() bool {
- return s.registryInferred
-}
diff --git a/cli/internal/specs/v0/source_test.go b/cli/internal/specs/v0/source_test.go
index 8661e53b26b990..424066bd6865ce 100644
--- a/cli/internal/specs/v0/source_test.go
+++ b/cli/internal/specs/v0/source_test.go
@@ -3,6 +3,7 @@ package specs
import (
"testing"
+ "github.com/cloudquery/codegen/jsonschema"
"github.com/stretchr/testify/require"
)
@@ -26,8 +27,8 @@ spec:
`,
"failed to decode spec: json: cannot unmarshal number into Go struct field Source.name of type string",
&Source{
- Name: "test",
- Tables: []string{"*"},
+ Metadata: Metadata{Name: "test"},
+ Tables: []string{"*"},
},
},
{
@@ -38,8 +39,8 @@ spec:
`,
`failed to decode spec: json: unknown field "namea"`,
&Source{
- Name: "test",
- Tables: []string{"*"},
+ Metadata: Metadata{Name: "test"},
+ Tables: []string{"*"},
},
},
}
@@ -91,7 +92,6 @@ spec:
spec:
name: test
path: cloudquery/test
- tables: ["test"]
`,
"version is required",
nil,
@@ -103,7 +103,6 @@ spec:
name: test
path: cloudquery/test
version: 1.1.0
- tables: ["test"]
`,
"version must start with v",
nil,
@@ -131,31 +130,6 @@ spec:
"at least one destination is required",
nil,
},
- {
- "valid_scheduler",
- `kind: source
-spec:
- name: test
- path: cloudquery/test
- version: v1.1.0
- destinations: ["test"]
- scheduler: round-robin
- tables: ["test"]
-`,
- "",
- &Source{
- Name: "test",
- Registry: RegistryCloudQuery,
- Path: "cloudquery/test",
- Concurrency: defaultConcurrency,
- Version: "v1.1.0",
- Destinations: []string{"test"},
- Scheduler: SchedulerRoundRobin,
- Tables: []string{"test"},
- Spec: map[string]any{},
- registryInferred: true,
- },
- },
{
"success",
`kind: source
@@ -168,16 +142,16 @@ spec:
`,
"",
&Source{
- Name: "test",
- Registry: RegistryCloudQuery,
- Path: "cloudquery/test",
- Concurrency: defaultConcurrency,
- Version: "v1.1.0",
- Destinations: []string{"test"},
- Scheduler: SchedulerDFS,
- Tables: []string{"test"},
- Spec: map[string]any{},
- registryInferred: true,
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryCloudQuery,
+ Path: "cloudquery/test",
+ Version: "v1.1.0",
+ registryInferred: true,
+ },
+ Destinations: []string{"test"},
+ Tables: []string{"test"},
+ Spec: map[string]any{},
},
},
{
@@ -193,13 +167,13 @@ spec:
`,
"",
&Source{
- Name: "test",
- Registry: RegistryGithub,
- Path: "cloudquery/test",
- Concurrency: defaultConcurrency,
- Version: "v1.1.0",
+ Metadata: Metadata{
+ Name: "test",
+ Registry: RegistryGitHub,
+ Path: "cloudquery/test",
+ Version: "v1.1.0",
+ },
Destinations: []string{"test"},
- Scheduler: SchedulerDFS,
Tables: []string{"test"},
Spec: map[string]any{},
},
@@ -230,69 +204,442 @@ func TestSourceUnmarshalSpecValidate(t *testing.T) {
}
func TestSpec_VersionString(t *testing.T) {
- type fields struct {
- Name string
- Version string
- Path string
- Registry Registry
- }
tests := []struct {
- name string
- fields fields
- want string
+ name string
+ meta Metadata
+ want string
}{
{
name: "should use short version without name part in path when those are the same",
- fields: fields{
+ meta: Metadata{
Name: "aws",
Version: "v10.0.0",
Path: "cloudquery/aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "aws (v10.0.0)",
},
{
name: "should use long version with path when name doesn't match path",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "cloudquery/aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "my-aws-spec (aws@v10.0.0)",
},
{
name: "should handle non GitHub registry",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "localhost:7777",
- Registry: RegistryGrpc,
+ Registry: RegistryGRPC,
},
want: "my-aws-spec (grpc@localhost:7777)",
},
{
name: "should handle malformed path",
- fields: fields{
+ meta: Metadata{
Name: "my-aws-spec",
Version: "v10.0.0",
Path: "aws",
- Registry: RegistryGithub,
+ Registry: RegistryGitHub,
},
want: "my-aws-spec (aws@v10.0.0)",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- s := Source{
- Name: tt.fields.Name,
- Version: tt.fields.Version,
- Path: tt.fields.Path,
- Registry: tt.fields.Registry,
- }
+ s := Source{Metadata: tt.meta}
if got := s.VersionString(); got != tt.want {
t.Errorf("Source.String() = %v, want %v", got, tt.want)
}
})
}
}
+
+func TestBackendOptions_JSONSchema(t *testing.T) {
+ data, err := jsonschema.Generate(new(BackendOptions))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `{}`,
+ },
+ {
+ Name: "missing table_name",
+ Err: true,
+ Spec: `{"connection":"a"}`,
+ },
+ {
+ Name: "empty table_name",
+ Err: true,
+ Spec: `{"table_name":"","connection":"a"}`,
+ },
+ {
+ Name: "null table_name",
+ Err: true,
+ Spec: `{"table_name":null,"connection":"a"}`,
+ },
+ {
+ Name: "bad table_name type",
+ Err: true,
+ Spec: `{"table_name":123,"connection":"a"}`,
+ },
+ {
+ Name: "missing connection",
+ Err: true,
+ Spec: `{"table_name":"a"}`,
+ },
+ {
+ Name: "empty connection",
+ Err: true,
+ Spec: `{"table_name":"a","connection":""}`,
+ },
+ {
+ Name: "null connection",
+ Err: true,
+ Spec: `{"table_name":"a","connection":null}`,
+ },
+ {
+ Name: "bad connection type",
+ Err: true,
+ Spec: `{"table_name":"a","connection":123}`,
+ },
+ {
+ Name: "proper",
+ Spec: `{"table_name":"a","connection":"b"}`,
+ },
+ })
+}
+
+func TestSource_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(Source))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `{}`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `[]`,
+ },
+ {
+ Name: "missing spec",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"]}`,
+ },
+ {
+ Name: "empty spec",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],"spec":{}}`,
+ },
+ {
+ Name: "null spec",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],"spec":null}`,
+ },
+ {
+ Name: "bad spec type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],"spec":[]}`,
+ },
+ {
+ Name: "missing tables",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"]}`,
+ },
+ {
+ Name: "empty tables",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":[]
+}`,
+ },
+ {
+ Name: "null tables",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":null
+}`,
+ },
+ {
+ Name: "bad tables type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":123
+}`,
+ },
+ {
+ Name: "empty tables entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":[""]
+}`,
+ },
+ {
+ Name: "null tables entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":[null]
+}`,
+ },
+ {
+ Name: "bad tables entry type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":[123]
+}`,
+ },
+ {
+ Name: "proper tables",
+ Spec: `{"name":"a","path":"b","registry":"local","destinations":["a"],
+"tables":["*"]
+}`,
+ },
+ {
+ Name: "missing destinations",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"]}`,
+ },
+ {
+ Name: "empty destinations",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":[]
+}`,
+ },
+ {
+ Name: "null destinations",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":null
+}`,
+ },
+ {
+ Name: "bad destinations type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":123
+}`,
+ },
+ {
+ Name: "empty destinations entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":[""]
+}`,
+ },
+ {
+ Name: "null destinations entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":[null]
+}`,
+ },
+ {
+ Name: "bad destinations entry type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":[123]
+}`,
+ },
+ {
+ Name: "proper destinations",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],
+"destinations":["a"]
+}`,
+ },
+ {
+ Name: "empty skip_tables",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":[]
+}`,
+ },
+ {
+ Name: "null skip_tables",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":null
+}`,
+ },
+ {
+ Name: "bad skip_tables type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":123
+}`,
+ },
+ {
+ Name: "empty skip_tables entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":[""]
+}`,
+ },
+ {
+ Name: "null skip_tables entry",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":[null]
+}`,
+ },
+ {
+ Name: "bad skip_tables entry type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":[123]
+}`,
+ },
+ {
+ Name: "proper skip_tables",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_tables":["a"]
+}`,
+ },
+ {
+ Name: "null skip_dependent_tables",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_dependent_tables":null
+}`,
+ },
+ {
+ Name: "bad skip_dependent_tables type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_dependent_tables":123
+}`,
+ },
+ {
+ Name: "skip_dependent_tables:true",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_dependent_tables":true
+}`,
+ },
+ {
+ Name: "skip_dependent_tables:false",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"skip_dependent_tables":false
+}`,
+ },
+ // backend_options is tested in depth separately
+ {
+ Name: "null backend_options",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"backend_options":null
+}`,
+ },
+ {
+ Name: "bad backend_options type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"backend_options":123
+}`,
+ },
+ {
+ Name: "empty spec",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"spec":{}
+}`,
+ },
+ {
+ Name: "null spec",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"spec":null
+}`,
+ },
+ {
+ Name: "bad spec type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"spec":123
+}`,
+ },
+ {
+ Name: "null deterministic_cq_id",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"deterministic_cq_id":null
+}`,
+ },
+ {
+ Name: "bad deterministic_cq_id type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"deterministic_cq_id":123
+}`,
+ },
+ {
+ Name: "deterministic_cq_id:true",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"deterministic_cq_id":true
+}`,
+ },
+ {
+ Name: "deterministic_cq_id:false",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"deterministic_cq_id":false
+}`,
+ },
+ {
+ Name: "empty otel_endpoint",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint":""
+}`,
+ },
+ {
+ Name: "null otel_endpoint",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint":null
+}`,
+ },
+ {
+ Name: "bad otel_endpoint type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint":123
+}`,
+ },
+ {
+ Name: "proper otel_endpoint",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint":"a"
+}`,
+ },
+ {
+ Name: "null otel_endpoint_insecure",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint_insecure":null
+}`,
+ },
+ {
+ Name: "bad otel_endpoint_insecure type",
+ Err: true,
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint_insecure":123
+}`,
+ },
+ {
+ Name: "otel_endpoint_insecure:true",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint_insecure":true
+}`,
+ },
+ {
+ Name: "otel_endpoint_insecure:false",
+ Spec: `{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a"],
+"otel_endpoint_insecure":false
+}`,
+ },
+ })
+}
diff --git a/cli/internal/specs/v0/spec.go b/cli/internal/specs/v0/spec.go
index 6f087b7e13bbe0..1639f3d4bb2bad 100644
--- a/cli/internal/specs/v0/spec.go
+++ b/cli/internal/specs/v0/spec.go
@@ -6,54 +6,19 @@ import (
"fmt"
"github.com/ghodss/yaml"
+ "github.com/invopop/jsonschema"
+ orderedmap "github.com/wk8/go-ordered-map/v2"
)
// Warnings is a map of field name to string, used mainly for deprecation notices.
type Warnings map[string]string
-type Kind int
-
type Spec struct {
- Kind Kind `json:"kind"`
- Spec any `json:"spec"`
-}
-
-const (
- KindSource Kind = iota
- KindDestination
-)
-
-func (k Kind) String() string {
- return [...]string{"source", "destination"}[k]
-}
-
-func (k Kind) MarshalJSON() ([]byte, error) {
- buffer := bytes.NewBufferString(`"`)
- buffer.WriteString(k.String())
- buffer.WriteString(`"`)
- return buffer.Bytes(), nil
-}
-
-func (k *Kind) UnmarshalJSON(data []byte) (err error) {
- var kind string
- if err := json.Unmarshal(data, &kind); err != nil {
- return err
- }
- if *k, err = KindFromString(kind); err != nil {
- return err
- }
- return nil
-}
+ // CloudQuery plugin kind
+ Kind Kind `json:"kind" jsonschema:"required"`
-func KindFromString(s string) (Kind, error) {
- switch s {
- case "source":
- return KindSource, nil
- case "destination":
- return KindDestination, nil
- default:
- return KindSource, fmt.Errorf("unknown kind %s", s)
- }
+ // CloudQuery plugin (top-level) spec
+ Spec any `json:"spec" jsonschema:"required"`
}
func (s *Spec) UnmarshalJSON(data []byte) error {
@@ -86,11 +51,58 @@ func (s *Spec) UnmarshalJSON(data []byte) error {
return dec.Decode(s.Spec)
}
-func UnmarshalJSONStrict(b []byte, out any) error {
- dec := json.NewDecoder(bytes.NewReader(b))
- dec.DisallowUnknownFields()
- dec.UseNumber()
- return dec.Decode(out)
+func (Spec) JSONSchemaExtend(sc *jsonschema.Schema) {
+ // delete & obtain the values
+ source, _ := sc.Properties.Delete("Source")
+ destination, _ := sc.Properties.Delete("Destination")
+
+ // update `spec` property
+ spec := sc.Properties.Value("spec")
+ // we can use `one_of because source & destination specs are mutually exclusive based on the kind
+ spec.OneOf = []*jsonschema.Schema{source, destination}
+
+ sc.AllOf = []*jsonschema.Schema{
+ {
+ // `kind: source` implies source spec
+ If: &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := jsonschema.NewProperties()
+ kind := *sc.Properties.Value("kind")
+ kind.Const = "source"
+ kind.Enum = nil
+ properties.Set("kind", &kind)
+ return properties
+ }(),
+ },
+ Then: &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := jsonschema.NewProperties()
+ properties.Set("spec", source)
+ return properties
+ }(),
+ },
+ },
+ {
+ // `kind: destination` implies destination spec
+ If: &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := jsonschema.NewProperties()
+ kind := *sc.Properties.Value("kind")
+ kind.Const = "destination"
+ kind.Enum = nil
+ properties.Set("kind", &kind)
+ return properties
+ }(),
+ },
+ Then: &jsonschema.Schema{
+ Properties: func() *orderedmap.OrderedMap[string, *jsonschema.Schema] {
+ properties := jsonschema.NewProperties()
+ properties.Set("spec", destination)
+ return properties
+ }(),
+ },
+ },
+ }
}
func SpecUnmarshalYamlStrict(b []byte, spec *Spec) error {
diff --git a/cli/internal/specs/v0/spec_reader.go b/cli/internal/specs/v0/spec_reader.go
index d697b990334e4c..f9a5a3d297cf65 100644
--- a/cli/internal/specs/v0/spec_reader.go
+++ b/cli/internal/specs/v0/spec_reader.go
@@ -3,6 +3,7 @@ package specs
import (
"bytes"
"encoding/json"
+ "errors"
"fmt"
"math/rand"
"os"
@@ -112,8 +113,7 @@ func (r *SpecReader) loadSpecsFromFile(path string) error {
return fmt.Errorf("duplicate destination name %s", destination.Name)
}
r.destinationWarningsMap[destination.Name] = destination.GetWarnings()
- // We set the default value to 0, so it can be overridden later by plugins' defaults
- destination.SetDefaults(0, 0)
+ destination.SetDefaults()
if err := destination.Validate(); err != nil {
return fmt.Errorf("failed to validate destination %s: %w", destination.Name, err)
}
@@ -144,10 +144,10 @@ func (r *SpecReader) loadSpecsFromDir(path string) error {
func (r *SpecReader) validate() error {
if len(r.Sources) == 0 {
- return fmt.Errorf("expecting at least one source")
+ return errors.New("expecting at least one source")
}
if len(r.Destinations) == 0 {
- return fmt.Errorf("expecting at least one destination")
+ return errors.New("expecting at least one destination")
}
// here we check if source with different versions use the same destination and error out if yes
@@ -246,9 +246,9 @@ func stripYamlComments(b []byte) ([]byte, error) {
placeholders := map[string]string{}
b = envRegex.ReplaceAllFunc(b, func(match []byte) []byte {
content := envRegex.FindSubmatch(match)[1]
- k := fmt.Sprintf("%d", r.Int())
+ k := strconv.Itoa(r.Int())
for bytes.Contains(content, []byte(k)) {
- k = fmt.Sprintf("%d", r.Int())
+ k = strconv.Itoa(r.Int())
}
placeholders[k] = string(content)
return []byte(k)
diff --git a/cli/internal/specs/v0/spec_reader_test.go b/cli/internal/specs/v0/spec_reader_test.go
index bad961acbdeccf..7970ba8a8e401a 100644
--- a/cli/internal/specs/v0/spec_reader_test.go
+++ b/cli/internal/specs/v0/spec_reader_test.go
@@ -43,12 +43,47 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "gcp", Path: "cloudquery/gcp", Version: "v1.0.0", Registry: RegistryLocal, Destinations: []string{"postgresqlv2"}, TableConcurrency: 10, Tables: []string{"test"}},
- {Name: "aws", Path: "cloudquery/aws", Version: "v1.0.0", Registry: RegistryLocal, Destinations: []string{"postgresql"}, TableConcurrency: 10, Tables: []string{"test"}},
+ {
+ Metadata: Metadata{
+ Name: "gcp",
+ Path: "cloudquery/gcp",
+ Version: "v1.0.0",
+ Registry: RegistryLocal,
+ },
+ Destinations: []string{"postgresqlv2"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "aws",
+ Path: "cloudquery/aws",
+ Version: "v1.0.0",
+ Registry: RegistryLocal,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresqlv2", Path: "cloudquery/postgresql", Version: "v1.0.0", Registry: RegistryGrpc, WriteMode: WriteModeOverwrite, Spec: map[string]any{"credentials": "mytestcreds"}},
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1.0.0", Registry: RegistryGrpc, WriteMode: WriteModeOverwrite},
+ {
+ Metadata: Metadata{
+ Name: "postgresqlv2",
+ Path: "cloudquery/postgresql",
+ Version: "v1.0.0",
+ Registry: RegistryGRPC,
+ },
+ WriteMode: WriteModeOverwrite,
+ Spec: map[string]any{"credentials": "mytestcreds"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1.0.0",
+ Registry: RegistryGRPC,
+ },
+ WriteMode: WriteModeOverwrite,
+ },
},
},
{
@@ -58,12 +93,47 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "gcp", Path: "cloudquery/gcp", Version: "v1.0.0", Registry: RegistryLocal, Destinations: []string{"postgresqlv2"}, TableConcurrency: 10, Tables: []string{"test"}},
- {Name: "aws", Path: "cloudquery/aws", Version: "v1.0.0", Registry: RegistryLocal, Destinations: []string{"postgresql"}, TableConcurrency: 10, Tables: []string{"test"}},
+ {
+ Metadata: Metadata{
+ Name: "gcp",
+ Path: "cloudquery/gcp",
+ Version: "v1.0.0",
+ Registry: RegistryLocal,
+ },
+ Destinations: []string{"postgresqlv2"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "aws",
+ Path: "cloudquery/aws",
+ Version: "v1.0.0",
+ Registry: RegistryLocal,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresqlv2", Path: "cloudquery/postgresql", Version: "v1.0.0", Registry: RegistryGrpc, WriteMode: WriteModeOverwrite, Spec: map[string]any{"credentials": "mytestcreds"}},
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1.0.0", Registry: RegistryGrpc, WriteMode: WriteModeOverwrite},
+ {
+ Metadata: Metadata{
+ Name: "postgresqlv2",
+ Path: "cloudquery/postgresql",
+ Version: "v1.0.0",
+ Registry: RegistryGRPC,
+ },
+ WriteMode: WriteModeOverwrite,
+ Spec: map[string]any{"credentials": "mytestcreds"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1.0.0",
+ Registry: RegistryGRPC,
+ },
+ WriteMode: WriteModeOverwrite,
+ },
},
},
{
@@ -104,11 +174,40 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "aws", Path: "cloudquery/aws", Version: "v4.6.1", Registry: RegistryCloudQuery, Destinations: []string{"postgresql"}, Tables: []string{"test"}, registryInferred: true},
- {Name: "azure", Path: "cloudquery/azure", Version: "v1.3.3", Registry: RegistryCloudQuery, Destinations: []string{"postgresql"}, Tables: []string{"test"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "aws",
+ Path: "cloudquery/aws",
+ Version: "v4.6.1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "azure",
+ Path: "cloudquery/azure",
+ Version: "v1.3.3",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1.6.3", Registry: RegistryCloudQuery, Spec: map[string]any{"connection_string": "postgresql://postgres:pass@localhost:5432/postgres"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1.6.3",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Spec: map[string]any{"connection_string": "postgresql://postgres:pass@localhost:5432/postgres"},
+ },
},
},
{
@@ -118,11 +217,40 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "aws", Path: "cloudquery/aws", Version: "v1", Registry: RegistryCloudQuery, Destinations: []string{"postgresql"}, Tables: []string{"test"}, registryInferred: true},
- {Name: "azure", Path: "cloudquery/azure", Version: "v1.3.3", Registry: RegistryCloudQuery, Destinations: []string{"postgresql", "postgresql"}, Tables: []string{"test"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "aws",
+ Path: "cloudquery/aws",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "azure",
+ Path: "cloudquery/azure",
+ Version: "v1.3.3",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"postgresql", "postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1.6.3", Registry: RegistryCloudQuery, Spec: map[string]any{"connection_string": "postgresql://localhost:5432/cloudquery?sslmode=disable", "version": "#v1"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1.6.3",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Spec: map[string]any{"connection_string": "postgresql://localhost:5432/cloudquery?sslmode=disable", "version": "#v1"},
+ },
},
envVariables: map[string]string{
"VERSION": "v1",
@@ -137,11 +265,37 @@ var specLoaderTestCases = []specLoaderTestCase{
return "failed to expand environment variable in file testdata/env_variables.yml (section 3): env variable CONNECTION_STRING not found"
},
sources: []*Source{
- {Name: "aws", Path: "cloudquery/aws", Version: "v1", Registry: RegistryGithub, Destinations: []string{"postgresql"}, Tables: []string{"test"}},
- {Name: "azure", Path: "cloudquery/azure", Version: "v1.3.3", Registry: RegistryGithub, Destinations: []string{"postgresql", "postgresql"}, Tables: []string{"test"}},
+ {
+ Metadata: Metadata{
+ Name: "aws",
+ Path: "cloudquery/aws",
+ Version: "v1",
+ Registry: RegistryGitHub,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "azure",
+ Path: "cloudquery/azure",
+ Version: "v1.3.3",
+ Registry: RegistryGitHub,
+ },
+ Destinations: []string{"postgresql", "postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1.6.3", Registry: RegistryGithub, Spec: map[string]any{}},
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1.6.3",
+ Registry: RegistryGitHub,
+ },
+ Spec: map[string]any{},
+ },
},
envVariables: map[string]string{
"VERSION": "v1",
@@ -155,10 +309,29 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "test", Path: "cloudquery/test", Version: "v1", Registry: RegistryCloudQuery, Destinations: []string{"postgresql"}, Tables: []string{"test"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "test",
+ Path: "cloudquery/test",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1", Registry: RegistryCloudQuery, Spec: map[string]any{"custom_version": "#v1"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Spec: map[string]any{"custom_version": "#v1"},
+ },
},
envVariables: map[string]string{
"VERSION": "v1",
@@ -171,10 +344,27 @@ var specLoaderTestCases = []specLoaderTestCase{
return "failed to expand environment variable in file testdata/env_variable_in_string.yml (section 2): env variable VERSION not found"
},
sources: []*Source{
- {Name: "test", Path: "cloudquery/test", Version: "v1", Registry: RegistryCloudQuery, Destinations: []string{"postgresql"}, Tables: []string{"test"}},
+ {
+ Metadata: Metadata{
+ Name: "test",
+ Path: "cloudquery/test",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ },
+ Destinations: []string{"postgresql"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "postgresql", Path: "cloudquery/postgresql", Version: "v1", Registry: RegistryCloudQuery, Spec: map[string]any{}},
+ {
+ Metadata: Metadata{
+ Name: "postgresql",
+ Path: "cloudquery/postgresql",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ },
+ Spec: map[string]any{},
+ },
},
envVariables: map[string]string{},
},
@@ -185,11 +375,40 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "0123456789", Path: "cloudquery/aws", Version: "v1", Registry: RegistryCloudQuery, Destinations: []string{"0987654321"}, Tables: []string{"test"}, registryInferred: true},
- {Name: "012345", Path: "cloudquery/aws", Version: "v1", Registry: RegistryCloudQuery, Destinations: []string{"0987654321"}, Tables: []string{"test"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "0123456789",
+ Path: "cloudquery/aws",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"0987654321"},
+ Tables: []string{"test"},
+ },
+ {
+ Metadata: Metadata{
+ Name: "012345",
+ Path: "cloudquery/aws",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Destinations: []string{"0987654321"},
+ Tables: []string{"test"},
+ },
},
destinations: []*Destination{
- {Name: "0987654321", Path: "cloudquery/postgresql", Version: "v1", Registry: RegistryCloudQuery, Spec: map[string]any{"connection_string": "postgresql://localhost:5432/cloudquery?sslmode=disable"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "0987654321",
+ Path: "cloudquery/postgresql",
+ Version: "v1",
+ Registry: RegistryCloudQuery,
+ registryInferred: true,
+ },
+ Spec: map[string]any{"connection_string": "postgresql://localhost:5432/cloudquery?sslmode=disable"},
+ },
},
envVariables: map[string]string{
"ACCOUNT_ID": "0123456789",
@@ -202,10 +421,29 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "gcp", Path: "cloudquery/gcp", Registry: RegistryCloudQuery, Version: "v1.0.0", Destinations: []string{"bigquery"}, Tables: []string{"*"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "gcp",
+ Path: "cloudquery/gcp",
+ Registry: RegistryCloudQuery,
+ Version: "v1.0.0",
+ registryInferred: true,
+ },
+ Destinations: []string{"bigquery"},
+ Tables: []string{"*"},
+ },
},
destinations: []*Destination{
- {Name: "bigquery", Path: "cloudquery/bigquery", Registry: RegistryCloudQuery, Version: "v3.1.0", Spec: map[string]any{"service_account_key_json": getExpectedApplicationDefaultCredentials()}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "bigquery",
+ Path: "cloudquery/bigquery",
+ Registry: RegistryCloudQuery,
+ Version: "v3.1.0",
+ registryInferred: true,
+ },
+ Spec: map[string]any{"service_account_key_json": getExpectedApplicationDefaultCredentials()},
+ },
},
},
{
@@ -215,10 +453,29 @@ var specLoaderTestCases = []specLoaderTestCase{
return ""
},
sources: []*Source{
- {Name: "gcp", Path: "cloudquery/gcp", Registry: RegistryCloudQuery, Version: "v1.0.0", Destinations: []string{"bigquery"}, Tables: []string{"*"}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "gcp",
+ Path: "cloudquery/gcp",
+ Registry: RegistryCloudQuery,
+ Version: "v1.0.0",
+ registryInferred: true,
+ },
+ Destinations: []string{"bigquery"},
+ Tables: []string{"*"},
+ },
},
destinations: []*Destination{
- {Name: "bigquery", Path: "cloudquery/bigquery", Registry: RegistryCloudQuery, Version: "v3.1.0", Spec: map[string]any{"service_account_key_json": getExpectedApplicationDefaultCredentials()}, registryInferred: true},
+ {
+ Metadata: Metadata{
+ Name: "bigquery",
+ Path: "cloudquery/bigquery",
+ Registry: RegistryCloudQuery,
+ Version: "v3.1.0",
+ registryInferred: true,
+ },
+ Spec: map[string]any{"service_account_key_json": getExpectedApplicationDefaultCredentials()},
+ },
},
},
}
@@ -246,7 +503,7 @@ func TestLoadSpecs(t *testing.T) {
}
for _, d := range tc.destinations {
- d.SetDefaults(0, 0)
+ d.SetDefaults()
}
require.Equal(t, tc.sources, specReader.Sources)
diff --git a/cli/internal/specs/v0/spec_test.go b/cli/internal/specs/v0/spec_test.go
new file mode 100644
index 00000000000000..f9b7e3337403db
--- /dev/null
+++ b/cli/internal/specs/v0/spec_test.go
@@ -0,0 +1,92 @@
+package specs
+
+import (
+ _ "embed"
+ "testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+)
+
+//go:embed schema.json
+var schema string
+
+func TestSpec_JSONSchemaExtend(t *testing.T) {
+ jsonschema.TestJSONSchema(t, schema, []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `{}`,
+ },
+ {
+ Name: "missing kind",
+ Err: true,
+ Spec: `{"spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "empty kind",
+ Err: true,
+ Spec: `{"kind":"","spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "null kind",
+ Err: true,
+ Spec: `{"kind":null,"spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "bad kind",
+ Err: true,
+ Spec: `{"kind":123,"spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "bad kind value",
+ Err: true,
+ Spec: `{"kind":"123","spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "kind:source",
+ Spec: `{"kind":"source","spec":{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a","b","c"]}}`,
+ },
+ {
+ Name: "kind:destination",
+ Spec: `{"kind":"destination","spec":{"name":"a","path":"b","registry":"local"}}`,
+ },
+ {
+ Name: "missing spec",
+ Err: true,
+ Spec: `{"kind":"source"}`,
+ },
+ {
+ Name: "empty spec",
+ Err: true,
+ Spec: `{"kind":"source","spec":{}}`,
+ },
+ {
+ Name: "null spec",
+ Err: true,
+ Spec: `{"kind":"source","spec":null}`,
+ },
+ {
+ Name: "bad spec",
+ Err: true,
+ Spec: `{"kind":"source","spec":123}`,
+ },
+ {
+ Name: "kind:destination,spec:destination",
+ Spec: `{"kind":"destination","spec":{"name":"a","path":"b","registry":"local","write_mode":"append"}}`,
+ },
+ {
+ Name: "kind:source,spec:destination",
+ Err: true,
+ Spec: `{"kind":"source","spec":{"name":"a","path":"b","registry":"local","write_mode":"append"}}`,
+ },
+ {
+ Name: "kind:destination,spec:source",
+ Err: true,
+ Spec: `{"kind":"destination","spec":{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a","b","c"]}}`,
+ },
+ {
+ Name: "kind:source,spec:source",
+ Spec: `{"kind":"source","spec":{"name":"a","path":"b","registry":"local","tables":["*"],"destinations":["a","b","c"]}}`,
+ },
+ })
+}
diff --git a/cli/internal/specs/v0/testdata/dir/aws.yml b/cli/internal/specs/v0/testdata/dir/aws.yml
index 2ac2156aba526a..95da721609864b 100644
--- a/cli/internal/specs/v0/testdata/dir/aws.yml
+++ b/cli/internal/specs/v0/testdata/dir/aws.yml
@@ -3,7 +3,6 @@ spec:
name: aws
path: cloudquery/aws
version: v1.0.0
- table_concurrency: 10
registry: local
destinations: [postgresql]
tables: [test]
diff --git a/cli/internal/specs/v0/testdata/dir_yaml/aws.yaml b/cli/internal/specs/v0/testdata/dir_yaml/aws.yaml
index 2ac2156aba526a..95da721609864b 100644
--- a/cli/internal/specs/v0/testdata/dir_yaml/aws.yaml
+++ b/cli/internal/specs/v0/testdata/dir_yaml/aws.yaml
@@ -3,7 +3,6 @@ spec:
name: aws
path: cloudquery/aws
version: v1.0.0
- table_concurrency: 10
registry: local
destinations: [postgresql]
tables: [test]
diff --git a/cli/internal/specs/v0/testdata/gcp.yml b/cli/internal/specs/v0/testdata/gcp.yml
index 2e331a547f9205..19a47920b11a7e 100644
--- a/cli/internal/specs/v0/testdata/gcp.yml
+++ b/cli/internal/specs/v0/testdata/gcp.yml
@@ -3,7 +3,6 @@ spec:
name: gcp
path: cloudquery/gcp
version: v1.0.0
- table_concurrency: 10
registry: local
destinations: [postgresqlv2]
tables: [test]
diff --git a/cli/internal/specs/v0/testdata/gcpv2.yml b/cli/internal/specs/v0/testdata/gcpv2.yml
index 623602a00a41cd..34b07ab610cfbc 100644
--- a/cli/internal/specs/v0/testdata/gcpv2.yml
+++ b/cli/internal/specs/v0/testdata/gcpv2.yml
@@ -3,6 +3,5 @@ spec:
name: gcpv2
path: cloudquery/gcp
version: v1.0.1
- table_concurrency: 10
destinations: [postgresqlv2]
tables: [test]
diff --git a/cli/internal/specs/v0/write_mode.go b/cli/internal/specs/v0/write_mode.go
index 546e21c8e4215c..eb2fc340062911 100644
--- a/cli/internal/specs/v0/write_mode.go
+++ b/cli/internal/specs/v0/write_mode.go
@@ -4,6 +4,8 @@ import (
"bytes"
"encoding/json"
"fmt"
+
+ "github.com/invopop/jsonschema"
)
type WriteMode int
@@ -15,11 +17,15 @@ const (
)
var (
- writeModeStrings = []string{"overwrite-delete-stale", "overwrite", "append"}
+ AllWriteModes = [...]string{
+ WriteModeOverwriteDeleteStale: "overwrite-delete-stale",
+ WriteModeOverwrite: "overwrite",
+ WriteModeAppend: "append",
+ }
)
func (m WriteMode) String() string {
- return writeModeStrings[m]
+ return AllWriteModes[m]
}
func (m WriteMode) MarshalJSON() ([]byte, error) {
@@ -40,14 +46,19 @@ func (m *WriteMode) UnmarshalJSON(data []byte) (err error) {
return nil
}
+func (WriteMode) JSONSchemaExtend(sc *jsonschema.Schema) {
+ sc.Type = "string"
+ sc.Enum = make([]any, len(AllWriteModes))
+ for i, k := range AllWriteModes {
+ sc.Enum[i] = k
+ }
+}
+
func WriteModeFromString(s string) (WriteMode, error) {
- switch s {
- case "append":
- return WriteModeAppend, nil
- case "overwrite":
- return WriteModeOverwrite, nil
- case "overwrite-delete-stale":
- return WriteModeOverwriteDeleteStale, nil
+ for m, str := range AllWriteModes {
+ if s == str {
+ return WriteMode(m), nil
+ }
}
- return 0, fmt.Errorf("invalid write mode: %s", s)
+ return WriteModeOverwriteDeleteStale, fmt.Errorf("invalid write mode: %s", s)
}
diff --git a/cli/internal/specs/v0/write_mode_test.go b/cli/internal/specs/v0/write_mode_test.go
index 289c66c213e7af..3d3ad63ce96578 100644
--- a/cli/internal/specs/v0/write_mode_test.go
+++ b/cli/internal/specs/v0/write_mode_test.go
@@ -2,26 +2,74 @@ package specs
import (
"testing"
+
+ "github.com/cloudquery/codegen/jsonschema"
+ "github.com/stretchr/testify/require"
)
func TestWriteModeFromString(t *testing.T) {
- var writeMode WriteMode
- if err := writeMode.UnmarshalJSON([]byte(`"append"`)); err != nil {
- t.Fatal(err)
- }
- if writeMode != WriteModeAppend {
- t.Fatalf("expected WriteModeAppend, got %v", writeMode)
- }
- if err := writeMode.UnmarshalJSON([]byte(`"overwrite"`)); err != nil {
- t.Fatal(err)
- }
- if writeMode != WriteModeOverwrite {
- t.Fatalf("expected WriteModeOverwrite, got %v", writeMode)
- }
+ m, err := WriteModeFromString("overwrite-delete-stale")
+ require.NoError(t, err)
+ require.Equal(t, WriteModeOverwriteDeleteStale, m)
+
+ m, err = WriteModeFromString("overwrite")
+ require.NoError(t, err)
+ require.Equal(t, WriteModeOverwrite, m)
+
+ m, err = WriteModeFromString("append")
+ require.NoError(t, err)
+ require.Equal(t, WriteModeAppend, m)
+
+ m, err = WriteModeFromString("Append")
+ require.Error(t, err)
+ require.Equal(t, WriteModeOverwriteDeleteStale, m)
+
+ m, err = WriteModeFromString("")
+ require.Error(t, err)
+ require.Equal(t, WriteModeOverwriteDeleteStale, m)
+}
+
+func TestWriteMode_JSONSchemaExtend(t *testing.T) {
+ data, err := jsonschema.Generate(new(WriteMode))
+ require.NoError(t, err)
+ jsonschema.TestJSONSchema(t, string(data), []jsonschema.TestCase{
+ {
+ Name: "empty",
+ Err: true,
+ Spec: `""`,
+ },
+ {
+ Name: "null",
+ Err: true,
+ Spec: `null`,
+ },
+ {
+ Name: "bad type",
+ Err: true,
+ Spec: `123`,
+ },
+ {
+ Name: "bad value",
+ Err: true,
+ Spec: `"extra"`,
+ },
+ {
+ Name: "overwrite-delete-stale",
+ Spec: `"overwrite-delete-stale"`,
+ },
+ {
+ Name: "overwrite",
+ Spec: `"overwrite"`,
+ },
+ {
+ Name: "append",
+ Spec: `"append"`,
+ },
+ })
}
-func TestWriteMode(t *testing.T) {
- for _, writeModeStr := range writeModeStrings {
+func TestWriteModeRoundTrip(t *testing.T) {
+ for _, writeModeStr := range AllWriteModes {
writeMode, err := WriteModeFromString(writeModeStr)
if err != nil {
t.Fatal(err)
diff --git a/cli/internal/team/team.go b/cli/internal/team/team.go
index 2e69eed941bd35..4ae1f63b357b59 100644
--- a/cli/internal/team/team.go
+++ b/cli/internal/team/team.go
@@ -15,7 +15,7 @@ type Client struct {
func NewClient(url string, token string) (*Client, error) {
cl, err := cloudquery_api.NewClientWithResponses(url, cloudquery_api.WithRequestEditorFn(func(ctx context.Context, req *http.Request) error {
- req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", token))
+ req.Header.Set("Authorization", "Bearer "+token)
return nil
}))
if err != nil {
diff --git a/plugins/destination/azblob/CHANGELOG.md b/plugins/destination/azblob/CHANGELOG.md
index c930fcb95e4fd0..c80d2e319499b7 100644
--- a/plugins/destination/azblob/CHANGELOG.md
+++ b/plugins/destination/azblob/CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog
+## [3.4.17](https://github.com/cloudquery/cloudquery/compare/plugins-destination-azblob-v3.4.16...plugins-destination-azblob-v3.4.17) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.4 ([#15941](https://github.com/cloudquery/cloudquery/issues/15941)) ([557886c](https://github.com/cloudquery/cloudquery/commit/557886ca01b5561212cc1c44534b6afd61dac211))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.4.16](https://github.com/cloudquery/cloudquery/compare/plugins-destination-azblob-v3.4.15...plugins-destination-azblob-v3.4.16) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.3 ([#15900](https://github.com/cloudquery/cloudquery/issues/15900)) ([500197f](https://github.com/cloudquery/cloudquery/commit/500197f536944546560ee8643852efa6524729f2))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.4.15](https://github.com/cloudquery/cloudquery/compare/plugins-destination-azblob-v3.4.14...plugins-destination-azblob-v3.4.15) (2023-12-28)
diff --git a/plugins/destination/azblob/go.mod b/plugins/destination/azblob/go.mod
index 416c6bcccd7092..baffd2a98504b6 100644
--- a/plugins/destination/azblob/go.mod
+++ b/plugins/destination/azblob/go.mod
@@ -5,9 +5,9 @@ go 1.21.4
require (
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.1
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/filetypes/v4 v4.2.3
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/filetypes/v4 v4.2.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
@@ -36,8 +36,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -77,8 +77,8 @@ require (
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/azblob/go.sum b/plugins/destination/azblob/go.sum
index 0cd1de8c68dad2..3f4c403fb39a69 100644
--- a/plugins/destination/azblob/go.sum
+++ b/plugins/destination/azblob/go.sum
@@ -33,8 +33,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -61,20 +61,20 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/filetypes/v4 v4.2.3 h1:ixbKrIenlEQplbpGKDcTShXHwxLH0MVZiUSWOwfKCTU=
-github.com/cloudquery/filetypes/v4 v4.2.3/go.mod h1:2VJ1cLxMfHxvC6Lu6PsruqtdF9PEDswFdANYkIhZ9Bg=
+github.com/cloudquery/filetypes/v4 v4.2.4 h1:LIdlop1Ao9wCggVH4c3vz7kD9kNkI1tolNdERYAd6U0=
+github.com/cloudquery/filetypes/v4 v4.2.4/go.mod h1:jM1V/g3nGaEe0rN0KQ10bBSwUqbYeUkFbB1hq1jbqmY=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -191,10 +191,10 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/bigquery/CHANGELOG.md b/plugins/destination/bigquery/CHANGELOG.md
index d33f12066b33ac..94fe464a81e898 100644
--- a/plugins/destination/bigquery/CHANGELOG.md
+++ b/plugins/destination/bigquery/CHANGELOG.md
@@ -1,5 +1,24 @@
# Changelog
+## [3.3.13](https://github.com/cloudquery/cloudquery/compare/plugins-destination-bigquery-v3.3.12...plugins-destination-bigquery-v3.3.13) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.3.12](https://github.com/cloudquery/cloudquery/compare/plugins-destination-bigquery-v3.3.11...plugins-destination-bigquery-v3.3.12) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto digest to 995d672 ([#15910](https://github.com/cloudquery/cloudquery/issues/15910)) ([de15c6b](https://github.com/cloudquery/cloudquery/commit/de15c6b6129535f2022de6fec3f4c875dd897bad))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.3.11](https://github.com/cloudquery/cloudquery/compare/plugins-destination-bigquery-v3.3.10...plugins-destination-bigquery-v3.3.11) (2023-12-28)
diff --git a/plugins/destination/bigquery/go.mod b/plugins/destination/bigquery/go.mod
index eab416e4d0fdca..7ca973732aa619 100644
--- a/plugins/destination/bigquery/go.mod
+++ b/plugins/destination/bigquery/go.mod
@@ -4,15 +4,15 @@ go 1.21.4
require (
cloud.google.com/go/bigquery v1.57.1
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/rs/zerolog v1.31.0
golang.org/x/sync v0.5.0
google.golang.org/api v0.149.0
)
-require github.com/apache/arrow/go/v12 v12.0.0 // indirect
+require github.com/apache/arrow/go/v12 v12.0.1 // indirect
require (
github.com/BurntSushi/toml v1.3.2 // indirect
@@ -32,8 +32,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -66,8 +66,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/bigquery/go.sum b/plugins/destination/bigquery/go.sum
index f4e1ae07b5a3b4..53591430cf7cf5 100644
--- a/plugins/destination/bigquery/go.sum
+++ b/plugins/destination/bigquery/go.sum
@@ -37,12 +37,12 @@ github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU=
github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
-github.com/apache/arrow/go/v12 v12.0.0 h1:xtZE63VWl7qLdB0JObIXvvhGjoVNrQ9ciIHG2OK5cmc=
-github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg=
+github.com/apache/arrow/go/v12 v12.0.1 h1:JsR2+hzYYjgSUkBSaahpqCetqZMr76djX80fF/DiJbg=
+github.com/apache/arrow/go/v12 v12.0.1/go.mod h1:weuTY7JvTG/HDPtMQxEUp7pU73vkLWMLpY67QwZ/WWw=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -71,14 +71,14 @@ github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLI
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -226,10 +226,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/clickhouse/CHANGELOG.md b/plugins/destination/clickhouse/CHANGELOG.md
index 2aea5489c3b3d7..7bf430a78967f9 100644
--- a/plugins/destination/clickhouse/CHANGELOG.md
+++ b/plugins/destination/clickhouse/CHANGELOG.md
@@ -1,5 +1,23 @@
# Changelog
+## [3.4.8](https://github.com/cloudquery/cloudquery/compare/plugins-destination-clickhouse-v3.4.7...plugins-destination-clickhouse-v3.4.8) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.4.7](https://github.com/cloudquery/cloudquery/compare/plugins-destination-clickhouse-v3.4.6...plugins-destination-clickhouse-v3.4.7) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.4.6](https://github.com/cloudquery/cloudquery/compare/plugins-destination-clickhouse-v3.4.5...plugins-destination-clickhouse-v3.4.6) (2023-12-28)
diff --git a/plugins/destination/clickhouse/go.mod b/plugins/destination/clickhouse/go.mod
index cba2b2df592b80..35963b13d4cbd5 100644
--- a/plugins/destination/clickhouse/go.mod
+++ b/plugins/destination/clickhouse/go.mod
@@ -4,9 +4,9 @@ go 1.21.4
require (
github.com/ClickHouse/clickhouse-go/v2 v2.10.1
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cloudquery/codegen v0.3.12
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
@@ -33,8 +33,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -72,8 +72,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/clickhouse/go.sum b/plugins/destination/clickhouse/go.sum
index 687d91f3562534..30d19f141864cb 100644
--- a/plugins/destination/clickhouse/go.sum
+++ b/plugins/destination/clickhouse/go.sum
@@ -23,8 +23,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -49,18 +49,18 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -179,10 +179,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/duckdb/CHANGELOG.md b/plugins/destination/duckdb/CHANGELOG.md
index db3323755749e1..b6aac411024498 100644
--- a/plugins/destination/duckdb/CHANGELOG.md
+++ b/plugins/destination/duckdb/CHANGELOG.md
@@ -1,5 +1,23 @@
# Changelog
+## [5.0.10](https://github.com/cloudquery/cloudquery/compare/plugins-destination-duckdb-v5.0.9...plugins-destination-duckdb-v5.0.10) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [5.0.9](https://github.com/cloudquery/cloudquery/compare/plugins-destination-duckdb-v5.0.8...plugins-destination-duckdb-v5.0.9) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [5.0.8](https://github.com/cloudquery/cloudquery/compare/plugins-destination-duckdb-v5.0.7...plugins-destination-duckdb-v5.0.8) (2023-12-28)
diff --git a/plugins/destination/duckdb/go.mod b/plugins/destination/duckdb/go.mod
index a7560647ae6a42..0faa854116ac0c 100644
--- a/plugins/destination/duckdb/go.mod
+++ b/plugins/destination/duckdb/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/destination/duckdb
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cenkalti/backoff/v4 v4.2.1
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/uuid v1.5.0
github.com/marcboeker/go-duckdb v1.5.6
github.com/rs/zerolog v1.31.0
@@ -27,8 +27,8 @@ require (
github.com/bytedance/sonic v1.10.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -65,8 +65,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/duckdb/go.sum b/plugins/destination/duckdb/go.sum
index f4e77aac982c36..84aa04cf53ec90 100644
--- a/plugins/destination/duckdb/go.sum
+++ b/plugins/destination/duckdb/go.sum
@@ -21,8 +21,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -163,10 +163,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/elasticsearch/CHANGELOG.md b/plugins/destination/elasticsearch/CHANGELOG.md
index 71b242ae117b32..9b7983ae7e5c91 100644
--- a/plugins/destination/elasticsearch/CHANGELOG.md
+++ b/plugins/destination/elasticsearch/CHANGELOG.md
@@ -1,5 +1,23 @@
# Changelog
+## [3.1.12](https://github.com/cloudquery/cloudquery/compare/plugins-destination-elasticsearch-v3.1.11...plugins-destination-elasticsearch-v3.1.12) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.1.11](https://github.com/cloudquery/cloudquery/compare/plugins-destination-elasticsearch-v3.1.10...plugins-destination-elasticsearch-v3.1.11) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.1.10](https://github.com/cloudquery/cloudquery/compare/plugins-destination-elasticsearch-v3.1.9...plugins-destination-elasticsearch-v3.1.10) (2023-12-28)
diff --git a/plugins/destination/elasticsearch/go.mod b/plugins/destination/elasticsearch/go.mod
index fb42a148af4ee7..de52dbf86a05ac 100644
--- a/plugins/destination/elasticsearch/go.mod
+++ b/plugins/destination/elasticsearch/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/destination/elasticsearch
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cenkalti/backoff/v4 v4.2.1
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/elastic/go-elasticsearch/v8 v8.6.0
github.com/goccy/go-json v0.10.2
github.com/rs/zerolog v1.31.0
@@ -28,8 +28,8 @@ require (
github.com/bytedance/sonic v1.10.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -66,8 +66,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/elasticsearch/go.sum b/plugins/destination/elasticsearch/go.sum
index 3b9cd08a5eb12a..06be679a6bec51 100644
--- a/plugins/destination/elasticsearch/go.sum
+++ b/plugins/destination/elasticsearch/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -161,10 +161,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/file/CHANGELOG.md b/plugins/destination/file/CHANGELOG.md
index 1b7ea0411aeaa4..cca5d12408f6ed 100644
--- a/plugins/destination/file/CHANGELOG.md
+++ b/plugins/destination/file/CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog
+## [3.4.16](https://github.com/cloudquery/cloudquery/compare/plugins-destination-file-v3.4.15...plugins-destination-file-v3.4.16) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.4 ([#15941](https://github.com/cloudquery/cloudquery/issues/15941)) ([557886c](https://github.com/cloudquery/cloudquery/commit/557886ca01b5561212cc1c44534b6afd61dac211))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.4.15](https://github.com/cloudquery/cloudquery/compare/plugins-destination-file-v3.4.14...plugins-destination-file-v3.4.15) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.3 ([#15900](https://github.com/cloudquery/cloudquery/issues/15900)) ([500197f](https://github.com/cloudquery/cloudquery/commit/500197f536944546560ee8643852efa6524729f2))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.4.14](https://github.com/cloudquery/cloudquery/compare/plugins-destination-file-v3.4.13...plugins-destination-file-v3.4.14) (2023-12-28)
diff --git a/plugins/destination/file/go.mod b/plugins/destination/file/go.mod
index 59e3d026c7f4c1..015639c523830a 100644
--- a/plugins/destination/file/go.mod
+++ b/plugins/destination/file/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/destination/file
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/filetypes/v4 v4.2.3
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/filetypes/v4 v4.2.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
@@ -31,8 +31,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -70,8 +70,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/file/go.sum b/plugins/destination/file/go.sum
index 2f86e3c3891860..4add78441709c5 100644
--- a/plugins/destination/file/go.sum
+++ b/plugins/destination/file/go.sum
@@ -21,8 +21,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -49,20 +49,20 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/filetypes/v4 v4.2.3 h1:ixbKrIenlEQplbpGKDcTShXHwxLH0MVZiUSWOwfKCTU=
-github.com/cloudquery/filetypes/v4 v4.2.3/go.mod h1:2VJ1cLxMfHxvC6Lu6PsruqtdF9PEDswFdANYkIhZ9Bg=
+github.com/cloudquery/filetypes/v4 v4.2.4 h1:LIdlop1Ao9wCggVH4c3vz7kD9kNkI1tolNdERYAd6U0=
+github.com/cloudquery/filetypes/v4 v4.2.4/go.mod h1:jM1V/g3nGaEe0rN0KQ10bBSwUqbYeUkFbB1hq1jbqmY=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -173,10 +173,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/firehose/CHANGELOG.md b/plugins/destination/firehose/CHANGELOG.md
index d79c3ce2a83689..a7f12b404f233c 100644
--- a/plugins/destination/firehose/CHANGELOG.md
+++ b/plugins/destination/firehose/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.17](https://github.com/cloudquery/cloudquery/compare/plugins-destination-firehose-v2.2.16...plugins-destination-firehose-v2.2.17) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.2.16](https://github.com/cloudquery/cloudquery/compare/plugins-destination-firehose-v2.2.15...plugins-destination-firehose-v2.2.16) (2024-01-02)
diff --git a/plugins/destination/firehose/go.mod b/plugins/destination/firehose/go.mod
index 93946e1c1708be..854ee5484b8bda 100644
--- a/plugins/destination/firehose/go.mod
+++ b/plugins/destination/firehose/go.mod
@@ -3,11 +3,11 @@ module github.com/cloudquery/cloudquery/plugins/destination/firehose
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/aws/aws-sdk-go-v2 v1.24.0
- github.com/aws/aws-sdk-go-v2/config v1.26.2
- github.com/aws/aws-sdk-go-v2/service/firehose v1.23.1
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/aws/aws-sdk-go-v2 v1.24.1
+ github.com/aws/aws-sdk-go-v2/config v1.26.3
+ github.com/aws/aws-sdk-go-v2/service/firehose v1.23.2
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/rs/zerolog v1.31.0
github.com/stretchr/testify v1.8.4
@@ -23,24 +23,24 @@ require (
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
- github.com/aws/aws-sdk-go-v2/credentials v1.16.13 // indirect
- github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
+ github.com/aws/aws-sdk-go-v2/credentials v1.16.14 // indirect
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect
github.com/aws/smithy-go v1.19.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bytedance/sonic v1.10.2 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -76,8 +76,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/firehose/go.sum b/plugins/destination/firehose/go.sum
index d8a03a507040d0..16137b8d6b4513 100644
--- a/plugins/destination/firehose/go.sum
+++ b/plugins/destination/firehose/go.sum
@@ -19,36 +19,36 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
-github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
-github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
-github.com/aws/aws-sdk-go-v2/config v1.26.2 h1:+RWLEIWQIGgrz2pBPAUoGgNGs1TOyF4Hml7hCnYj2jc=
-github.com/aws/aws-sdk-go-v2/config v1.26.2/go.mod h1:l6xqvUxt0Oj7PI/SUXYLNyZ9T/yBPn3YTQcJLLOdtR8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13 h1:WLABQ4Cp4vXtXfOWOS3MEZKr6AAYUpMczLhgKtAjQ/8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13/go.mod h1:Qg6x82FXwW0sJHzYruxGiuApNo31UEtJvXVSZAXeWiw=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1 h1:xAojnj+ktS95YZlDf0zxWBkbFtymPeDP+rvUQIH3uAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
+github.com/aws/aws-sdk-go-v2/config v1.26.3 h1:dKuc2jdp10y13dEEvPqWxqLoc0vF3Z9FC45MvuQSxOA=
+github.com/aws/aws-sdk-go-v2/config v1.26.3/go.mod h1:Bxgi+DeeswYofcYO0XyGClwlrq3DZEXli0kLf4hkGA0=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14 h1:mMDTwwYO9A0/JbOCOG7EOZHtYM+o7OfGWfu0toa23VE=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14/go.mod h1:cniAUh3ErQPHtCQGPT5ouvSAQ0od8caTO9OOuufZOAE=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 h1:c5I5iH+DZcH3xOIMlz3/tCKJDaHFwYEmxvlh2fAcFo8=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11/go.mod h1:cRrYDYAMUohBJUtUnOhydaMHtiK/1NZ0Otc9lIb6O0Y=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 h1:vF+Zgd9s+H4vOXd5BMaPWykta2a6Ih0AKLq/X6NYKn4=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10/go.mod h1:6BkRjejp/GR4411UGqkX8+wFMbFbqsUIimfK4XjOKR4=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 h1:nYPe006ktcqUji8S2mqXf9c/7NdiKriOwMvWQHgYztw=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10/go.mod h1:6UV4SZkVvmODfXKql4LCbaZUpF7HO2BX38FgBf9ZOLw=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY=
-github.com/aws/aws-sdk-go-v2/service/firehose v1.23.1 h1:FJO1MiM000n/3YUAWRW7jbpkQwUuy6+7Z7nMg09T/tw=
-github.com/aws/aws-sdk-go-v2/service/firehose v1.23.1/go.mod h1:fI1Diyj3ls4HjwKVx1zX9/qQIORnF9skk5bzRydNbjs=
+github.com/aws/aws-sdk-go-v2/service/firehose v1.23.2 h1:6qZsXAR0nIj+X8L0hVb8ENu9B00oZq19v9ZGYPUB3OE=
+github.com/aws/aws-sdk-go-v2/service/firehose v1.23.2/go.mod h1:vHumFD15AwENJSM3SsWzcPpMK24s/7vGN1Xp5rLguz0=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 h1:HJeiuZ2fldpd0WqngyMR6KW7ofkXNLyOaHwEIGm39Cs=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 h1:DBYTXwIGQSGs9w4jKm60F5dmCQ3EEruxdc0MFh+3EY4=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10/go.mod h1:wohMUQiFdzo0NtxbBg0mSRGZ4vL3n0dKjLTINdcIino=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 h1:dGrs+Q/WzhsiUKh82SfTVN66QzyulXuMDTV/G8ZxOac=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6/go.mod h1:+mJNDdF+qiUlNKNC3fxn74WWNN+sOiGOEImje+3ScPM=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 h1:Yf2MIo9x+0tyv76GljxzqA3WtC5mw7NmazD2chwjxE4=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6/go.mod h1:ykf3COxYI0UJmxcfcxcVuz7b6uADi1FkiUz6Eb7AgM8=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 h1:NzO4Vrau795RkUdSHKEwiR01FaGzGOH1EETJ+5QHnm0=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZAwdfkGMgDY+DVfa61uLe4U=
github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM=
github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -69,14 +69,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -185,10 +185,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/gcs/CHANGELOG.md b/plugins/destination/gcs/CHANGELOG.md
index 452b2eaa5c701e..efcd001bac02af 100644
--- a/plugins/destination/gcs/CHANGELOG.md
+++ b/plugins/destination/gcs/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## [3.4.16](https://github.com/cloudquery/cloudquery/compare/plugins-destination-gcs-v3.4.15...plugins-destination-gcs-v3.4.16) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.4 ([#15941](https://github.com/cloudquery/cloudquery/issues/15941)) ([557886c](https://github.com/cloudquery/cloudquery/commit/557886ca01b5561212cc1c44534b6afd61dac211))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.4.15](https://github.com/cloudquery/cloudquery/compare/plugins-destination-gcs-v3.4.14...plugins-destination-gcs-v3.4.15) (2024-01-02)
diff --git a/plugins/destination/gcs/go.mod b/plugins/destination/gcs/go.mod
index bc083fd6873131..693b3c6fd353b6 100644
--- a/plugins/destination/gcs/go.mod
+++ b/plugins/destination/gcs/go.mod
@@ -4,9 +4,9 @@ go 1.21.4
require (
cloud.google.com/go/storage v1.30.1
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/filetypes/v4 v4.2.3
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/filetypes/v4 v4.2.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
github.com/stretchr/testify v1.8.4
@@ -35,8 +35,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -78,8 +78,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/gcs/go.sum b/plugins/destination/gcs/go.sum
index 786b228c579555..4f23965d5e6946 100644
--- a/plugins/destination/gcs/go.sum
+++ b/plugins/destination/gcs/go.sum
@@ -33,8 +33,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -63,20 +63,20 @@ github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLI
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/filetypes/v4 v4.2.3 h1:ixbKrIenlEQplbpGKDcTShXHwxLH0MVZiUSWOwfKCTU=
-github.com/cloudquery/filetypes/v4 v4.2.3/go.mod h1:2VJ1cLxMfHxvC6Lu6PsruqtdF9PEDswFdANYkIhZ9Bg=
+github.com/cloudquery/filetypes/v4 v4.2.4 h1:LIdlop1Ao9wCggVH4c3vz7kD9kNkI1tolNdERYAd6U0=
+github.com/cloudquery/filetypes/v4 v4.2.4/go.mod h1:jM1V/g3nGaEe0rN0KQ10bBSwUqbYeUkFbB1hq1jbqmY=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -222,10 +222,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/gremlin/CHANGELOG.md b/plugins/destination/gremlin/CHANGELOG.md
index 633b50216577a4..3dc19dcae4e11f 100644
--- a/plugins/destination/gremlin/CHANGELOG.md
+++ b/plugins/destination/gremlin/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.19](https://github.com/cloudquery/cloudquery/compare/plugins-destination-gremlin-v2.2.18...plugins-destination-gremlin-v2.2.19) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.2.18](https://github.com/cloudquery/cloudquery/compare/plugins-destination-gremlin-v2.2.17...plugins-destination-gremlin-v2.2.18) (2024-01-02)
diff --git a/plugins/destination/gremlin/go.mod b/plugins/destination/gremlin/go.mod
index 445dda5cc368cc..19e714b71121de 100644
--- a/plugins/destination/gremlin/go.mod
+++ b/plugins/destination/gremlin/go.mod
@@ -3,12 +3,12 @@ module github.com/cloudquery/cloudquery/plugins/destination/gremlin
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/apache/tinkerpop/gremlin-go/v3 v3.6.3
- github.com/aws/aws-sdk-go-v2 v1.24.0
- github.com/aws/aws-sdk-go-v2/config v1.26.2
+ github.com/aws/aws-sdk-go-v2 v1.24.1
+ github.com/aws/aws-sdk-go-v2/config v1.26.3
github.com/cenkalti/backoff/v4 v4.2.1
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
github.com/stretchr/testify v1.8.4
)
@@ -23,23 +23,23 @@ require (
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
- github.com/aws/aws-sdk-go-v2/credentials v1.16.13 // indirect
- github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
+ github.com/aws/aws-sdk-go-v2/credentials v1.16.14 // indirect
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect
github.com/aws/smithy-go v1.19.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bytedance/sonic v1.10.2 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -77,8 +77,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/gremlin/go.sum b/plugins/destination/gremlin/go.sum
index 2ee6241c99be78..a4ff290aba1742 100644
--- a/plugins/destination/gremlin/go.sum
+++ b/plugins/destination/gremlin/go.sum
@@ -20,36 +20,36 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/tinkerpop/gremlin-go/v3 v3.6.3 h1:jXN0ZqT972CRu3VSwdj3rpqOA2A7u09ZRB7RvvWIR/w=
github.com/apache/tinkerpop/gremlin-go/v3 v3.6.3/go.mod h1:KZ4BFULeKTVqzgX41fiTj2XYTs9meWc/TWQHsICy69I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
-github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
-github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
-github.com/aws/aws-sdk-go-v2/config v1.26.2 h1:+RWLEIWQIGgrz2pBPAUoGgNGs1TOyF4Hml7hCnYj2jc=
-github.com/aws/aws-sdk-go-v2/config v1.26.2/go.mod h1:l6xqvUxt0Oj7PI/SUXYLNyZ9T/yBPn3YTQcJLLOdtR8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13 h1:WLABQ4Cp4vXtXfOWOS3MEZKr6AAYUpMczLhgKtAjQ/8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13/go.mod h1:Qg6x82FXwW0sJHzYruxGiuApNo31UEtJvXVSZAXeWiw=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1 h1:xAojnj+ktS95YZlDf0zxWBkbFtymPeDP+rvUQIH3uAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
+github.com/aws/aws-sdk-go-v2/config v1.26.3 h1:dKuc2jdp10y13dEEvPqWxqLoc0vF3Z9FC45MvuQSxOA=
+github.com/aws/aws-sdk-go-v2/config v1.26.3/go.mod h1:Bxgi+DeeswYofcYO0XyGClwlrq3DZEXli0kLf4hkGA0=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14 h1:mMDTwwYO9A0/JbOCOG7EOZHtYM+o7OfGWfu0toa23VE=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14/go.mod h1:cniAUh3ErQPHtCQGPT5ouvSAQ0od8caTO9OOuufZOAE=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 h1:c5I5iH+DZcH3xOIMlz3/tCKJDaHFwYEmxvlh2fAcFo8=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11/go.mod h1:cRrYDYAMUohBJUtUnOhydaMHtiK/1NZ0Otc9lIb6O0Y=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 h1:vF+Zgd9s+H4vOXd5BMaPWykta2a6Ih0AKLq/X6NYKn4=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10/go.mod h1:6BkRjejp/GR4411UGqkX8+wFMbFbqsUIimfK4XjOKR4=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 h1:nYPe006ktcqUji8S2mqXf9c/7NdiKriOwMvWQHgYztw=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10/go.mod h1:6UV4SZkVvmODfXKql4LCbaZUpF7HO2BX38FgBf9ZOLw=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 h1:HJeiuZ2fldpd0WqngyMR6KW7ofkXNLyOaHwEIGm39Cs=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 h1:DBYTXwIGQSGs9w4jKm60F5dmCQ3EEruxdc0MFh+3EY4=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10/go.mod h1:wohMUQiFdzo0NtxbBg0mSRGZ4vL3n0dKjLTINdcIino=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 h1:dGrs+Q/WzhsiUKh82SfTVN66QzyulXuMDTV/G8ZxOac=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6/go.mod h1:+mJNDdF+qiUlNKNC3fxn74WWNN+sOiGOEImje+3ScPM=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 h1:Yf2MIo9x+0tyv76GljxzqA3WtC5mw7NmazD2chwjxE4=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6/go.mod h1:ykf3COxYI0UJmxcfcxcVuz7b6uADi1FkiUz6Eb7AgM8=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 h1:NzO4Vrau795RkUdSHKEwiR01FaGzGOH1EETJ+5QHnm0=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZAwdfkGMgDY+DVfa61uLe4U=
github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM=
github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -70,14 +70,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -186,10 +186,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/kafka/CHANGELOG.md b/plugins/destination/kafka/CHANGELOG.md
index ca14ad4f41b130..153a7db8906ff6 100644
--- a/plugins/destination/kafka/CHANGELOG.md
+++ b/plugins/destination/kafka/CHANGELOG.md
@@ -1,5 +1,25 @@
# Changelog
+## [3.2.19](https://github.com/cloudquery/cloudquery/compare/plugins-destination-kafka-v3.2.18...plugins-destination-kafka-v3.2.19) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.4 ([#15941](https://github.com/cloudquery/cloudquery/issues/15941)) ([557886c](https://github.com/cloudquery/cloudquery/commit/557886ca01b5561212cc1c44534b6afd61dac211))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
+## [3.2.18](https://github.com/cloudquery/cloudquery/compare/plugins-destination-kafka-v3.2.17...plugins-destination-kafka-v3.2.18) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.3 ([#15900](https://github.com/cloudquery/cloudquery/issues/15900)) ([500197f](https://github.com/cloudquery/cloudquery/commit/500197f536944546560ee8643852efa6524729f2))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+
## [3.2.17](https://github.com/cloudquery/cloudquery/compare/plugins-destination-kafka-v3.2.16...plugins-destination-kafka-v3.2.17) (2023-12-28)
diff --git a/plugins/destination/kafka/go.mod b/plugins/destination/kafka/go.mod
index 3bd82551edc8b7..40b7eaa9a5b244 100644
--- a/plugins/destination/kafka/go.mod
+++ b/plugins/destination/kafka/go.mod
@@ -4,9 +4,9 @@ go 1.21.4
require (
github.com/Shopify/sarama v1.37.2
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/filetypes/v4 v4.2.3
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/filetypes/v4 v4.2.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
)
@@ -29,8 +29,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -80,8 +80,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/kafka/go.sum b/plugins/destination/kafka/go.sum
index 0b14318e1c98e6..bf7e9abb5cf645 100644
--- a/plugins/destination/kafka/go.sum
+++ b/plugins/destination/kafka/go.sum
@@ -25,8 +25,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -53,20 +53,20 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/filetypes/v4 v4.2.3 h1:ixbKrIenlEQplbpGKDcTShXHwxLH0MVZiUSWOwfKCTU=
-github.com/cloudquery/filetypes/v4 v4.2.3/go.mod h1:2VJ1cLxMfHxvC6Lu6PsruqtdF9PEDswFdANYkIhZ9Bg=
+github.com/cloudquery/filetypes/v4 v4.2.4 h1:LIdlop1Ao9wCggVH4c3vz7kD9kNkI1tolNdERYAd6U0=
+github.com/cloudquery/filetypes/v4 v4.2.4/go.mod h1:jM1V/g3nGaEe0rN0KQ10bBSwUqbYeUkFbB1hq1jbqmY=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -206,10 +206,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/meilisearch/CHANGELOG.md b/plugins/destination/meilisearch/CHANGELOG.md
index 6bdd8bd86ed7d4..c8c6ce864f6e12 100644
--- a/plugins/destination/meilisearch/CHANGELOG.md
+++ b/plugins/destination/meilisearch/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.19](https://github.com/cloudquery/cloudquery/compare/plugins-destination-meilisearch-v2.2.18...plugins-destination-meilisearch-v2.2.19) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.2.18](https://github.com/cloudquery/cloudquery/compare/plugins-destination-meilisearch-v2.2.17...plugins-destination-meilisearch-v2.2.18) (2024-01-02)
diff --git a/plugins/destination/meilisearch/go.mod b/plugins/destination/meilisearch/go.mod
index 7911d8c1e1ea6f..e4558d41db5e58 100644
--- a/plugins/destination/meilisearch/go.mod
+++ b/plugins/destination/meilisearch/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/meilisearch
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/google/uuid v1.5.0
github.com/meilisearch/meilisearch-go v0.24.0
@@ -29,8 +29,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -67,8 +67,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/meilisearch/go.sum b/plugins/destination/meilisearch/go.sum
index d0061c84bce9a6..4dbbba06710777 100644
--- a/plugins/destination/meilisearch/go.sum
+++ b/plugins/destination/meilisearch/go.sum
@@ -20,8 +20,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -46,14 +46,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -168,10 +168,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/mongodb/CHANGELOG.md b/plugins/destination/mongodb/CHANGELOG.md
index 1305ab69e5de24..ef1de13aa07c30 100644
--- a/plugins/destination/mongodb/CHANGELOG.md
+++ b/plugins/destination/mongodb/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.21](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mongodb-v2.2.20...plugins-destination-mongodb-v2.2.21) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.2.20](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mongodb-v2.2.19...plugins-destination-mongodb-v2.2.20) (2024-01-02)
diff --git a/plugins/destination/mongodb/go.mod b/plugins/destination/mongodb/go.mod
index 22076aec575fc8..d609418dd748b0 100644
--- a/plugins/destination/mongodb/go.mod
+++ b/plugins/destination/mongodb/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/mongodb
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/rs/zerolog v1.31.0
go.mongodb.org/mongo-driver v1.12.1
@@ -25,8 +25,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -62,8 +62,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/mongodb/go.sum b/plugins/destination/mongodb/go.sum
index 83bd86b7b5b834..e7373f3c62d99e 100644
--- a/plugins/destination/mongodb/go.sum
+++ b/plugins/destination/mongodb/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -160,10 +160,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/mssql/CHANGELOG.md b/plugins/destination/mssql/CHANGELOG.md
index d1e5685cf99310..f2878742e085ba 100644
--- a/plugins/destination/mssql/CHANGELOG.md
+++ b/plugins/destination/mssql/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [4.3.20](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mssql-v4.3.19...plugins-destination-mssql-v4.3.20) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.3.19](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mssql-v4.3.18...plugins-destination-mssql-v4.3.19) (2024-01-02)
diff --git a/plugins/destination/mssql/go.mod b/plugins/destination/mssql/go.mod
index 62e6f3a9d3ba9b..01a04bbc9a2364 100644
--- a/plugins/destination/mssql/go.mod
+++ b/plugins/destination/mssql/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/mssql
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/google/uuid v1.5.0
github.com/microsoft/go-mssqldb v1.5.0
@@ -33,8 +33,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -74,8 +74,8 @@ require (
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/mssql/go.sum b/plugins/destination/mssql/go.sum
index 755beb7f3d4d93..b0813b5986dad8 100644
--- a/plugins/destination/mssql/go.sum
+++ b/plugins/destination/mssql/go.sum
@@ -31,8 +31,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -57,14 +57,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -199,10 +199,10 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/mysql/CHANGELOG.md b/plugins/destination/mysql/CHANGELOG.md
index e7812659d6f897..0029c315ed689c 100644
--- a/plugins/destination/mysql/CHANGELOG.md
+++ b/plugins/destination/mysql/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [4.0.12](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mysql-v4.0.11...plugins-destination-mysql-v4.0.12) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.0.11](https://github.com/cloudquery/cloudquery/compare/plugins-destination-mysql-v4.0.10...plugins-destination-mysql-v4.0.11) (2024-01-02)
diff --git a/plugins/destination/mysql/go.mod b/plugins/destination/mysql/go.mod
index 5a1f5919ab033f..d9b923e115f184 100644
--- a/plugins/destination/mysql/go.mod
+++ b/plugins/destination/mysql/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/mysql
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/go-sql-driver/mysql v1.7.1
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
@@ -26,8 +26,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -63,8 +63,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/mysql/go.sum b/plugins/destination/mysql/go.sum
index deffce982126cc..1999246c2fc942 100644
--- a/plugins/destination/mysql/go.sum
+++ b/plugins/destination/mysql/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -158,10 +158,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/neo4j/CHANGELOG.md b/plugins/destination/neo4j/CHANGELOG.md
index a7ff8f811b4253..b03a89291f9e91 100644
--- a/plugins/destination/neo4j/CHANGELOG.md
+++ b/plugins/destination/neo4j/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [5.0.5](https://github.com/cloudquery/cloudquery/compare/plugins-destination-neo4j-v5.0.4...plugins-destination-neo4j-v5.0.5) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [5.0.4](https://github.com/cloudquery/cloudquery/compare/plugins-destination-neo4j-v5.0.3...plugins-destination-neo4j-v5.0.4) (2024-01-02)
diff --git a/plugins/destination/neo4j/go.mod b/plugins/destination/neo4j/go.mod
index 0a53f4b39a68b3..70765aafcfe880 100644
--- a/plugins/destination/neo4j/go.mod
+++ b/plugins/destination/neo4j/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/neo4j
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/neo4j/neo4j-go-driver/v5 v5.6.0
github.com/rs/zerolog v1.31.0
github.com/stretchr/testify v1.8.4
@@ -25,8 +25,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -63,8 +63,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/neo4j/go.sum b/plugins/destination/neo4j/go.sum
index 1438d7e61c7da6..64e08a445701ea 100644
--- a/plugins/destination/neo4j/go.sum
+++ b/plugins/destination/neo4j/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -157,10 +157,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/postgresql/CHANGELOG.md b/plugins/destination/postgresql/CHANGELOG.md
index 683a4366966a26..5bccce35ea145a 100644
--- a/plugins/destination/postgresql/CHANGELOG.md
+++ b/plugins/destination/postgresql/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [7.1.5](https://github.com/cloudquery/cloudquery/compare/plugins-destination-postgresql-v7.1.4...plugins-destination-postgresql-v7.1.5) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [7.1.4](https://github.com/cloudquery/cloudquery/compare/plugins-destination-postgresql-v7.1.3...plugins-destination-postgresql-v7.1.4) (2024-01-02)
diff --git a/plugins/destination/postgresql/go.mod b/plugins/destination/postgresql/go.mod
index 212e98d896e7d7..e47f2fc8f70ed2 100644
--- a/plugins/destination/postgresql/go.mod
+++ b/plugins/destination/postgresql/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/postgresql
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/go-cmp v0.6.0
github.com/jackc/pgx-zerolog v0.0.0-20230315001418-f978528409eb
github.com/jackc/pgx/v5 v5.3.1
@@ -29,8 +29,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -71,8 +71,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/postgresql/go.sum b/plugins/destination/postgresql/go.sum
index aefb32ed9c48e8..b4f33043d24909 100644
--- a/plugins/destination/postgresql/go.sum
+++ b/plugins/destination/postgresql/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -173,10 +173,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/s3/CHANGELOG.md b/plugins/destination/s3/CHANGELOG.md
index a979b9b0aaed3c..cb231d99d57297 100644
--- a/plugins/destination/s3/CHANGELOG.md
+++ b/plugins/destination/s3/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## [4.8.7](https://github.com/cloudquery/cloudquery/compare/plugins-destination-s3-v4.8.6...plugins-destination-s3-v4.8.7) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/filetypes/v4 to v4.2.4 ([#15941](https://github.com/cloudquery/cloudquery/issues/15941)) ([557886c](https://github.com/cloudquery/cloudquery/commit/557886ca01b5561212cc1c44534b6afd61dac211))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.8.6](https://github.com/cloudquery/cloudquery/compare/plugins-destination-s3-v4.8.5...plugins-destination-s3-v4.8.6) (2024-01-02)
diff --git a/plugins/destination/s3/go.mod b/plugins/destination/s3/go.mod
index 524b2610c3cb01..962d3ece016c5e 100644
--- a/plugins/destination/s3/go.mod
+++ b/plugins/destination/s3/go.mod
@@ -3,13 +3,13 @@ module github.com/cloudquery/cloudquery/plugins/destination/s3
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/aws/aws-sdk-go-v2 v1.24.0
- github.com/aws/aws-sdk-go-v2/config v1.26.2
- github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9
- github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7
- github.com/cloudquery/filetypes/v4 v4.2.3
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/aws/aws-sdk-go-v2 v1.24.1
+ github.com/aws/aws-sdk-go-v2/config v1.26.3
+ github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11
+ github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0
+ github.com/cloudquery/filetypes/v4 v4.2.4
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.5.0
github.com/rs/zerolog v1.31.0
@@ -29,19 +29,19 @@ require (
github.com/apache/thrift v0.19.0 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect
- github.com/aws/aws-sdk-go-v2/credentials v1.16.13 // indirect
- github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
+ github.com/aws/aws-sdk-go-v2/credentials v1.16.14 // indirect
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
- github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect
github.com/aws/smithy-go v1.19.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
@@ -50,8 +50,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -90,8 +90,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/s3/go.sum b/plugins/destination/s3/go.sum
index ac834ae2c2b0aa..496fcda2f30269 100644
--- a/plugins/destination/s3/go.sum
+++ b/plugins/destination/s3/go.sum
@@ -21,48 +21,48 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
-github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
-github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
+github.com/aws/aws-sdk-go-v2 v1.24.1 h1:xAojnj+ktS95YZlDf0zxWBkbFtymPeDP+rvUQIH3uAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 h1:OCs21ST2LrepDfD3lwlQiOqIGp6JiEUqG84GzTDoyJs=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4/go.mod h1:usURWEKSNNAcAZuzRn/9ZYPT8aZQkR7xcCtunK/LkJo=
-github.com/aws/aws-sdk-go-v2/config v1.26.2 h1:+RWLEIWQIGgrz2pBPAUoGgNGs1TOyF4Hml7hCnYj2jc=
-github.com/aws/aws-sdk-go-v2/config v1.26.2/go.mod h1:l6xqvUxt0Oj7PI/SUXYLNyZ9T/yBPn3YTQcJLLOdtR8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13 h1:WLABQ4Cp4vXtXfOWOS3MEZKr6AAYUpMczLhgKtAjQ/8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13/go.mod h1:Qg6x82FXwW0sJHzYruxGiuApNo31UEtJvXVSZAXeWiw=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw=
-github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9 h1:5zA8qVCXMPGt6YneFnll5B157SfdK2SewU85PH9/yM0=
-github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9/go.mod h1:t4gy210hPxkbtYM8xOzrWdxVq1PyekR76OOKXy3s0Vs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU=
+github.com/aws/aws-sdk-go-v2/config v1.26.3 h1:dKuc2jdp10y13dEEvPqWxqLoc0vF3Z9FC45MvuQSxOA=
+github.com/aws/aws-sdk-go-v2/config v1.26.3/go.mod h1:Bxgi+DeeswYofcYO0XyGClwlrq3DZEXli0kLf4hkGA0=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14 h1:mMDTwwYO9A0/JbOCOG7EOZHtYM+o7OfGWfu0toa23VE=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14/go.mod h1:cniAUh3ErQPHtCQGPT5ouvSAQ0od8caTO9OOuufZOAE=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 h1:c5I5iH+DZcH3xOIMlz3/tCKJDaHFwYEmxvlh2fAcFo8=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11/go.mod h1:cRrYDYAMUohBJUtUnOhydaMHtiK/1NZ0Otc9lIb6O0Y=
+github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11 h1:I6lAa3wBWfCz/cKkOpAcumsETRkFAl70sWi8ItcMEsM=
+github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11/go.mod h1:be1NIO30kJA23ORBLqPo1LttEM6tPNSEcjkd1eKzNW0=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 h1:vF+Zgd9s+H4vOXd5BMaPWykta2a6Ih0AKLq/X6NYKn4=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10/go.mod h1:6BkRjejp/GR4411UGqkX8+wFMbFbqsUIimfK4XjOKR4=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 h1:nYPe006ktcqUji8S2mqXf9c/7NdiKriOwMvWQHgYztw=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10/go.mod h1:6UV4SZkVvmODfXKql4LCbaZUpF7HO2BX38FgBf9ZOLw=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 h1:ugD6qzjYtB7zM5PN/ZIeaAIyefPaD82G8+SJopgvUpw=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9/go.mod h1:YD0aYBWCrPENpHolhKw2XDlTIWae2GKXT1T4o6N6hiM=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 h1:5oE2WzJE56/mVveuDZPJESKlg/00AaS2pY2QZcnxg4M=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10/go.mod h1:FHbKWQtRBYUz4vO5WBWjzMD2by126ny5y/1EoaWoLfI=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 h1:/90OR2XbSYfXucBMJ4U14wrjlfleq/0SB6dZDPncgmo=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9/go.mod h1:dN/Of9/fNZet7UrQQ6kTDo/VSwKPIq94vjlU16bRARc=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 h1:iEAeF6YC3l4FzlJPP9H3Ko1TXpdjdqWffxXjp8SY6uk=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9/go.mod h1:kjsXoK23q9Z/tLBrckZLLyvjhZoS+AGrzqzUfEClvMM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7 h1:o0ASbVwUAIrfp/WcCac+6jioZt4Hd8k/1X8u7GJ/QeM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7/go.mod h1:vADO6Jn+Rq4nDtfwNjhgR84qkZwiC6FqCaXdw/kYwjA=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 h1:HJeiuZ2fldpd0WqngyMR6KW7ofkXNLyOaHwEIGm39Cs=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 h1:L0ai8WICYHozIKK+OtPzVJBugL7culcuM4E4JOpIEm8=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10/go.mod h1:byqfyxJBshFk0fF9YmK0M0ugIO8OWjzH2T3bPG4eGuA=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 h1:DBYTXwIGQSGs9w4jKm60F5dmCQ3EEruxdc0MFh+3EY4=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10/go.mod h1:wohMUQiFdzo0NtxbBg0mSRGZ4vL3n0dKjLTINdcIino=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 h1:KOxnQeWy5sXyS37fdKEvAsGHOr9fa/qvwxfJurR/BzE=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10/go.mod h1:jMx5INQFYFYB3lQD9W0D8Ohgq6Wnl7NYOJ2TQndbulI=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0 h1:PJTdBMsyvra6FtED7JZtDpQrIAflYDHFoZAu/sKYkwU=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0/go.mod h1:4qXHrG1Ne3VGIMZPCB8OjH/pLFO94sKABIusjh0KWPU=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 h1:dGrs+Q/WzhsiUKh82SfTVN66QzyulXuMDTV/G8ZxOac=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6/go.mod h1:+mJNDdF+qiUlNKNC3fxn74WWNN+sOiGOEImje+3ScPM=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 h1:Yf2MIo9x+0tyv76GljxzqA3WtC5mw7NmazD2chwjxE4=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6/go.mod h1:ykf3COxYI0UJmxcfcxcVuz7b6uADi1FkiUz6Eb7AgM8=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 h1:NzO4Vrau795RkUdSHKEwiR01FaGzGOH1EETJ+5QHnm0=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZAwdfkGMgDY+DVfa61uLe4U=
github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM=
github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -87,20 +87,20 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/filetypes/v4 v4.2.3 h1:ixbKrIenlEQplbpGKDcTShXHwxLH0MVZiUSWOwfKCTU=
-github.com/cloudquery/filetypes/v4 v4.2.3/go.mod h1:2VJ1cLxMfHxvC6Lu6PsruqtdF9PEDswFdANYkIhZ9Bg=
+github.com/cloudquery/filetypes/v4 v4.2.4 h1:LIdlop1Ao9wCggVH4c3vz7kD9kNkI1tolNdERYAd6U0=
+github.com/cloudquery/filetypes/v4 v4.2.4/go.mod h1:jM1V/g3nGaEe0rN0KQ10bBSwUqbYeUkFbB1hq1jbqmY=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -215,10 +215,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/snowflake/CHANGELOG.md b/plugins/destination/snowflake/CHANGELOG.md
index 60bad1487cce00..0e380d1ffd55f9 100644
--- a/plugins/destination/snowflake/CHANGELOG.md
+++ b/plugins/destination/snowflake/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.3.8](https://github.com/cloudquery/cloudquery/compare/plugins-destination-snowflake-v3.3.7...plugins-destination-snowflake-v3.3.8) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.3.7](https://github.com/cloudquery/cloudquery/compare/plugins-destination-snowflake-v3.3.6...plugins-destination-snowflake-v3.3.7) (2024-01-02)
diff --git a/plugins/destination/snowflake/go.mod b/plugins/destination/snowflake/go.mod
index f96b4bfb50ead5..db5c56bb5b2234 100644
--- a/plugins/destination/snowflake/go.mod
+++ b/plugins/destination/snowflake/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/snowflake
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/goccy/go-json v0.10.2
github.com/rs/zerolog v1.31.0
github.com/snowflakedb/gosnowflake v1.7.1
@@ -31,31 +31,31 @@ require (
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
github.com/apache/thrift v0.19.0 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
- github.com/aws/aws-sdk-go-v2 v1.24.0 // indirect
+ github.com/aws/aws-sdk-go-v2 v1.24.1 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect
- github.com/aws/aws-sdk-go-v2/credentials v1.16.13 // indirect
- github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 // indirect
+ github.com/aws/aws-sdk-go-v2/credentials v1.16.14 // indirect
+ github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0 // indirect
github.com/aws/smithy-go v1.19.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bytedance/sonic v1.10.2 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
- github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
+ github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/fatih/structs v1.1.0 // indirect
github.com/flosch/pongo2/v4 v4.0.2 // indirect
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
@@ -93,8 +93,8 @@ require (
github.com/klauspost/asmfmt v1.3.2 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/snowflake/go.sum b/plugins/destination/snowflake/go.sum
index 3b89ca80cdab1b..50095129680470 100644
--- a/plugins/destination/snowflake/go.sum
+++ b/plugins/destination/snowflake/go.sum
@@ -39,48 +39,48 @@ github.com/apache/arrow/go/v12 v12.0.1 h1:JsR2+hzYYjgSUkBSaahpqCetqZMr76djX80fF/
github.com/apache/arrow/go/v12 v12.0.1/go.mod h1:weuTY7JvTG/HDPtMQxEUp7pU73vkLWMLpY67QwZ/WWw=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
github.com/apache/thrift v0.19.0/go.mod h1:SUALL216IiaOw2Oy+5Vs9lboJ/t9g40C+G07Dc0QC1I=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
-github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
-github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
+github.com/aws/aws-sdk-go-v2 v1.24.1 h1:xAojnj+ktS95YZlDf0zxWBkbFtymPeDP+rvUQIH3uAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 h1:OCs21ST2LrepDfD3lwlQiOqIGp6JiEUqG84GzTDoyJs=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4/go.mod h1:usURWEKSNNAcAZuzRn/9ZYPT8aZQkR7xcCtunK/LkJo=
-github.com/aws/aws-sdk-go-v2/config v1.26.2 h1:+RWLEIWQIGgrz2pBPAUoGgNGs1TOyF4Hml7hCnYj2jc=
-github.com/aws/aws-sdk-go-v2/config v1.26.2/go.mod h1:l6xqvUxt0Oj7PI/SUXYLNyZ9T/yBPn3YTQcJLLOdtR8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13 h1:WLABQ4Cp4vXtXfOWOS3MEZKr6AAYUpMczLhgKtAjQ/8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13/go.mod h1:Qg6x82FXwW0sJHzYruxGiuApNo31UEtJvXVSZAXeWiw=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw=
-github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9 h1:5zA8qVCXMPGt6YneFnll5B157SfdK2SewU85PH9/yM0=
-github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.9/go.mod h1:t4gy210hPxkbtYM8xOzrWdxVq1PyekR76OOKXy3s0Vs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU=
+github.com/aws/aws-sdk-go-v2/config v1.26.3 h1:dKuc2jdp10y13dEEvPqWxqLoc0vF3Z9FC45MvuQSxOA=
+github.com/aws/aws-sdk-go-v2/config v1.26.3/go.mod h1:Bxgi+DeeswYofcYO0XyGClwlrq3DZEXli0kLf4hkGA0=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14 h1:mMDTwwYO9A0/JbOCOG7EOZHtYM+o7OfGWfu0toa23VE=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14/go.mod h1:cniAUh3ErQPHtCQGPT5ouvSAQ0od8caTO9OOuufZOAE=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 h1:c5I5iH+DZcH3xOIMlz3/tCKJDaHFwYEmxvlh2fAcFo8=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11/go.mod h1:cRrYDYAMUohBJUtUnOhydaMHtiK/1NZ0Otc9lIb6O0Y=
+github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11 h1:I6lAa3wBWfCz/cKkOpAcumsETRkFAl70sWi8ItcMEsM=
+github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.11/go.mod h1:be1NIO30kJA23ORBLqPo1LttEM6tPNSEcjkd1eKzNW0=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 h1:vF+Zgd9s+H4vOXd5BMaPWykta2a6Ih0AKLq/X6NYKn4=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10/go.mod h1:6BkRjejp/GR4411UGqkX8+wFMbFbqsUIimfK4XjOKR4=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 h1:nYPe006ktcqUji8S2mqXf9c/7NdiKriOwMvWQHgYztw=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10/go.mod h1:6UV4SZkVvmODfXKql4LCbaZUpF7HO2BX38FgBf9ZOLw=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 h1:ugD6qzjYtB7zM5PN/ZIeaAIyefPaD82G8+SJopgvUpw=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9/go.mod h1:YD0aYBWCrPENpHolhKw2XDlTIWae2GKXT1T4o6N6hiM=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 h1:5oE2WzJE56/mVveuDZPJESKlg/00AaS2pY2QZcnxg4M=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10/go.mod h1:FHbKWQtRBYUz4vO5WBWjzMD2by126ny5y/1EoaWoLfI=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 h1:/90OR2XbSYfXucBMJ4U14wrjlfleq/0SB6dZDPncgmo=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9/go.mod h1:dN/Of9/fNZet7UrQQ6kTDo/VSwKPIq94vjlU16bRARc=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 h1:iEAeF6YC3l4FzlJPP9H3Ko1TXpdjdqWffxXjp8SY6uk=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9/go.mod h1:kjsXoK23q9Z/tLBrckZLLyvjhZoS+AGrzqzUfEClvMM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7 h1:o0ASbVwUAIrfp/WcCac+6jioZt4Hd8k/1X8u7GJ/QeM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7/go.mod h1:vADO6Jn+Rq4nDtfwNjhgR84qkZwiC6FqCaXdw/kYwjA=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 h1:HJeiuZ2fldpd0WqngyMR6KW7ofkXNLyOaHwEIGm39Cs=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 h1:L0ai8WICYHozIKK+OtPzVJBugL7culcuM4E4JOpIEm8=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10/go.mod h1:byqfyxJBshFk0fF9YmK0M0ugIO8OWjzH2T3bPG4eGuA=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 h1:DBYTXwIGQSGs9w4jKm60F5dmCQ3EEruxdc0MFh+3EY4=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10/go.mod h1:wohMUQiFdzo0NtxbBg0mSRGZ4vL3n0dKjLTINdcIino=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 h1:KOxnQeWy5sXyS37fdKEvAsGHOr9fa/qvwxfJurR/BzE=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10/go.mod h1:jMx5INQFYFYB3lQD9W0D8Ohgq6Wnl7NYOJ2TQndbulI=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0 h1:PJTdBMsyvra6FtED7JZtDpQrIAflYDHFoZAu/sKYkwU=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0/go.mod h1:4qXHrG1Ne3VGIMZPCB8OjH/pLFO94sKABIusjh0KWPU=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 h1:dGrs+Q/WzhsiUKh82SfTVN66QzyulXuMDTV/G8ZxOac=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6/go.mod h1:+mJNDdF+qiUlNKNC3fxn74WWNN+sOiGOEImje+3ScPM=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 h1:Yf2MIo9x+0tyv76GljxzqA3WtC5mw7NmazD2chwjxE4=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6/go.mod h1:ykf3COxYI0UJmxcfcxcVuz7b6uADi1FkiUz6Eb7AgM8=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 h1:NzO4Vrau795RkUdSHKEwiR01FaGzGOH1EETJ+5QHnm0=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZAwdfkGMgDY+DVfa61uLe4U=
github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM=
github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -101,14 +101,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0=
@@ -120,8 +120,8 @@ github.com/deepmap/oapi-codegen v1.16.2 h1:xGHx0dNqYfy9gE8a7AVgVM8Sd5oF9SEgePzP+
github.com/deepmap/oapi-codegen v1.16.2/go.mod h1:rdYoEA2GE+riuZ91DvpmBX9hJbQpuY9wchXpfQ3n+ho=
github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
-github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM=
-github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
+github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY=
+github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo=
@@ -240,10 +240,10 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/sqlite/CHANGELOG.md b/plugins/destination/sqlite/CHANGELOG.md
index 0d678cd24cbc88..4a79edc578b78b 100644
--- a/plugins/destination/sqlite/CHANGELOG.md
+++ b/plugins/destination/sqlite/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.4.20](https://github.com/cloudquery/cloudquery/compare/plugins-destination-sqlite-v2.4.19...plugins-destination-sqlite-v2.4.20) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.4.19](https://github.com/cloudquery/cloudquery/compare/plugins-destination-sqlite-v2.4.18...plugins-destination-sqlite-v2.4.19) (2024-01-02)
diff --git a/plugins/destination/sqlite/go.mod b/plugins/destination/sqlite/go.mod
index 44b4b31d611b7a..2d94a7aacaabf5 100644
--- a/plugins/destination/sqlite/go.mod
+++ b/plugins/destination/sqlite/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/sqlite
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/mattn/go-sqlite3 v1.14.16
github.com/rs/zerolog v1.31.0
)
@@ -24,8 +24,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -62,8 +62,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/sqlite/go.sum b/plugins/destination/sqlite/go.sum
index 976df8087903f2..6c0b79ef73b4e6 100644
--- a/plugins/destination/sqlite/go.sum
+++ b/plugins/destination/sqlite/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -157,10 +157,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/destination/test/CHANGELOG.md b/plugins/destination/test/CHANGELOG.md
index abe71c0993fe4e..e82594f2f2d371 100644
--- a/plugins/destination/test/CHANGELOG.md
+++ b/plugins/destination/test/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.18](https://github.com/cloudquery/cloudquery/compare/plugins-destination-test-v2.2.17...plugins-destination-test-v2.2.18) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [2.2.17](https://github.com/cloudquery/cloudquery/compare/plugins-destination-test-v2.2.16...plugins-destination-test-v2.2.17) (2024-01-02)
diff --git a/plugins/destination/test/go.mod b/plugins/destination/test/go.mod
index 5928967b1ddd3e..9ad714c4798ed0 100644
--- a/plugins/destination/test/go.mod
+++ b/plugins/destination/test/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/destination/test
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
)
@@ -23,8 +23,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -61,8 +61,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/destination/test/go.sum b/plugins/destination/test/go.sum
index aad51f052a652f..6011eca88248fc 100644
--- a/plugins/destination/test/go.sum
+++ b/plugins/destination/test/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -41,14 +41,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -157,10 +157,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/airtable/package-lock.json b/plugins/source/airtable/package-lock.json
index 48f94fe1ada811..abbff14c378eab 100644
--- a/plugins/source/airtable/package-lock.json
+++ b/plugins/source/airtable/package-lock.json
@@ -199,9 +199,9 @@
}
},
"node_modules/@cloudquery/plugin-pb-javascript": {
- "version": "0.0.11",
- "resolved": "https://registry.npmjs.org/@cloudquery/plugin-pb-javascript/-/plugin-pb-javascript-0.0.11.tgz",
- "integrity": "sha512-gJva5mw/QtSWEp4Q4YokONouE/KfPGdF2/TOruw8IwNxSf1bZRgUv3mCLvAbESSC9AeobhJ0UAiUDSUwt+Q1uQ==",
+ "version": "0.0.13",
+ "resolved": "https://registry.npmjs.org/@cloudquery/plugin-pb-javascript/-/plugin-pb-javascript-0.0.13.tgz",
+ "integrity": "sha512-H/bJ/xZ47xjTZBAL/RUU/etO4/bd4PN/6oziT51myms40ncMZw4wJtQ6LQDFznV+BqQbbDvPsBmyAlkhH+vN8g==",
"dependencies": {
"google-protobuf": "^3.21.2"
},
@@ -210,12 +210,12 @@
}
},
"node_modules/@cloudquery/plugin-sdk-javascript": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@cloudquery/plugin-sdk-javascript/-/plugin-sdk-javascript-0.1.0.tgz",
- "integrity": "sha512-PUpSeBOLx3S2wMwr/vN7p6NLrVYDWXzEzMRuVtQFFaPZ2YpLHWDwkj3Okdj7l5vvey0O9GQYHRpFVNWh+gpkoQ==",
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@cloudquery/plugin-sdk-javascript/-/plugin-sdk-javascript-0.1.4.tgz",
+ "integrity": "sha512-aHxowNwaJwfV/HDfh4nKB9/UuhT3EKyhTlabQ0s5ssZllfNgIk3eXbufhbxMe1Y6wSZwaTDaAKURQJdsGSJ/Ww==",
"dependencies": {
"@apache-arrow/esnext-esm": "^12.0.1",
- "@cloudquery/plugin-pb-javascript": "^0.0.11",
+ "@cloudquery/plugin-pb-javascript": "^0.0.13",
"@grpc/grpc-js": "^1.9.0",
"@types/luxon": "^3.3.1",
"ajv": "^8.12.0",
diff --git a/plugins/source/alicloud/CHANGELOG.md b/plugins/source/alicloud/CHANGELOG.md
index e6260e1eab5184..f7034b8d5d80d8 100644
--- a/plugins/source/alicloud/CHANGELOG.md
+++ b/plugins/source/alicloud/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [4.0.19](https://github.com/cloudquery/cloudquery/compare/plugins-source-alicloud-v4.0.18...plugins-source-alicloud-v4.0.19) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.0.18](https://github.com/cloudquery/cloudquery/compare/plugins-source-alicloud-v4.0.17...plugins-source-alicloud-v4.0.18) (2024-01-02)
diff --git a/plugins/source/alicloud/go.mod b/plugins/source/alicloud/go.mod
index 5e68d108e7a264..d0c5c615928267 100644
--- a/plugins/source/alicloud/go.mod
+++ b/plugins/source/alicloud/go.mod
@@ -5,9 +5,9 @@ go 1.21.4
require (
github.com/aliyun/alibaba-cloud-sdk-go v1.62.266
github.com/aliyun/aliyun-oss-go-sdk v2.2.7+incompatible
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cloudquery/codegen v0.3.12
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/golang/mock v1.5.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.31.0
@@ -31,8 +31,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -72,8 +72,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/alicloud/go.sum b/plugins/source/alicloud/go.sum
index cdb06038780856..80caf2f829ec3d 100644
--- a/plugins/source/alicloud/go.sum
+++ b/plugins/source/alicloud/go.sum
@@ -33,8 +33,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -59,16 +59,16 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -191,10 +191,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/aws/client/data/partition_service_region.json b/plugins/source/aws/client/data/partition_service_region.json
index 728530681e8460..69a05ed244a6a1 100644
--- a/plugins/source/aws/client/data/partition_service_region.json
+++ b/plugins/source/aws/client/data/partition_service_region.json
@@ -3872,13 +3872,17 @@
},
"m2": {
"regions": {
+ "af-south-1": {},
"ap-northeast-1": {},
"ap-northeast-2": {},
+ "ap-northeast-3": {},
"ap-south-1": {},
"ap-southeast-1": {},
"ap-southeast-2": {},
"ca-central-1": {},
"eu-central-1": {},
+ "eu-north-1": {},
+ "eu-south-1": {},
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
diff --git a/plugins/source/awspricing/CHANGELOG.md b/plugins/source/awspricing/CHANGELOG.md
index 0f5f0631b7730a..7ddaae0bf15671 100644
--- a/plugins/source/awspricing/CHANGELOG.md
+++ b/plugins/source/awspricing/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.0.17](https://github.com/cloudquery/cloudquery/compare/plugins-source-awspricing-v3.0.16...plugins-source-awspricing-v3.0.17) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.0.16](https://github.com/cloudquery/cloudquery/compare/plugins-source-awspricing-v3.0.15...plugins-source-awspricing-v3.0.16) (2024-01-02)
diff --git a/plugins/source/awspricing/go.mod b/plugins/source/awspricing/go.mod
index 0a30a95341f7b4..e678284d5c9a36 100644
--- a/plugins/source/awspricing/go.mod
+++ b/plugins/source/awspricing/go.mod
@@ -3,7 +3,7 @@ module github.com/cloudquery/cloudquery/plugins/source/awspricing
go 1.21.4
require (
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
)
@@ -16,7 +16,7 @@ require (
github.com/adrg/xdg v0.4.0 // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 // indirect
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
@@ -25,8 +25,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -64,8 +64,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/awspricing/go.sum b/plugins/source/awspricing/go.sum
index d3fbc011a7626a..129c5021c61ec8 100644
--- a/plugins/source/awspricing/go.sum
+++ b/plugins/source/awspricing/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -163,10 +163,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/cloudflare/CHANGELOG.md b/plugins/source/cloudflare/CHANGELOG.md
index d9924641169c20..2aaded1890eff5 100644
--- a/plugins/source/cloudflare/CHANGELOG.md
+++ b/plugins/source/cloudflare/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this provider will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [6.0.2](https://github.com/cloudquery/cloudquery/compare/plugins-source-cloudflare-v6.0.1...plugins-source-cloudflare-v6.0.2) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [6.0.1](https://github.com/cloudquery/cloudquery/compare/plugins-source-cloudflare-v6.0.0...plugins-source-cloudflare-v6.0.1) (2024-01-02)
diff --git a/plugins/source/cloudflare/go.mod b/plugins/source/cloudflare/go.mod
index a27fe90f0664d2..0a402ad88d0245 100644
--- a/plugins/source/cloudflare/go.mod
+++ b/plugins/source/cloudflare/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/source/cloudflare
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cloudflare/cloudflare-go v0.84.0
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/golang/mock v1.6.0
github.com/rs/zerolog v1.31.0
github.com/thoas/go-funk v0.9.3
@@ -28,8 +28,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -70,8 +70,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/cloudflare/go.sum b/plugins/source/cloudflare/go.sum
index 51eeb304ece543..4f4dbb45fe7a93 100644
--- a/plugins/source/cloudflare/go.sum
+++ b/plugins/source/cloudflare/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -47,14 +47,14 @@ github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/cloudflare/cloudflare-go v0.84.0 h1:1jQPJfq3nPdjKF+oqjTOSRAWcTCA6u5fcCVx7xGhLpg=
github.com/cloudflare/cloudflare-go v0.84.0/go.mod h1:5pkAzpoWJYI5NekLZoRryQAcghYDhdbUxdcal1f7lu4=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -175,10 +175,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/datadog/CHANGELOG.md b/plugins/source/datadog/CHANGELOG.md
index 31368020321449..11db72db16eec0 100644
--- a/plugins/source/datadog/CHANGELOG.md
+++ b/plugins/source/datadog/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [4.2.7](https://github.com/cloudquery/cloudquery/compare/plugins-source-datadog-v4.2.6...plugins-source-datadog-v4.2.7) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.2.6](https://github.com/cloudquery/cloudquery/compare/plugins-source-datadog-v4.2.5...plugins-source-datadog-v4.2.6) (2024-01-02)
diff --git a/plugins/source/datadog/go.mod b/plugins/source/datadog/go.mod
index f980922d90c4d2..68a15c79653463 100644
--- a/plugins/source/datadog/go.mod
+++ b/plugins/source/datadog/go.mod
@@ -4,8 +4,8 @@ go 1.21.4
require (
github.com/DataDog/datadog-api-client-go/v2 v2.17.0
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/golang/mock v1.6.0
github.com/pkg/errors v0.9.1
github.com/rs/zerolog v1.31.0
@@ -32,8 +32,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -71,8 +71,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/datadog/go.sum b/plugins/source/datadog/go.sum
index 04c8c6e8fb984a..8d439e52f562d2 100644
--- a/plugins/source/datadog/go.sum
+++ b/plugins/source/datadog/go.sum
@@ -23,8 +23,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -49,14 +49,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -170,10 +170,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/digitalocean/CHANGELOG.md b/plugins/source/digitalocean/CHANGELOG.md
index 91699d88fdd362..b88b9968fe248f 100644
--- a/plugins/source/digitalocean/CHANGELOG.md
+++ b/plugins/source/digitalocean/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this provider will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [5.3.13](https://github.com/cloudquery/cloudquery/compare/plugins-source-digitalocean-v5.3.12...plugins-source-digitalocean-v5.3.13) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [5.3.12](https://github.com/cloudquery/cloudquery/compare/plugins-source-digitalocean-v5.3.11...plugins-source-digitalocean-v5.3.12) (2024-01-02)
diff --git a/plugins/source/digitalocean/go.mod b/plugins/source/digitalocean/go.mod
index ad05cd2281d24c..1b797b694c5ddb 100644
--- a/plugins/source/digitalocean/go.mod
+++ b/plugins/source/digitalocean/go.mod
@@ -3,13 +3,13 @@ module github.com/cloudquery/cloudquery/plugins/source/digitalocean
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/avast/retry-go/v4 v4.5.1
- github.com/aws/aws-sdk-go-v2 v1.24.0
- github.com/aws/aws-sdk-go-v2/config v1.26.2
- github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7
+ github.com/aws/aws-sdk-go-v2 v1.24.1
+ github.com/aws/aws-sdk-go-v2/config v1.26.3
+ github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0
github.com/aws/smithy-go v1.19.0
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/digitalocean/godo v1.99.0
github.com/golang/mock v1.6.0
github.com/pkg/errors v0.9.1
@@ -28,19 +28,19 @@ require (
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect
- github.com/aws/aws-sdk-go-v2/credentials v1.16.13 // indirect
- github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
- github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
+ github.com/aws/aws-sdk-go-v2/credentials v1.16.14 // indirect
+ github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
- github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 // indirect
+ github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 // indirect
- github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
- github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 // indirect
+ github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/buger/jsonparser v1.1.1 // indirect
@@ -48,8 +48,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -88,8 +88,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/digitalocean/go.sum b/plugins/source/digitalocean/go.sum
index 6a88e688051b1e..63ddabc608cc3e 100644
--- a/plugins/source/digitalocean/go.sum
+++ b/plugins/source/digitalocean/go.sum
@@ -19,46 +19,46 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/avast/retry-go/v4 v4.5.1 h1:AxIx0HGi4VZ3I02jr78j5lZ3M6x1E0Ivxa6b0pUUh7o=
github.com/avast/retry-go/v4 v4.5.1/go.mod h1:/sipNsvNB3RRuT5iNcb6h73nw3IBmXJ/H3XrCQYSOpc=
-github.com/aws/aws-sdk-go-v2 v1.24.0 h1:890+mqQ+hTpNuw0gGP6/4akolQkSToDJgHfQE7AwGuk=
-github.com/aws/aws-sdk-go-v2 v1.24.0/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
+github.com/aws/aws-sdk-go-v2 v1.24.1 h1:xAojnj+ktS95YZlDf0zxWBkbFtymPeDP+rvUQIH3uAU=
+github.com/aws/aws-sdk-go-v2 v1.24.1/go.mod h1:LNh45Br1YAkEKaAqvmE1m8FUx6a5b/V0oAKV7of29b4=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 h1:OCs21ST2LrepDfD3lwlQiOqIGp6JiEUqG84GzTDoyJs=
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4/go.mod h1:usURWEKSNNAcAZuzRn/9ZYPT8aZQkR7xcCtunK/LkJo=
-github.com/aws/aws-sdk-go-v2/config v1.26.2 h1:+RWLEIWQIGgrz2pBPAUoGgNGs1TOyF4Hml7hCnYj2jc=
-github.com/aws/aws-sdk-go-v2/config v1.26.2/go.mod h1:l6xqvUxt0Oj7PI/SUXYLNyZ9T/yBPn3YTQcJLLOdtR8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13 h1:WLABQ4Cp4vXtXfOWOS3MEZKr6AAYUpMczLhgKtAjQ/8=
-github.com/aws/aws-sdk-go-v2/credentials v1.16.13/go.mod h1:Qg6x82FXwW0sJHzYruxGiuApNo31UEtJvXVSZAXeWiw=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 h1:w98BT5w+ao1/r5sUuiH6JkVzjowOKeOJRHERyy1vh58=
-github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10/go.mod h1:K2WGI7vUvkIv1HoNbfBA1bvIZ+9kL3YVmWxeKuLQsiw=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 h1:v+HbZaCGmOwnTTVS86Fleq0vPzOd7tnJGbFhP0stNLs=
-github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9/go.mod h1:Xjqy+Nyj7VDLBtCMkQYOw1QYfAEZCVLrfI0ezve8wd4=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 h1:N94sVhRACtXyVcjXxrwK1SKFIJrA9pOJ5yu2eSHnmls=
-github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9/go.mod h1:hqamLz7g1/4EJP+GH5NBhcUMLjW+gKLQabgyz6/7WAU=
+github.com/aws/aws-sdk-go-v2/config v1.26.3 h1:dKuc2jdp10y13dEEvPqWxqLoc0vF3Z9FC45MvuQSxOA=
+github.com/aws/aws-sdk-go-v2/config v1.26.3/go.mod h1:Bxgi+DeeswYofcYO0XyGClwlrq3DZEXli0kLf4hkGA0=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14 h1:mMDTwwYO9A0/JbOCOG7EOZHtYM+o7OfGWfu0toa23VE=
+github.com/aws/aws-sdk-go-v2/credentials v1.16.14/go.mod h1:cniAUh3ErQPHtCQGPT5ouvSAQ0od8caTO9OOuufZOAE=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 h1:c5I5iH+DZcH3xOIMlz3/tCKJDaHFwYEmxvlh2fAcFo8=
+github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11/go.mod h1:cRrYDYAMUohBJUtUnOhydaMHtiK/1NZ0Otc9lIb6O0Y=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 h1:vF+Zgd9s+H4vOXd5BMaPWykta2a6Ih0AKLq/X6NYKn4=
+github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10/go.mod h1:6BkRjejp/GR4411UGqkX8+wFMbFbqsUIimfK4XjOKR4=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 h1:nYPe006ktcqUji8S2mqXf9c/7NdiKriOwMvWQHgYztw=
+github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10/go.mod h1:6UV4SZkVvmODfXKql4LCbaZUpF7HO2BX38FgBf9ZOLw=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 h1:GrSw8s0Gs/5zZ0SX+gX4zQjRnRsMJDJ2sLur1gRBhEM=
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2/go.mod h1:6fQQgfuGmw8Al/3M2IgIllycxV7ZW7WCdVSqfBeUiCY=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 h1:ugD6qzjYtB7zM5PN/ZIeaAIyefPaD82G8+SJopgvUpw=
-github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9/go.mod h1:YD0aYBWCrPENpHolhKw2XDlTIWae2GKXT1T4o6N6hiM=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10 h1:5oE2WzJE56/mVveuDZPJESKlg/00AaS2pY2QZcnxg4M=
+github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.10/go.mod h1:FHbKWQtRBYUz4vO5WBWjzMD2by126ny5y/1EoaWoLfI=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 h1:/b31bi3YVNlkzkBrm9LfpaKoaYZUxIAj4sHfOTmLfqw=
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4/go.mod h1:2aGXHFmbInwgP9ZfpmdIfOELL79zhdNYNmReK8qDfdQ=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 h1:/90OR2XbSYfXucBMJ4U14wrjlfleq/0SB6dZDPncgmo=
-github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9/go.mod h1:dN/Of9/fNZet7UrQQ6kTDo/VSwKPIq94vjlU16bRARc=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 h1:Nf2sHxjMJR8CSImIVCONRi4g0Su3J+TSTbS7G0pUeMU=
-github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9/go.mod h1:idky4TER38YIjr2cADF1/ugFMKvZV7p//pVeV5LZbF0=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 h1:iEAeF6YC3l4FzlJPP9H3Ko1TXpdjdqWffxXjp8SY6uk=
-github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9/go.mod h1:kjsXoK23q9Z/tLBrckZLLyvjhZoS+AGrzqzUfEClvMM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7 h1:o0ASbVwUAIrfp/WcCac+6jioZt4Hd8k/1X8u7GJ/QeM=
-github.com/aws/aws-sdk-go-v2/service/s3 v1.47.7/go.mod h1:vADO6Jn+Rq4nDtfwNjhgR84qkZwiC6FqCaXdw/kYwjA=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 h1:ldSFWz9tEHAwHNmjx2Cvy1MjP5/L9kNoR0skc6wyOOM=
-github.com/aws/aws-sdk-go-v2/service/sso v1.18.5/go.mod h1:CaFfXLYL376jgbP7VKC96uFcU8Rlavak0UlAwk1Dlhc=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 h1:2k9KmFawS63euAkY4/ixVNsYYwrwnd5fIvgEKkfZFNM=
-github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5/go.mod h1:W+nd4wWDVkSUIox9bacmkBP5NMFQeTJ/xqNabpzSR38=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6 h1:HJeiuZ2fldpd0WqngyMR6KW7ofkXNLyOaHwEIGm39Cs=
-github.com/aws/aws-sdk-go-v2/service/sts v1.26.6/go.mod h1:XX5gh4CB7wAs4KhcF46G6C8a2i7eupU19dcAAE+EydU=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10 h1:L0ai8WICYHozIKK+OtPzVJBugL7culcuM4E4JOpIEm8=
+github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.10/go.mod h1:byqfyxJBshFk0fF9YmK0M0ugIO8OWjzH2T3bPG4eGuA=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 h1:DBYTXwIGQSGs9w4jKm60F5dmCQ3EEruxdc0MFh+3EY4=
+github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10/go.mod h1:wohMUQiFdzo0NtxbBg0mSRGZ4vL3n0dKjLTINdcIino=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10 h1:KOxnQeWy5sXyS37fdKEvAsGHOr9fa/qvwxfJurR/BzE=
+github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.10/go.mod h1:jMx5INQFYFYB3lQD9W0D8Ohgq6Wnl7NYOJ2TQndbulI=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0 h1:PJTdBMsyvra6FtED7JZtDpQrIAflYDHFoZAu/sKYkwU=
+github.com/aws/aws-sdk-go-v2/service/s3 v1.48.0/go.mod h1:4qXHrG1Ne3VGIMZPCB8OjH/pLFO94sKABIusjh0KWPU=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6 h1:dGrs+Q/WzhsiUKh82SfTVN66QzyulXuMDTV/G8ZxOac=
+github.com/aws/aws-sdk-go-v2/service/sso v1.18.6/go.mod h1:+mJNDdF+qiUlNKNC3fxn74WWNN+sOiGOEImje+3ScPM=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6 h1:Yf2MIo9x+0tyv76GljxzqA3WtC5mw7NmazD2chwjxE4=
+github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.6/go.mod h1:ykf3COxYI0UJmxcfcxcVuz7b6uADi1FkiUz6Eb7AgM8=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 h1:NzO4Vrau795RkUdSHKEwiR01FaGzGOH1EETJ+5QHnm0=
+github.com/aws/aws-sdk-go-v2/service/sts v1.26.7/go.mod h1:6h2YuIoxaMSCFf5fi1EgZAwdfkGMgDY+DVfa61uLe4U=
github.com/aws/smithy-go v1.19.0 h1:KWFKQV80DpP3vJrrA9sVAHQ5gc2z8i4EzrLhLlWXcBM=
github.com/aws/smithy-go v1.19.0/go.mod h1:NukqUGpCZIILqqiV0NIjeFh24kd/FAa4beRb6nbIUPE=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -83,14 +83,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -207,10 +207,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/firestore/CHANGELOG.md b/plugins/source/firestore/CHANGELOG.md
index 8e0a2facf834d7..b38dab750f4ac0 100644
--- a/plugins/source/firestore/CHANGELOG.md
+++ b/plugins/source/firestore/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## [3.0.19](https://github.com/cloudquery/cloudquery/compare/plugins-source-firestore-v3.0.18...plugins-source-firestore-v3.0.19) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto digest to 995d672 ([#15910](https://github.com/cloudquery/cloudquery/issues/15910)) ([de15c6b](https://github.com/cloudquery/cloudquery/commit/de15c6b6129535f2022de6fec3f4c875dd897bad))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.0.18](https://github.com/cloudquery/cloudquery/compare/plugins-source-firestore-v3.0.17...plugins-source-firestore-v3.0.18) (2023-12-28)
diff --git a/plugins/source/firestore/go.mod b/plugins/source/firestore/go.mod
index 0c12b42bb3edab..fb7d5821231fbe 100644
--- a/plugins/source/firestore/go.mod
+++ b/plugins/source/firestore/go.mod
@@ -4,8 +4,8 @@ go 1.21.4
require (
cloud.google.com/go/firestore v1.14.0
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
github.com/stretchr/testify v1.8.4
golang.org/x/sync v0.5.0
@@ -31,8 +31,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -73,8 +73,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/firestore/go.sum b/plugins/source/firestore/go.sum
index e4f85b010e69f9..b44a2bac5c752f 100644
--- a/plugins/source/firestore/go.sum
+++ b/plugins/source/firestore/go.sum
@@ -31,8 +31,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -55,14 +55,14 @@ github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLI
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -204,10 +204,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/gcp/CONTRIBUTING.md b/plugins/source/gcp/CONTRIBUTING.md
index a41cbda04f4a81..1ad34fe3046aa9 100644
--- a/plugins/source/gcp/CONTRIBUTING.md
+++ b/plugins/source/gcp/CONTRIBUTING.md
@@ -1,88 +1,28 @@
# GCP Source Plugin Contribution Guide
-Thanks for contributing to CloudQuery! You are awesome. This document serves as a guide for adding new services and resources to the GCP source plugin.
-There are two main steps to adding a new GCP resource:
+***Please note: GCP is `open core`, before you begin adding any resources to this plugin or opening a PR, please file an issue first. Not all contributions will be accepted especially if they are part of the commercial plugin offering***
-1. [Add a code generation recipe](#1-add-a-code-generation-recipe)
-2. [Writing the resolver function to fetch the resource using the GCP SDK](#2-setting-up-the-resource)
+This document serves as a guide for adding new services and resources to the GCP source plugin.
-## 1. Add a Code Generation Recipe
+In the following steps, we will use the fictional `MyService` GCP service with `MyResource` resource as an example.
-Every supported GCP service has a recipe file under [codegen/recipes](codegen/recipes).
-In the following examples, we will use the fictional `MyService` GCP service with `MyResource` resource as an example. We recommend taking a look at a few examples in [codegen/recipes](codegen/recipes) first, as these steps will make more sense with some examples to reference.
+## Adding a new resource for a new service
-If you are adding a service that needs a new recipe, see [Add a New Recipe File](#add-a-new-recipe-file). Otherwise, if the GCP service is already supported but is missing resource(s), you may skip to [Add a Resource to a Recipe](#add-a-resource-to-a-recipe).
-### Add a New Recipe File
+1. Create a folder in the `resources/services` directory with the name of the service. For example, if the service is called `MyService`, create a folder called `myservice`.
+2. Create a file in the folder called `myresource.go`. The file should contain a single exported function that is the name of the resource and will return a ` *schema.Table`
+3. Specify values for the following struct members:
+ `name`: The name of the table. This will be in the form `gcp`
+ `multiplexer`: options include `client.OrgMultiplex`, `client.FolderMultiplex`, `client.ProjectMultiplex`, `client.ProjectMultiplexEnabledServices(serviceDNS string)` For details on each one, see the [multiplexer section](#choosing-a-multiplexer)
+ `description`: a short description of the resource, usually will a link to the documentation
+ `columns`: an array of columns that will be added in addition to the columns from the data returned by the API. This is typically used to add primary keys if the API does not return them.
+4. Create `Resolver` function that will actually resolve the resource.
+5. Finally, implement a mock test in `myresource_mock_test.go`.
+6. Finally add the top level resource to the `resource/plugin/tables.go` in the `tables` list
-The process to follow for adding a new recipe is:
-
-1. Add a new file under [codegen/recipes](codegen/recipes) called `myservice.go`.
-2. Inside the new file, add a function called `MyServiceResources()` that returns `[]*Resource`.
-3. Call the function from [codegen/main.go](codegen/main.go) by adding
- `resources = append(resources, recipes.MyServiceResources()...)`
-4. Define the list of resources to be generated and return it inside this function. See
- [Add a Resource to a Recipe](#add-a-resource-to-a-recipe) for more details.
-
-### Add a Resource to a Recipe
-
-`MyServiceResources()` should return a slice of `*Resource` instances. Each resource should, at a minimum, have the following fields defined:
-
-1. `Service`: This will become the table prefix, and will usually be the same as the filename you chose for the recipe.
-2. `SubService`: This will be the final part of the table name, e.g. `gcp_myservice_subservice`
-3. `Struct`: This should be a pointer to the struct that will be synced to the destination. CloudQuery's plugin-sdk code generation will read the fields of this struct and convert it to a `Table` instance with appropriate column types.
-
-
-### Choosing a Multiplexer
-
-In the GCP plugin there are three types of multiplexers. Every top level resource needs to use multiplexer:
-
-1. `ProjectMultiplex` (_default_): This is the most basic of multiplexers in that it will resolve the resource in each project that is being synced.
-2. `ProjectMultiplexEnabledServices(serviceDNS string)`: This multiplexer will only attempt to sync a resource if that project has the service enabled otherwise the resource will be skipped for that specific projectID. On top of this the user must also enable the feature via `enabled_services_only: true` in the spec. In order to use this multiplexer you must specify a valid `resource.ServiceDNS`
-3. `client.OrgMultiplex`: For resources that are unique across an entire Organization. In order to use this multiplexer you have to explicitly set the multiplexer `client.OrgMultiplex
-``` go
-var OrgMultiplex = "client.OrgMultiplex"
-Resource{
- Multiplex: &OrgMultiplex
-}
-```
-
-#### All Available Resource Fields
-
-All available Resource fields can be seen in [base.go](codegen/recipes/base.go). See the documentation for each field for an explanation of what it does.
-
-#### Common Fields
-
-If all the resources share the same value for a field (as is often the case for `Service` and `Multiplex`), our convention is to reduce boilerplate by setting these properties in a loop after defining the resources slice, e.g.
-
-```go
-// set default values
-for _, r := range resources {
- r.Service = "myservice"
-}
-```
-
-### Run Code Generation
-
-With the recipe file added and some resources defined, you are ready to run `codegen`. Inside the [`codegen`](codegen) directory, run:
-
-```shell
-go run main.go
-```
-
-This will update all resources and generate a new directory for your service under [resources/services](resources/services).
-
-## 2. Setting up the resource
-
-By following the steps outlined above, you should now have generated a `myservice` directory under `resources/services`, containing a file called `myresource.go` (these names are examples, your actual filenames will differ). We will now set up the resource. This involves two steps: refining the `codegen` recipe, and writing one or more resolver functions.
-
-1. Open the generated `myservice/myresource.go` and inspect the `schema.Table` that is being returned. Does it contain the appropriate columns for the resource? Does it have a primary key? If something looks off, return to the recipe for this resource (under [codegen/recipes](codegen/recipes)) and make adjustments. Then re-run code generation as described in [Run Code Generation](#run-code-generation). Repeat this process until the Table looks right.
-2. Your generated `Table` will reference a `Resolver` function that needs to be implemented. Sometimes this resolver can also be generated, and sometimes it will need to be written by hand.
-3. Finally, implement a mock test in `myresource_mock_test.go`. This can also often be generated, but not always.
-
-We recommend looking at other resources similar to yours to get an idea of what needs to be done in this step.
+We recommend looking at other resources similar to yours to get an idea of what needs to be done in any of the above steps.
### Implementing Resolver Functions
@@ -97,3 +37,12 @@ A few important things to note when adding functions that call the GCP API:
- Keep transformations to a minimum. As far as possible, we aim to deliver an accurate reflection of what the API provides.
- We generally only unroll structs one level deep. Nested structs should be transformed into JSON columns.
- If you get stuck or need help, feel free to reach out on [Discord](https://www.cloudquery.io/discord). We are a friendly community and would love to help!
+
+
+### Choosing a Multiplexer
+
+In the GCP plugin there are three types of multiplexers. Every top level resource needs to use multiplexer:
+
+1. `ProjectMultiplex` (_default_): This is the most basic of multiplexers in that it will resolve the resource in each project that is being synced.
+2. `ProjectMultiplexEnabledServices(serviceDNS string)`: This multiplexer will only attempt to sync a resource if that project has the service enabled otherwise the resource will be skipped for that specific projectID. On top of this the user must also enable the feature via `enabled_services_only: true` in the spec. In order to use this multiplexer you must specify a valid `resource.ServiceDNS`
+3. `client.OrgMultiplex`: For resources that are unique across an entire Organization. In order to use this multiplexer you have to explicitly set the multiplexer `client.OrgMultiplex`
\ No newline at end of file
diff --git a/plugins/source/github/CHANGELOG.md b/plugins/source/github/CHANGELOG.md
index f81c297cf14a3d..0a3244e4c6aa11 100644
--- a/plugins/source/github/CHANGELOG.md
+++ b/plugins/source/github/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [7.6.3](https://github.com/cloudquery/cloudquery/compare/plugins-source-github-v7.6.2...plugins-source-github-v7.6.3) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [7.6.2](https://github.com/cloudquery/cloudquery/compare/plugins-source-github-v7.6.1...plugins-source-github-v7.6.2) (2024-01-02)
diff --git a/plugins/source/github/go.mod b/plugins/source/github/go.mod
index 56438a43a6ad16..5398613ce3d4ca 100644
--- a/plugins/source/github/go.mod
+++ b/plugins/source/github/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/source/github
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/beatlabs/github-auth v0.0.0-20231208231443-3b7665fb4bb8
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/gofri/go-github-ratelimit v1.0.3
github.com/golang/mock v1.6.0
github.com/google/go-github/v49 v49.0.0
@@ -31,8 +31,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -71,8 +71,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/github/go.sum b/plugins/source/github/go.sum
index a4fbcd66b7bb3b..edbe87ca66b8a5 100644
--- a/plugins/source/github/go.sum
+++ b/plugins/source/github/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -47,14 +47,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -173,10 +173,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/gitlab/CHANGELOG.md b/plugins/source/gitlab/CHANGELOG.md
index 45300d3907f9b3..129bba4c9a4224 100644
--- a/plugins/source/gitlab/CHANGELOG.md
+++ b/plugins/source/gitlab/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [4.1.17](https://github.com/cloudquery/cloudquery/compare/plugins-source-gitlab-v4.1.16...plugins-source-gitlab-v4.1.17) (2024-01-03)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.1.16](https://github.com/cloudquery/cloudquery/compare/plugins-source-gitlab-v4.1.15...plugins-source-gitlab-v4.1.16) (2024-01-02)
diff --git a/plugins/source/gitlab/go.mod b/plugins/source/gitlab/go.mod
index 37cd32929498d1..4ebea1a1bb0246 100644
--- a/plugins/source/gitlab/go.mod
+++ b/plugins/source/gitlab/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/source/gitlab
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/julienschmidt/httprouter v1.3.0
github.com/rs/zerolog v1.31.0
github.com/xanzy/go-gitlab v0.83.0
@@ -27,8 +27,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -70,8 +70,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/gitlab/go.sum b/plugins/source/gitlab/go.sum
index aa4c00e32bdd2c..5f61bf3ed39925 100644
--- a/plugins/source/gitlab/go.sum
+++ b/plugins/source/gitlab/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -175,10 +175,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/hackernews/CHANGELOG.md b/plugins/source/hackernews/CHANGELOG.md
index 31f365476864a7..d70b639f11b785 100644
--- a/plugins/source/hackernews/CHANGELOG.md
+++ b/plugins/source/hackernews/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.0.20](https://github.com/cloudquery/cloudquery/compare/plugins-source-hackernews-v3.0.19...plugins-source-hackernews-v3.0.20) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.0.19](https://github.com/cloudquery/cloudquery/compare/plugins-source-hackernews-v3.0.18...plugins-source-hackernews-v3.0.19) (2024-01-02)
diff --git a/plugins/source/hackernews/go.mod b/plugins/source/hackernews/go.mod
index 61ede557f5520f..e37dcc1775c387 100644
--- a/plugins/source/hackernews/go.mod
+++ b/plugins/source/hackernews/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/source/hackernews
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/golang/mock v1.6.0
github.com/hermanschaaf/hackernews v1.0.1
github.com/rs/zerolog v1.31.0
@@ -30,8 +30,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -69,8 +69,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/hackernews/go.sum b/plugins/source/hackernews/go.sum
index 309376faf245b5..5cdbf9a8338dc1 100644
--- a/plugins/source/hackernews/go.sum
+++ b/plugins/source/hackernews/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -167,10 +167,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/hubspot/CHANGELOG.md b/plugins/source/hubspot/CHANGELOG.md
index e8d67ccfa29572..0a22fcc5f0457b 100644
--- a/plugins/source/hubspot/CHANGELOG.md
+++ b/plugins/source/hubspot/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.0.17](https://github.com/cloudquery/cloudquery/compare/plugins-source-hubspot-v3.0.16...plugins-source-hubspot-v3.0.17) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.0.16](https://github.com/cloudquery/cloudquery/compare/plugins-source-hubspot-v3.0.15...plugins-source-hubspot-v3.0.16) (2024-01-02)
diff --git a/plugins/source/hubspot/go.mod b/plugins/source/hubspot/go.mod
index df2f2e1ef9873a..ea2970ed3a2050 100644
--- a/plugins/source/hubspot/go.mod
+++ b/plugins/source/hubspot/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/source/hubspot
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/clarkmcc/go-hubspot v0.0.0-20230906123538-bec7cb6c0126
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
golang.org/x/time v0.5.0
@@ -28,8 +28,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -67,8 +67,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/hubspot/go.sum b/plugins/source/hubspot/go.sum
index e90a1b4c815f72..17e8ebb32c0894 100644
--- a/plugins/source/hubspot/go.sum
+++ b/plugins/source/hubspot/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -47,14 +47,14 @@ github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/clarkmcc/go-hubspot v0.0.0-20230906123538-bec7cb6c0126 h1:pjhz1KktkBAqkDsEucv4vbJicT6V5yGbFsStfR3seio=
github.com/clarkmcc/go-hubspot v0.0.0-20230906123538-bec7cb6c0126/go.mod h1:hedWyunNqr3OeTCQPjIMBjrJq/RImLOkIj37puh6oIE=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -166,10 +166,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/k8s/CHANGELOG.md b/plugins/source/k8s/CHANGELOG.md
index 63b227da984fc1..fecc95d235e947 100644
--- a/plugins/source/k8s/CHANGELOG.md
+++ b/plugins/source/k8s/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [5.2.6](https://github.com/cloudquery/cloudquery/compare/plugins-source-k8s-v5.2.5...plugins-source-k8s-v5.2.6) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [5.2.5](https://github.com/cloudquery/cloudquery/compare/plugins-source-k8s-v5.2.4...plugins-source-k8s-v5.2.5) (2024-01-02)
diff --git a/plugins/source/k8s/go.mod b/plugins/source/k8s/go.mod
index 10923e90818009..5a0e635f8e7b53 100644
--- a/plugins/source/k8s/go.mod
+++ b/plugins/source/k8s/go.mod
@@ -3,9 +3,9 @@ module github.com/cloudquery/cloudquery/plugins/source/k8s
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
github.com/cloudquery/codegen v0.3.12
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/golang/mock v1.6.0
github.com/google/gnostic v0.6.9
github.com/rs/zerolog v1.31.0
@@ -34,8 +34,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -81,8 +81,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/k8s/go.sum b/plugins/source/k8s/go.sum
index 3aa85edc561623..69dc45d6b0d926 100644
--- a/plugins/source/k8s/go.sum
+++ b/plugins/source/k8s/go.sum
@@ -24,8 +24,8 @@ github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHG
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -53,18 +53,18 @@ github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLI
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
github.com/cloudquery/codegen v0.3.12 h1:9BaYdwbMJU1HVT/BHI+ykhOhBGeXt8AjpvBiXN1KhKE=
github.com/cloudquery/codegen v0.3.12/go.mod h1:utqjurr58U8uqcPJe0rZjh06i0Eq9uAPGOmyIjq/1w8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f h1:vmYGxIGDVpmhk0QVeDwXXbAt+SwQcOn4xH1G25pmKP8=
github.com/cloudquery/jsonschema v0.0.0-20231018073309-6c617a23d42f/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
@@ -230,10 +230,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/k8s/test/policy_cq_config.yml b/plugins/source/k8s/test/policy_cq_config.yml
index e030fdc31dc4f6..2e7ff0c6592c01 100644
--- a/plugins/source/k8s/test/policy_cq_config.yml
+++ b/plugins/source/k8s/test/policy_cq_config.yml
@@ -12,6 +12,6 @@ spec:
name: postgresql
path: cloudquery/postgresql
registry: cloudquery
- version: "v7.1.3" # latest version of postgresql plugin
+ version: "v7.1.5" # latest version of postgresql plugin
spec:
connection_string: ${CQ_DSN}
\ No newline at end of file
diff --git a/plugins/source/notion/CHANGELOG.md b/plugins/source/notion/CHANGELOG.md
index 3e2866b538fdf2..d8bd98d7765f56 100644
--- a/plugins/source/notion/CHANGELOG.md
+++ b/plugins/source/notion/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [1.0.9](https://github.com/cloudquery/cloudquery/compare/plugins-source-notion-v1.0.8...plugins-source-notion-v1.0.9) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [1.0.8](https://github.com/cloudquery/cloudquery/compare/plugins-source-notion-v1.0.7...plugins-source-notion-v1.0.8) (2024-01-02)
diff --git a/plugins/source/notion/go.mod b/plugins/source/notion/go.mod
index 50a418bf01a3a8..7aecc0f348d816 100644
--- a/plugins/source/notion/go.mod
+++ b/plugins/source/notion/go.mod
@@ -3,7 +3,7 @@ module github.com/cloudquery/cloudquery/plugins/source/notion
go 1.21.4
require (
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/rs/zerolog v1.31.0
)
@@ -16,7 +16,7 @@ require (
github.com/adrg/xdg v0.4.0 // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 // indirect
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 // indirect
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb // indirect
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
github.com/aymerick/douceur v0.2.0 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
@@ -25,8 +25,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -64,8 +64,8 @@ require (
github.com/kataras/tunnel v0.0.4 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/notion/go.sum b/plugins/source/notion/go.sum
index d3fbc011a7626a..129c5021c61ec8 100644
--- a/plugins/source/notion/go.sum
+++ b/plugins/source/notion/go.sum
@@ -19,8 +19,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -45,14 +45,14 @@ github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d/go.mod h1:8EPpV
github.com/chenzhuoyu/iasm v0.9.0/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
github.com/chenzhuoyu/iasm v0.9.1 h1:tUHQJXo3NhBqw6s33wkGn9SP3bvrWLdlVIJ3hQBL7P0=
github.com/chenzhuoyu/iasm v0.9.1/go.mod h1:Xjy2NpN3h7aUqeqM+woSuuvxmIe6+DDsiNLIrkAmYog=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -163,10 +163,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/okta/CHANGELOG.md b/plugins/source/okta/CHANGELOG.md
index 02eed8f55754d6..acfc80ad3e7c89 100644
--- a/plugins/source/okta/CHANGELOG.md
+++ b/plugins/source/okta/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [3.2.17](https://github.com/cloudquery/cloudquery/compare/plugins-source-okta-v3.2.16...plugins-source-okta-v3.2.17) (2024-01-04)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [3.2.16](https://github.com/cloudquery/cloudquery/compare/plugins-source-okta-v3.2.15...plugins-source-okta-v3.2.16) (2024-01-02)
diff --git a/plugins/source/okta/go.mod b/plugins/source/okta/go.mod
index 01f69be923f4eb..07da2e431d4ebc 100644
--- a/plugins/source/okta/go.mod
+++ b/plugins/source/okta/go.mod
@@ -3,8 +3,8 @@ module github.com/cloudquery/cloudquery/plugins/source/okta
go 1.21.4
require (
- github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028
- github.com/cloudquery/plugin-sdk/v4 v4.24.0
+ github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb
+ github.com/cloudquery/plugin-sdk/v4 v4.25.1
github.com/gorilla/mux v1.8.0
github.com/okta/okta-sdk-golang/v3 v3.0.2
github.com/rs/zerolog v1.31.0
@@ -28,8 +28,8 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/chenzhuoyu/iasm v0.9.1 // indirect
- github.com/cloudquery/cloudquery-api-go v1.6.3 // indirect
- github.com/cloudquery/plugin-pb-go v1.16.0 // indirect
+ github.com/cloudquery/cloudquery-api-go v1.6.4 // indirect
+ github.com/cloudquery/plugin-pb-go v1.16.3 // indirect
github.com/cloudquery/plugin-sdk/v2 v2.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deepmap/oapi-codegen v1.16.2 // indirect
@@ -68,8 +68,8 @@ require (
github.com/kelseyhightower/envconfig v1.4.0 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
- github.com/labstack/echo/v4 v4.11.3 // indirect
- github.com/labstack/gommon v0.4.1 // indirect
+ github.com/labstack/echo/v4 v4.11.4 // indirect
+ github.com/labstack/gommon v0.4.2 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mailgun/raymond/v2 v2.0.48 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
diff --git a/plugins/source/okta/go.sum b/plugins/source/okta/go.sum
index 5bed97a9ef543b..6f2ed03a2a8a72 100644
--- a/plugins/source/okta/go.sum
+++ b/plugins/source/okta/go.sum
@@ -54,8 +54,8 @@ github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sx
github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882 h1:mFDZW1FQk9yndPvxScp7RpcOpdSHaqcgBWO7sDlx4S8=
github.com/apache/arrow/go/v13 v13.0.0-20230731205701-112f94971882/go.mod h1:W69eByFNO0ZR30q1/7Sr9d83zcVZmF2MiP3fFYAWJOc=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028 h1:GxWJMPJYX4aFBu1fDA1SBPPIju/0SAbZpFia4UJ8WQo=
-github.com/apache/arrow/go/v15 v15.0.0-20231229025812-7c3480e2f028/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb h1:i0UedGdC5+a5tXCphU0rqb6/RIgRSHMA3RfrYltXb/A=
+github.com/apache/arrow/go/v15 v15.0.0-20240108124322-6d449060debb/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA=
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=
@@ -86,14 +86,14 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudquery/cloudquery-api-go v1.6.3 h1:PnT0S57dN24nE86XGVM+5+ePTtMeXsEQqOR3kT2+YhY=
-github.com/cloudquery/cloudquery-api-go v1.6.3/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
-github.com/cloudquery/plugin-pb-go v1.16.0 h1:IoEIfskvZ07cTHnM5ma0KUVZtZSGtjXawZRH1nA5brQ=
-github.com/cloudquery/plugin-pb-go v1.16.0/go.mod h1:p9qa3KC23payNjDiahMRh4f9Wu0uBPjDK8oHCqSp8eU=
+github.com/cloudquery/cloudquery-api-go v1.6.4 h1:75S5WdQirq8hR2ZSVPZ2Mrn+nz8DlHUZgj5gwQnoS/Y=
+github.com/cloudquery/cloudquery-api-go v1.6.4/go.mod h1:03fojQg0UpdgqXZ9tzZ5gF5CPad/F0sok66bsX6u4RA=
+github.com/cloudquery/plugin-pb-go v1.16.3 h1:iez4DzIXXKEIRZKy69bCKqENtGqgFg1xuSbio+Z9Bzg=
+github.com/cloudquery/plugin-pb-go v1.16.3/go.mod h1:winMV3mFQT1KaLPSLYsvJABi4gNWUmSY+cxRvWUp5so=
github.com/cloudquery/plugin-sdk/v2 v2.7.0 h1:hRXsdEiaOxJtsn/wZMFQC9/jPfU1MeMK3KF+gPGqm7U=
github.com/cloudquery/plugin-sdk/v2 v2.7.0/go.mod h1:pAX6ojIW99b/Vg4CkhnsGkRIzNaVEceYMR+Bdit73ug=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0 h1:H3+0fJAntI/8wSCpvLbXXgJVTSfnPTa1BFBbKcmT+gM=
-github.com/cloudquery/plugin-sdk/v4 v4.24.0/go.mod h1:J0RFLvDx6ggzJ42uJaItron/uJX6+nCtHIQ7OUahpNc=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1 h1:Mdhv88t4W82koA75x9uSOJaQQih8n1JDQMDSFmeFdYQ=
+github.com/cloudquery/plugin-sdk/v4 v4.25.1/go.mod h1:OHGaeCkIHyPDtnVzQjyUwSIEs8eYHLz4rj3qt9sGb4w=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -271,10 +271,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/labstack/echo/v4 v4.11.3 h1:Upyu3olaqSHkCjs1EJJwQ3WId8b8b1hxbogyommKktM=
-github.com/labstack/echo/v4 v4.11.3/go.mod h1:UcGuQ8V6ZNRmSweBIJkPvGfwCMIlFmiqrPqiEBfPYws=
-github.com/labstack/gommon v0.4.1 h1:gqEff0p/hTENGMABzezPoPSRtIh1Cvw0ueMOe0/dfOk=
-github.com/labstack/gommon v0.4.1/go.mod h1:TyTrpPqxR5KMk8LKVtLmfMjeQ5FEkBYdxLYPw/WfrOM=
+github.com/labstack/echo/v4 v4.11.4 h1:vDZmA+qNeh1pd/cCkEicDMrjtrnMGQ1QFI9gWN1zGq8=
+github.com/labstack/echo/v4 v4.11.4/go.mod h1:noh7EvLwqDsmh/X/HWKPUl1AjzJrhyptRyEbQJfxen8=
+github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0=
+github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU=
github.com/leodido/go-urn v1.2.4 h1:XlAE/cm/ms7TE/VMVoduSpNBoyc2dOxHs5MZSwAN63Q=
github.com/leodido/go-urn v1.2.4/go.mod h1:7ZrI8mTSeBSHl/UaRyKQW1qZeMgak41ANeCNaVckg+4=
github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw=
diff --git a/plugins/source/oracle/CHANGELOG.md b/plugins/source/oracle/CHANGELOG.md
index d35d740c23fe61..d837c81d0f9870 100644
--- a/plugins/source/oracle/CHANGELOG.md
+++ b/plugins/source/oracle/CHANGELOG.md
@@ -1,5 +1,39 @@
# Changelog
+## [4.2.9](https://github.com/cloudquery/cloudquery/compare/plugins-source-oracle-v4.2.8...plugins-source-oracle-v4.2.9) (2024-01-06)
+
+
+### Bug Fixes
+
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.1 ([#16069](https://github.com/cloudquery/cloudquery/issues/16069)) ([edda65c](https://github.com/cloudquery/cloudquery/commit/edda65c238b2cb78a7a2078b62557a7d8d822e49))
+* Document dedicated region access (https://github.com/cloudquery/cloudquery/pull/16063) ([7b3f0c6](https://github.com/cloudquery/cloudquery/commit/7b3f0c67962f388b3ed1c6c3c9c17d4d3aa35c06))
+
+## [4.2.8](https://github.com/cloudquery/cloudquery/compare/plugins-source-oracle-v4.2.7...plugins-source-oracle-v4.2.8) (2024-01-05)
+
+
+### Bug Fixes
+
+* Change chaining order for OCI config providers ([#16060](https://github.com/cloudquery/cloudquery/issues/16060)) ([b808926](https://github.com/cloudquery/cloudquery/commit/b8089264256108e4587ae616e12b4021486a7616))
+
+## [4.2.7](https://github.com/cloudquery/cloudquery/compare/plugins-source-oracle-v4.2.6...plugins-source-oracle-v4.2.7) (2024-01-03)
+
+
+### Bug Fixes
+
+* Allow using `OCI_CLI_` prefixed environment variables ([#16003](https://github.com/cloudquery/cloudquery/issues/16003)) ([79f91e2](https://github.com/cloudquery/cloudquery/commit/79f91e200b72b2a315f84f0a9e4290b06fd64707))
+
+## [4.2.6](https://github.com/cloudquery/cloudquery/compare/plugins-source-oracle-v4.2.5...plugins-source-oracle-v4.2.6) (2024-01-02)
+
+
+### Bug Fixes
+
+* **deps:** Update github.com/apache/arrow/go/v15 digest to 7c3480e ([#15904](https://github.com/cloudquery/cloudquery/issues/15904)) ([a3ec012](https://github.com/cloudquery/cloudquery/commit/a3ec01203183e5c94630beae86434519e87e225d))
+* **deps:** Update github.com/gomarkdown/markdown digest to 1d6d208 ([#15907](https://github.com/cloudquery/cloudquery/issues/15907)) ([86d29a9](https://github.com/cloudquery/cloudquery/commit/86d29a900e6c9dbcad09f5b0c4b0615aee59a2ae))
+* **deps:** Update golang.org/x/exp digest to 02704c9 ([#15909](https://github.com/cloudquery/cloudquery/issues/15909)) ([dfe32d2](https://github.com/cloudquery/cloudquery/commit/dfe32d2557dcac0fb6dc741c9df4edccdcb07076))
+* **deps:** Update google.golang.org/genproto/googleapis/api digest to 995d672 ([#15911](https://github.com/cloudquery/cloudquery/issues/15911)) ([18ac2b8](https://github.com/cloudquery/cloudquery/commit/18ac2b806d798e0a9052cc10e8442557ab1c4253))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.24.0 ([#15863](https://github.com/cloudquery/cloudquery/issues/15863)) ([47d7899](https://github.com/cloudquery/cloudquery/commit/47d78994370f083912b6d4329f12d5cef9c255d5))
+* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.25.0 ([#15932](https://github.com/cloudquery/cloudquery/issues/15932)) ([2292b5a](https://github.com/cloudquery/cloudquery/commit/2292b5a2aa5936f2529238a05708de0b3bde9a35))
+
## [4.2.5](https://github.com/cloudquery/cloudquery/compare/plugins-source-oracle-v4.2.4...plugins-source-oracle-v4.2.5) (2023-12-28)
diff --git a/plugins/source/oracle/client/client.go b/plugins/source/oracle/client/client.go
index 64f565804f2b35..b736eacab5551d 100644
--- a/plugins/source/oracle/client/client.go
+++ b/plugins/source/oracle/client/client.go
@@ -5,7 +5,6 @@ import (
"fmt"
"strings"
- "github.com/cloudquery/cloudquery/plugins/source/oracle/client/spec"
"github.com/cloudquery/plugin-sdk/v4/schema"
"github.com/oracle/oci-go-sdk/v65/common"
"github.com/oracle/oci-go-sdk/v65/identity"
@@ -36,12 +35,15 @@ type Client struct {
logger zerolog.Logger
}
-func New(ctx context.Context, logger zerolog.Logger, _ spec.Spec) (schema.ClientMeta, error) {
+func New(ctx context.Context, logger zerolog.Logger) (schema.ClientMeta, error) {
// common.DefaultRetryPolicy handles (409, IncorrectState), (429, TooManyRequests) + 5XX errors
defaultRetryPolicy := common.DefaultRetryPolicy()
common.GlobalRetry = &defaultRetryPolicy
- configProvider := common.DefaultConfigProvider()
+ configProvider, err := getConfigProvider()
+ if err != nil {
+ return nil, err
+ }
tenancyOcid, err := configProvider.TenancyOCID()
if err != nil {
diff --git a/plugins/source/oracle/client/oracle_clients.go b/plugins/source/oracle/client/oracle_clients.go
index 36323221614598..37f2d63bd42ed1 100644
--- a/plugins/source/oracle/client/oracle_clients.go
+++ b/plugins/source/oracle/client/oracle_clients.go
@@ -1568,3 +1568,12 @@ func initOracleClientsInAllRegions(
return oracleClients, nil
}
+
+func getConfigProvider() (common.ConfigurationProvider, error) {
+ return common.ComposingConfigurationProvider(
+ []common.ConfigurationProvider{
+ common.DefaultConfigProvider(), // has to be the first as the auth is checked only for the 1st in chain
+ common.ConfigurationProviderEnvironmentVariables("OCI_CLI", ""),
+ },
+ )
+}
diff --git a/plugins/source/oracle/client/oracle_clients_test.go b/plugins/source/oracle/client/oracle_clients_test.go
new file mode 100644
index 00000000000000..63ad9ba190c13b
--- /dev/null
+++ b/plugins/source/oracle/client/oracle_clients_test.go
@@ -0,0 +1,38 @@
+package client
+
+import (
+ "os"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+)
+
+func TestOCIConfigurationProvider(t *testing.T) {
+ configProvider, err := getConfigProvider()
+ require.NoError(t, err)
+
+ prefixes := []string{"TF_VAR", "OCI_CLI"}
+ for _, pfx := range prefixes {
+ t.Run(pfx, func(t *testing.T) {
+ envRegion, ok := os.LookupEnv(pfx + "_region")
+ require.False(t, ok)
+ require.Empty(t, envRegion)
+
+ sdkRegion, err := configProvider.Region()
+ require.Error(t, err)
+ require.Empty(t, sdkRegion)
+
+ require.NoError(t, os.Setenv(pfx+"_region", "region_"+pfx))
+
+ envRegion, ok = os.LookupEnv(pfx + "_region")
+ require.True(t, ok)
+ require.Equal(t, "region_"+pfx, envRegion)
+
+ sdkRegion, err = configProvider.Region()
+ require.NoError(t, err)
+ require.Equal(t, "region_"+pfx, sdkRegion)
+
+ require.NoError(t, os.Unsetenv(pfx+"_region"))
+ })
+ }
+}
diff --git a/plugins/source/oracle/docs/_authentication.md b/plugins/source/oracle/docs/_authentication.md
index c44c95edafd891..3013bcb094b031 100644
--- a/plugins/source/oracle/docs/_authentication.md
+++ b/plugins/source/oracle/docs/_authentication.md
@@ -21,15 +21,16 @@ Note that CloudQuery will `sync` information from all regions - not only the reg
### Option 2: Environment variables
-Environment variables are configured the same way as for the terraform provider, and should therefore be prefixed with `TF_VAR_` (e.g. `TF_VAR_tenancy_ocid`). See the [documentation](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformproviderconfiguration.htm) for a full list of available variables.
+Environment variables can be either prefixed with `OCI_CLI` or `TF_VAR` (e.g. `OCI_CLI_tenancy_ocid` or `TF_VAR_tenancy_ocid`).
+See the [documentation](https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformproviderconfiguration.htm) for a full list of available variables.
Example environment variables:
```bash copy
-export TF_VAR_security_token_file=/path/to/token/file
-export TF_VAR_fingerprint="