# Generated by the protocol buffer compiler. DO NOT EDIT! # source: in_toto_attestation/predicates/vulns/v0.1/vulns.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database from google.protobuf.internal import builder as _builder # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( b'\n5in_toto_attestation/predicates/vulns/v0.1/vulns.proto\x12(in_toto_attestation.predicates.vulns.v01\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x9a\x01\n\x05Vulns\x12\x42\n\x07scanner\x18\x01 \x01(\x0b\x32\x31.in_toto_attestation.predicates.vulns.v01.Scanner\x12M\n\rscan_metadata\x18\x02 \x01(\x0b\x32\x36.in_toto_attestation.predicates.vulns.v01.ScanMetadata"\xc4\x01\n\x07Scanner\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x14\n\x07version\x18\x02 \x01(\tH\x00\x88\x01\x01\x12H\n\x08\x64\x61tabase\x18\x03 \x01(\x0b\x32\x36.in_toto_attestation.predicates.vulns.v01.VulnDatabase\x12@\n\x06result\x18\x04 \x01(\x0b\x32\x30.in_toto_attestation.predicates.vulns.v01.ResultB\n\n\x08_version"{\n\x0cVulnDatabase\x12\x10\n\x03uri\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07version\x18\x02 \x01(\tH\x01\x88\x01\x01\x12/\n\x0blast_update\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04_uriB\n\n\x08_version"Z\n\x06Result\x12P\n\x0fvulnerabilities\x18\x03 \x03(\x0b\x32\x37.in_toto_attestation.predicates.vulns.v01.Vulnerability"\xc8\x01\n\rVulnerability\x12\n\n\x02id\x18\x01 \x01(\t\x12R\n\x08severity\x18\x02 \x03(\x0b\x32@.in_toto_attestation.predicates.vulns.v01.Vulnerability.Severity\x12,\n\x0b\x61nnotations\x18\x03 \x03(\x0b\x32\x17.google.protobuf.Struct\x1a)\n\x08Severity\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\r\n\x05score\x18\x02 \x01(\t"y\n\x0cScanMetadata\x12\x33\n\x0fscan_started_on\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10scan_finished_on\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBk\n1io.github.intoto.attestation.predicates.vulns.v01Z6github.com/in-toto/attestation/go/predicates/vulns/v01b\x06proto3' ) _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages( DESCRIPTOR, "in_toto_attestation.predicates.vulns.v0.1.vulns_pb2", _globals ) if _descriptor._USE_C_DESCRIPTORS == False: _globals["DESCRIPTOR"]._options = None _globals[ "DESCRIPTOR" ]._serialized_options = b"\n1io.github.intoto.attestation.predicates.vulns.v01Z6github.com/in-toto/attestation/go/predicates/vulns/v01" _globals["_VULNS"]._serialized_start = 163 _globals["_VULNS"]._serialized_end = 317 _globals["_SCANNER"]._serialized_start = 320 _globals["_SCANNER"]._serialized_end = 516 _globals["_VULNDATABASE"]._serialized_start = 518 _globals["_VULNDATABASE"]._serialized_end = 641 _globals["_RESULT"]._serialized_start = 643 _globals["_RESULT"]._serialized_end = 733 _globals["_VULNERABILITY"]._serialized_start = 736 _globals["_VULNERABILITY"]._serialized_end = 936 _globals["_VULNERABILITY_SEVERITY"]._serialized_start = 895 _globals["_VULNERABILITY_SEVERITY"]._serialized_end = 936 _globals["_SCANMETADATA"]._serialized_start = 938 _globals["_SCANMETADATA"]._serialized_end = 1059 # @@protoc_insertion_point(module_scope)