Skip to content

lindluni/warden-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warden-audit

Retrieves all of the repos, permissions, and orgs a user has access to on a GHES instance by impersonating the user

name: Audit User Access
on:
  workflow_dispatch:
    inputs:
      ghes-user:
        description: 'GitHub user handle to audit'
        required: true
jobs:
  audit:
    name: Audit User
    runs-on: ubuntu-latest
    steps:
      - name: Query User
        uses: lindluni/warden-audit@main
        with:
          url: https://<ghes_url>/api/v3
          user: ${{ github.event.inputs.ghes-user }}
          token: ${{ secrets.SITE_ADMIN_TOKEN }}
      - name: Upload artifact
        uses: actions/upload-artifact@v2
        with:
          name: audit-log
          path: audit-log.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published