Skip to content

Merge pull request #247 from aws-geospatial/cloudformation-templates #618

Merge pull request #247 from aws-geospatial/cloudformation-templates

Merge pull request #247 from aws-geospatial/cloudformation-templates #618

name: Security tests
on:
push:
branches:
- main
pull_request:
branches: [main]
jobs:
security-tests:
name: Security tests
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
- name: Install dependencies
run: cd security-tests/ && npm install
- name: Run security tests
env:
IDENTITY_POOL_ID: ${{ secrets.IDENTITY_POOL_ID }}
USER_POOL_ID: ${{ secrets.USER_POOL_ID }}
USER_POOL_CLIENT_ID: ${{ secrets.USER_POOL_CLIENT_ID }}
COGNITO_EMAIL: ${{ secrets.COGNITO_EMAIL }}
COGNITO_PASSWORD: ${{ secrets.COGNITO_PASSWORD }}
IAM_AUTH_ROLE_NAME: ${{ secrets.IAM_AUTH_ROLE_NAME }}
IAM_UNAUTH_ROLE_NAME: ${{ secrets.IAM_UNAUTH_ROLE_NAME }}
run: cd security-tests/ && npm run test