mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
261b5fee45
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 5 to 6. - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v5...v6) --- updated-dependencies: - dependency-name: aws-actions/configure-aws-credentials dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com> Co-authored-by: Nasreddine Bencherchali <nasreddineb@splunk.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Splunk TA Update Apps
|
|
|
|
on:
|
|
workflow_dispatch: # Manually trigger the workflow
|
|
schedule:
|
|
- cron: '55 06 * * *' # Runs dailyin the morning
|
|
|
|
jobs:
|
|
modify-code:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
with:
|
|
ref: 'develop'
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.10' # or the version your script requires
|
|
|
|
- uses: aws-actions/configure-aws-credentials@v6
|
|
with:
|
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
aws-region: eu-central-1
|
|
|
|
- name: Install Python dependencies
|
|
run: |
|
|
pip3 install boto3 PyYAML xmltodict requests urllib3
|
|
|
|
- name: Run Python Splunk TA checker
|
|
env:
|
|
SPLUNK_BASE_USERNAME: ${{ secrets.SPLUNK_BASE_USERNAME }}
|
|
SPLUNK_BASE_PASSWORD: ${{ secrets.SPLUNK_BASE_PASSWORD }}
|
|
run: |
|
|
python .github/workflows/ta_update.py |