Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/security-tfsec-pr-commenter.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/security-tfsec-upload.yml

This file was deleted.

46 changes: 0 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ Shared workflows and actions:
- [Security](#security)
- workflows
- [Gitleaks](#gitleaks)
- [Run tfsec on pull requests](#run-tfsec-on-pull-requests)
- [Run tfsec and upload](#run-tfsec-and-upload)
- [Run Trivy IAC with Quality GAte](#run-trivy-iac-with-quality-gate)

## Automation
Expand Down Expand Up @@ -340,50 +338,6 @@ jobs:
secrets: inherit
```

### Run tfsec on pull requests

_This is a workflow_

Add comments to pull requests where tfsec checks have failed.

[Marketplace](https://github.com/marketplace/actions/run-tfsec-pr-commenter)

How to invoke this workflow:

```yaml
name: Run tfsec on pull requests

on:
pull_request:
branches: [ "master", "main" ]

jobs:
shared:
uses: dfds/shared-workflows/.github/workflows/security-tfsec-pr-commenter.yml@master
```

### Run tfsec and upload

_This is a workflow_

This Github Action will run the tfsec sarif check then add the report to the repo for upload.

[Marketplace](https://github.com/marketplace/actions/run-tfsec-with-sarif-upload)

How to invoke this workflow:

```yaml
name: Run tfsec and upload

on:
push:
branches: [ "master", "main" ]

jobs:
shared:
uses: dfds/shared-workflows/.github/workflows/security-tfsec-upload.yml@master
```

### Run Trivy IAC with Quality GAte

_This is a workflow_
Expand Down
11 changes: 0 additions & 11 deletions examples/security-tfsec-pr-commenter.yml

This file was deleted.

11 changes: 0 additions & 11 deletions examples/security-tfsec-upload.yml

This file was deleted.