| Package | Description |
|---|---|
| ai.nightfall.scan.model |
| Modifier and Type | Method and Description |
|---|---|
List<DetectionRule> |
ScanTextConfig.getDetectionRules()
Get the detection rule UUIDs.
|
List<DetectionRule> |
ScanPolicy.getDetectionRules()
Get the list of detection rules.
|
| 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 ScanPolicy |
ScanPolicy.fromDetectionRules(List<DetectionRule> detectionRules,
String webhookURL)
Create a scan policy with the provided detection rules.
|
void |
ScanTextConfig.setDetectionRules(List<DetectionRule> detectionRules)
Set the detection rules.
|
void |
ScanPolicy.setDetectionRules(List<DetectionRule> detectionRules)
Set the detection rules.
|
| Constructor and Description |
|---|
ScanPolicy(AlertConfig alertConfig,
List<DetectionRule> detectionRules,
List<UUID> detectionRuleUUIDs)
Create a scan policy with the provided detection rules and detection rule UUIDs.
|
ScanPolicy(String webhookURL,
List<DetectionRule> detectionRules,
List<UUID> detectionRuleUUIDs)
Deprecated.
|
ScanTextConfig(List<UUID> detectionRuleUUIDs,
List<DetectionRule> detectionRules,
int contextBytes)
Create a scan configuration with the provided inline detection rules and detection rule UUIDs.
|
ScanTextConfig(List<UUID> detectionRuleUUIDs,
List<DetectionRule> detectionRules,
int contextBytes,
RedactionConfig defaultRedactionConfig)
Create a scan configuration with the provided inline detection rules and detection rule UUIDs.
|
Copyright © 2022. All rights reserved.