Download full document:

appfwlearningdata

Configuration for learning data resource.

Properties

(click to see Operations)

Name Data Type PermissionsDescription
profilename<String>Read-writeName of the profile.
starturl<String>Read-writeStart URL configuration.<br>Minimum length = 1
cookieconsistency<String>Read-writeCookie Name.<br>Minimum length = 1
fieldconsistency<String>Read-writeForm field name.<br>Minimum length = 1
formactionurl_ffc<String>Read-writeForm action URL.
contenttype<String>Read-writeContent Type Name.<br>Minimum length = 1
crosssitescripting<String>Read-writeCross-site scripting.<br>Minimum length = 1
formactionurl_xss<String>Read-writeForm action URL.<br>Minimum length = 1
as_scan_location_xss<String>Read-writeLocation of cross-site scripting exception - form field, header or cookie.<br>Possible values = FORMFIELD, HEADER, COOKIE
as_value_type_xss<String>Read-writeXSS value type. (Tag | Attribute | Pattern).<br>Possible values = Tag, Attribute, Pattern
as_value_expr_xss<String>Read-writeXSS value expressions consistituting expressions for Tag, Attribute or Pattern.
sqlinjection<String>Read-writeForm field name.<br>Minimum length = 1
formactionurl_sql<String>Read-writeForm action URL.<br>Minimum length = 1
as_scan_location_sql<String>Read-writeLocation of sql injection exception - form field, header or cookie.<br>Possible values = FORMFIELD, HEADER, COOKIE
as_value_type_sql<String>Read-writeSQL value type. Keyword, SpecialString or Wildchar.<br>Possible values = Keyword, SpecialString, Wildchar
as_value_expr_sql<String>Read-writeSQL value expressions consistituting expressions for Keyword, SpecialString or Wildchar.
fieldformat<String>Read-writeField format name.<br>Minimum length = 1
formactionurl_ff<String>Read-writeForm action URL.<br>Minimum length = 1
csrftag<String>Read-writeCSRF Form Action URL.<br>Minimum length = 1
csrfformoriginurl<String>Read-writeCSRF Form Origin URL.<br>Minimum length = 1
creditcardnumber<String>Read-writeThe object expression that is to be excluded from safe commerce check.<br>Minimum length = 1
creditcardnumberurl<String>Read-writeThe url for which the list of credit card numbers are needed to be bypassed from inspection.<br>Minimum length = 1
xmldoscheck<String>Read-writeXML Denial of Service check, one of<br> MaxAttributes<br> MaxAttributeNameLength<br> MaxAttributeValueLength<br> MaxElementNameLength<br> MaxFileSize<br> MinFileSize<br> MaxCDATALength<br> MaxElements<br> MaxElementDepth<br> MaxElementChildren<br> NumDTDs<br> NumProcessingInstructions<br> NumExternalEntities<br> MaxEntityExpansions<br> MaxEntityExpansionDepth<br> MaxNamespaces<br> MaxNamespaceUriLength<br> MaxSOAPArraySize<br> MaxSOAPArrayRank<br>.<br>Minimum length = 1
xmlwsicheck<String>Read-writeWeb Services Interoperability Rule ID.<br>Minimum length = 1
xmlattachmentcheck<String>Read-writeXML Attachment Content-Type.<br>Minimum length = 1
totalxmlrequests<Boolean>Read-writeTotal XML requests.
securitycheck<String>Read-writeName of the security check.<br>Possible values = startURL, cookieConsistency, fieldConsistency, crossSiteScripting, SQLInjection, fieldFormat, CSRFtag, XMLDoSCheck, XMLWSICheck, XMLAttachmentCheck, TotalXMLRequests, creditCardNumber, ContentType
target<String>Read-writeTarget filename for data to be exported.<br>Minimum length = 1<br>Maximum length = 127
url<String>Read-onlyLearnt url.
name<String>Read-onlyLearnt field name.
fieldtype<String>Read-onlyLearnt field type.
fieldformatminlength<Double>Read-onlyThe minimum allowed length for data in this form field.
fieldformatmaxlength<Double>Read-onlyThe maximum allowed length for data in this form field.
fieldformatcharmappcre<String>Read-onlyForm field value allowed character map.
value_type<String>Read-onlyLearnt field value type.
value<String>Read-onlyLearnt field value.
hits<Double>Read-onlyLearnt entity hit count.
data<String>Read-onlyLearned data.
__count<Double>Read-onlycount parameter

Operations

(click to see Properties)

DELETE | RESET | EXPORT | GET (ALL) | COUNT

Some options that you can use for each operations:

  • Getting warnings in response: NITRO allows you to get warnings in an operation by specifying the "warning" query parameter as "yes". For example, to get warnings while connecting to the NetScaler appliance, the URL is as follows:

    http://<netscaler-ip-address>/nitro/v1/config/login?warning=yes

    If any, the warnings are displayed in the response payload with the HTTP code "209 X-NITRO-WARNING".

  • Authenticated access for individual NITRO operations: NITRO allows you to logon to the NetScaler appliance to perform individual operations. You can use this option instead of creating a NITRO session (using the login object) and then using that session to perform all operations,

    To do this, you must specify the username and password in the request header of the NITRO request as follows:

    X-NITRO-USER:<username>

    X-NITRO-PASS:<password>

    Note: In such cases, make sure that the request header DOES not include the following:

    Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

delete

URL: http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata

HTTP Method: DELETE

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue>

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

reset

URL: http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?action=reset

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:

{"appfwlearningdata":{
}}

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

export

URL: http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?action=export

HTTP Method: POST

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Content-Type:application/json

Request Payload:

{"appfwlearningdata":{
      "profilename":<String_value>,
      "securitycheck":<String_value>,
      "target":<String_value>
}}

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the error

get (all)

URL: http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata

Query-parameters:

args

http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?args=profilename:<String_value>,securitycheck:<String_value>,

Use this query-parameter to get appfwlearningdata resources based on additional properties.

attrs

http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?attrs=property-name1,property-name2

Use this query parameter to specify the resource details that you want to retrieve.

filter

http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?filter=property-name1:property-val1,property-name2:property-val2

Use this query-parameter to get the filtered set of appfwlearningdata resources configured on NetScaler.Filtering can be done on any of the properties of the resource.

view

http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?view=summary

Note: By default, the retrieved results are displayed in detail view (?view=detail).

pagination

http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?pagesize=#no;pageno=#no

Use this query-parameter to get the appfwlearningdata resources in chunks.

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "appfwlearningdata": [ {
profilename:<String_value>,securitycheck:<String_value>,      "url":<String_value>,
      "name":<String_value>,
      "fieldtype":<String_value>,
      "fieldformatminlength":<Double_value>,
      "fieldformatmaxlength":<Double_value>,
      "fieldformatcharmappcre":<String_value>,
      "value_type":<String_value>,
      "value":<String_value>,
      "hits":<Double_value>,
      "data":<String_value>
}]}

count

URL: http://<netscaler-ip-address>/nitro/v1/config/appfwlearningdata?args=profilename:<String_value>,securitycheck:<String_value>,;count=yes

HTTP Method: GET

Request Headers:

Cookie:NITRO_AUTH_TOKEN=<tokenvalue> Accept:application/json

Response:

HTTP Status Code on Success: 200 OK HTTP Status Code on Failure: 4xx <string> (for general HTTP errors) or 5xx <string> (for NetScaler-specific errors). The response payload provides details of the errorResponse Headers:

Content-Type:application/json

Response Payload:

{ "appfwlearningdata": [ { "__count": "#no"} ] }