Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
Co-authored-by: jt-dd <[email protected]>
  • Loading branch information
martinvoigt-dd and jt-dd authored Sep 12, 2024
1 parent a5cac96 commit f3cd221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ If a PR sits open for more than a month awaiting work or replies by the author,
To add a new attack to KubeHound, please do the following:

+ Document the attack in the [edges documentation](./docs/reference/attacks) directory
+ Define the attack constraints in the graph database [schema builder](./deployments/kubehound/kubegraph/kubehound-db-init.groovy)
+ Define the attack constraints in the graph database [schema builder](./deployments/kubehound/graph/kubehound-db-init.groovy)
+ Create an implementation of the [edge.Builder](./pkg/kubehound/graph/edge/builder.go) interface that determines whether attacks are possible by quering the store database and writes any found as edges into the graph database
+ Create the [resources](./test/setup/test-cluster/attacks/) file in the test cluster that will introduce an instance of the attack into the test cluster
+ Add an [edge system test](./test/system/graph_edge_test.go) that verifies the attack is correctly created by KubeHound
Expand Down

0 comments on commit f3cd221

Please sign in to comment.