48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
|
|
version: "1.0.0"
|
||
|
|
organization: "acme-corp"
|
||
|
|
description: "Inference rules for ACME Corporation infrastructure"
|
||
|
|
rules:
|
||
|
|
- name: "nodejs-to-elastic-stack"
|
||
|
|
technology:
|
||
|
|
- "nodejs"
|
||
|
|
- "express"
|
||
|
|
infers: "elasticsearch"
|
||
|
|
confidence: 0.75
|
||
|
|
reason: "ACME's Node.js apps need centralized logging via Elastic Stack"
|
||
|
|
required: true
|
||
|
|
|
||
|
|
- name: "all-services-to-monitoring"
|
||
|
|
technology:
|
||
|
|
- "nodejs"
|
||
|
|
- "python"
|
||
|
|
- "postgres"
|
||
|
|
- "redis"
|
||
|
|
infers: "prometheus"
|
||
|
|
confidence: 0.95
|
||
|
|
reason: "ACME requires Prometheus monitoring on all services"
|
||
|
|
required: true
|
||
|
|
|
||
|
|
- name: "postgres-to-pgbouncer"
|
||
|
|
technology:
|
||
|
|
- "postgres"
|
||
|
|
infers: "pgbouncer"
|
||
|
|
confidence: 0.85
|
||
|
|
reason: "ACME uses PgBouncer for connection pooling"
|
||
|
|
required: false
|
||
|
|
|
||
|
|
- name: "high-security-postgres"
|
||
|
|
technology:
|
||
|
|
- "postgres"
|
||
|
|
infers: "vault"
|
||
|
|
confidence: 0.90
|
||
|
|
reason: "ACME requires secrets management for database credentials"
|
||
|
|
required: true
|
||
|
|
|
||
|
|
- name: "containerization-requires-registry"
|
||
|
|
technology:
|
||
|
|
- "docker"
|
||
|
|
infers: "container-registry"
|
||
|
|
confidence: 0.80
|
||
|
|
reason: "ACME maintains private container registry for all deployments"
|
||
|
|
required: false
|