boman-cli 2.6.7__tar.gz → 2.6.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {boman_cli-2.6.7 → boman_cli-2.6.8}/PKG-INFO +20 -1
- {boman_cli-2.6.7 → boman_cli-2.6.8}/README.md +19 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/PKG-INFO +20 -1
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/Config.py +4 -2
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/main.py +42 -33
- {boman_cli-2.6.7 → boman_cli-2.6.8}/setup.cfg +1 -1
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/SOURCES.txt +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/dependency_links.txt +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/entry_points.txt +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/requires.txt +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/boman_cli.egg-info/top_level.txt +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/_init_.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/auth.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/base_logger.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/dev_attribution.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/loc_finder.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/05-lifecycle-hook-abuse.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/generic/01-obfuscated-dynamic-exec-confusable-unicode.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/generic/05-lifecycle-hook-abuse-composer.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/generic/05-lifecycle-hook-abuse-npm.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/generic/boman-malware-detection.yml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/05-lifecycle-hook-abuse.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/05-lifecycle-hook-abuse.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/05-lifecycle-hook-abuse.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/05-lifecycle-hook-abuse.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/12-insecure-deserialization.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/01-obfuscated-dynamic-exec.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/02-reverse-shell.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/03-download-and-execute.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/04-credential-exfiltration.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/06-suspicious-c2-endpoints.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/07-cryptominer-indicators.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/08-persistence.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/09-anti-analysis-evasion.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/10-filesystem-tampering.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/sbom_enricher.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/templates/template_plan.yaml +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/utils.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/validation.py +0 -0
- {boman_cli-2.6.7 → boman_cli-2.6.8}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boman-cli
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.8
|
|
4
4
|
Summary: CLI tool of boman.ai
|
|
5
5
|
Home-page: https://boman.ai
|
|
6
6
|
Author: Sumeru Software Solutions Pvt. Ltd.
|
|
@@ -86,6 +86,19 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
86
86
|
|
|
87
87
|
`boman-cli -a run -semgrep_token <value>`
|
|
88
88
|
|
|
89
|
+
### Set cache when SBOM is failing due to cache error
|
|
90
|
+
|
|
91
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
92
|
+
|
|
93
|
+
### Set non root mode when SAST is failing due to cache error
|
|
94
|
+
|
|
95
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -nrm True`
|
|
96
|
+
|
|
97
|
+
### Set no enrichment SBOM when enriching SBOM is taking so much time then expected. The caveat is you will still get SBOM but it will not carry all the other details.
|
|
98
|
+
|
|
99
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
100
|
+
|
|
101
|
+
|
|
89
102
|
|
|
90
103
|
|
|
91
104
|
|
|
@@ -103,6 +116,12 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
103
116
|
|
|
104
117
|
# Release Notes:
|
|
105
118
|
|
|
119
|
+
### 2.6.8
|
|
120
|
+
- **new argument** - Do not enrich SBOM is now available for Jenkins and Non-Jenkins pipeline. Use `-nes True`at end of the command to enable this feature
|
|
121
|
+
|
|
122
|
+
### 2.6.7
|
|
123
|
+
- **new argument** - Non root mode now available for Jenkins and Non-Jenkins pipeline. Use `-nrm True`at end of the command to enable this mode
|
|
124
|
+
|
|
106
125
|
### 2.6.6
|
|
107
126
|
- **Rule Deprication** - Depricating generic rule (Trojan Horse)
|
|
108
127
|
|
|
@@ -64,6 +64,19 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
64
64
|
|
|
65
65
|
`boman-cli -a run -semgrep_token <value>`
|
|
66
66
|
|
|
67
|
+
### Set cache when SBOM is failing due to cache error
|
|
68
|
+
|
|
69
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
70
|
+
|
|
71
|
+
### Set non root mode when SAST is failing due to cache error
|
|
72
|
+
|
|
73
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -nrm True`
|
|
74
|
+
|
|
75
|
+
### Set no enrichment SBOM when enriching SBOM is taking so much time then expected. The caveat is you will still get SBOM but it will not carry all the other details.
|
|
76
|
+
|
|
77
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
78
|
+
|
|
79
|
+
|
|
67
80
|
|
|
68
81
|
|
|
69
82
|
|
|
@@ -81,6 +94,12 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
81
94
|
|
|
82
95
|
# Release Notes:
|
|
83
96
|
|
|
97
|
+
### 2.6.8
|
|
98
|
+
- **new argument** - Do not enrich SBOM is now available for Jenkins and Non-Jenkins pipeline. Use `-nes True`at end of the command to enable this feature
|
|
99
|
+
|
|
100
|
+
### 2.6.7
|
|
101
|
+
- **new argument** - Non root mode now available for Jenkins and Non-Jenkins pipeline. Use `-nrm True`at end of the command to enable this mode
|
|
102
|
+
|
|
84
103
|
### 2.6.6
|
|
85
104
|
- **Rule Deprication** - Depricating generic rule (Trojan Horse)
|
|
86
105
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boman-cli
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.8
|
|
4
4
|
Summary: CLI tool of boman.ai
|
|
5
5
|
Home-page: https://boman.ai
|
|
6
6
|
Author: Sumeru Software Solutions Pvt. Ltd.
|
|
@@ -86,6 +86,19 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
86
86
|
|
|
87
87
|
`boman-cli -a run -semgrep_token <value>`
|
|
88
88
|
|
|
89
|
+
### Set cache when SBOM is failing due to cache error
|
|
90
|
+
|
|
91
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
92
|
+
|
|
93
|
+
### Set non root mode when SAST is failing due to cache error
|
|
94
|
+
|
|
95
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -nrm True`
|
|
96
|
+
|
|
97
|
+
### Set no enrichment SBOM when enriching SBOM is taking so much time then expected. The caveat is you will still get SBOM but it will not carry all the other details.
|
|
98
|
+
|
|
99
|
+
usage: `boman-cli -a run -at <project token> -ct <customer token> -std True`
|
|
100
|
+
|
|
101
|
+
|
|
89
102
|
|
|
90
103
|
|
|
91
104
|
|
|
@@ -103,6 +116,12 @@ Example: boman-cli -a run -zap_session_script ./session.js
|
|
|
103
116
|
|
|
104
117
|
# Release Notes:
|
|
105
118
|
|
|
119
|
+
### 2.6.8
|
|
120
|
+
- **new argument** - Do not enrich SBOM is now available for Jenkins and Non-Jenkins pipeline. Use `-nes True`at end of the command to enable this feature
|
|
121
|
+
|
|
122
|
+
### 2.6.7
|
|
123
|
+
- **new argument** - Non root mode now available for Jenkins and Non-Jenkins pipeline. Use `-nrm True`at end of the command to enable this mode
|
|
124
|
+
|
|
106
125
|
### 2.6.6
|
|
107
126
|
- **Rule Deprication** - Depricating generic rule (Trojan Horse)
|
|
108
127
|
|
|
@@ -121,7 +121,7 @@ class Config:
|
|
|
121
121
|
|
|
122
122
|
log_level = "INFO"
|
|
123
123
|
|
|
124
|
-
version = 'v2.6.
|
|
124
|
+
version = 'v2.6.8'
|
|
125
125
|
|
|
126
126
|
boman_config_file = 'boman.yaml'
|
|
127
127
|
|
|
@@ -244,4 +244,6 @@ class Config:
|
|
|
244
244
|
|
|
245
245
|
non_root_mode = False
|
|
246
246
|
home="HOME=/tmp"
|
|
247
|
-
xdg_cache_home="XDG_CACHE_HOME=/tmp/.cache"
|
|
247
|
+
xdg_cache_home="XDG_CACHE_HOME=/tmp/.cache"
|
|
248
|
+
|
|
249
|
+
no_enrichment_sbom = False
|
|
@@ -609,58 +609,63 @@ def runImage(data=None,type=None):
|
|
|
609
609
|
logging.info('SBOM Docker: SUCCESS!!! Message: %s Scan Completed',tool_name)
|
|
610
610
|
Config.sbom_message ='SBOM scan completed'
|
|
611
611
|
Config.sbom_scan_status ='Completed'
|
|
612
|
+
|
|
613
|
+
if not Config.no_enrichment_sbom:
|
|
612
614
|
|
|
613
|
-
|
|
615
|
+
##running reachability before sbom upload
|
|
614
616
|
|
|
615
617
|
|
|
616
|
-
|
|
618
|
+
#this part i removed since, reachabitlity bug has tobe solved later
|
|
617
619
|
|
|
618
|
-
|
|
620
|
+
#### sbom entrich part starts here
|
|
619
621
|
|
|
620
622
|
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
623
|
+
# Load SBOM (generated by Trivy or Syft)
|
|
624
|
+
# Load SBOM (generated by Trivy or Syft)
|
|
625
|
+
enricher = SBOMEnricher(Config.sbom_output_file)
|
|
624
626
|
|
|
625
|
-
|
|
626
|
-
|
|
627
|
+
# Enrich with additional fields
|
|
628
|
+
enriched_data = enricher.enrich_components()
|
|
627
629
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
+
# Save final SBOM
|
|
631
|
+
enricher.save_sbom('sbom_enriched.json')
|
|
630
632
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
+
#print(Config.sbom_output_file)
|
|
634
|
+
|
|
633
635
|
|
|
634
|
-
|
|
636
|
+
output_file = 'sbom_enriched.json'
|
|
635
637
|
|
|
636
|
-
|
|
638
|
+
logging.info('Enrichment done %s',output_file)
|
|
637
639
|
|
|
638
640
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
641
|
+
|
|
642
|
+
sbom_output_file = output_file
|
|
643
|
+
csv_file = Config.hssc_output_file
|
|
644
|
+
#generating sbom more data
|
|
643
645
|
|
|
644
646
|
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
647
|
+
#i should run the heisenger
|
|
648
|
+
|
|
649
|
+
logging.info('Running SSC check on the repo')
|
|
648
650
|
|
|
649
651
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
652
|
+
|
|
653
|
+
try:
|
|
654
|
+
Utils.runheisenberg(sbom_output_file) #docker of hsc
|
|
655
|
+
except e:
|
|
656
|
+
logging.info('Some error occured while Running HSC on the repo')
|
|
657
|
+
exit(6)
|
|
658
|
+
|
|
659
|
+
logging.info('Enrichment with more data is going to happen %s',Config.sbom_output_file)
|
|
658
660
|
|
|
659
|
-
|
|
661
|
+
enricher.run_heisenberg(sbom_output_file, csv_file)
|
|
660
662
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
663
|
+
logging.info('Enrichment done %s',Config.sbom_output_file)
|
|
664
|
+
##exit(-1)
|
|
665
|
+
else:
|
|
666
|
+
logging.info('SBOM Docker: Enrichment is disabled for SBOM, skipping enrichment step')
|
|
667
|
+
logging.info('SBOM Docker: SBOM scan completed without enrichment %s',output_file)
|
|
668
|
+
|
|
664
669
|
except errors.ContainerError as exc:
|
|
665
670
|
logging.error('SBOM Docker: Failed!!! Message: Some Error recorded while scanning %s',str(exc))
|
|
666
671
|
msg='\n The following error has been recorded while scanning sca'
|
|
@@ -1309,6 +1314,7 @@ def default():
|
|
|
1309
1314
|
parser.add_argument('-pof','--pollFrequency',default=10,help="Polling Frequency. Min : 5s, Max: 1min, Default : 10s. Format: input the time in seconds eg: 1min => 60 ")
|
|
1310
1315
|
parser.add_argument('-std','--setCacheDir',default=False,help="Set the cache directory for the scan. Set true if you use jenkins cicd")
|
|
1311
1316
|
parser.add_argument('-nrm','--nonRootMode',default=False,help="Set the non-root mode for the scan. Set true if you use jenkins cicd")
|
|
1317
|
+
parser.add_argument('-nes','--noEnrichmentSBOM',default=False,help="Set the no enrichment for SBOM scan. Set true if you want to skip the enrichment of SBOM scan")
|
|
1312
1318
|
args = parser.parse_args()
|
|
1313
1319
|
|
|
1314
1320
|
# if len(sys.args) == 1:
|
|
@@ -1341,6 +1347,9 @@ def default():
|
|
|
1341
1347
|
else:
|
|
1342
1348
|
Config.non_root_mode = False
|
|
1343
1349
|
|
|
1350
|
+
if args.noEnrichmentSBOM:
|
|
1351
|
+
Config.no_enrichment_sbom = True
|
|
1352
|
+
|
|
1344
1353
|
# lingu user id set
|
|
1345
1354
|
if args.semgrepToken == 'No':
|
|
1346
1355
|
##logging.info('jenkins is choosen')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/bash/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/02-reverse-shell.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/05-lifecycle-hook-abuse.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/csharp/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/generic/boman-malware-detection.yml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/01-obfuscated-dynamic-exec.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/03-download-and-execute.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/04-credential-exfiltration.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/05-lifecycle-hook-abuse.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/06-suspicious-c2-endpoints.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/go/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/05-lifecycle-hook-abuse.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/java/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/02-reverse-shell.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/javascript/08-persistence.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/01-obfuscated-dynamic-exec.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/03-download-and-execute.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/04-credential-exfiltration.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/06-suspicious-c2-endpoints.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/php/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/02-reverse-shell.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/05-lifecycle-hook-abuse.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/python/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/05-lifecycle-hook-abuse.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/ruby/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/03-download-and-execute.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/07-cryptominer-indicators.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/09-anti-analysis-evasion.yaml
RENAMED
|
File without changes
|
{boman_cli-2.6.7 → boman_cli-2.6.8}/bomancli/malware_rules/boman/rust/10-filesystem-tampering.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|