Update Connector

PUT https://{{API_URL}}/connectors/{{id}}

Updates the attributes of a connector by given id.

Request Params

KeyDatatypeRequiredDescription
**Update {{id}} in the URL above (or variable) to reflect connector identifierstringConnector 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
namestringstring- The name used to identify this connector within Kenna.
hoststringstring - The hostname of your vulnerability scanner (if applicable).
usernamestringstring - 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"=>""}}