All Projects → armourbird → csf

armourbird / csf

Licence: GPL-3.0 license
ArmourBird CSF - Container Security Framework

Programming Languages

shell
77523 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to csf

Awesome Django
Repository mirror of GitLab: https://gitlab.com/rosarior/awesome-django This repository is not monitored for issues, use original at GitLab.
Stars: ✭ 8,527 (+17664.58%)
Mutual labels:  django-rest-framework, django-framework
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (+58.33%)
Mutual labels:  django-rest-framework, django-framework
Thinkdiff
My open source project links, programming and software development related code and tutorials are in this repo. Content types: Python, JavaScript, Dart | Django, React, Flutter, React-Native etc.
Stars: ✭ 65 (+35.42%)
Mutual labels:  django-rest-framework, django-framework
django-rest-witchcraft
Django REST Framework integration with SQLAlchemy
Stars: ✭ 38 (-20.83%)
Mutual labels:  django-rest-framework
ujson drf
JSON Renderer and Parser for Django Rest Framework using the ultra fast json (in C).
Stars: ✭ 14 (-70.83%)
Mutual labels:  django-rest-framework
django-learning-pathway
(Currently in development) Learning pathways for learning Django.
Stars: ✭ 35 (-27.08%)
Mutual labels:  django-rest-framework
Fenice-Network
Building the job search portal which helps both recruiters and job seekers to get perfect jobs.
Stars: ✭ 20 (-58.33%)
Mutual labels:  django-framework
How-To-Execute-CRUD-Using-Django-Ajax-and-JSON
How To Execute CRUD Using Django Ajax and JSON
Stars: ✭ 21 (-56.25%)
Mutual labels:  django-framework
DjangoUnboxed
Production ready django based starter kit
Stars: ✭ 67 (+39.58%)
Mutual labels:  django-rest-framework
drf-registration
Simple user registration package based on Django Rest Framework. DRF Registration - The easy way to generate registration RESTful APIs
Stars: ✭ 32 (-33.33%)
Mutual labels:  django-rest-framework
CloudCV
☁️ CloudCV Website
Stars: ✭ 53 (+10.42%)
Mutual labels:  django-rest-framework
Footprint
Bluetooth Beacon 을 활용한 장소 기반 추억 기록 및 공유 서비스
Stars: ✭ 24 (-50%)
Mutual labels:  django-rest-framework
drftest
drftest is a minimal testing library that aims to facilitate writing tests for django rest framework views. It also [optionally] generates good looking API documentations based on tests it runs.
Stars: ✭ 26 (-45.83%)
Mutual labels:  django-rest-framework
Malicious-Urlv5
A multi-layered and multi-tiered Machine Learning security solution, it supports always on detection system, Django REST framework used, equipped with a web-browser extension that uses a REST API call.
Stars: ✭ 35 (-27.08%)
Mutual labels:  django-rest-framework
react-tutorial
A react-tutorial
Stars: ✭ 99 (+106.25%)
Mutual labels:  django-rest-framework
filtermapbackend
FilterMapBackend for django-rest-framework
Stars: ✭ 16 (-66.67%)
Mutual labels:  django-rest-framework
Facebook-phishing
Phishing Facebook Page in Django Code(Python Based)
Stars: ✭ 129 (+168.75%)
Mutual labels:  django-framework
bk-user
蓝鲸用户管理是蓝鲸智云提供的企业组织架构和用户管理解决方案,为企业统一登录提供认证源服务。
Stars: ✭ 31 (-35.42%)
Mutual labels:  django-rest-framework
drf-action-serializer
A serializer for the Django Rest Framework that supports per-action serialization of fields.
Stars: ✭ 48 (+0%)
Mutual labels:  django-rest-framework
machado
This repository provides users with a framework to store, search and visualize biological data.
Stars: ✭ 18 (-62.5%)
Mutual labels:  django-rest-framework

ArmourBird CSF - Container Security Framework

Follow ArmourBird on Twitter BlackHat USA Arsenal 2019

Note: The CSF Client is under active development and is getting converted into GoLang for better performace and architecture

Table of Contents

  1. About
  2. Architecture Diagram
  3. APIs-CSF Server
  4. Installation/Usage
  5. Building Docker Images
  6. Sneak Peak
  7. To Do
  8. Website
  9. Twitter
  10. References

