This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

    Sysdig Python Script Library and Sample Scripts

    The Python Script Library and Function List, as well as the collection of sample scripts, are stored on GitHub, as summarized below.

    Script Library and Function List

    Access the latest library at Sysdig SDK Library

    Sample Scripts

    Access the scripts on GitHub: https://github.com/draios/python-sdc-client/tree/master/examples.

    Recent scripts include:

    add_notification_email.py
    add_policy.py
    add_users_to_secure.py
    create_alert.py
    create_dashboard.py
    create_default_policies.py
    create_sysdig_capture.py
    dashboard.py
    dashboard_save_load.py
    delete_alert.py
    delete_all_policies.py
    delete_dashboard.py
    delete_event.py
    delete_policy.py
    download_dashboards.py
    flip_alerts_enabled.py
    get_agents_config.py
    get_data_advanced.py
    get_data_datasource.py
    get_data_simple.py
    get_policy.py
    get_secure_default_falco_rules_files.py
    get_secure_policy_events.py
    get_secure_system_falco_rules.py
    get_secure_user_falco_rules.py
    list_admins.py
    list_alert_notifications.py
    list_alerts.py
    list_dashboards.py
    list_events.py
    list_hosts.py
    list_metrics.py
    list_policies.py
    list_sysdig_captures.py
    list_users.py
    notification_channels.py
    post_event.py
    post_event_simple.py
    print_conn_table.py
    print_data_retention_info.py
    print_explore_grouping.py
    print_user_info.py
    resolve_alert_notifications.py
    restore_alerts.py
    restore_dashboards.py
    set_agents_config.py
    set_explore_group_configuration.py
    set_policy_order.py
    set_secure_default_falco_rules_files.py
    set_secure_system_falco_rules.py
    set_secure_user_falco_rules.py
    update_alert.py
    update_policy.py
    user_team_mgmt.py
    user_team_mgmt_extended.py