Announcement

Collapse
No announcement yet.

ImunifyAV malware-cleanup hook status

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ImunifyAV malware-cleanup hook status

    Hi,

    I need to know all the different malware-cleanup/finished status outputs.
    Couldnt find them in here: https://docs.imunifyav.com/imunifyav...eir-parameters

    Im making a script that uses the hooks to send emails to clients and it need to send different texts in different situations.

    Thanks,

    Ignacio

  • #2
    Hello Ignacio,
    Thank you for reaching out! The output depends on your actual script, and what malware-cleanup/finished hook does is generates an event for your script. If you require any further information, let me know. Thanks

    Comment


    • #3
      Hi Sergey,

      Thanks for your answer.
      Maybe I didnt explain myself well, what I was trying to ask is what possible values exists in the "params -> status" key.
      Ive ran the following using an actual scan and filtered the statuses but I dont know if these are all of it:

      Code:
      # imunify-antivirus malware history list --limit 10000 | awk { print $3 } | sort | uniq
      
      added_to_ignore
      
      cleanup_done
      
      cleanup_removed
      
      deleted
      
      deleted_from_ignore
      
      failed_to_cleanup
      
      found
      
      restored_original
      
      unable_to_cleanup
      Do you have the full list?

      Thanks,

      Ignacio

      Comment


      • #4
        Ignacio, No problem As per https://docs.imunifyav.com/imunifyav...eir-parameters the following possible values exist for the "params -> status" key: “ok”, “has_errors”, “failed”. Thanks

        Comment

        Working...
        X