Skip to content

Commit

Permalink
Add account review checklist and action
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Oct 20, 2024
1 parent 2c31996 commit 03deb8d
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Review Reminder
name: Infosec Docs Review Reminder

on:
schedule:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Install GitHub CLI
run: sudo apt-get install gh

- name: Get team members and create issue
- name: Create Issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/quarterly-account-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Request Employee Acknowledgment

on:
schedule:
- cron: '0 0 1 1,4,7,10 *' # Runs at midnight on January 1st and July 1st every year
workflow_dispatch: # This enables manual triggering


jobs:
create-issues:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install GitHub CLI
run: sudo apt-get install gh

- name: Read issue body
id: acknowledgment_request
run: |
CONTENT=$(cat employee-lifecycle/account-review-checklist.md)
echo "content<<EOF" >> $GITHUB_ENV
echo "$CONTENT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Create Issue
env:
ISSUE_BODY: ${{ env.content }}
GH_TOKEN: ${{ github.token }}
run: |
gh issue create --title "Quarterly Account Review" --body "$ISSUE_BODY" --assignee richford
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "$CONTENT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Get team members and create issues
- name: Create issue
env:
ISSUE_BODY: ${{ env.content }}
GH_TOKEN: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/request-sisa-training.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
echo "$CONTENT" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Get team members and create issues
- name: Create issue
env:
ISSUE_BODY: ${{ env.content }}
GH_TOKEN: ${{ github.token }}
Expand Down
17 changes: 17 additions & 0 deletions employee-lifecycle/account-review-checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ROAR Account Review Checklist

- [ ] Google Workspace Shared Drives
- [ ] GitHub Repositories
- [ ] GitHub Teams
- [ ] Clever
- [ ] ClassLink
- [ ] Redivis
- [ ] Google Cloud Platform (GCP) / Firebase
- [ ] Slack
- [ ] Shared Email Accounts
- [ ] ROAR-Owned Devices
- [ ] Sentry
- [ ] Cypress Cloud
- [ ] Namecheap
- [ ] Qualys
- [ ] Beagle Security

0 comments on commit 03deb8d

Please sign in to comment.