Source code for csle_common.dao.emulation_config.vulnerability_type

"""
Type of vulnerabilities in an emulation
"""

from enum import IntEnum


[docs]class VulnType(IntEnum): """ Enum representing the different vulnerability types for generated containers """ WEAK_PW = 0 RCE = 1 # remote code execution SQL_INJECTION = 2 PRIVILEGE_ESCALATION = 3