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

Support -report-azure-blob option #130

Merged
merged 1 commit into from
Jul 12, 2016
Merged

Support -report-azure-blob option #130

merged 1 commit into from
Jul 12, 2016

Conversation

kotakanbe
Copy link
Member

@kotakanbe kotakanbe commented Jul 11, 2016

Example: Put results in Azure Blob storage

To put results in Azure Blob Storage, configure following settings in Azure before scanning.

  • Create a container
$ vuls scan \
      -cve-dictionary-dbpath=$PWD/cve.sqlite3 \ 
      -report-azure-blob \
      -azure-container=vuls \
      -azure-account=test \
      -azure-key=access-key-string 

With this sample command, it will ..

  • Use SSH Key-Based authentication with empty password (without -ask-key-password option)
  • Sudo with no password (without -ask-sudo-password option)
  • Scan all servers defined in config file
  • Put scan result(JSON) in Azure Blob Storage. The container name is "vuls", storage account is "test" and accesskey is "access-key-string"

account and access key can be defined in environment variables.

$ export AZURE_STORAGE_ACCOUNT=test
$ export AZURE_STORAGE_ACCESS_KEY=access-key-string
$ vuls scan \
      -cve-dictionary-dbpath=$PWD/cve.sqlite3 \ 
      -report-azure-blob \
      -azure-container=vuls

@kotakanbe kotakanbe changed the title [WIP]Support -report-azure-blob option Support -report-azure-blob option Jul 12, 2016
@kotakanbe kotakanbe merged commit d046608 into master Jul 12, 2016
@kotakanbe kotakanbe deleted the azure-blob branch July 13, 2016 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant