fixing ruleID typo on gcp_k8s_pod_create_or_modify_host_path_vol_mount.yml #1027
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
env: | |
API_HOST: ${{ secrets.API_HOST }} | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
steps: | |
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
disable-sudo: true | |
egress-policy: audit | |
- name: Validate Secrets | |
if: ${{ env.API_HOST == '' || env.API_TOKEN == '' }} | |
run: | | |
echo "API_HOST or API_TOKEN not set" | |
exit 0 | |
- name: Checkout panther-analysis | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 #v4.2.1 | |
- name: Set python version | |
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 #v5.2.0 | |
with: | |
python-version: "3.11" | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Setup venv | |
run: make venv | |
- name: test | |
run: | | |
pipenv run panther_analysis_tool test --api-host ${{ env.API_HOST }} --api-token ${{ env.API_TOKEN }} --show-failures-only |