Changing limits for automatic artifact cleanup using the CLI

Prev Next

You can change the artifact cleanup limits to automatically delete disk space based on the volume of artifacts your appliance typically processes and the amount of disk space you have available. You can change these using CLI commands only.

To change artifact cleanup limits:

  1. Go to CLI configuration mode:

    hostname # enable

    hostname # configure terminal

  2. Show the current limits:

    hostname (config) # show analysis artifacts-cleanup

    Malicious Files:

    Keep Size (GB) : 20

    Keep Days : 30

    Malicious VM Captures:

    Keep Size (GB) : 20

    Keep Days : 30

    Malicious Emails:

    Keep Size (GB) : 20

    Keep Days : 30

    Non Malicious Files:

    Keep Size (GB) : 20

    Keep Days : 15

    Non Malicious VM captures:

    Keep Size (GB) : 20

    Keep Days : 15

  3. Specify new limits for any settings you want to change:

    • To change the limit for malicious files by day:

      hostname (config) # analysis artifacts-cleanup malicious files keep days 30show analysis artifacts-cleanup

    • To change the limit for non-malicious files by day:

      hostname (config) # analysis artifacts-cleanup non-malicious files keep days 10
    • To change the limit for malicious emails by day:

      hostname (config) # analysis artifacts-cleanup malicious emails keep days 30
    • To change the limit for malicious virtual machine captures by day:

      hostname (config) # analysis artifacts-cleanup malicious vm-captures keep days 30
    • To change the limit for non-malicious virtual machine captures by day:

      hostname (config) # analysis artifacts-cleanup non-malicious vm-captures keep days 10
    • To change the limit for malicious artifact files by size:

      hostname (config) # analysis artifacts-cleanup malicious files keep size 40
    • To change the limit for non-malicious artifact files by size:

      hostname (config) # analysis artifacts-cleanup non-malicious files keep size 20
    • To change the limit for malicious emails by size:

      hostname (config) # analysis artifacts-cleanup malicious emails keep size 40
    • To change the limit for malicious virtual machine captures by size:

      hostname (config) # analysis artifacts-cleanup malicious vm-captures keep size 40
    • To change the limit for non-malicious virtual machine captures by size:

      hostname (config) # analysis artifacts-cleanup malicious vm-captures keep size 20
  4. Save your changes.

    hostname (config) # write memory