Description Usage Arguments Details Examples
When exploring VERIS data, you may want to get a simple count of the values within a value or enumeration. Given one or more enumerations, this will return the subsequent underlying logical values in an ordered data frame.
1 | getenum.single(veris, enum, filter = NULL, add.n = T, add.freq = T)
|
veris |
a verisr object |
enum |
the field to count |
filter |
limit what records are searched (optional) |
add.n |
include a total count of variables found (denominator) |
add.freq |
include a percentage (x/n) |
Note there are some special values that can be set as the enumeration, that may not be obvious. : * actor, action, attribute: will all return the next level down. For example, just querying for "action" will return "malware", "hacking", and so on. * action.variety: will return the variety enumerations across all actions (e.g. top N actions) (not in getenumby() yet) * asset.variety: will return the type of assets, "Server", "Network, "User Dev" and so on * victim.industry2: will return a short label of industries based on 2 values of NAICS code. * victim.industry3: will return a short label of industries based on 3 values of NAICS code. * pattern: will return the pattern the incidents are in.
Change in 1.1: the "add.n" and "add.freq" options are now TRUE by default.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.