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_name
andvol_name
with your own information.security anti-ransomware volume show -vserver
svm_name
-volumevol_name
After 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: 1
For more information about this command, see
security anti-ransomware volume show
in the NetApp documentation center.
To generate ARP reports using the ONTAP CLI
-
Run the following command. Replace
vol_name
and/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 -volume
vol_name
-dest-path/file_location/
For more information about this command, see
security anti-ransomware volume attack generate-report
in 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 -vserver
svm_name
-volumevol_name
[extension identifiers]
-false-positive trueFor more information about this command, see
security anti-ransomware volume attack clear-suspect
in 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 -vserver
svm_name
-volumevol_name
[extension identifiers]
-false-positive falseFor more information about this command, see
security anti-ransomware volume attack clear-suspect
in the NetApp documentation center.