Reference: Authentication
The <WebAppAuthRecord> element includes sub-elements used to define authentication records. A reference to these elements is provided below. An asterisk * indicates a complex element.
|
Parameter |
Mandatory /Optional |
Data Type |
Description |
|---|---|---|---|
|
id |
integer |
Authentication record ID. |
|
|
name |
text |
Authentication record name. |
|
|
tags |
Tag associated with the authentication record. |
||
|
tags.name |
text |
Tag name assigned to the authentication record. |
|
|
tags.id |
integer |
Tag ID assigned to the authentication record. |
|
|
createdDate |
date |
The date when the authentication record was created in WAS, in UTC date/time format. |
|
|
updatedDate |
date |
The date when the authentication record was updated in WAS, in UTC date/time format. |
|
|
lastScan.date |
date |
The date when the web application (associated with the authentication record) was last scanned, in UTC date/time format. |
|
|
lastScan.authStatus |
keyword |
Authentication status reported by the last web application scan: NONE, NOT_USED, SUCCESSFUL, FAILED or PARTIAL |
|
|
isUsed |
boolean |
Indicates whether used by a web application or scan. |
|
|
contents |
keyword |
(Keyword: FORM_STANDARD, FORM_CUSTOM, FORM_SELENIUM, SERVER_BASIC, SERVER_DIGEST, SERVER_NTLM, CERTIFICATE, OAUTH2_AUTH_CODE, OAUTH2_IMPLICIT, OAUTH2_PASSWORD, and OAUTH2_CLIENT_CREDS) |
|
|
WebAppAuthRecord |
text |
(text) Details associated with the web application authentication record. Use these parameters to create/update OAuth2 authentication record: WebAppAuthRecord.oauth2Record.grantType - (Required if authentication type is OAuth2)(text) Valid values are: 1) NONE, AUTH_CODE, IMPLICIT, PASSWORD, and CLIENT_CREDS. NONE means no grant type is selected. These are fields we support for each grant type:
When creating an authentication record, you can specify either a Form record (used for web application authentication) or an OAuth2 record (used for the Swagger/Open API file authentication) in the request. While updating an authentication record,
|
|
|
comments |
text |
User-defined comments. |