MID Rule Attributes
Standard and custom MID rules are defined with these attributes.
Component and Version Information for Groups
The following columns are used to notify the FlexNet Code Insight Scan engine which component and version (if known) is to be selected for the system group:
|
•
|
Rule Notes—The value entered into this column shows up as the detection evidence value for a system-generated group. It is the explanation as to why a particular group was created. This value is optional. |
|
•
|
Component ID—The ID of the component to be associated with the system-generated group. You can look up a component id using the Research page of the FlexNet Code Insight 6.13.x web application. The component ID must exist in the system for the rule to be evaluated; otherwise the rule is skipped. This value is required. |
|
•
|
Version ID—The ID of the component version to be associated with the system-generated group. You can look up a component version ID using the Research page of the FlexNet Code Insight 6.13.x web application. The component version ID must exist in the system for the rule to be evaluated; otherwise the rule is skipped. This value is optional. |
Rule Condition Criteria
The following data is also used to define MID rules. During a scan, any of these attributes can be used as criteria for MID rule conditions; at least one condition is required for each MID rule:
|
•
|
File Path Pattern—File name or path to be considered for MID rule analysis; if path criteria are not met, the rule is skipped with no further processing (for example: *.dll). |
|
•
|
MD5 Digest—The MD5 digest of the file may be used as the most basic criteria, if the file has the following MD5 digest, then it is component Foo, version #.#. If the MD5 criteria are used, the search term and namespace conditions are not evaluated. |
|
•
|
Search Terms—All of the specified search terms must exist in the file for this condition to evaluate to true. |
|
•
|
Java Names—All of the specified Java names must exist in the file for this condition to evaluate to true. If a single package name is specified, the rule will match a Java source file or class file that belongs to the specified package or package with the specified prefix (for example, com.foo will match any package that starts with com.foo). It will also match an archive file (.jar,.war, .ear, .zip) that contains a file matching the package name. If multiple names are given, the rule will match only an archive file that contains all the specified packages. |
Open topic with navigation