Skip to content

EKS Anonymous API Access Detection Rule #71

EKS Anonymous API Access Detection Rule

EKS Anonymous API Access Detection Rule #71

on:
pull_request:
branches:
- develop
permissions:
contents: read
jobs:
check_removed_rules:
name: Check Removed Rules
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
files.pythonhosted.org:443
github.com:443
pypi.org:443
- name: Checkout panther-analysis
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 #v4.2.1
- name: Fetch Release
run: |
git fetch --depth=1 origin develop
- 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: Check for Removed Rules
run: |
pipenv run make check-deprecated