diff --git a/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto b/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto index 7a140e3e9..1c35d16a5 100644 --- a/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto +++ b/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto @@ -79,4 +79,5 @@ message Message{ repeated CategoryGroup category_groups = 17; optional string cvss_v4_vector = 18; optional string exploitation_detail = 19; + optional string post_exploitation_detail = 20; } diff --git a/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability_pb2.py b/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability_pb2.py index 53dec8427..dc3f75c15 100644 --- a/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability_pb2.py +++ b/src/ostorlab/agent/message/proto/v3/report/vulnerability/vulnerability_pb2.py @@ -30,7 +30,7 @@ syntax='proto2', serialized_options=None, create_key=_descriptor._internal_create_key, - serialized_pb=b'\nHostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto\x12\x34ostorlab.agent.message.proto.v3.report.vulnerability\x1a\x43ostorlab/agent/message/proto/v3/asset/domain_name/domain_name.proto\x1a\x34ostorlab/agent/message/proto/v3/asset/ip/v4/v4.proto\x1a\x34ostorlab/agent/message/proto/v3/asset/ip/v6/v6.proto\x1a\x35ostorlab/agent/message/proto/v3/asset/link/link.proto\x1aMostorlab/agent/message/proto/v3/asset/store/android_store/android_store.proto\x1a\x45ostorlab/agent/message/proto/v3/asset/store/ios_store/ios_store.proto\x1a\x35ostorlab/agent/message/proto/v3/asset/file/file.proto\x1a@ostorlab/agent/message/proto/v3/asset/file/android/aab/aab.proto\x1a@ostorlab/agent/message/proto/v3/asset/file/android/apk/apk.proto\x1a.ostorlab.agent.message.proto.v3.asset.store.ios_store.MessageH\x00\x12\x43\n\x04\x66ile\x18\x07 \x01(\x0b\x32\x33.ostorlab.agent.message.proto.v3.asset.file.MessageH\x00\x12V\n\x0b\x61ndroid_aab\x18\x08 \x01(\x0b\x32?.ostorlab.agent.message.proto.v3.asset.file.android.aab.MessageH\x00\x12V\n\x0b\x61ndroid_apk\x18\t \x01(\x0b\x32?.ostorlab.agent.message.proto.v3.asset.file.android.apk.MessageH\x00\x12N\n\x07ios_ipa\x18\n \x01(\x0b\x32;.ostorlab.agent.message.proto.v3.asset.file.ios.ipa.MessageH\x00\x12P\n\x08metadata\x18\x64 \x03(\x0b\x32>.ostorlab.agent.message.proto.v3.report.vulnerability.MetadataB\x07\n\x05\x61sset\"0\n\rCategoryGroup\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\ncategories\x18\x02 \x03(\t\"\x9f\x06\n\x07Message\x12\r\n\x05title\x18\x01 \x01(\t\x12U\n\x0brisk_rating\x18\x02 \x01(\x0e\x32@.ostorlab.agent.message.proto.v3.report.vulnerability.RiskRating\x12\x18\n\x10technical_detail\x18\x03 \x01(\t\x12\x19\n\x11short_description\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x0erecommendation\x18\x06 \x01(\t\x12S\n\nreferences\x18\x07 \x03(\x0b\x32?.ostorlab.agent.message.proto.v3.report.vulnerability.Reference\x12\x1d\n\x0esecurity_issue\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rprivacy_issue\x18\t \x01(\x08:\x05\x66\x61lse\x12!\n\x12has_public_exploit\x18\n \x01(\x08:\x05\x66\x61lse\x12\"\n\x13targeted_by_malware\x18\x0b \x01(\x08:\x05\x66\x61lse\x12%\n\x16targeted_by_ransomware\x18\x0c \x01(\x08:\x05\x66\x61lse\x12\'\n\x18targeted_by_nation_state\x18\r \x01(\x08:\x05\x66\x61lse\x12\x0b\n\x03\x64na\x18\x0e \x01(\t\x12\x16\n\x0e\x63vss_v3_vector\x18\x0f \x01(\t\x12k\n\x16vulnerability_location\x18\x10 \x01(\x0b\x32K.ostorlab.agent.message.proto.v3.report.vulnerability.VulnerabilityLocation\x12\\\n\x0f\x63\x61tegory_groups\x18\x11 \x03(\x0b\x32\x43.ostorlab.agent.message.proto.v3.report.vulnerability.CategoryGroup\x12\x16\n\x0e\x63vss_v4_vector\x18\x12 \x01(\t\x12\x1b\n\x13\x65xploitation_detail\x18\x13 \x01(\t*~\n\nRiskRating\x12\x08\n\x04HIGH\x10\x00\x12\n\n\x06MEDIUM\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\x0f\n\x0bPOTENTIALLY\x10\x03\x12\r\n\tHARDENING\x10\x04\x12\n\n\x06SECURE\x10\x05\x12\r\n\tIMPORTANT\x10\x06\x12\x08\n\x04INFO\x10\x07\x12\x0c\n\x08\x43RITICAL\x10\x08*P\n\x10MetadataTypeEnum\x12\r\n\tFILE_PATH\x10\x00\x12\x11\n\rCODE_LOCATION\x10\x01\x12\x07\n\x03URL\x10\x02\x12\x08\n\x04PORT\x10\x03\x12\x07\n\x03LOG\x10\x04' + serialized_pb=b'\nHostorlab/agent/message/proto/v3/report/vulnerability/vulnerability.proto\x12\x34ostorlab.agent.message.proto.v3.report.vulnerability\x1a\x43ostorlab/agent/message/proto/v3/asset/domain_name/domain_name.proto\x1a\x34ostorlab/agent/message/proto/v3/asset/ip/v4/v4.proto\x1a\x34ostorlab/agent/message/proto/v3/asset/ip/v6/v6.proto\x1a\x35ostorlab/agent/message/proto/v3/asset/link/link.proto\x1aMostorlab/agent/message/proto/v3/asset/store/android_store/android_store.proto\x1a\x45ostorlab/agent/message/proto/v3/asset/store/ios_store/ios_store.proto\x1a\x35ostorlab/agent/message/proto/v3/asset/file/file.proto\x1a@ostorlab/agent/message/proto/v3/asset/file/android/aab/aab.proto\x1a@ostorlab/agent/message/proto/v3/asset/file/android/apk/apk.proto\x1a.ostorlab.agent.message.proto.v3.asset.store.ios_store.MessageH\x00\x12\x43\n\x04\x66ile\x18\x07 \x01(\x0b\x32\x33.ostorlab.agent.message.proto.v3.asset.file.MessageH\x00\x12V\n\x0b\x61ndroid_aab\x18\x08 \x01(\x0b\x32?.ostorlab.agent.message.proto.v3.asset.file.android.aab.MessageH\x00\x12V\n\x0b\x61ndroid_apk\x18\t \x01(\x0b\x32?.ostorlab.agent.message.proto.v3.asset.file.android.apk.MessageH\x00\x12N\n\x07ios_ipa\x18\n \x01(\x0b\x32;.ostorlab.agent.message.proto.v3.asset.file.ios.ipa.MessageH\x00\x12P\n\x08metadata\x18\x64 \x03(\x0b\x32>.ostorlab.agent.message.proto.v3.report.vulnerability.MetadataB\x07\n\x05\x61sset\"0\n\rCategoryGroup\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x12\n\ncategories\x18\x02 \x03(\t\"\xc1\x06\n\x07Message\x12\r\n\x05title\x18\x01 \x01(\t\x12U\n\x0brisk_rating\x18\x02 \x01(\x0e\x32@.ostorlab.agent.message.proto.v3.report.vulnerability.RiskRating\x12\x18\n\x10technical_detail\x18\x03 \x01(\t\x12\x19\n\x11short_description\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x0erecommendation\x18\x06 \x01(\t\x12S\n\nreferences\x18\x07 \x03(\x0b\x32?.ostorlab.agent.message.proto.v3.report.vulnerability.Reference\x12\x1d\n\x0esecurity_issue\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\x1c\n\rprivacy_issue\x18\t \x01(\x08:\x05\x66\x61lse\x12!\n\x12has_public_exploit\x18\n \x01(\x08:\x05\x66\x61lse\x12\"\n\x13targeted_by_malware\x18\x0b \x01(\x08:\x05\x66\x61lse\x12%\n\x16targeted_by_ransomware\x18\x0c \x01(\x08:\x05\x66\x61lse\x12\'\n\x18targeted_by_nation_state\x18\r \x01(\x08:\x05\x66\x61lse\x12\x0b\n\x03\x64na\x18\x0e \x01(\t\x12\x16\n\x0e\x63vss_v3_vector\x18\x0f \x01(\t\x12k\n\x16vulnerability_location\x18\x10 \x01(\x0b\x32K.ostorlab.agent.message.proto.v3.report.vulnerability.VulnerabilityLocation\x12\\\n\x0f\x63\x61tegory_groups\x18\x11 \x03(\x0b\x32\x43.ostorlab.agent.message.proto.v3.report.vulnerability.CategoryGroup\x12\x16\n\x0e\x63vss_v4_vector\x18\x12 \x01(\t\x12\x1b\n\x13\x65xploitation_detail\x18\x13 \x01(\t\x12 \n\x18post_exploitation_detail\x18\x14 \x01(\t*~\n\nRiskRating\x12\x08\n\x04HIGH\x10\x00\x12\n\n\x06MEDIUM\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\x0f\n\x0bPOTENTIALLY\x10\x03\x12\r\n\tHARDENING\x10\x04\x12\n\n\x06SECURE\x10\x05\x12\r\n\tIMPORTANT\x10\x06\x12\x08\n\x04INFO\x10\x07\x12\x0c\n\x08\x43RITICAL\x10\x08*P\n\x10MetadataTypeEnum\x12\r\n\tFILE_PATH\x10\x00\x12\x11\n\rCODE_LOCATION\x10\x01\x12\x07\n\x03URL\x10\x02\x12\x08\n\x04PORT\x10\x03\x12\x07\n\x03LOG\x10\x04' , dependencies=[ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_domain__name_dot_domain__name__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_ip_dot_v4_dot_v4__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_ip_dot_v6_dot_v6__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_link_dot_link__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_store_dot_android__store_dot_android__store__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_store_dot_ios__store_dot_ios__store__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_file_dot_file__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_file_dot_android_dot_aab_dot_aab__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_file_dot_android_dot_apk_dot_apk__pb2.DESCRIPTOR,ostorlab_dot_agent_dot_message_dot_proto_dot_v3_dot_asset_dot_file_dot_ios_dot_ipa_dot_ipa__pb2.DESCRIPTOR,]) @@ -89,8 +89,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2679, - serialized_end=2805, + serialized_start=2713, + serialized_end=2839, ) _sym_db.RegisterEnumDescriptor(_RISKRATING) @@ -130,8 +130,8 @@ ], containing_type=None, serialized_options=None, - serialized_start=2807, - serialized_end=2887, + serialized_start=2841, + serialized_end=2921, ) _sym_db.RegisterEnumDescriptor(_METADATATYPEENUM) @@ -518,6 +518,13 @@ message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), + _descriptor.FieldDescriptor( + name='post_exploitation_detail', full_name='ostorlab.agent.message.proto.v3.report.vulnerability.Message.post_exploitation_detail', index=19, + number=20, 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, + serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], @@ -531,7 +538,7 @@ oneofs=[ ], serialized_start=1878, - serialized_end=2677, + serialized_end=2711, ) _METADATA.fields_by_name['type'].enum_type = _METADATATYPEENUM