How to use the resilient.ImportDefinition function in resilient

To help you get started, we’ve selected a few resilient examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ibmresilient / resilient-community-apps / fn_twilio / fn_twilio / util / customize.py View on Github external
- Functions:
        - twilio_get_responses
        - twilio_send_sms
    - Workflows:
        - example_twilio_receive_messages
        - example_twilio_send_sms
        - twilio_get_responses
    - Rules:
        - Example: Send Twilio SMS
        - Example: Twilio Receive Messages
        - Twilio: Get Responses
    - Data Tables:
        - twilio_sms_log
    """

    yield ImportDefinition(u"""
eyJhY3Rpb25fb3JkZXIiOiBbXSwgImFjdGlvbnMiOiBbeyJhdXRvbWF0aW9ucyI6IFtdLCAiY29u
github ibmresilient / resilient-community-apps / fn_scheduler / fn_scheduler / util / customize.py View on Github external
- list_schedules
        - resume_a_scheduled_job
        - schedule_a_rule_to_run_artifact
    - Rules:
        - Schedule a Rule to Run - Task
        - Pause a Scheduled Job
        - List Scheduled Rules
        - Remove a Scheduled Rule
        - Schedule a Rule to Run
        - Schedule a Rule to Run - Artifact
        - Resume a Scheduled Job
    - Data Tables:
        - scheduler_rules
    """

    yield ImportDefinition(u"""
eyJhY3Rpb25fb3JkZXIiOiBbXSwgImFjdGlvbnMiOiBbeyJhdXRvbWF0aW9ucyI6IFtdLCAiY29u
github ibmresilient / resilient-community-apps / fn_ipinfo / fn_ipinfo / util / customize.py View on Github external
"""
    Returns a Generator of ImportDefinitions (Customizations).
    Install them using `resilient-circuits customize`

    Contents:
    - Message Destinations:
        - fn_ipinfo
    - Functions:
        - fn_ipinfo_query_ip_address
    - Workflows:
        - example_query_ip_artifact_with_ipinfo
    - Rules:
        - Query Artifact with IP Info
    """

    yield ImportDefinition(u"""
eyJhY3Rpb25fb3JkZXIiOiBbXSwgImFjdGlvbnMiOiBbeyJhdXRvbWF0aW9ucyI6IFtdLCAiY29u