Update Connector
PUT https://{{API_URL}}/connectors/{{id}}
Updates the attributes of a connector by given id.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
**Update {{id}} in the URL above (or variable) to reflect connector identifier | string | Connector id can be found in Kenna platform URL when connector is selected | |
{{**All items below are to be updated in the body tab -- here only for doc}} | null | ||
name | string | string- The name used to identify this connector within Kenna. | |
host | string | string - The hostname of your vulnerability scanner (if applicable). | |
username | string | string - The username of an account on your vulnerability scanner (if applicable). |
|
| password
| string | | string - The password of an account on your vulnerability scanner (if applicable).
|
| api_key
| string | | string - The API key used to access your vulnerability scanner (if applicable). |
| scan_policy
| string | | string - The stored policy the vulnerability scanner uses for this connector. |
| scan_list
| string | | string - The list of scans with this connector (if applicable). List is a comma separated string, or null. |
Request Body
{"connector"=>{"name"=>"", "host"=>"", "username"=>"", "password"=>"", "api_key"=>"", "scan_policy"=>"", "scan_list"=>""}}