# Example Scan Result File

Using the `--result-file` parameter creates a file with evaluation results in the following format.

```
{
    "applicationId" : "...",
    "scanId" : "...",
    "reportHtmlUrl" : "http://...",
    "reportPdfUrl" : "http://.../pdf",
    "reportDataUrl" : "http://.../raw",
    "policyAction" : "None",
    "policyEvaluationResult" : {
        "alerts" : [...detailed list of components which caused the violation...],
        "affectedComponentCount" : 15,
        "criticalComponentCount" : 4,
        "severeComponentCount" : 65,
        "moderateComponentCount" : 36,
        "criticalPolicyViolationCount" : 4,
        "severePolicyViolationCount" : 85,
        "moderatePolicyViolationCount" : 46,
        "grandfatheredPolicyViolationCount" : 0,
        "legacyViolationCount" : 0
     }
}
```

**_applicationId_** \- is the application in IQ Server against which you run policy evaluation

**_scanId_** \- can be used in some rest api

_**reportHtmlUrl**, **reportPdfUrl**, **reportDataUrl**_ \- report with policy evaluation results in different formats

**_policyAction_** \- policy evaluation outcome (can be None, Warn, Fail)

**_policyEvaluationResult_** \- contains a summary of the evaluation:

**_alerts_** \- contains information about components that caused a policy violation

**_affectedComponentCount_** \- number of components that caused a policy violation

**_criticalComponentCount_** \- number of critical components that caused a policy violation

**_severeComponentCount_** \- number of severe components that caused a policy violation

**_moderateComponentCount_** \- the number of moderate components which caused a policy violation

**_criticalPolicyViolationCount_** \- number of critical policies that were violated

**_severePolicyViolationCount_** \- number of severe policies that were violated

**_moderatePolicyViolationCount_** \- number of moderate policies that were violated

**_grandfatheredPolicyViolationCount (depracated)_** \- number of policies that were violated, but moved to grandfathered

**_legacyPolicyViolationCount_** \- number of legacy policy violations
