mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
The doctrine transport config key has been replaced with database. (#1956)
Co-authored-by: rahul chavan <rcsoftech85@gmail.com>
This commit is contained in:
co-authored by
rahul chavan
parent
bdc109aca8
commit
b8677013ae
@@ -1,63 +0,0 @@
|
||||
audit_trail:
|
||||
# Enable or disable the audit trail bundle globally
|
||||
enabled: true
|
||||
|
||||
# Database table customization
|
||||
# table_prefix: ''
|
||||
# table_suffix: ''
|
||||
|
||||
# Timezone for audit logs (default: UTC)
|
||||
# timezone: UTC
|
||||
|
||||
# Number of days to keep audit logs before they are eligible for cleanup
|
||||
# retention_days: 365
|
||||
|
||||
# Tracking options
|
||||
# track_ip_address: true
|
||||
# track_user_agent: true
|
||||
|
||||
# Soft delete handling
|
||||
# enable_soft_delete: true
|
||||
# soft_delete_field: deletedAt
|
||||
|
||||
# Hard delete handling
|
||||
# enable_hard_delete: true
|
||||
|
||||
# Transport behavior
|
||||
# defer_transport_until_commit: true
|
||||
# fail_on_transport_error: false
|
||||
# fallback_to_database: true
|
||||
|
||||
# Properties to ignore globally for all entities
|
||||
ignored_properties:
|
||||
- updatedAt
|
||||
- updated_at
|
||||
|
||||
# Entities to ignore globally
|
||||
# ignored_entities: []
|
||||
|
||||
# Transport configuration
|
||||
transports:
|
||||
# Save audit logs to the local database via Doctrine
|
||||
doctrine: true
|
||||
|
||||
# Send audit logs to a remote HTTP endpoint
|
||||
# http:
|
||||
# enabled: false
|
||||
# endpoint: 'https://api.example.com/audit'
|
||||
# headers: []
|
||||
# timeout: 5
|
||||
|
||||
# Dispatch audit logs via Symfony Messenger
|
||||
# queue:
|
||||
# enabled: false
|
||||
# bus: null
|
||||
# api_key: null
|
||||
|
||||
# Integrity check for audit logs (HMAC signature)
|
||||
integrity:
|
||||
enabled: false
|
||||
# The secret key used for HMAC signature.
|
||||
# It's recommended to use the generated environment variable.
|
||||
secret: '%env(AUDIT_TRAIL_INTEGRITY_SECRET)%'
|
||||
algorithm: sha256
|
||||
@@ -0,0 +1,36 @@
|
||||
audit_trail:
|
||||
enabled: true
|
||||
ignored_properties:
|
||||
- password
|
||||
- salt
|
||||
- updatedAt
|
||||
ignored_entities: { }
|
||||
# integrity:
|
||||
# enabled: true
|
||||
# secret: 92e6112673ffcde6e16be9995c3b5c413fb4a74d895fab58dec65db4e04d341f
|
||||
# algorithm: sha256
|
||||
|
||||
|
||||
|
||||
# collection_serialization_mode: ids_only
|
||||
|
||||
|
||||
transports:
|
||||
database:
|
||||
enabled: true
|
||||
# async: true
|
||||
# http:
|
||||
# enabled: false
|
||||
# endpoint: 'http://host.docker.internal/api/ingest'
|
||||
# headers:
|
||||
# X_API_KEY: dfebeb903c180b5ffe2ceac733b9f10b52296a3d2cba35fb0eff61e32778af6a
|
||||
# timeout: 5
|
||||
# queue:
|
||||
# enabled: false
|
||||
# api_key: 99cae1bd2da3d0caecb232c45f417c953b9d1a848c8f7743764a7cb8d0ded74c
|
||||
|
||||
|
||||
|
||||
|
||||
# cache_pool: redis_cache
|
||||
|
||||
Reference in New Issue
Block a user