Closed dustin-decker closed 4 years ago
Merging #297 into master will increase coverage by
0.01%
. The diff coverage is75%
.
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
+ Coverage 59.85% 59.86% +0.01%
==========================================
Files 39 39
Lines 1928 1931 +3
==========================================
+ Hits 1154 1156 +2
- Misses 774 775 +1
Impacted Files | Coverage Δ | |
---|---|---|
kube_hunter/conf/__init__.py | 100% <100%> (ø) |
:arrow_up: |
kube_hunter/modules/discovery/hosts.py | 70.22% <50%> (-0.32%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a4a8c71...482bbe6. Read the comment docs.
Hi @dustin-decker !
First, Thanks for your contribution!
I understand the use case of here and I find it beneficial, although I have some implementation comments/suggestions:
conf
package (#289 )--cidr 10.0.10.0/24,10.0.20.0/24
--cidr 10.0.0.0/16,!10.0.10.0/24
to exclude 10.0.10.0/24.netaddr
package, e.g, --cidr 10.0.0.0,!10.0.*.0
to exclude addresses that end with .0
Hi @dustin-decker !
Got any comments/progress \w this? I can assist if you wish.
Closing in favor of #332
Signed-off-by: Dustin Decker dustin.decker@getcruise.com
Closes #296
Description
Added support for ignoring IPs that are enumerated from a CIDR range with a
--ignore
flag.Contribution Guidelines
Please Read through the Contribution Guidelines.
Fixed Issues
Fixes #296
"BEFORE" and "AFTER" output
To verify that the change works as desired, please include an output of terminal before and after the changes under headings "BEFORE" and "AFTER".
BEFORE
Any Terminal Output Before Changes.
AFTER
Contribution checklist
Notes
I did not add any tests for this feature.