Execution
Date 30 Aug 2024 07:45:11 +0100
Duration None
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
14 Hosts
1 Tasks
13 Results
1 Plays
1 Files
0 Records

Task result details


Field Value
ansible_facts
{
    "discovered_interpreter_python": "/usr/libexec/platform-python"
}
changed
True
cmd
imunify360-agent
delta
0:00:01.208364
end
2024-08-30 07:45:14.371260
invocation
{
    "module_args": {
        "_raw_params": "imunify360-agent",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": null,
        "expand_argument_vars": true,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
msg

rc
0
start
2024-08-30 07:45:13.162896
stderr

stderr_lines
[]
stdout
usage: imunify360-agent [-h] [--log-config LOG_CONFIG]
                        [--console-log-level {ERROR,WARNING,INFO,DEBUG}]
                        [--remote-addr REMOTE_ADDR]
                        {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}
                        ...

CLI for imunify360 agent.

positional arguments:
  {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}
                        Available commands
    3rdparty            Shows conflicts with other software
    add-sudouser        (internal)
    admin-emails        Get panel admin emails
    advisor             (internal)
    auth-cloud          Get independent agent ID token
    backup-systems      Check the payment status of the selected backup
                        backend
    billing             (internal) For communication with whmcs updates.
    blacklist           Return/Edit IP blacklist
    blocked-port        Add item(-s) to blocked ports. Only applicable if the
                        FIREWALL.port_blocking_mode config option is set to
                        ALLOW (allow access to all ports by default).
    blocked-port-ip     Add IPs to a blocked port Only applicable if the
                        FIREWALL.port_blocking_mode config option is set to
                        ALLOW (allow access to all ports by default).
    check               whether ModSecurity settings have values recommended
                        by Imunify360
    check-domains       Send domain list check
    checkdb             (internal)
    clean               (internal)
    config              Update Imunify configuration (`/etc/sysconfig/imunify3
                        60/imunify360.config.d/90-local.config`).
    create-rbl-whitelist
                        Create whitelist for RBL
    delete-sudouser     (internal)
    disable-plugin      (internal) Disable hosting panel plugin
    doctor              (internal)
    enable-plugin       (internal) Enable hosting panel plugin (if detected)
    eula                Accept EULA
    feature-management  Get the default state of all features for new users
    features            Install opted feature
    fix                 fix ModSecurity settings to values recommended by
                        Imunify360
    get                 List incidents
    get-news            (internal)
    get-package-versions
                        (internal)
    graylist            Add item(-s) to Gray List
    health
    hook
    import
    infected-domains    Returns infected domain list
    install-vendors     Enable hosting panel plugin (if detected)
    ip-list             Add item(-s) from local ip-list
    list-docroots       (internal) Get docroots for all domains
    login               Returns a token for USERNAME (must be executed by
                        admin)
    malware             Show the status of running cleanup
    myimunify
    notifications-config
                        (internal) https://docs.imunify360.com/command_line_in
                        terface/#notifications-config
    permissions         (internal)
    plesk-stats         Return stats, required by plesk extension
    proactive           Show Proactive Defense event details
    pure-ftpd           (internal) Enable pure-ftpd
    register            Register the agent
    reload-lists        Reload custom black and white lists
    remote-proxy        Add proxy subnet in CIDR notation
    remove-block-report-script
                        Restore block reports script
    remove-csf-ports    Remove imunify360 ports from csf config
    restore-configs     Restore system configs to pre install Imunify360 state
    rstatus             Get registration status
    rules               Add a new rule to the disabled rules list
    smart-advice
    smtp-blocking       Remove Imunify360 SMTP blocking rules from iptables.
    submit              Submit a malicious file not yet detected by scanner to
                        Imunify team for analysis.
    support             Contact support team of imunify360
    uninstall-vendors   Disable hosting panel plugin
    unregister          Unregister the agent
    update              (internal)
    update-license      Force update license
    version             Get Imunify Agent version
    whitelist           Add item(-s) from White List
    whitelisted-crawlers
                        Add whitelisted crawler

options:
  -h, --help            show this help message and exit
  --log-config LOG_CONFIG
                        logging config filename
  --console-log-level {ERROR,WARNING,INFO,DEBUG}
                        Level of logging input to the console
  --remote-addr REMOTE_ADDR
                        Client's IP address for adding it to the whitelist
stdout_lines
[
    "usage: imunify360-agent [-h] [--log-config LOG_CONFIG]",
    "                        [--console-log-level {ERROR,WARNING,INFO,DEBUG}]",
    "                        [--remote-addr REMOTE_ADDR]",
    "                        {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}",
    "                        ...",
    "",
    "CLI for imunify360 agent.",
    "",
    "positional arguments:",
    "  {3rdparty,add-sudouser,admin-emails,advisor,auth-cloud,backup-systems,billing,blacklist,blocked-port,blocked-port-ip,check,check-domains,checkdb,clean,config,create-rbl-whitelist,delete-sudouser,disable-plugin,doctor,enable-plugin,eula,feature-management,features,fix,get,get-news,get-package-versions,graylist,health,hook,import,infected-domains,install-vendors,ip-list,list-docroots,login,malware,myimunify,notifications-config,permissions,plesk-stats,proactive,pure-ftpd,register,reload-lists,remote-proxy,remove-block-report-script,remove-csf-ports,restore-configs,rstatus,rules,smart-advice,smtp-blocking,submit,support,uninstall-vendors,unregister,update,update-license,version,whitelist,whitelisted-crawlers}",
    "                        Available commands",
    "    3rdparty            Shows conflicts with other software",
    "    add-sudouser        (internal)",
    "    admin-emails        Get panel admin emails",
    "    advisor             (internal)",
    "    auth-cloud          Get independent agent ID token",
    "    backup-systems      Check the payment status of the selected backup",
    "                        backend",
    "    billing             (internal) For communication with whmcs updates.",
    "    blacklist           Return/Edit IP blacklist",
    "    blocked-port        Add item(-s) to blocked ports. Only applicable if the",
    "                        FIREWALL.port_blocking_mode config option is set to",
    "                        ALLOW (allow access to all ports by default).",
    "    blocked-port-ip     Add IPs to a blocked port Only applicable if the",
    "                        FIREWALL.port_blocking_mode config option is set to",
    "                        ALLOW (allow access to all ports by default).",
    "    check               whether ModSecurity settings have values recommended",
    "                        by Imunify360",
    "    check-domains       Send domain list check",
    "    checkdb             (internal)",
    "    clean               (internal)",
    "    config              Update Imunify configuration (`/etc/sysconfig/imunify3",
    "                        60/imunify360.config.d/90-local.config`).",
    "    create-rbl-whitelist",
    "                        Create whitelist for RBL",
    "    delete-sudouser     (internal)",
    "    disable-plugin      (internal) Disable hosting panel plugin",
    "    doctor              (internal)",
    "    enable-plugin       (internal) Enable hosting panel plugin (if detected)",
    "    eula                Accept EULA",
    "    feature-management  Get the default state of all features for new users",
    "    features            Install opted feature",
    "    fix                 fix ModSecurity settings to values recommended by",
    "                        Imunify360",
    "    get                 List incidents",
    "    get-news            (internal)",
    "    get-package-versions",
    "                        (internal)",
    "    graylist            Add item(-s) to Gray List",
    "    health",
    "    hook",
    "    import",
    "    infected-domains    Returns infected domain list",
    "    install-vendors     Enable hosting panel plugin (if detected)",
    "    ip-list             Add item(-s) from local ip-list",
    "    list-docroots       (internal) Get docroots for all domains",
    "    login               Returns a token for USERNAME (must be executed by",
    "                        admin)",
    "    malware             Show the status of running cleanup",
    "    myimunify",
    "    notifications-config",
    "                        (internal) https://docs.imunify360.com/command_line_in",
    "                        terface/#notifications-config",
    "    permissions         (internal)",
    "    plesk-stats         Return stats, required by plesk extension",
    "    proactive           Show Proactive Defense event details",
    "    pure-ftpd           (internal) Enable pure-ftpd",
    "    register            Register the agent",
    "    reload-lists        Reload custom black and white lists",
    "    remote-proxy        Add proxy subnet in CIDR notation",
    "    remove-block-report-script",
    "                        Restore block reports script",
    "    remove-csf-ports    Remove imunify360 ports from csf config",
    "    restore-configs     Restore system configs to pre install Imunify360 state",
    "    rstatus             Get registration status",
    "    rules               Add a new rule to the disabled rules list",
    "    smart-advice",
    "    smtp-blocking       Remove Imunify360 SMTP blocking rules from iptables.",
    "    submit              Submit a malicious file not yet detected by scanner to",
    "                        Imunify team for analysis.",
    "    support             Contact support team of imunify360",
    "    uninstall-vendors   Disable hosting panel plugin",
    "    unregister          Unregister the agent",
    "    update              (internal)",
    "    update-license      Force update license",
    "    version             Get Imunify Agent version",
    "    whitelist           Add item(-s) from White List",
    "    whitelisted-crawlers",
    "                        Add whitelisted crawler",
    "",
    "options:",
    "  -h, --help            show this help message and exit",
    "  --log-config LOG_CONFIG",
    "                        logging config filename",
    "  --console-log-level {ERROR,WARNING,INFO,DEBUG}",
    "                        Level of logging input to the console",
    "  --remote-addr REMOTE_ADDR",
    "                        Client's IP address for adding it to the whitelist"
]