tstconfig | #Identity Management | System administration tool for automatic configuration testing

 by   softwareloop Java Updated: 3 years ago - v0.2 License: MIT

Download this library from

Build Applications

kandi X-RAY | tstconfig REVIEW AND RATINGS

Tstconfig is a system administration tool that tests (a large number of) configuration files automatically. Tstconfig looks at the configurations, checks that certain properties have the value that you expect, and reports any discrepancies. The main use for Tstconfig is to test that a Linux system is configured in a secure way in areas such as the firewall (ufw), fail2ban, sshd, apache, mysql, php, the system's users, etc...

kandi-support
Support

  • tstconfig has a low active ecosystem.
  • It has 13 star(s) with 6 fork(s).
  • It had no major release in the last 12 months.
  • On average issues are closed in 0 days.
  • It has a neutral sentiment in the developer community.

quality kandi
Quality

  • tstconfig has no issues reported.

security
Security

  • tstconfig has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

license
License

  • tstconfig is licensed under the MIT License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.

build
Reuse

  • tstconfig releases are available to install and integrate.
  • Build file is available. You can build the component from source.
Top functions reviewed by kandi - BETA

Coming Soon for all Libraries!

Currently covering the most popular Java, JavaScript and Python libraries. See a SAMPLE HERE.
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.

tstconfig Key Features

System administration tool for automatic configuration testing

tstconfig examples and code snippets

  • Running
  • Example definition
  • Output

Running

tstconfig [definition_file]...

Example definition

################################################################################
# Test sshd configuration
################################################################################

# The location of the configuration file
file /etc/ssh/sshd_config

# The syntax for parsing
parse_mode tokenized
hash_comment_allowed true

# Check that root cannot login via ssh
property PermitRootLogin
assert_eq no

# Check that only certain users can login via ssh
property AllowUsers
assert_eq your_user_name

Output

$ tstconfig examples/sshd.tstconfig
Tstconfig 0.2

Reading definition file: examples/sshd.tstconfig
ASSERTION FAILED
 File:      /etc/ssh/sshd_config
 Property:  PermitRootLogin
 Value:     yes
 Assertion: assert_eq no

ASSERTION FAILED
 File:      /etc/ssh/sshd_config
 Property:  AllowUsers
 Value:     <undefined>
 Assertion: assert_eq your_user_name


SUMMARY REPORT: FAIL
Assertions tested: 2
Assertions passed: 0
Assertions failed: 2
Errors: 0

COMMUNITY DISCUSSIONS

No Community Discussions are available at this moment for tstconfig.Refer to stack overflow page for discussions.

No Community Discussions are available at this moment for tstconfig.Refer to stack overflow page for discussions.

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

VULNERABILITIES

No vulnerabilities reported

INSTALL tstconfig

You can use tstconfig like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the tstconfig component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

SUPPORT

For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

Implement tstconfig faster with kandi.

  • Use the support, quality, security, license, reuse scores and reviewed functions to confirm the fit for your project.
  • Use the, Q & A, Installation and Support guides to implement faster.

Discover Millions of Libraries and
Pre-built Use Cases on kandi

EXPLORE RELATED TOPICS