Реализовать лабораторную 7: mTLS, OpenBao и защита worker
This commit is contained in:
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"containers": [
|
||||
{
|
||||
"service": "api",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 2.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 2.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "broker",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "broker-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 128
|
||||
},
|
||||
{
|
||||
"service": "cache",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "cache-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 128
|
||||
},
|
||||
{
|
||||
"service": "collector",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "collector-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 256
|
||||
},
|
||||
{
|
||||
"service": "db",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "db-engine",
|
||||
"non_root": false,
|
||||
"read_only": false,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 1.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "grafana",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "grafana-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 256
|
||||
},
|
||||
{
|
||||
"service": "janitor",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 1.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "loki",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "loki-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 256
|
||||
},
|
||||
{
|
||||
"service": "observer",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 1.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "openbao",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 256
|
||||
},
|
||||
{
|
||||
"service": "prometheus",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "prometheus-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 256
|
||||
},
|
||||
{
|
||||
"service": "publisher",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 1.0,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "s3",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "s3-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 768
|
||||
},
|
||||
{
|
||||
"service": "tempo",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.25,
|
||||
"memory_mib": 64
|
||||
},
|
||||
{
|
||||
"service": "tempo-engine",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 0.5,
|
||||
"memory_mib": 512
|
||||
},
|
||||
{
|
||||
"service": "worker",
|
||||
"non_root": true,
|
||||
"read_only": true,
|
||||
"drop_all": true,
|
||||
"no_new_privileges": true,
|
||||
"cpu_limit": 1.0,
|
||||
"memory_mib": 768
|
||||
}
|
||||
],
|
||||
"stateful_exception": "Postgres entrypoint root with only CHOWN,DAC_OVERRIDE,FOWNER,SETUID,SETGID; postgres daemon drops to UID 70"
|
||||
}
|
||||
Reference in New Issue
Block a user