<reponame>osama6162/resilient-community-apps
# -*- coding: utf-8 -*-

"""Generate the Resilient customizations required for smg_utilities"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the smg_utilities package"""
    reload_params = {"package": u"smg_utilities",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"smg_block_domain", u"smg_block_ip"], 
                    "datatables": [], 
                    "message_destinations": [u"fn_smg"], 
                    "functions": [u"utilities_smg_domain", u"utilities_smg_ip"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"smg_block_domain", u"smg_block_ip"], 
                    "actions": [u"Example: Smg Block Domain", u"Example: Smg Block IP"], 
                    "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:
    #     smg_block_domain
    #     smg_block_ip
    #   Message Destinations:
    #     fn_smg
    #   Functions:
    #     utilities_smg_domain
    #     utilities_smg_ip
    #   Workflows:
    #     smg_block_domain
    #     smg_block_ip
    #   Rules:
    #     Example: Smg Block Domain
    #     Example: Smg Block IP


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

"""Generate the Resilient customizations required for smg_utilities"""

from __future__ import print_function
from resilient_circuits.util import *

def codegen_reload_data():
    """Parameters to codegen used to generate the smg_utilities package"""
    reload_params = {"package": u"smg_utilities",
                    "incident_fields": [], 
                    "action_fields": [], 
                    "function_params": [u"smg_block_domain", u"smg_block_ip"], 
                    "datatables": [], 
                    "message_destinations": [u"fn_smg"], 
                    "functions": [u"utilities_smg_domain", u"utilities_smg_ip"], 
                    "phases": [], 
                    "automatic_tasks": [], 
                    "scripts": [], 
                    "workflows": [u"smg_block_domain", u"smg_block_ip"], 
                    "actions": [u"Example: Smg Block Domain", u"Example: Smg Block IP"], 
                    "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:
    #     smg_block_domain
    #     smg_block_ip
    #   Message Destinations:
    #     fn_smg
    #   Functions:
    #     utilities_smg_domain
    #     utilities_smg_ip
    #   Workflows:
    #     smg_block_domain
    #     smg_block_ip
    #   Rules:
    #     Example: Smg Block Domain
    #     Example: Smg Block IP


    yield ImportDefinition(u"""
<KEY>
"""
    )
# -*- coding: utf-8 -*- Generate the Resilient customizations required for smg_utilities Parameters to codegen used to generate the smg_utilities package Produce any customization definitions (types, fields, message destinations, etc)        that should be installed by `resilient-circuits customize` # This import data contains: #   Function inputs: #     smg_block_domain #     smg_block_ip #   Message Destinations: #     fn_smg #   Functions: #     utilities_smg_domain #     utilities_smg_ip #   Workflows: #     smg_block_domain #     smg_block_ip #   Rules: #     Example: Smg Block Domain #     Example: Smg Block IP <KEY>