Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Below is the code to download the audit report. It is written in the Linux shell script.

Script:

Click on the following file to download the script

Configuring Attributes:

  1. Open the file using the following command: vi downloadAuditReport.sh

  2. Configure the below attributes, and save the file.

Attributes

Description

userName

Login name of the user that user who is going to download the report. (e.g. admin@openspecimen.com).

Note: The user has to be a Super Adminstrator.

password

The password of the user. (e.g. Login@#123@#)

url

URL of the server from which you are going to download the report. (e.g. https://example.openspecimen.org)

startDate

From which date you are going to download the report. (e.g. 2022-12-19)

endDate

To which date you are going to download. (e.g. 2022-12-20)

currentTime

This is used to generate the file.

How to run:

  1. chmod +x downloadAuditReport.sh

  2. ./downloadAuditReport.sh

Once successfully running, it will download the zip file of the login audit report in the current working directory. File e.g. os_audit_revisions_20221220_1521.zip .

  • No labels