About

ArmourBird CSF - Container Security Framework is an extensible, modular, API-first framework build for regular security monitoring of docker installations and containers against CIS and other custom security checks.

ArmourBird CSF has a client-server architecture and is thus divided into two components:

a) CSF Client

  • This component is responsible for monitoring the docker installations, containers, and images on target machines
  • In the initial release, it will be checking against Docker CIS benchmark
  • The checks in the CSF client will be configurable and thus will be expanded in future releases and updates
  • It has been build on top of Docker bench for security

b) CSF Server

  • This will be the receiver agent for the security logs generated by the various distributed CSF clients (installed on multiple physical/virtual machines)
  • This will also have a UI sub-component for unified management and dashboard-ing of the various vulnerabilities/issues logged by the CSF Clients
  • This server will also expose APIs that can be used for integrating with other systems

Important Note: The tool is currently in beta mode. Hence the debug flag of django (CSF Server) is enabled and the SQLite is used as DB in the same docker container. Hence, spinning up a new docker container will reset the database.

Architecture Diagram

 ArmourBird CSF Architecture Diagram

APIs CSF Server

Issue APIs

POST /issues

  • For reporting issues from CSF clients

GET /issues/{issueId}

  • For listing specific issue with {id}

GET /issues

  • For listing all issues reported by all CSF clients

PUT /issues/{issueId}

  • For updating a specific issue (like for severity, comments, etc.)

DELETE /issues/{issueId}

  • For deleting specific issue

Client APIs

POST /clients

  • For adding a CSF client

GET /clients/{clientId}

  • For listing specific CSF client

GET /clients/

  • For listing all the CSF clients

PUT /clients/{clientId}

  • For updating the CSF client (for e.g. IP addr, etc.)

DELETE /clients/{clientId}

  • For deleting a CSF client from the network

Client Group APIs

POST /clientGroup

  • Adding client to a specific group (for e.g. product1, HRNetwork, product2, etc.)

GET /clientGroup/{groupID}

  • For listing client group details

GET /clientGroup/

  • For listing all client groups

PUT /clientGroup/{groupID}

  • For updating client group

DELETE /clientGroup/{groupId}

  • For deleting client group

Installation/Usage

CSF client run as a docker container on the compute instances running docker installation. It can be executed using the following command using the docker image hosted on hub.docker.com:

docker run -it --net host --pid host --userns host --cap-add audit_control \
-e DOCKER_CONTENT_TRUST=$DOCKER_CONTENT_TRUST \
-e CSF_CDN='<TO-UPDATE>' \
-v /etc:/etc \
-v /usr/bin/docker-containerd:/usr/bin/docker-containerd \
-v /usr/bin/docker-runc:/usr/bin/docker-runc \
-v /usr/lib/systemd:/usr/lib/systemd \
-v /var/lib:/var/lib \
-v /var/run/docker.sock:/var/run/docker.sock \
--label csf_client \
-d armourbird/csf_client

Make sure to update CSF_CDN environment variable in the above command with the CSF server URL. Once the container is executed, it will start sending issue logs to the CSF server on constant intervals.

CSF server can run as a docker container or natively on a web server on which various CSF clients will be sending data. You can run it on your server using the following command using the docker image hosted on hub.docker.com

docker run -p 80:8000 -d armourbird/csf_server

Browse the CSF server via the following links

  • Dashboard: http://< your-domain >/dashboard/
  • APIs: http://< your-domain >/api/

Building Docker Images

Building docker image for CSF Client

git clone [email protected]:armourbird/csf.git
cd csf_client
docker build . -t csf_client

Building docker image for CSF Server

git clone [email protected]:armourbird/csf.git
cd csf_server
docker build . -t csf_server

Sneak Peak

Dashboard

API View

To Do

  • Integrate non-development web server and database
  • Add API key support to CSF Server
  • Add further checks in CSF Client
  • Add create/update/delete functionality for Client Groups
  • Add update/delete functionality for Clients
  • Improve dashboard UI

Website

https://www.armourbird.com/

Twitter

http://twitter.com/ArmourBird

References

https://www.cisecurity.org/cis-benchmarks https://github.com/docker/docker-bench-security

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].