Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/OWASP/glue
Application Security Automation
https://github.com/OWASP/glue
ci-cd devsecops owasp tool
Last synced: 3 months ago
JSON representation
Application Security Automation
- Host: GitHub
- URL: https://github.com/OWASP/glue
- Owner: OWASP
- License: other
- Created: 2015-08-27T15:15:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T21:43:17.000Z (about 1 year ago)
- Last Synced: 2024-07-21T01:42:39.154Z (4 months ago)
- Topics: ci-cd, devsecops, owasp, tool
- Language: Ruby
- Homepage:
- Size: 8.51 MB
- Stars: 519
- Watchers: 40
- Forks: 113
- Open Issues: 73
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
Awesome Lists containing this project
- WebHackersWeapons - Glue
README
[![Twitter](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/owaspglue)
[![Ruby Gem](https://img.shields.io/gem/dtv/rails.svg)](https://rubygems.org/gems/owasp-glue) [![Dockerhub](https://img.shields.io/docker/stars/owasp/glue.svg)](https://hub.docker.com/r/owasp/glue/)
[![Travis](https://img.shields.io/travis/USER/REPO.svg)](https://travis-ci.org/OWASP/glue)# OWASP Glue
Glue is a framework for running a series of tools. Generally, it is intended as a backbone for automating a security analysis pipeline of tools.
# Recommended Usage
For those wishing to run Glue, we recommend using the docker image because
it should have the other tools it uses available already and configured.
See the documentation for more info. [Glue Docker Documentation](./DOCKER.md)For those interested in how to use Glue in a DevOps context, see
[Glue DevOps Integration Options](./DEVOPS.md)Checkout the [Playground](./PLAYGROUND.md) to get a better understanding of Glue's features and how you can use them.
# Local run
`docker run owasp/glue`
# Installation for Development
```
git clone https://github.com/owasp/glue
cd glue -- RVM will set to 2.3.1 with Gemset Glue
gem install bundler
bundle install
```## Running in Development
```
cd lib
../bin/glue -h
```# Extending Glue
Glue is intended to be extended through added "tasks". To add a new tool,
copy an existing task and tweak to make it work for the tool in question.# Usage
`Glue `
## Options
Common options include:
```
-d for debug
-f for format (takes "json", "csv", "jira")
```For a full list of options, use `Glue --help` or see the [OPTIONS.md](./OPTIONS.md) file.
## Target
The target can be:
* Filesystem (which is analyzed in place)
* Git repo (which is cloned for analysis)
* Other types of images (.iso, docker, etc. are experimental)# Dependencies
* clamav
* hashdeep
* rm (*nix)
* git
* mount (*nix)
* docker# Development
To run the code, run the following from the root directory:
`>ruby bin/Glue target`
To build a gem, just run:
`gem build Glue.gemspec`
# Integration
## Git Hooks
First, grab the hook from the code.
```
meditation:hooks mk$ cp /area53/owasp/Glue/hooks/pre-commit .
```Then make it executable.
```
meditation:hooks mk$ chmod +x pre-commit
```Make sure the shell you are committing in can see docker.
```
meditation:hooks mk$ eval "$(docker-machine env default)"
```Now go test and make a change and commit a file.
The result should be that Glue runs against your
code and will not allow commits unless the results
are clean. (Which is not necessarily a reasonable
expectation)# Configuration files
For advanced usage scenarios, you can save your configuration and use it at runtime.
# Authors
Matt Konda
Alex Lock
Rafa Perez# License
Apache 2: http://www.apache.org/licenses/LICENSE-2.0