<gh_stars>10-100
# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for fn_docker"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_docker package"""
    reload_params = {"package": u"fn_docker",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"artifact_id", u"attachment_id", u"docker_artifact_type", u"docker_image", u"docker_input", u"docker_operation", u"incident_id", u"task_id"], 
                    "datatables": [u"docker_integration_invocations"], 
                    "message_destinations": [u"fn_docker"], 
                    "functions": [u"docker_run_docker_container"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"docker_analyze_artifact_with_docker_container_amass", u"docker_analyze_artifact_with_docker_container_nsrl", u"docker_send_attachment_to_docker_container"], 
                    "actions": [u"Docker: Amass: Search for Subdomains", u"Docker: NSRL: Validate MD5 from Whitelist", u"Docker: Volatility: Analyze Memory Sample"] 
                    }
    return reload_params


def customization_data(client=None):
    """Produce any customization definitions (types, fields, message destinations, etc)
       that should be installed by `resilient-circuits customize`
    """

    # This import data contains:
    #   Function inputs:
    #     artifact_id
    #     attachment_id
    #     docker_artifact_type
    #     docker_image
    #     docker_input
    #     docker_operation
    #     incident_id
    #     task_id
    #   DataTables:
    #     docker_integration_invocations
    #   Message Destinations:
    #     fn_docker
    #   Functions:
    #     docker_run_docker_container
    #   Workflows:
    #     docker_analyze_artifact_with_docker_container_amass
    #     docker_analyze_artifact_with_docker_container_nsrl
    #     docker_send_attachment_to_docker_container
    #   Rules:
    #     Docker: Amass: Search for Subdomains
    #     Docker: NSRL: Validate MD5 from Whitelist
    #     Docker: Volatility: Analyze Memory Sample


    yield ImportDefinition(u"""
<KEY>
"""
    )
# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for fn_docker"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_docker package"""
    reload_params = {"package": u"fn_docker",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"artifact_id", u"attachment_id", u"docker_artifact_type", u"docker_image", u"docker_input", u"docker_operation", u"incident_id", u"task_id"], 
                    "datatables": [u"docker_integration_invocations"], 
                    "message_destinations": [u"fn_docker"], 
                    "functions": [u"docker_run_docker_container"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"docker_analyze_artifact_with_docker_container_amass", u"docker_analyze_artifact_with_docker_container_nsrl", u"docker_send_attachment_to_docker_container"], 
                    "actions": [u"Docker: Amass: Search for Subdomains", u"Docker: NSRL: Validate MD5 from Whitelist", u"Docker: Volatility: Analyze Memory Sample"] 
                    }
    return reload_params


def customization_data(client=None):
    """Produce any customization definitions (types, fields, message destinations, etc)
       that should be installed by `resilient-circuits customize`
    """

    # This import data contains:
    #   Function inputs:
    #     artifact_id
    #     attachment_id
    #     docker_artifact_type
    #     docker_image
    #     docker_input
    #     docker_operation
    #     incident_id
    #     task_id
    #   DataTables:
    #     docker_integration_invocations
    #   Message Destinations:
    #     fn_docker
    #   Functions:
    #     docker_run_docker_container
    #   Workflows:
    #     docker_analyze_artifact_with_docker_container_amass
    #     docker_analyze_artifact_with_docker_container_nsrl
    #     docker_send_attachment_to_docker_container
    #   Rules:
    #     Docker: Amass: Search for Subdomains
    #     Docker: NSRL: Validate MD5 from Whitelist
    #     Docker: Volatility: Analyze Memory Sample


    yield ImportDefinition(u"""
<KEY>
"""
    )
# -*- coding: utf-8 -*- Generate the Resilient customizations required for fn_docker Parameters to codegen used to generate the fn_docker package Produce any customization definitions (types, fields, message destinations, etc)        that should be installed by `resilient-circuits customize` # This import data contains: #   Function inputs: #     artifact_id #     attachment_id #     docker_artifact_type #     docker_image #     docker_input #     docker_operation #     incident_id #     task_id #   DataTables: #     docker_integration_invocations #   Message Destinations: #     fn_docker #   Functions: #     docker_run_docker_container #   Workflows: #     docker_analyze_artifact_with_docker_container_amass #     docker_analyze_artifact_with_docker_container_nsrl #     docker_send_attachment_to_docker_container #   Rules: #     Docker: Amass: Search for Subdomains #     Docker: NSRL: Validate MD5 from Whitelist #     Docker: Volatility: Analyze Memory Sample <KEY>