7.2.16.2. Configuration / fichiers utiles¶
Les fichiers de configuration sont gérés par les procédures d’installation ou de mise à niveau de l’environnement VITAM. Se référer au DIN.
Les fichiers de configuration sont définis sous /vitam/conf/logbook
.
7.2.16.2.1. Fichier logbook.conf
¶
# Configuration MongoDB
mongoDbNodes:
{% for server in groups['hosts-mongos-data'] %}
- dbHost: {{hostvars[server]['ip_service']}}
dbPort: {{ mongodb.mongos_port }}
{% endfor %}
dbName: logbook
dbAuthentication: {{ mongodb.mongo_authentication }}
dbUserName: {{ mongodb['mongo-data'].logbook.user }}
dbPassword: {{ mongodb['mongo-data'].logbook.password }}
jettyConfig: jetty-config.xml
p12LogbookPassword: {{keystores.timestamping.secure_logbook}}
p12LogbookFile: keystore_secure-logbook.p12
workspaceUrl: {{ vitam.workspace | client_url }}
processingUrl: {{ vitam.processing | client_url }}
# ElasticSearch
clusterName: {{ vitam_struct.cluster_name }}
elasticsearchNodes:
{% for server in groups['hosts-elasticsearch-data'] %}
- hostName: {{hostvars[server]['ip_service']}}
tcpPort: {{ elasticsearch.data.port_tcp }}
{% endfor %}
#Basic Authentication
adminBasicAuth:
- userName: {{ admin_basic_auth_user }}
password: {{ admin_basic_auth_password }}
## Configuration for logbook coherence check
# list of operations that generate LFC
opWithLFC: [
"PROCESS_SIP_UNITARY",
"FILINGSCHEME",
"HOLDINGSCHEME",
"UPDATE_RULES_ARCHIVE_UNITS",
"PROCESS_AUDIT",
"STP_UPDATE_UNIT"]
# list of events not declared in wf
opEventsNotInWf: [
"STP_SANITY_CHECK_SIP",
"SANITY_CHECK_SIP",
"CHECK_CONTAINER",
"STP_UPLOAD_SIP"
]
# list of events to skip for OP-LFC check
opLfcEventsToSkip: [
"STP_SANITY_CHECK_SIP", "SANITY_CHECK_SIP", "CHECK_CONTAINER", "STP_UPLOAD_SIP", "ATR_NOTIFICATION", "ROLL_BACK",
"STORAGE_AVAILABILITY_CHECK", "ACCESSION_REGISTRATION",
"ROLL_BACK", "ATR_NOTIFICATION", "COMMIT_LIFE_CYCLE_OBJECT_GROUP", "COMMIT_LIFE_CYCLE_UNIT",
"LIST_OBJECTGROUP_ID", "REPORT_AUDIT",
"LIST_ARCHIVE_UNITS", "LIST_RUNNING_INGESTS"]
# Configuration des alertes de securite
alertEvents:
- evType: 'CHECK_HEADER.CHECK_CONTRACT_INGEST'
outcome: 'KO'
- evType: 'CHECK_RULES.MAX_DURATION_EXCEEDS'
outcome: 'KO'
- evType: 'CHECK_RULES'
outcome: 'KO'
- outDetail: 'CHECK_CLASSIFICATION_LEVEL.KO'
- outDetail: 'STP_PERSONAL_CERTIFICATE_CHECK.KO'
# Traceability params
operationTraceabilityTemporizationDelay: {{ vitam.logbook.operationTraceabilityTemporizationDelay }}
lifecycleTraceabilityTemporizationDelay: {{ vitam.logbook.lifecycleTraceabilityTemporizationDelay }}
lifecycleTraceabilityMaxEntries: {{ vitam.logbook.lifecycleTraceabilityMaxEntries }}