<filename>python-3-apps/fn_cisco_firepower_management/fn_cisco_firepower_management/util/customize.py
# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for fn_cisco_firepower_management"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the fn_cisco_firepower_management package"""
    reload_params = {"package": u"fn_cisco_firepower_management",
                    "incident_fields": [], 
                    "action_fields": [u"access_control_policy_name", u"access_rule_name", u"destination_ip", u"enable", u"policy_action", u"rule_action", u"source_ip"], 
                    "function_params": [u"access_control_policy_name", u"access_rule_name", u"destination_ip", u"enable", u"policy_action", u"rule_action", u"source_ip"], 
                    "datatables": [], 
                    "message_destinations": [u"cisco_firepower_management_center"], 
                    "functions": [u"cisco_fmc_create_access_control_policy_rule"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"example_cisco_fmc_create_access_control_policy_rule"], 
                    "actions": [u"Example: Cisco FMC Create Access Control Policy Rule"], 
                    "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:
    #   Action fields:
    #     access_control_policy_name
    #     access_rule_name
    #     destination_ip
    #     enable
    #     policy_action
    #     rule_action
    #     source_ip
    #   Function inputs:
    #     access_control_policy_name
    #     access_rule_name
    #     destination_ip
    #     enable
    #     policy_action
    #     rule_action
    #     source_ip
    #   Message Destinations:
    #     cisco_firepower_management_center
    #   Functions:
    #     cisco_fmc_create_access_control_policy_rule
    #   Workflows:
    #     example_cisco_fmc_create_access_control_policy_rule
    #   Rules:
    #     Example: Cisco FMC Create Access Control Policy Rule


    yield ImportDefinition(u"""
<KEY>
"""
    )