usage: fcpc hardenize [-h]
[--hardenize.organizationid HARDENIZE.ORGANIZATIONID]
[--hardenize.apiuser HARDENIZE.APIUSER]
[--hardenize.apipassword HARDENIZE.APIPASSWORD]
[--hardenize.suborg.apiuser HARDENIZE.SUBORG.APIUSER]
[--hardenize.suborg.apipassword HARDENIZE.SUBORG.APIPASSWORD]
{list-suborgs,create-suborg,delete-suborg,create-host,delete-host,list-hosts,list-reports,list-findings,list-certs}
[hardenizeobjects ...]
positional arguments:
{list-suborgs,create-suborg,delete-suborg,create-host,delete-host,list-hosts,list-reports,list-findings,list-certs}
Choices:
list-suborgs
create-suborg
delete-suborg
create-host
delete-host
list-hosts
list-reports
list-findings
list-certs
hardenizeobjects
optional arguments:
-h, --help show this help message and exit
--hardenize.organizationid HARDENIZE.ORGANIZATIONID
Organization for
API[Defined:fcplib.module.hardenize.cmd] (default:
None)
--hardenize.apiuser HARDENIZE.APIUSER
API username[Defined:fcplib.module.hardenize.cmd]
(default: None)
--hardenize.apipassword HARDENIZE.APIPASSWORD
API password[Defined:fcplib.module.hardenize.cmd]
(default: None)
--hardenize.suborg.apiuser HARDENIZE.SUBORG.APIUSER
API username[Defined:fcplib.module.hardenize.cmd]
(default: None)
--hardenize.suborg.apipassword HARDENIZE.SUBORG.APIPASSWORD
API password[Defined:fcplib.module.hardenize.cmd]
(default: None)
This is hardenize module utilizing hardenize.com api https://www.hardenize.com/docs/api/v1/#hardenize-org-api
Some commands are global, some of them are suborganization based.
Adding or deleting suborg is global, managing hosts and reports, suborg API is used.
For now, hardenize module does not save any data within model. It is just management interface for hardenize.
Procedure:
hardenize list-suborgs
hardenize create-suborg name
hardenize delete-suborg name
hardenize create-host suborg FQDN
hardenize delete-host suborg FQDN
hardenize list-hosts suborg FQDN
hardenize list-reports suborg
hardenize list-findings suborg