# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for fn_palo_alto_wildfire"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_palo_alto_wildfire package"""
    reload_params = {"package": u"fn_palo_alto_wildfire",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"artifact_id", u"artifact_type", u"artifact_value", u"attachment_id", u"incident_id"], 
                    "datatables": [u"palo_alto_wildfire_results"], 
                    "message_destinations": [u"palo_alto_wildfire"], 
                    "functions": [u"palo_alto_wildfire_file_submission_artifact", u"palo_alto_wildfire_file_submission_attachment", u"palo_alto_wildfire_url_submission"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"example_palo_alto_wildfire_file_submission_artifact", u"example_palo_alto_wildfire_file_submission_attachment", u"example_palo_alto_wildfire_url_submission"], 
                    "actions": [u"Example: Submit File (Artifact) to WildFire", u"Example: Submit File (Attachment) to WildFire", u"Example: Submit URL to WildFire"], 
                    "incident_artifact_types": [] 
                    }
    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
    #     artifact_type
    #     artifact_value
    #     attachment_id
    #     incident_id
    #   DataTables:
    #     palo_alto_wildfire_results
    #   Message Destinations:
    #     palo_alto_wildfire
    #   Functions:
    #     palo_alto_wildfire_file_submission_artifact
    #     palo_alto_wildfire_file_submission_attachment
    #     palo_alto_wildfire_url_submission
    #   Workflows:
    #     example_palo_alto_wildfire_file_submission_artifact
    #     example_palo_alto_wildfire_file_submission_attachment
    #     example_palo_alto_wildfire_url_submission
    #   Rules:
    #     Example: Submit File (Artifact) to WildFire
    #     Example: Submit File (Attachment) to WildFire
    #     Example: Submit URL to WildFire


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

"""Generate the Resilient customizations required for fn_palo_alto_wildfire"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_palo_alto_wildfire package"""
    reload_params = {"package": u"fn_palo_alto_wildfire",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"artifact_id", u"artifact_type", u"artifact_value", u"attachment_id", u"incident_id"], 
                    "datatables": [u"palo_alto_wildfire_results"], 
                    "message_destinations": [u"palo_alto_wildfire"], 
                    "functions": [u"palo_alto_wildfire_file_submission_artifact", u"palo_alto_wildfire_file_submission_attachment", u"palo_alto_wildfire_url_submission"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"example_palo_alto_wildfire_file_submission_artifact", u"example_palo_alto_wildfire_file_submission_attachment", u"example_palo_alto_wildfire_url_submission"], 
                    "actions": [u"Example: Submit File (Artifact) to WildFire", u"Example: Submit File (Attachment) to WildFire", u"Example: Submit URL to WildFire"], 
                    "incident_artifact_types": [] 
                    }
    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
    #     artifact_type
    #     artifact_value
    #     attachment_id
    #     incident_id
    #   DataTables:
    #     palo_alto_wildfire_results
    #   Message Destinations:
    #     palo_alto_wildfire
    #   Functions:
    #     palo_alto_wildfire_file_submission_artifact
    #     palo_alto_wildfire_file_submission_attachment
    #     palo_alto_wildfire_url_submission
    #   Workflows:
    #     example_palo_alto_wildfire_file_submission_artifact
    #     example_palo_alto_wildfire_file_submission_attachment
    #     example_palo_alto_wildfire_url_submission
    #   Rules:
    #     Example: Submit File (Artifact) to WildFire
    #     Example: Submit File (Attachment) to WildFire
    #     Example: Submit URL to WildFire


    yield ImportDefinition(u"""
<KEY>
<KEY>
"""
    )
# -*- coding: utf-8 -*- Generate the Resilient customizations required for fn_palo_alto_wildfire Parameters to codegen used to generate the fn_palo_alto_wildfire 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 #     artifact_type #     artifact_value #     attachment_id #     incident_id #   DataTables: #     palo_alto_wildfire_results #   Message Destinations: #     palo_alto_wildfire #   Functions: #     palo_alto_wildfire_file_submission_artifact #     palo_alto_wildfire_file_submission_attachment #     palo_alto_wildfire_url_submission #   Workflows: #     example_palo_alto_wildfire_file_submission_artifact #     example_palo_alto_wildfire_file_submission_attachment #     example_palo_alto_wildfire_url_submission #   Rules: #     Example: Submit File (Artifact) to WildFire #     Example: Submit File (Attachment) to WildFire #     Example: Submit URL to WildFire <KEY> <KEY>