Git Product home page Git Product logo

capirca's Introduction

BuildStatus

Capirca

Capirca is a tool designed to utilize common definitions of networks, services and high-level policy files to facilitate the development and manipulation of network access control lists (ACLs) for various platforms. It was developed by Google for internal use, and is now open source.

To install the dev environment in machines that support bash files, run the dev-install script provided.

$ dev-install

Configuring Capirca with YAML files

Capirca's aclgen can be configured with one or more yaml files. These files will be prioritized from left to right, meaning any duplicate configurations will be overriden, not merged.

Command line flags can still be used when running aclgen with configuration files, and are treated as higher priority than configuration files.

The default capirca configurations for aclgen can be expressed in a YAML file as follows:

base_directory: ./policies
definitions_directory: ./def
output_directory: ./
optimize: false
recursive: true
debug: false
verbose: false
ignore_directories:
  - DEPRECATED
  - def
max_renderers: 10
shade_check: true
exp_info: 2

Community

Capirca has a channel on the NetworkToCode slack.

Running with Docker

If your usecase is to just use the CLI and you don't want to go through the process of installing Capirca, you can use the dockerized version. Just pipe your CLI arguments onto the container instead and mount your working directory to the /data directory of the container!

Example:

$ docker run -v "${PWD}:/data" docker.pkg.github.com/google/capirca/capirca:latest

capirca's People

Contributors

0x6263 avatar ahoying avatar alan-christopher avatar amybabay avatar ankenyr avatar anothermattbrown avatar cryptaliagy avatar eskan avatar finfinack avatar gmonni avatar grantek avatar jamesboswell avatar jzohrab avatar maddychan avatar martincochrang avatar mirceaulinic avatar mpenning avatar nero85 avatar oribit avatar pw378 avatar rarcotvmw avatar rdsharma avatar ryantierney513 avatar securityfordotes avatar sneakywombat avatar stoned avatar thechuchutrain avatar vklimovs avatar yilei avatar zombah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.