syntax = "proto3";

package aerodrome.v1;

// Policy engine constraint violation alert published to ace.alert.{tenant_id}.{severity}
message Alert {
  string id = 1;                        // UUID
  string tenant_id = 2;                 // UUID
  string node_id = 3;                   // UUID
  string constraint_id = 4;             // UUID
  optional string constraint_label = 5;
  string property = 6;
  string value = 7;
  string message = 8;
  string severity = 9;                  // "warning", "critical", etc.
  string timestamp = 10;               // RFC 3339
}
