A module that claims a seat is core, one that claims none a leaf (141 manifests; the build modules and the registry are the other developer's). The forge module's, the gate's and the sweep's states each name 8 MiB, and their findings stream 8 MiB for 7 days. Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
71 lines
1.3 KiB
JSON
71 lines
1.3 KiB
JSON
{
|
|
"module": "audit-logger",
|
|
"version": "0.1",
|
|
"class": "leaf",
|
|
"slug": "audit",
|
|
"consumes": [
|
|
"**"
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "code",
|
|
"kind": "bundle",
|
|
"language": "typescript",
|
|
"entrypoints": [
|
|
"index.js",
|
|
"tools/index.js"
|
|
],
|
|
"loads": [
|
|
"index.js",
|
|
"tools/index.js"
|
|
],
|
|
"env": {
|
|
"AUDIT_LOG": "${dir:trail}/audit.log",
|
|
"AUDIT_SPOOL": "${dir:spool}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"own": [
|
|
{
|
|
"id": "trail",
|
|
"path": "${dir:trail}",
|
|
"class": "valuable",
|
|
"why": "the audit trail, written nowhere else"
|
|
},
|
|
{
|
|
"id": "spool",
|
|
"path": "${dir:spool}",
|
|
"class": "valuable",
|
|
"why": "events the trail could not take yet; after the bus gives one up, the only copy"
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": ".",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "trail",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "spool",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"unknown": "program"
|
|
}
|
|
],
|
|
"capabilities": [
|
|
"container-runtime"
|
|
]
|
|
}
|