Classification object, used to hold names or classifications of
objects. The most common use case for this is detection names for files
from av scanners. However, this object could be used for general
classification. The globally unique id (attribute) should be created from
"Company name:internal classification name", e.g.
"Mcafee:Generic.DX". The other required attribute is the type
of classification, e.g. clean, dirty, unknown. There are elements to
capture the category of the classification. The category should be
entered in the same way to the classification name, e.g. company
name:category name, e..g Mcafee:Trojan.
|
__init__(self,
type_=None,
id=None,
classificationName=None,
companyName=None,
category=None,
classificationDetails=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
set_classificationName(self,
classificationName) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
set_classificationDetails(self,
classificationDetails) |
source code
|
|
|
|
|
|
|
validate_ClassificationTypeEnum(self,
value) |
source code
|
|
|
|
|
|
|
export(self,
outfile,
level,
namespace_=' maec: ' ,
name_=' classificationObject ' ,
namespacedef_='
' ) |
source code
|
|
|
exportAttributes(self,
outfile,
level,
already_processed,
namespace_=' maec: ' ,
name_=' classificationObject ' ) |
source code
|
|
|
exportChildren(self,
outfile,
level,
namespace_=' maec: ' ,
name_=' classificationObject ' ,
fromsubclass_=False) |
source code
|
|
|
|
|
exportLiteral(self,
outfile,
level,
name_=' classificationObject ' ) |
source code
|
|
|
exportLiteralAttributes(self,
outfile,
level,
already_processed,
name_) |
source code
|
|
|
exportLiteralChildren(self,
outfile,
level,
name_) |
source code
|
|
|
|
|
buildAttributes(self,
node,
attrs,
already_processed) |
source code
|
|
|
buildChildren(self,
child_,
node,
nodeName_,
fromsubclass_=False) |
source code
|
|
Inherited from GeneratedsSuper :
gds_build_any ,
gds_format_boolean ,
gds_format_boolean_list ,
gds_format_double ,
gds_format_double_list ,
gds_format_float ,
gds_format_float_list ,
gds_format_integer ,
gds_format_integer_list ,
gds_format_string ,
gds_str_lower ,
gds_validate_boolean ,
gds_validate_boolean_list ,
gds_validate_double ,
gds_validate_double_list ,
gds_validate_float ,
gds_validate_float_list ,
gds_validate_integer ,
gds_validate_integer_list ,
gds_validate_string ,
get_class_obj_ ,
get_path_ ,
get_path_list_
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|