| 1 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 |
# source: in_toto_attestation/predicates/vulns/v0.1/vulns.proto |
| 3 |
"""Generated protocol buffer code.""" |
| 4 |
|
| 5 |
from google.protobuf import descriptor as _descriptor |
| 6 |
from google.protobuf import descriptor_pool as _descriptor_pool |
| 7 |
from google.protobuf import symbol_database as _symbol_database |
| 8 |
from google.protobuf.internal import builder as _builder |
| 9 |
|
| 10 |
# @@protoc_insertion_point(imports) |
| 11 |
|
| 12 |
_sym_db = _symbol_database.Default() |
| 13 |
|
| 14 |
|
| 15 |
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 |
| 16 |
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 |
| 17 |
|
| 18 |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
| 19 |
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\[email protected]_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' |
| 20 |
) |
| 21 |
|
| 22 |
_globals = globals() |
| 23 |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 24 |
_builder.BuildTopDescriptorsAndMessages( |
| 25 |
DESCRIPTOR, "in_toto_attestation.predicates.vulns.v0.1.vulns_pb2", _globals |
| 26 |
) |
| 27 |
if _descriptor._USE_C_DESCRIPTORS == False: |
| 28 |
_globals["DESCRIPTOR"]._options = None |
| 29 |
_globals[ |
| 30 |
"DESCRIPTOR" |
| 31 |
]._serialized_options = b"\n1io.github.intoto.attestation.predicates.vulns.v01Z6github.com/in-toto/attestation/go/predicates/vulns/v01" |
| 32 |
_globals["_VULNS"]._serialized_start = 163 |
| 33 |
_globals["_VULNS"]._serialized_end = 317 |
| 34 |
_globals["_SCANNER"]._serialized_start = 320 |
| 35 |
_globals["_SCANNER"]._serialized_end = 516 |
| 36 |
_globals["_VULNDATABASE"]._serialized_start = 518 |
| 37 |
_globals["_VULNDATABASE"]._serialized_end = 641 |
| 38 |
_globals["_RESULT"]._serialized_start = 643 |
| 39 |
_globals["_RESULT"]._serialized_end = 733 |
| 40 |
_globals["_VULNERABILITY"]._serialized_start = 736 |
| 41 |
_globals["_VULNERABILITY"]._serialized_end = 936 |
| 42 |
_globals["_VULNERABILITY_SEVERITY"]._serialized_start = 895 |
| 43 |
_globals["_VULNERABILITY_SEVERITY"]._serialized_end = 936 |
| 44 |
_globals["_SCANMETADATA"]._serialized_start = 938 |
| 45 |
_globals["_SCANMETADATA"]._serialized_end = 1059 |
| 46 |
# @@protoc_insertion_point(module_scope) |