-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Modify id of exploit pfa to lower camel case to make it inline with (
#189) other ids
- Loading branch information
1 parent
52c3aba
commit 2e642c2
Showing
3 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,27 +1,24 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2023 Authors of Nimbus | ||
|
||
apiVersion: intent.security.nimbus.com/v1 | ||
apiVersion: intent.security.nimbus.com/v1alpha1 | ||
kind: SecurityIntent | ||
metadata: | ||
name: exploit-pfa | ||
spec: | ||
intent: | ||
id: PreventExecutionFromTempOrLogsFolders | ||
id: preventExecutionFromTempOrLogsFolders | ||
description: "Mitigate the execution of harmful binaries which may result in exploiting public facing application" | ||
action: Block | ||
--- | ||
apiVersion: intent.security.nimbus.com/v1 | ||
apiVersion: intent.security.nimbus.com/v1alpha1 | ||
kind: SecurityIntentBinding | ||
metadata: | ||
name: exploit-pfa-binding | ||
spec: | ||
intents: | ||
- name: exploit-pfa | ||
selector: | ||
any: | ||
- resources: | ||
kind: Pod | ||
namespace: default | ||
matchLabels: | ||
app: nginx | ||
workloadSelector: | ||
matchLabels: | ||
app: nginx |
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
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