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:109

Filesystem-affecting tools are denied unless folder permissions have been configured for the agent via setFolderPermissions. Set this to false to allow them for an agent with no folder permissions.

Default: true.