From b1a7d9526a796dc378bffe2e1e1b91330ae61b29 Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Tue, 20 Aug 2024 14:00:01 +0200 Subject: [PATCH 1/3] Add `batch` + update template version --- configs/3-1-aws-cw.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/3-1-aws-cw.json b/configs/3-1-aws-cw.json index f11ed9b72..4d39cdc29 100644 --- a/configs/3-1-aws-cw.json +++ b/configs/3-1-aws-cw.json @@ -14,7 +14,7 @@ "supportedOs": ["AWS_Cloudformation"], "productTags": ["LOG_ANALYTICS"], "filterTags": ["AWS", "Most Popular"], - "integrationTemplate": "firehose-logs/0.1.0/sam-template.yaml¶m_logzioType=agent-logzio-firehose¶m_logzioListener=https://aws-firehose-logs-<>", + "integrationTemplate": "firehose-logs/0.2.1/sam-template.yaml¶m_logzioType=agent-logzio-firehose¶m_logzioListener=https://aws-firehose-logs-<>", "datasources": [ { "name": "AWS_Logs", @@ -97,7 +97,8 @@ { "label": "ECS", "value": "ecs" }, { "label": "EKS", "value": "eks" }, { "label": "Lambda", "value": "lambda" }, - { "label": "RDS", "value": "rds" } + { "label": "RDS", "value": "rds" }, + { "label": "Batch", "value": "batch" } ] }, { From 98ed4ce31450c92979f411b7cfda7cc7910c1f1a Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Tue, 20 Aug 2024 14:48:59 +0200 Subject: [PATCH 2/3] extend default permissions to jobs --- .github/workflows/update-and-validate-manifest.yml | 7 +++++++ .github/workflows/update-latest.yml | 3 +++ .github/workflows/update-testing.yml | 3 +++ 3 files changed, 13 insertions(+) diff --git a/.github/workflows/update-and-validate-manifest.yml b/.github/workflows/update-and-validate-manifest.yml index 91a17cb19..a353f56c9 100644 --- a/.github/workflows/update-and-validate-manifest.yml +++ b/.github/workflows/update-and-validate-manifest.yml @@ -51,6 +51,13 @@ jobs: update_release: name: Update dev release needs: [filter_for_configs, build_manifest] + permissions: + contents: write # Allows pushing changes to the repository + issues: write # Allows creating issues + packages: write # Allows accessing and publishing packages + pull-requests: write # Allows creating and managing pull requests + actions: write # Allows updating GitHub Action workflows + attestations: write # Allows adding and updating artifact attestations if: ${{ needs.filter_for_configs.outputs.configs == 'true' }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/update-latest.yml b/.github/workflows/update-latest.yml index d1ae8195b..83c1a085d 100644 --- a/.github/workflows/update-latest.yml +++ b/.github/workflows/update-latest.yml @@ -23,6 +23,9 @@ jobs: update_latest: name: Update latest release needs: filter_for_configs + permissions: + contents: write # Allows pushing changes to the repository + attestations: write # Allows adding and updating artifact attestations if: ${{ needs.filter_for_configs.outputs.configs == 'true' }} runs-on: ubuntu-latest steps: diff --git a/.github/workflows/update-testing.yml b/.github/workflows/update-testing.yml index a8d775def..3529a2ec7 100644 --- a/.github/workflows/update-testing.yml +++ b/.github/workflows/update-testing.yml @@ -20,6 +20,9 @@ jobs: update_testing: name: Update testing release needs: filter_for_testing_configs + permissions: + contents: write # Allows pushing changes to the repository + attestations: write # Allows adding and updating artifact attestations if: ${{ needs.filter_for_testing_configs.outputs.testing == 'true' }} runs-on: ubuntu-latest steps: From 44324855f448cc317d072d9db098b1d581f632e3 Mon Sep 17 00:00:00 2001 From: Yotam loewenbach Date: Tue, 20 Aug 2024 14:49:31 +0200 Subject: [PATCH 3/3] Update update-and-validate-manifest.yml --- .github/workflows/update-and-validate-manifest.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/update-and-validate-manifest.yml b/.github/workflows/update-and-validate-manifest.yml index a353f56c9..357df2903 100644 --- a/.github/workflows/update-and-validate-manifest.yml +++ b/.github/workflows/update-and-validate-manifest.yml @@ -53,10 +53,6 @@ jobs: needs: [filter_for_configs, build_manifest] permissions: contents: write # Allows pushing changes to the repository - issues: write # Allows creating issues - packages: write # Allows accessing and publishing packages - pull-requests: write # Allows creating and managing pull requests - actions: write # Allows updating GitHub Action workflows attestations: write # Allows adding and updating artifact attestations if: ${{ needs.filter_for_configs.outputs.configs == 'true' }} runs-on: ubuntu-latest