Skip to content

Commit

Permalink
Merge pull request #89 from intelowlproject/dev-flake8-black-api-auth
Browse files Browse the repository at this point in the history
Flake8, black, new API endpoints
  • Loading branch information
mlodic authored Jun 5, 2020
2 parents 96ae890 + 1c4eacd commit cdc591a
Show file tree
Hide file tree
Showing 70 changed files with 4,517 additions and 2,448 deletions.
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.gitignore
.vscode
__pycache__
.env
env_file_app
env_file_postgres
env_file_postgres
env_file_integrations
venv/
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
max-line-length = 88
ignore =
W503, # line break before binary operator
E231, # missing whitespace after ','
exclude =
Dockerfile,
docker-compose*,
venv,
migrations,
virtualenv
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ install:
- sudo docker-compose -f docker-compose-for-travis.yml build
- sudo docker-compose -f docker-compose-for-travis.yml up -d
script:
- sudo docker exec -ti intel_owl_uwsgi python manage.py test tests

- sudo docker exec -ti intel_owl_uwsgi black . --check --exclude "migrations|venv"
- sudo docker exec -ti intel_owl_uwsgi flake8 . --count
- sudo docker exec -ti intel_owl_uwsgi python manage.py test tests
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/intelowlproject/IntelOwl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/intelowlproject/IntelOwl/context:python)
[![CodeFactor](https://www.codefactor.io/repository/github/intelowlproject/intelowl/badge)](https://www.codefactor.io/repository/github/intelowlproject/intelowl)
[![Build Status](https://travis-ci.com/intelowlproject/IntelOwl.svg?branch=master)](https://travis-ci.org/intelowlproject/IntelOwl)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# Intel Owl

Do you want to get **threat intelligence data** about a file, an IP or a domain?
Expand All @@ -24,6 +26,7 @@ Main features:
- full django-python application
- easily and completely customizable, both the APIs and the analyzers
- clone the project, set up the configuration and you are ready to run
- Official frontend client: **[IntelOwl-ng](https://github.com/intelowlproject/IntelOwl-ng)** provides features such as dashboard, visualizations of analysis data, easy to use forms for requesting new analysis, etc.

### Free internal modules available
* Static Doc Analysis
Expand Down Expand Up @@ -113,9 +116,9 @@ This project was created and will be upgraded thanks to the following organizati
#### Google Summer Of Code
The project was accepted to the GSoC 2020 under the Honeynet Project!!

Stay tuned for upcoming [new features](https://www.honeynet.org/gsoc/gsoc-2020/google-summer-of-code-2020-project-ideas/#intel-owl-improvements) developed by Eshann Bansal [Twitter](https://twitter.com/mask0fmydisguis)
Stay tuned for upcoming [new features](https://www.honeynet.org/gsoc/gsoc-2020/google-summer-of-code-2020-project-ideas/#intel-owl-improvements) developed by Eshaan Bansal ([Twitter](https://twitter.com/mask0fmydisguis)).


### About the author
Feel free to contact the author at any time:
Matteo Lodi [Twitter](https://twitter.com/matte_lodi)
Matteo Lodi ([Twitter](https://twitter.com/matte_lodi))
Loading

0 comments on commit cdc591a

Please sign in to comment.