From c5e324499c7ae2807d19dcef7006ce12216dbfc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Gusm=C3=A3o?= Date: Mon, 13 May 2024 18:06:36 -0300 Subject: [PATCH 1/2] feat: add days-back to edr send report --- .github/workflows/elementary.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/elementary.yml b/.github/workflows/elementary.yml index 3b1fa0b4..0f2fd604 100644 --- a/.github/workflows/elementary.yml +++ b/.github/workflows/elementary.yml @@ -4,7 +4,7 @@ on: push: branches: [main, master] pull_request: - branches: [main, master] + branches: [main, master] workflow_dispatch: jobs: elementary: @@ -20,7 +20,7 @@ jobs: profiles-yml: ${{ secrets.ELEMENTARY_PROFILES_YML }} edr-command: edr report --file-path "report.html" -d 90 && edr send-report --google-service-account-path "/tmp/gcs_keyfile.json" --gcs-bucket-name - "${{ secrets.GCS_BUCKET_NAME }}" --update-bucket-website "true" + "${{ secrets.GCS_BUCKET_NAME }}" --update-bucket-website "true" --days-back 90 bigquery-keyfile: ${{ secrets.BIGQUERY_KEYFILE }} gcs-keyfile: ${{ secrets.GCS_KEYFILE }} - name: Upload report From 30b4a57838201a5bd53f7f4b734c72809160b9d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arthur=20Gusm=C3=A3o?= Date: Mon, 13 May 2024 18:15:06 -0300 Subject: [PATCH 2/2] feat: add days-back to edr send report --- .github/workflows/elementary.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/elementary.yml b/.github/workflows/elementary.yml index 0f2fd604..b2a4208f 100644 --- a/.github/workflows/elementary.yml +++ b/.github/workflows/elementary.yml @@ -3,8 +3,6 @@ name: Deploy Elementary Report on: push: branches: [main, master] - pull_request: - branches: [main, master] workflow_dispatch: jobs: elementary: