Skip to main content

Interface: SafeGuardrailsConfig

Defined in: security/SafeGuardrails.ts:81

Safe Guardrails configuration

Properties

auditLogPath?

optional auditLogPath?: string

Defined in: security/SafeGuardrails.ts:83

Path to audit log file


emailConfig?

optional emailConfig?: object

Defined in: security/SafeGuardrails.ts:89

Email configuration for notifications

from?

optional from?: string

smtpHost?

optional smtpHost?: string

smtpPort?

optional smtpPort?: number

to

to: string


enableAuditLogging?

optional enableAuditLogging?: boolean

Defined in: security/SafeGuardrails.ts:97

Enable audit logging (default: true)


enableNotifications?

optional enableNotifications?: boolean

Defined in: security/SafeGuardrails.ts:100

Enable notifications (default: true for high/critical)


notificationWebhooks?

optional notificationWebhooks?: string[]

Defined in: security/SafeGuardrails.ts:86

Webhook URLs for notifications


requireFolderPermissionsForFilesystemTools?

optional requireFolderPermissionsForFilesystemTools?: boolean

Defined in: security/SafeGuardrails.ts:108

When true, filesystem-affecting tools are denied unless folder permissions have been explicitly configured for the agent via setFolderPermissions.

Default: false (legacy behavior = allow when unconfigured).