Patrowl / PatrowlEngines

PatrOwl - Open Source, Free and Scalable Security Operations Orchestration Platform
https://www.patrowl.io
GNU Affero General Public License v3.0
242 stars 73 forks source link

OPENVAS scanner is not ready #66

Closed xytnba closed 3 years ago

xytnba commented 4 years ago

manager-pic 51 51

I run openvas in docker,and the status is ready. I want to know why I start scans is error? Where should I find the method to fix it? Thanks a lot!

xytnba commented 4 years ago

cmd-pic 20

I follow the test urls method .It also returned me the same problems. Please tell me ,I need it very much~

MaKyOtOx commented 4 years ago

Hi @xytnba Could you please give us the scan policy used (kkk) ?

xytnba commented 4 years ago

@MaKyOtOx I followed the policy by your example. 6 24 Is that right? By the way , I think it maybe wrong at the part of OMP or gsa. Thanks!

clouca commented 4 years ago

same issue here. did you find a workaround ?

Mustache84 commented 4 years ago

Bump. Same issue. Workarounds?

Mustache84 commented 4 years ago

Figured this out on my part. Patrowl doesn't spin up openvas. You have to go into the configs and edit the openvas operator to actually target your openvas scan host so that it can then make/get API calls to/from the scanner to start getting results.

Their documentation, AFAIK?, doesn't explain all that.

Mustache84 commented 4 years ago

can be seen here:

/opt/patrowl-engines/openvas # ls README.md init.py pycache engine-openvas.py libs openvas.json requirements.txt results /opt/patrowl-engines/openvas # cat openvas.json { "name": "Openvas API", "version": "1.0.0", "description": "Openvas API", "allowed_asset_types": ["fqdn" ,"ip", "domain", "ip-subnet", "ip-range"], "options": { "gmp_host": { "type": "required", "value": "www.changeme.com"}, "gmp_port": { "type": "optional", "value": "9390"}, "gmp_username": { "type": "optional", "value": "changeme"}, "gmp_password": { "type": "optional", "value": "changeme"}, "default_credential_name": { "type": "optional", "value": "SSH Scanner"}, "default_scan_config_name": { "type": "optional", "value": "Full and fast"} } }