menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Building a...
source image

Dev

1M

read

94

img
dot

Image Credit: Dev

Building a Secret Scanner in Julia: A GitLeaks Alternative

  • A new tool called Julia aims to provide an alternative to GitLeaks for scanning secrets, passwords, and API key leaks.
  • Julia offers more advanced features like specifying custom regex pattern lists, producing proper JSON output for automation, and backend use.
  • The tool also allows scanning directories, GitHub repositories directly, and loading custom patterns from a YAML file.
  • The project structure includes the use of Docker, Julia, and nfpm for creating DEB and RPM packages.
  • A Makefile is used for handling Docker builds, Docker container operations, pushing images to Docker Hub, and creating GitHub releases.
  • GitHub CLI is utilized for tagging repositories, uploading releases, and creating GitHub releases with version numbers like v1.0.0.
  • Testing is done by running the script in a Docker container against a test repository that contains secret leaks.
  • A GitHub pipeline is set up for automated CI/CD workflows using Docker, Make, GitHub Actions, and Makefile commands.
  • Julia, Docker, and GitHub tools simplify the process of building, testing, packaging, and deploying projects, making it suitable for everyday tasks.

Read Full Article

like

5 Likes

For uninterrupted reading, download the app