Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template examples - fix package name for defect dojo examples #611

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions config/cfg-trivy-operator-defectdojo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ db-verify-interval: 1 # How often to check the DB size. By default, Postee ch
routes:
- name: trivyScans
actions: [ exec-curl-dd ]
template: plejd-dd-trivy-report
template: dd-trivy-report
input: contains(input.kind, "ClusterRbacAssessmentReport")

# Actions are target services that should consume the messages
Expand All @@ -30,5 +30,5 @@ templates:
- name: raw-json # route message "As Is" to external webhook
rego-package: postee.rawmessage.json

- name: plejd-dd-trivy-report # render from report into DD structure
rego-package: plejd.trivyoperator.defectdojo
- name: dd-trivy-report # render from report into DD structure
rego-package: postee.trivyoperator.defectdojo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# METADATA
# title: trivy-operator-defectdojo
# scope: package
package plejd.trivyoperator.defectdojo
package postee.trivyoperator.defectdojo

title:="-" #not used with webhook

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package plejd.trivyoperator.defectdojo.test
package postee.trivyoperator.defectdojo.test

import data.plejd.trivyoperator.defectdojo.result
import data.postee.trivyoperator.defectdojo.result


test_a_allowed {
Expand Down
Loading