# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: capsule8/api/v0/alert.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='capsule8/api/v0/alert.proto',
  package='capsule8.api.v0',
  syntax='proto3',
  serialized_pb=_b('\n\x1b\x63\x61psule8/api/v0/alert.proto\x12\x0f\x63\x61psule8.api.v0\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\x07\n\x05\x41lert\x12\n\n\x02id\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x06\x65ntity\x18\x03 \x01(\x0e\x32\x1d.capsule8.api.v0.Alert.Entity\x12\x12\n\nprocess_id\x18\x04 \x01(\t\x12\x14\n\x0c\x63ontainer_id\x18\x05 \x01(\t\x12\x0f\n\x07node_id\x18\x06 \x01(\t\x12\x12\n\ncluster_id\x18\x07 \x01(\t\x12+\n\x05scope\x18\x08 \x01(\x0e\x32\x1c.capsule8.api.v0.Alert.Scope\x12\x13\n\x0bstrategy_id\x18\t \x01(\t\x12>\n\x13strategy_confidence\x18\n \x01(\x0e\x32!.capsule8.api.v0.Alert.Confidence\x12:\n\x11strategy_severity\x18\x0b \x01(\x0e\x32\x1f.capsule8.api.v0.Alert.Severity\x12\x35\n\nconfidence\x18\x0c \x01(\x0e\x32!.capsule8.api.v0.Alert.Confidence\x12\x31\n\x08severity\x18\r \x01(\x0e\x32\x1f.capsule8.api.v0.Alert.Severity\x12%\n\x07\x64\x65tails\x18\x64 \x01(\x0b\x32\x14.google.protobuf.Any\"d\n\x08Severity\x12\x1e\n\x1a\x41LERT_SEVERITY_UNSPECIFIED\x10\x00\x12\x10\n\x0cSEVERITY_LOW\x10\x01\x12\x13\n\x0fSEVERITY_MEDIUM\x10\x02\x12\x11\n\rSEVERITY_HIGH\x10\x03\"n\n\nConfidence\x12 \n\x1c\x41LERT_CONFIDENCE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43ONFIDENCE_LOW\x10\x01\x12\x15\n\x11\x43ONFIDENCE_MEDIUM\x10\x02\x12\x13\n\x0f\x43ONFIDENCE_HIGH\x10\x03\"u\n\x06\x45ntity\x12\x1c\n\x18\x41LERT_ENTITY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45NTITY_PROCESS\x10\x01\x12\x14\n\x10\x45NTITY_CONTAINER\x10\x02\x12\x0f\n\x0b\x45NTITY_NODE\x10\x03\x12\x12\n\x0e\x45NTITY_CLUSTER\x10\x04\"o\n\x05Scope\x12\x1b\n\x17\x41LERT_SCOPE_UNSPECIFIED\x10\x00\x12\x11\n\rSCOPE_PROCESS\x10\x01\x12\x13\n\x0fSCOPE_CONTAINER\x10\x02\x12\x0e\n\nSCOPE_NODE\x10\x03\x12\x11\n\rSCOPE_CLUSTER\x10\x04\x42\x1cZ\x1agithub.com/capsule8/api/v0b\x06proto3')
  ,
  dependencies=[google_dot_protobuf_dot_any__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,])



_ALERT_SEVERITY = _descriptor.EnumDescriptor(
  name='Severity',
  full_name='capsule8.api.v0.Alert.Severity',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ALERT_SEVERITY_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SEVERITY_LOW', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SEVERITY_MEDIUM', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SEVERITY_HIGH', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=640,
  serialized_end=740,
)
_sym_db.RegisterEnumDescriptor(_ALERT_SEVERITY)

_ALERT_CONFIDENCE = _descriptor.EnumDescriptor(
  name='Confidence',
  full_name='capsule8.api.v0.Alert.Confidence',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ALERT_CONFIDENCE_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CONFIDENCE_LOW', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CONFIDENCE_MEDIUM', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CONFIDENCE_HIGH', index=3, number=3,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=742,
  serialized_end=852,
)
_sym_db.RegisterEnumDescriptor(_ALERT_CONFIDENCE)

