-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Lunalectric/update-minikube-demo
update minikube demo and cnspec commands
- Loading branch information
Showing
6 changed files
with
33 additions
and
16 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
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 |
---|---|---|
|
@@ -75,7 +75,7 @@ password: ${random_string.suffix.result} | |
```bash | ||
sudo apt update | ||
sudo apt install -y wordlists gobuster dirsearch metasploit-framework golang patator | ||
sudo apt install -y wordlists gobuster dirsearch metasploit-framework golang patator vim | ||
sudo gem install webrick | ||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest | ||
|
@@ -384,7 +384,7 @@ policies: | |
email: [email protected] | ||
specs: | ||
- asset_filter: | ||
query: platform.name == 'kubernetes' | ||
query: asset.platform == 'k8s-cluster' || asset.platform == 'k8s-pod' | ||
scoring_queries: | ||
example-01: | ||
data_queries: | ||
|
@@ -404,7 +404,7 @@ queries: | |
- execute the policy with cnspec | ||
```bash | ||
cnspec scan k8s --policy-bundle ./policy.yaml | ||
cnspec scan k8s --policy-bundle ./policy.yaml --discover clusters -o full | ||
``` | ||
## Service Account Hack | ||
|