Responding to Autonomous Ransomware Protection alerts
The following procedures explain how to use the ONTAP CLI to view Autonomous Ransomware Protection (ARP) alerts, generate attack reports, and take action on reports. For more information about how ARP detects and responds to attacks, see What ARP looks for and How to respond to a suspected attack with ARP.
To view an ARP alert on a volume using the ONTAP CLI
-
Run the following command. Replace
svm_nameandvol_namewith your own information.security anti-ransomware volume show -vserversvm_name-volumevol_nameAfter running the command, you'll see output similar to the following example:
Vserver Name: fsx Volume Name: vol1 State: enabled Attack Probability: moderate Attack Timeline: 9/14/2021 01:03:23 Number of Attacks: 1For more information about this command, see
security anti-ransomware volume showin the NetApp documentation center.
To generate ARP reports using the ONTAP CLI
-
Run the following command. Replace
vol_nameand/file_location/with your own information. After you generate the report, you can view it on a client system.security anti-ransomware volume attack generate-report -volumevol_name-dest-path/file_location/For more information about this command, see
security anti-ransomware volume attack generate-reportin the NetApp documentation center.
To take action on a false positive attack from an ARP report using the ONTAP CLI
-
Run the following command. Replace
svm_name,vol_name, and[extension identifiers]with your own information.security anti-ransomware volume attack clear-suspect -vserversvm_name-volumevol_name[extension identifiers]-false-positive trueFor more information about this command, see
security anti-ransomware volume attack clear-suspectin the NetApp documentation center. Note
When you mark an alert as a false positive, it updates the ransomware profile. After doing so, you won't receive an alert about that particular scenario again.
To take action on a potential attack from an ARP report using the ONTAP CLI
-
Run the following command. Replace
svm_name,vol_name, and[extension identifiers]with your own information.security anti-ransomware volume attack clear-suspect -vserversvm_name-volumevol_name[extension identifiers]-false-positive falseFor more information about this command, see
security anti-ransomware volume attack clear-suspectin the NetApp documentation center.