| Package | Description |
|---|---|
| ai.nightfall.scan.model |
| Modifier and Type | Method and Description |
|---|---|
static ScanTextConfig |
ScanTextConfig.fromDetectionRules(List<DetectionRule> detectionRules,
int contextBytes)
Create a scan configuration with the provided detection rules.
|
static ScanTextConfig |
ScanTextConfig.fromDetectionRuleUUIDs(List<UUID> detectionRuleUUIDs,
int contextBytes)
Create a scan configuration with the provided detection rules.
|
ScanTextConfig |
ScanTextRequest.getConfig()
Deprecated.
alias for
getPolicy, just provided for backwards compatibility. |
ScanTextConfig |
ScanTextRequest.getPolicy()
Get the request scan policy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScanTextRequest.setConfig(ScanTextConfig config)
Deprecated.
alias for
setPolicy, just provided for backwards compatibility. |
void |
ScanTextRequest.setPolicy(ScanTextConfig policy)
Set the request scan policy.
|
| Constructor and Description |
|---|
ScanTextRequest(List<String> payload,
ScanTextConfig policy)
Create a request to scan the provided
payload against the provided scanning
policy. |
Copyright © 2022. All rights reserved.