Field | Required | Default | Multiple | Notes | Example | ||||
---|---|---|---|---|---|---|---|---|---|
properties | Yes | - | No | Configuration object | |||||
hostregion | Yes | - | No | The AWS region where the S3 storage is located. | "us-east-2" | ||||
useGlobalEndpoint | No | true | No | Set to true to use the global endpoint (if set to false, the connection might fail, depending on the bucket region). | true / false | ||||
s3StorageClass | ServiceNow server to be crawled (to be specified without protocol). | "myserver.service-now.com" | pageSize | Yes | - | NoYes | Number of elements per page List of storage classes to be retrieved with the connection. | 2000 | [ "Standard", "ReducedRedundancy"] |
indexContainersignoreScanError | No | false | No | If set to true, a crawl will stop when a scan error is found folders will be indexed. | true / false | ||||
cacheEntireUserTablescanRecursively | No | falsetrue | No | If set to true, the entire sys_user is cached as opposed to every user being cached when necessarydiscovered items are scanned recursively. | true / false | ||||
countWithStatsscanExcludedItems | No | truefalse | No | If set to true, the Aggregate API will be used to get counts of rows from the Knowledge and Category tables.scans excluded container items so documents inside them can be processed. | true / false | ||||
includes | No | [] | Yes | List of regular expressions to match documents to be included in the crawl. | [".*sales.*", ".*finance.*"] | ||||
excludes | No | [] | Yes | List of regular expressions to match documents to be excluded from the crawl. | [".*food.*", ".*drinks.*"]false |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "servicenows3", "description": "ServiceNowAmazon TestS3 Connection Test", "credential": "e1664b705af67012-b6cac59a-42c944ad-bfa191b5-7d76a18dd8e1c1122d963f25", "properties": { "hostregion": "myserver.service-now.com"us-east-2", "useGlobalEndpoint": true, "pageSizes3StorageClass": 1000[ "Standard", "ReducedRedundancy", "IntelligentTiering", "StandardInfrequentAccess", "OneZoneInfrequentAccess", "Glacier", "DeepArchive" ], "ignoreScanErrorindexContainers": false, "cacheEntireUserTable"scanRecursively": true, "scanExcludedItems": false, "includes": [], "countWithStatsexcludes": true[] } } |