Ejemplo n.º 1
0
    def __init__(self, ):
        artifact1 = AnalysisArtifact()
        artifact1.analyzer_id = "malware"
        artifact1.analyzer_artifact = "malware"
        artifact1.artifact_key = "clamav"
        artifact1.analyzer_type = "base"
        artifact1.image_id = image_id
        artifact1.image_user_id = user

        artifact1.json_value = {
            "name": "clamav",
            "findings": [],
            "metadata": {
                "db_version": {
                    "daily": "1",
                    "main": "1",
                    "bytecode": "1"
                }
            },
        }

        self.artifacts = [artifact1]
Ejemplo n.º 2
0
    def __init__(self, ):
        artifact1 = AnalysisArtifact()
        artifact1.analyzer_id = 'malware'
        artifact1.analyzer_artifact = 'malware'
        artifact1.artifact_key = 'clamav'
        artifact1.analyzer_type = 'base'
        artifact1.image_id = image_id
        artifact1.image_user_id = user

        artifact1.json_value = {
            'name': 'clamav',
            'findings': [],
            'metadata': {
                'db_version': {
                    'daily': '1',
                    'main': '1',
                    'bytecode': '1'
                }
            }
        }

        self.artifacts = [artifact1]