Closed ghost closed 6 years ago
:exclamation: No coverage uploaded for pull request base (
master@1e72bd2
). Click here to learn what that means. The diff coverage is100%
.
@@ Coverage Diff @@
## master #3 +/- ##
=======================================
Coverage ? 100%
=======================================
Files ? 2
Lines ? 193
Branches ? 10
=======================================
Hits ? 193
Misses ? 0
Partials ? 0
Impacted Files | Coverage Δ | |
---|---|---|
houndigrade/test_cli.py | 100% <100%> (ø) |
|
houndigrade/cli.py | 100% <100%> (ø) |
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 1e72bd2...485a05c. Read the comment docs.
How does this work?
Houndigrade is a CLI script that lives in a container, the primary use case is running it on container host that has N amount of volumes attached. Houndigrade will mount the volumes and run some static checks to see what OS and (soon™) software is used on said volume. Houndigrade can inspect multiple volumes at the same time simply by passing extra ones in via the
-t
flag. Once the inspection is complete results are written to a queue for consumption by a different service.How do I run it?
For Dev/Locally
Currently there is an included docker compose file that helps you run it locally. The file combined with an entrypoint script will start a queue container (accessible at localhost:15672 with default credentials
guest/guest
) and the houndigrade container. Inside the houndigrade container the entrypoint script mounts two block devices usinglosetup
and then runs a scan against those volumes. Each one has a single partition with either RHEL or CentOS fingerprints. Once the run is done a message will be placed on the queue.In AWS
High level overview of launching this in AWS is as follows:
Sample Output
Here is sample output of a message that you'd find on a queue from a real™ scan run in AWS that was called with command parameters
-c aws -t ami-test1 /dev/xvdba -t ami-test2 /dev/xvdbb -t ami-test3 /dev/xvdbc
Demo
https://asciinema.org/a/QEqfQSH6MAzIJ67TTWuYKhxtb