# Nexus IQ CLI

## post by hosn on May 29, 2023

**HO SWEE NGEE**  
hosn  
**Sonatype Customer**

Hi, apparently there wasn’t a timestamp generated on any of the json files after I trigger nexus IQ CLI to scan my files.

Can’t be found in the json /sonatype/reports/policy-eval-results.json or [http://nexus-iq-server:8070/api/v2/applications/{public_id}/reports/{scan_id}/raw](http://nexus-iq-server:8070/api/v2/applications/%7Bpublic_id%7D/reports/%7Bscan_id%7D/raw) (link found within the results.json file)

Am I looking at the right places? I have also browsed through the APIs that are in the documentation but have no luck finding what I want, which is the timestamp on when the appId was created, and also when the scan was evaluated by IQ-server. Please advise on this.

Regards  
Swee Ngee

## post by jwhitehouse on May 29, 2023

**Jamie Whitehouse**  
jwhitehouse  
**Sonatypers**

Hi Swee Ngee. The Application Composition Report displays the scan timestamp near the header. Take a look at the help docs on [Reviewing a Report](https://help.sonatype.com/iqserver/reporting/application-composition-report/reviewing-a-report) for a screenshot with an example. This info is also available in the scan report history API endpoint: [Report-related REST APIs - v2](https://help.sonatype.com/iqserver/automating/rest-apis/report-related-rest-apis---v2#ReportrelatedRESTAPIsv2-RetrievingtheScanReportHistory).

For auditing and diagnostics, there are two log files that can be useful. The Audit Log would record what apps were created when. See the `governance.application` section of [Audit Log](https://help.sonatype.com/iqserver/configuring/logging-configuration/audit-log). The Audit Log can also indicate when scans have occurred. See the `governance.evaluation.application` section.

Your install may not have these logs enabled though. The Audit Log help page has information on how to enable it and where you’d find the logs (customers often use a log analysis tool such as Splunk to search these, or extract information and put it in a dashboard).
