Interface: FsSecretLiteralsGuardNode
Defined in: core/dist/ast/domain/fs-secret-literals-guard-node.d.ts:8
Passive AST node scanning proposed file writes for hardcoded secret literals (fs.secretLiterals).
Inspects pre-flight and post-flight file write contents against built-in and optional custom secret regex patterns before allowing mutations.
Extends
BasePolicyGuardASTNode<"fs:secret-literals">
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
id | readonly | string | Logical identifier of the guard instance. | BasePolicyGuardASTNode.id | core/dist/ast/base/base-policy-guard-ast-node.d.ts:13 |
patterns? | readonly | readonly string[] | Optional custom regex pattern strings for secret detection. | - | core/dist/ast/domain/fs-secret-literals-guard-node.d.ts:10 |
type | readonly | "fs:secret-literals" | Unique string-literal discriminant of the policy guard node. | BasePolicyGuardASTNode.type | core/dist/ast/base/base-policy-guard-ast-node.d.ts:11 |