Name | Type | Description | Notes |
---|---|---|---|
account | SharedCredentialAccount | Specify the type of service to authenticate as well as all of the information required by that service. <div class="properties"> <div class="property-info"> <span class="property-name">service</span> <span class="param-type">string</span> <div class="param-enum"> <span class="param-enum-value string">"as400"</span> <span class="param-enum-value string">"cifs"</span> <span class="param-enum-value string">"cifshash"</span> <span class="param-enum-value string">"cvs"</span> <span class="param-enum-value string">"db2"</span> <span class="param-enum-value string">"ftp"</span> <span class="param-enum-value string">"http"</span> <span class="param-enum-value string">"ms-sql"</span> <span class="param-enum-value string">"mysql"</span> <span class="param-enum-value string">"notes"</span> <span class="param-enum-value string">"oracle"</span> <span class="param-enum-value string">"pop"</span> <span class="param-enum-value string">"postgresql"</span> <span class="param-enum-value string">"remote-exec"</span> <span class="param-enum-value string">"snmp"</span> <span class="param-enum-value string">"snmpv3"</span> <span class="param-enum-value string">"ssh"</span> <span class="param-enum-value string">"ssh-key"</span> <span class="param-enum-value string">"sybase"</span> <span class="param-enum-value string">"telnet"</span> </div> <div class="redoc-markdown-block">The type of service to authenticate with.</div> </div> </div> The following are the names of the valid values for service: | Value |
description | str | The description of the credential. | [optional] |
host_restriction | str | The host name or IP address that you want to restrict the credentials to. | [optional] |
id | int | The identifier of the credential. | [optional] |
name | str | The name of the credential. | |
port_restriction | int | Further restricts the credential to attempt to authenticate on a specific port. The port can only be restricted if the property `hostRestriction` is specified. | [optional] |
site_assignment | str | Assigns the shared scan credential either to be available to all sites or to a specific list of sites. The following table describes each supported value: | Value |
sites | list[int] | List of site identifiers. These sites are explicitly assigned access to the shared scan credential, allowing the site to use the credential for authentication during a scan. This property can only be set if the value of property `siteAssignment` is set to `"specific-sites"`. When the property `siteAssignment` is set to `"all-sites"`, this property will be `null`. | [optional] |