aboutsummaryrefslogtreecommitdiffstats
path: root/app/utils
diff options
context:
space:
mode:
authorKoren Lev <korenlev@gmail.com>2017-10-02 12:11:30 +0300
committerKoren Lev <korenlev@gmail.com>2017-10-02 12:11:30 +0300
commit16960c3ca325b33c5884f8f67ec2369453bc498f (patch)
tree9f9d421a82a37a24f89c5238252eea8dc9088fd8 /app/utils
parenta9691f5fe78af32c474754f841a71a68e2d2a484 (diff)
fix api scheme for scan requests
Change-Id: I26a732073fa577f5eb9165d808a32b96e4b62f7f Signed-off-by: Koren Lev <korenlev@gmail.com>
Diffstat (limited to 'app/utils')
-rw-r--r--app/utils/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/utils/constants.py b/app/utils/constants.py
index 44850b3..01bf09f 100644
--- a/app/utils/constants.py
+++ b/app/utils/constants.py
@@ -19,11 +19,13 @@ class StringEnum(Enum):
class ScanStatus(StringEnum):
+ DRAFT = "draft"
PENDING = "pending"
RUNNING = "running"
COMPLETED = "completed"
COMPLETED_WITH_ERRORS = "completed_with_errors"
FAILED = "failed"
+ ABORTED = "aborted"
class OperationalStatus(StringEnum):