Common: Use Enum.auto() for CredentialComponentType values

This commit is contained in:
Mike Salvatore 2022-02-23 08:44:41 -05:00
parent 7c9c4cf9fb
commit 8e953359f8
1 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
from enum import Enum
from enum import Enum, auto
class CredentialComponentType(Enum):
USERNAME = "username"
PASSWORD = "password"
NT_HASH = "nt_hash"
LM_HASH = "lm_hash"
SSH_KEYPAIR = "ssh_keypair"
USERNAME = auto()
PASSWORD = auto()
NT_HASH = auto()
LM_HASH = auto()
SSH_KEYPAIR = auto()