Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フィルタにかかったインスタンスからランダムに選出してコンフィグに書き出す #5

Open
ohsawa0515 opened this issue Nov 29, 2017 · 0 comments
Assignees

Comments

@ohsawa0515
Copy link
Owner

ohsawa0515 commented Nov 29, 2017

Webサーバなど同じサーバが複数存在している状況で、そのうち1台だけをVulsスキャンしたいケースに対応する。

ケース1)

# Webサーバが3台存在する
web001
web002
web003

$ ec2-vuls-config --random 1
web002 # ランダムに1台が選ばれる

ケース2)

# WebサーバとBatchサーバが3台ずつ存在する
web001
web002
web003

batch001
batch002
batch003

$ ec2-vuls-config --random 1 --each
web003
batch001
# WebサーバとBatchサーバがそれぞれランダムに1台が選ばれる
@ohsawa0515 ohsawa0515 self-assigned this Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant