Content Analysis REST API statistics

book

Article ID: 170135

calendar_today

Updated On:

Products

Content Analysis Software - CA

Issue/Introduction

The UI does not record REST API submissions. This is due to the separation of ICAP and REST API statistics. The UI shows ICAP statistics.

Resolution

REST API statistics can be retrieved from the CLI from the statistics command

Example:
CA# statistics view stat-type [ REST_AV_BLOCKED ]

Here is a list of statistics in which can be viewed by this method:

REST_AV_BLOCKED                    REST files determined to be threats by AV vendors
REST_AV_CACHE_HITS                REST cache hits
REST_AV_SCANNED                    REST files scanned by anti-virus
REST_BCMA_THREATS                REST BCMA threats
REST_BYTES_SCANNED                Total REST bytes
REST_FIREEYE_THREATS            REST FireEye threats
REST_FRS_ALLOWED                REST files allowed by File Reputation
REST_FRS_BLOCKED                REST files blocked by File Reputation
REST_FRS_CACHE_HITS                REST File Reputation cache hits
REST_FRS_SUBMITTED                REST files submitted to File Reputation
REST_LASTLINE_THREATS            REST LastLine threats
REST_LOCAL_BLACKLIST_BLOCKED    REST files blocked by user blacklist
REST_LOCAL_WHITELIST_ALLOWED    REST files allowed by user whitelist
REST_PA_CACHE_HITS                REST predictive analysis cache hits
REST_PA_SAFE                    REST files determined to be safe through predictive analysis
REST_PA_SCORE_0                    REST files scored by predictive analysis with score 0
REST_PA_SCORE_1                    REST files scored by predictive analysis with score 1
REST_PA_SCORE_2                    REST files scored by predictive analysis with score 2
REST_PA_SCORE_3                    REST files scored by predictive analysis with score 3
REST_PA_SCORE_4                    REST files scored by predictive analysis with score 4
REST_PA_SCORE_5                    REST files scored by predictive analysis with score 5
REST_PA_SCORE_6                    REST files scored by predictive analysis with score 6
REST_PA_SCORE_7                    REST files scored by predictive analysis with score 7
REST_PA_SCORE_8                    REST files scored by predictive analysis with score 8
REST_PA_SCORE_9                    REST files scored by predictive analysis with score 9
REST_PA_SCORE_10                REST files scored by predictive analysis with score 10
REST_PA_SUGGEST_SANDBOX            REST files that predictive analysis suggests for sandboxing
REST_PA_THREATS                    REST files determined to be threats through predictive analysis
REST_PA_TOTAL_OBJ_SCORED        REST files scored by predictive analysis
REST_POLICY_ALLOWED                REST files allowed by policy
REST_POLICY_BLOCKED                REST files blocked by policy
REST_SANDBOX_BLOCK                REST files blocked by sandboxing
REST_SB_CACHE_HITS                REST sandboxing cache hits
REST_SB_SUBMITTED                REST files submitted to sandboxing
REST_SCANNED                    Total REST files
REST_THREATS                    Threats found using REST protocol