cookbook 'aws-inspector', '~> 0.2.0'
aws-inspector (2) Versions 0.2.0 Follow3
Installs/Configures aws-inspector
cookbook 'aws-inspector', '~> 0.2.0', :supermarket
knife supermarket install aws-inspector
knife supermarket download aws-inspector
aws-inspector
Install and manage AWS Inspector agent.
Usage
Add the recipe to the node or the role files where you want AWS
inspector installed. If you want to remove AWS-inspector from a
particular node, set inspector.enabled attribute to false in the node
file and it will be removed.
```
{
"name": "aws-inspector.test",
"chef_environment": "testing",
"run_list": [
"recipe[aws-inspector]"
],
"normal": {
"inspector": {
"enabled": true
}
}
...
}
```
Supported Operating Systems
- Debian Jessie
- Ubuntu
- CentOS 7
- Amazon Linux
Depends
- apt
- yum
Contributions
Quality Checks
Foodcritic:
- All foodcritic recommendations followed except that I use symbols
rather than strings to access node attributes (FC001)
```
$ sudo gem install foodcritic
$ foodcritic
```
Kitchen:
- Use Kitchen to test the cookbook against a real system. Preferably an
instance machine with Ubuntu or CentOS. Note that in kitchen.yml
, it
is necessary to edit aws_ssh_key_id
and ssh_key
to point to an SSH
key pair in your account.
```
$ bundle install
$ kitchen test
# =======
$ sudo gem install test-kitchen kitchen-vagrant
$ kitchen init
$ kitchen diagnose --all
```
Running converge
$ kitchen converge default-ubuntu-1404
-
I use
zsh
inplace ofbash
. I had to do this to make kitchen work:$ eval "$(chef shell-init zsh)"
TODO: Unit tests using RSpec and ChefSpec
License
Licensed under MIT license. License text available in LICENSE.txt
While the cookbook itself is licensed under MIT, the AWS installer
script, the AWS inspector agent binary and files are licensed under
other licenses which may be more restrictive than MIT including GPLv2,
Apache, PCRE2 and BSD licenses. Please see the following file post
installation for the license text pertaining to AWS artefacts.
/opt/aws/awsagent/LICENSE
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.0 passed this metric
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 passed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 passed this metric
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 passed this metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number