Skip to content

Commit

Permalink
chore(deps): Update paths for trivy-policies (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 authored Oct 14, 2023
1 parent 267cbb8 commit b121611
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ jobs:
token: ${{ secrets.ORG_REPO_TOKEN }}
path: avd-repo/cloudsploit-repo

- name: Checkout public defsec-repo
- name: Checkout public trivy-policies-repo
uses: actions/checkout@v3
with:
repository: aquasecurity/defsec
repository: aquasecurity/trivy-policies
token: ${{ secrets.ORG_REPO_TOKEN }}
path: avd-repo/defsec-repo
path: avd-repo/trivy-policies-repo

- name: Checkout public kube-bench-repo
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:
token: ${{ secrets.ORG_REPO_TOKEN }}
path: avd-repo/cloudsploit-repo

- name: Checkout public defsec-repo
- name: Checkout public trivy-policies-repo
uses: actions/checkout@v3
with:
repository: aquasecurity/defsec
repository: aquasecurity/trivy-policies
token: ${{ secrets.ORG_REPO_TOKEN }}
path: avd-repo/defsec-repo
path: avd-repo/trivy-policies-repo

- name: Checkout public kube-bench-repo
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ md-clone-all:
git clone [email protected]:aquasecurity/chain-bench.git avd-repo/chain-bench-repo
git clone [email protected]:aquasecurity/cloud-security-remediation-guides.git avd-repo/remediations-repo
git clone [email protected]:aquasecurity/tracee.git avd-repo/tracee-repo
git clone [email protected]:aquasecurity/defsec.git avd-repo/defsec-repo
git clone [email protected]:aquasecurity/trivy-policies.git avd-repo/trivy-policies-repo
git clone [email protected]:aquasecurity/cloudsploit.git avd-repo/cloudsploit-repo

update-all-repos:
Expand All @@ -29,7 +29,7 @@ update-all-repos:
cd avd-repo/chain-bench-repo && git pull
cd avd-repo/remediations-repo && git pull
cd avd-repo/tracee-repo && git pull
cd avd-repo/defsec-repo && git pull
cd avd-repo/trivy-policies-repo && git pull
cd avd-repo/cloudsploit-repo && git pull

sync-all:
Expand Down
4 changes: 2 additions & 2 deletions docGen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ func main() {

generateChainBenchPages("../avd-repo/chain-bench-repo/internal/checks", "../avd-repo/content/compliance")
generateKubeBenchPages("../avd-repo/kube-bench-repo/cfg", "../avd-repo/content/compliance")
generateDefsecComplianceSpecPages("../avd-repo/defsec-repo/rules/specs/compliance", "../avd-repo/content/compliance")
generateDefsecComplianceSpecPages("../avd-repo/trivy-policies-repo/rules/specs/compliance", "../avd-repo/content/compliance")
generateKubeHunterPages("../avd-repo/kube-hunter-repo/docs/_kb", "../avd-repo/content/misconfig/kubernetes")
generateCloudSploitPages("../avd-repo/cloudsploit-repo/plugins", "../avd-repo/content/misconfig", "../avd-repo/remediations-repo/en")
generateTraceePages("../avd-repo/tracee-repo/signatures", "../avd-repo/content/tracee", realClock{})
generateDefsecPages("../avd-repo/defsec-repo/avd_docs", "../avd-repo/content/misconfig")
generateDefsecPages("../avd-repo/trivy-policies-repo/avd_docs", "../trivy-policies-repo/content/misconfig")

generateVulnPages()

Expand Down

0 comments on commit b121611

Please sign in to comment.