Skip to content

Bump cryptography from 44.0.1 to 48.0.1 #6

Bump cryptography from 44.0.1 to 48.0.1

Bump cryptography from 44.0.1 to 48.0.1 #6

name: E2E AWS Splunk Windows
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: e2e-aws-splunk-windows
cancel-in-progress: false
jobs:
e2e_splunk_windows:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Install system packages
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends wireguard-tools unzip curl
- name: Install Terraform
run: |
TERRAFORM_VERSION=1.14.4
curl -s "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" -o /tmp/terraform.zip
unzip -o /tmp/terraform.zip -d /tmp
sudo mv /tmp/terraform /usr/local/bin/
rm /tmp/terraform.zip
terraform version
- uses: actions/setup-python@v6
with:
python-version: '3.11'
architecture: 'x64'
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v5
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-2
- name: Install Python dependencies
run: |
pip install -r requirements.txt
pip install pytest "moto[s3]"
- name: Run E2E test (build, verify, destroy)
env:
ATTACK_RANGE_E2E: "1"
ATTACK_RANGE_CI: "1"
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: "YES"
run: |
pytest tests/e2e/test_splunk_windows_aws.py -v -s --log-cli-level=INFO
- name: Disconnect WireGuard (cleanup)
if: always()
run: |
CONF="terraform/ansible/client_configs/client1.conf"
if [ -f "$CONF" ]; then
sudo wg-quick down "$CONF" 2>/dev/null || true
fi