_ALERT_ENTITY = _descriptor.EnumDescriptor(
  name='Entity',
  full_name='capsule8.api.v0.Alert.Entity',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ALERT_ENTITY_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENTITY_PROCESS', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENTITY_CONTAINER', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENTITY_NODE', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ENTITY_CLUSTER', index=4, number=4,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=854,
  serialized_end=971,
)
_sym_db.RegisterEnumDescriptor(_ALERT_ENTITY)

_ALERT_SCOPE = _descriptor.EnumDescriptor(
  name='Scope',
  full_name='capsule8.api.v0.Alert.Scope',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='ALERT_SCOPE_UNSPECIFIED', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SCOPE_PROCESS', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SCOPE_CONTAINER', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SCOPE_NODE', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SCOPE_CLUSTER', index=4, number=4,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=973,
  serialized_end=1084,
)
_sym_db.RegisterEnumDescriptor(_ALERT_SCOPE)


_ALERT = _descriptor.Descriptor(
  name='Alert',
  full_name='capsule8.api.v0.Alert',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='capsule8.api.v0.Alert.id', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='create_time', full_name='capsule8.api.v0.Alert.create_time', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='entity', full_name='capsule8.api.v0.Alert.entity', index=2,
      number=3, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='process_id', full_name='capsule8.api.v0.Alert.process_id', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='container_id', full_name='capsule8.api.v0.Alert.container_id', index=4,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='node_id', full_name='capsule8.api.v0.Alert.node_id', index=5,
      number=6, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='cluster_id', full_name='capsule8.api.v0.Alert.cluster_id', index=6,
      number=7, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='scope', full_name='capsule8.api.v0.Alert.scope', index=7,
      number=8, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='strategy_id', full_name='capsule8.api.v0.Alert.strategy_id', index=8,
      number=9, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='strategy_confidence', full_name='capsule8.api.v0.Alert.strategy_confidence', index=9,
      number=10, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='strategy_severity', full_name='capsule8.api.v0.Alert.strategy_severity', index=10,
      number=11, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='confidence', full_name='capsule8.api.v0.Alert.confidence', index=11,
      number=12, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='severity', full_name='capsule8.api.v0.Alert.severity', index=12,
      number=13, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='details', full_name='capsule8.api.v0.Alert.details', index=13,
      number=100, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _ALERT_SEVERITY,
    _ALERT_CONFIDENCE,
    _ALERT_ENTITY,
    _ALERT_SCOPE,
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=109,
  serialized_end=1084,
)

_ALERT.fields_by_name['create_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_ALERT.fields_by_name['entity'].enum_type = _ALERT_ENTITY
_ALERT.fields_by_name['scope'].enum_type = _ALERT_SCOPE
_ALERT.fields_by_name['strategy_confidence'].enum_type = _ALERT_CONFIDENCE
_ALERT.fields_by_name['strategy_severity'].enum_type = _ALERT_SEVERITY
_ALERT.fields_by_name['confidence'].enum_type = _ALERT_CONFIDENCE
_ALERT.fields_by_name['severity'].enum_type = _ALERT_SEVERITY
_ALERT.fields_by_name['details'].message_type = google_dot_protobuf_dot_any__pb2._ANY
_ALERT_SEVERITY.containing_type = _ALERT
_ALERT_CONFIDENCE.containing_type = _ALERT
_ALERT_ENTITY.containing_type = _ALERT
_ALERT_SCOPE.containing_type = _ALERT
DESCRIPTOR.message_types_by_name['Alert'] = _ALERT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Alert = _reflection.GeneratedProtocolMessageType('Alert', (_message.Message,), dict(
  DESCRIPTOR = _ALERT,
  __module__ = 'capsule8.api.v0.alert_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.Alert)
  ))
_sym_db.RegisterMessage(Alert)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z\032github.com/capsule8/api/v0'))
# @@protoc_insertion_point(module_scope)
