-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/turbot/guardrails-samples i…
…nto rds-policy-packs
- Loading branch information
Showing
1,518 changed files
with
28,688 additions
and
72,253 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
.github/ISSUE_TEMPLATE/calculated-policy---create-bug-report.md
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
.github/ISSUE_TEMPLATE/calculated-policy---create-new-policy.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
.github/ISSUE_TEMPLATE/graphql---create-new-query-example.md
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: Policy Pack - Bug report | ||
about: Create a bug report for a policy pack | ||
title: <policy_pack_name> - <Short description> | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To reproduce** | ||
Steps to reproduce the behaviour: | ||
1. Go to '...' | ||
2. Click on '...' | ||
3. Scroll down to '...' | ||
4. Run the command '...' | ||
5. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Policy Pack - New policy pack | ||
about: Suggest a new policy pack | ||
title: Add policy pack - <Short description> | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Control objective** | ||
A clear and concise description of what the control objective is and why it's important. | ||
|
||
**Remediation** | ||
The remediation action(s) to satisfy the control objective. | ||
|
||
**Categories** | ||
Proposed primary category and categories from the [available list of categories](https://github.com/turbot/guardrails-samples/tree/main/policy_packs#readmemd). | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
.github/ISSUE_TEMPLATE/security-hub---create-new-feature.md
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Baselines | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dryRun: | ||
description: Set to true for a dry run | ||
required: false | ||
default: "false" | ||
type: string | ||
push: | ||
paths: | ||
- baselines/** | ||
|
||
jobs: | ||
terraform: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Terraform | ||
uses: hashicorp/setup-terraform@v2 | ||
# with: | ||
# terraform_version: 1.4.6 | ||
|
||
- name: Set Turbot credentials | ||
run: | | ||
echo "TURBOT_WORKSPACE=${{ secrets.TURBOT_WORKSPACE }}" >> $GITHUB_ENV | ||
echo "TURBOT_ACCESS_KEY=${{ secrets.TURBOT_ACCESS_KEY }}" >> $GITHUB_ENV | ||
echo "TURBOT_SECRET_KEY=${{ secrets.TURBOT_SECRET_KEY }}" >> $GITHUB_ENV | ||
- name: Find all Terraform folders | ||
id: find_folders | ||
run: | | ||
folders=$(find baselines -type d -name "*.tf" -exec dirname {} \; | sort -u) | ||
echo "folders=$folders" >> $GITHUB_ENV | ||
echo "::set-output name=folders::$folders" | ||
- name: Run Terraform | ||
run: | | ||
for folder in ${{ steps.find_folders.outputs.folders }}; do | ||
cd $folder | ||
terraform init | ||
if [[ "$folder" == *"mods"* ]]; then | ||
terraform apply -auto-approve -parallelism=1 | ||
else | ||
terraform apply -auto-approve | ||
fi | ||
cd - > /dev/null | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Stale Issues and PRs | ||
on: | ||
schedule: | ||
- cron: "30 23 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
dryRun: | ||
description: Set to true for a dry run | ||
required: false | ||
default: "false" | ||
type: string | ||
|
||
jobs: | ||
stale_workflow: | ||
uses: turbot/steampipe-workflows/.github/workflows/stale.yml@main | ||
with: | ||
dryRun: ${{ github.event.inputs.dryRun }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,6 @@ Temporary Items | |
|
||
### Node ### | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
|
Oops, something went wrong.