Version: 2.5.0
sdv.codes Module¶
This module defines exit status codes used by bundled scripts.
-
sdv.codes.EXIT_SUCCESS= 0¶ Execution finished successfully. All STIX documents were valid for all user- specified validation scenarios.
-
sdv.codes.EXIT_FAILURE= 1¶ Execution finished with fatal system error. Some unhandled system exception was raised during execution.
-
sdv.codes.EXIT_SCHEMA_INVALID= 2¶ Execution finished with at least one input document found to be schema- invalid.
-
sdv.codes.EXIT_PROFILE_INVALID= 4¶ Execution finished with at least one input document found to be profile invalid.
-
sdv.codes.EXIT_BEST_PRACTICE_INVALID= 8¶ Execution finished with at least one input document found to be best practice invalid.
-
sdv.codes.EXIT_VALIDATION_ERROR= 16¶ An error occurred while validating an instance document. This can be caused by malformed input documents or file names that do not resolve to actual files.