Skip to content

zanadir is an open-source CLI tool that analyzes GitHub repositories and suggests open-source tools to enhance CI/CD best practices.

License

Notifications You must be signed in to change notification settings

tomerse-sg/zanadir

 
 

Repository files navigation

zanadir

Features

  • 📂 Scan: Analyze the repository for CI/CD enhancement suggestions, including security services and best practices.
  • Help: Get details on available commands and usage.
  • 🔍 CI Analysis: Examines the repository's Continuous Integration (CI) setup and suggests improvements for security and best practices.
  • 🚀 Open Source: Contributions are welcome to enhance Zanadir's capabilities!

Supported CI Actions

Zanadir currently supports:

  • GitHub Actions
  • CircleCI
  • GitLab

Future work will include support for:

  • Bitbucket

Categories We Suggest

Zanadir analyzes repositories in the following categories:

  • 🛡️ SCA: Software Composition Analysis
  • 🔐 Secrets: Secrets Management
  • 📜 Licenses: License Compliance
  • 🛠️ EndOfLife: End-of-Life Software Packages
  • 📊 Coverage: Test Coverage
  • 📊 Performance Testing: Test Performance and Reliability
  • 🧑‍💻 Linter: Code Linting

Enforce Mode

Zanadir provides an --enforce flag to ensure that all CI/CD suggestions are fulfilled. If any suggestion is not met, the CI pipeline will fail. This helps enforce security best practices and compliance in automated workflows.

zanadir scan --enforce

Output Format

You can control the output format by using the --output flag with two options: table and json.

zanadir scan --output json
zanadir scan --output table

Installation

You can install Zanadir using Go:

# Install directly from source
go install github.com/MustacheCase/zanadir@latest

GitHub Actions

If you're using GitHub Actions, you can use our Zanadir-based action to run CI\CD scans on your code during your CI workflows.

Contributors

Zanadir is still in its experimental phase. We are working hard to release the first stable version soon.
Your feedback and contributions are welcome!

About

zanadir is an open-source CLI tool that analyzes GitHub repositories and suggests open-source tools to enhance CI/CD best practices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.6%
  • Dockerfile 1.4%