-
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.
* feat: virtual-patch initial commit Signed-off-by: VedRatan <vedratan8@gmail.com> * feat: added kyverno, karmor, netpol policy creation, deletion, and updation logic Signed-off-by: VedRatan <vedratan8@gmail.com> * feat: added support for network policy Signed-off-by: VedRatan <vedratan8@gmail.com> * feat: added scheduled fetching of latest CVE data Signed-off-by: VedRatan <vedratan8@gmail.com> * chore: resolved all the review comments Signed-off-by: VedRatan <vedratan8@gmail.com> * (docs): added intent description (#265) * fix: Fix CRDs version in PROJECT file Signed-off-by: Anurag Rajawat <anurag@accuknox.com> * doc: Add Intent and CRDs spec docs Signed-off-by: Anurag Rajawat <anurag@accuknox.com> * feat: added intent description Signed-off-by: VedRatan <vedratan8@gmail.com> * docs: added pkg-mgr-execution intent desc Signed-off-by: VedRatan <vedratan8@gmail.com> * docs: added coco-workload intent details Signed-off-by: VedRatan <vedratan8@gmail.com> * docs: update exploit-pfa Signed-off-by: VedRatan <vedratan8@gmail.com> * update command Signed-off-by: VedRatan <vedratan8@gmail.com> * doc: Update docs Signed-off-by: Anurag Rajawat <anurag@accuknox.com> * refactored the docs Signed-off-by: VedRatan <vedratan8@gmail.com> * updated quick-tutorials Signed-off-by: VedRatan <vedratan8@gmail.com> --------- Signed-off-by: Anurag Rajawat <anurag@accuknox.com> Signed-off-by: VedRatan <vedratan8@gmail.com> Co-authored-by: Anurag Rajawat <anurag@accuknox.com> * chore: handled error gracefully, update slice search command Signed-off-by: VedRatan <vedratan8@gmail.com> * fix: tests Signed-off-by: VedRatan <vedratan8@gmail.com> * fix: error handling and review comments Signed-off-by: VedRatan <vedratan8@gmail.com> --------- Signed-off-by: VedRatan <vedratan8@gmail.com> Signed-off-by: Anurag Rajawat <anurag@accuknox.com> Signed-off-by: Ved Ratan <82467006+VedRatan@users.noreply.github.com> Co-authored-by: Anurag Rajawat <anurag@accuknox.com>
- Loading branch information
1 parent
f651a04
commit 67712a9
Showing
15 changed files
with
708 additions
and
70 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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright 2023 Authors of Nimbus | ||
|
||
apiVersion: intent.security.nimbus.com/v1alpha1 | ||
kind: SecurityIntent | ||
metadata: | ||
name: virtual-patch | ||
spec: | ||
intent: | ||
id: virtualPatch | ||
description: > | ||
There might exist CVE's associated with certain images, adversaries might exploit these CVE and can cause potential threat, | ||
to any production server. Check and apply virtual patch for a given set of CVEs as per a schedule | ||
action: Block | ||
params: | ||
cveList: | ||
- "CVE-2024-4439" | ||
- "CVE-2024-27268" | ||
schedule: ["0 23 * * SUN"] | ||
|
||
--- | ||
|
||
apiVersion: intent.security.nimbus.com/v1alpha1 | ||
kind: SecurityIntentBinding | ||
metadata: | ||
name: virtual-patch-binding | ||
spec: | ||
intents: | ||
- name: virtual-patch | ||
selector: | ||
workloadSelector: | ||
matchLabels: | ||
app: prod |
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
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
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
Oops, something went wrong.