addPassFinding()
Definition and usage
Records a successful check for the current rule subject.
Syntax
addPassFinding()
Parameter values
| Parameter | Allowed type | Required | Description |
|---|---|---|---|
| This function accepts no parameters. | |||
Return value
none — This is an SRL statement. It does not return a value to SRL and cannot be assigned to a variable or used in an expression.
Audit side effect
Creates one pass finding using the current rule, scope, and annotated configuration subject.
Example
if (this.status equals "enable") {
addPassFinding();
}
none