Skip to content

Inspec profiles for assessing DHIS2 deployment security

License

Notifications You must be signed in to change notification settings

davinerd/dhis2-inspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What it is

This inspec profile helps in assessing the security configuration around DHIS2 deployments.

How to use it

  1. Clone the repository
$ git clone https://github.com/davinerd/dhis2-inspec.git
$ cd dhis2-inspec
  1. Install inspec (if running locally)

Please choose the method that works best for you in the official documentation.

  1. Run the desired control
dhis2-inspec$ inspec exec controls/<control>.rb 

If you want to assess the deployment on an lxd container, use the run_inspec_lxd.sh script and pass the container name and the control you want to use

dhis2-inspec$ bash run_inspec_lxd.sh <container_name> controls/<control>.rb

Examples

To assess the tomcat deployment on an lxd container, assuming you have a container named dhis2, you can use:

dhis2-inspec$ bash run_inspec_lxd.sh dhis2 controls/tomcat.rb

About

Inspec profiles for assessing DHIS2 deployment security

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published