Setup Iamlive
Capture the used AWS IAM permissions using AWS client-side monitoring (CSM) from your GitHub actions workflow.
Install / Use
npx skills add marcofranssen/setup-iamliveInstalls into whichever agent you are using.
README
Setup IAM Live
This Github action installs iamlive and allows to capture the used AWS IAM permissions using client-side monitoring (CSM).
Usage
Install only
Only installs iamlive
env:
AWS_CSM_ENABLED: 'true'
steps:
- uses: marcofranssen/setup-iamlive@v1.3.0
with:
iamlive-version: v1.1.11
- run: ./iamlive --background --sort-alphabetical --output-file iamlive-policy.json
- run: |
aws s3 mb s3://test-bucket
aws s3 ls
- if: ${{ always() }}
run: |
echo "Waiting 60 secs for iamlive to process all the permissions"
sleep 60
while ps -ef | grep iamlive | grep -v grep
do
kill -s SIGTERM `ps -ef | grep iamlive | grep -v grep | awk '{print $2}'`
sleep 1
done
cat iamlive-policy.json
- if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: iamlive-policy.json
path: iamlive-policy.json
Autocapture
Starts iamlive automatically in the background and uses the post execution step to shutdown iamlive and upload the policy document.
env:
AWS_CSM_ENABLED: 'true'
steps:
- uses: marcofranssen/setup-iamlive@v1.3.0
with:
iamlive-version: v1.1.11
auto-capture: true
output-file: iamlive-policy.json
- run: aws s3 ls
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
claude-opus-4-5-migration
140.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
