Skip to main content

Logo

DocF-Sec-Check Version Pip Version License Docker Python Version

DocF-Sec-Check

Description

DockF-Sec-Check helps to make you Dockerfile commands more secure.

ScreenShot

Done

  • First level security notification in Dockerfile.

TODO List

  • Detecting the Dockerfile correctly.
  • Two level security notification in Dockerfile.
  • Security noticification in Docker images.
  • *********** (Private Repository)

Installation

From Source Code

You can use virtualenv for package dependencies before installation.

git clone https://github.com/OsmanKandemir/docf-sec-check.git
cd docf-sec-check
python setup.py build
python setup.py install

From Pypi

The script is available on PyPI. To install with pip:

pip install docfseccheck

From Dockerfile

You can run this application on a container after build a Dockerfile. You need to specify a path (YOUR-LOCAL-PATH) to scan the Dockerfile in your local.

docker build -t docfseccheck .
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile docfseccheck -f /docf-sec-check/Dockerfile

From DockerHub

docker pull osmankandemir/docfseccheck:v1.0
docker run -v <YOUR-LOCAL-PATH>/Dockerfile:/docf-sec-check/Dockerfile osmankandemir/docfseccheck:v1.0 -f /docf-sec-check/Dockerfile


Usage

-f DOCKERFILE [DOCKERFILE], --file DOCKERFILE [DOCKERFILE] Dockerfile path. --file Dockerfile
 

Function Usage

from docfchecker import DocFChecker

#Dockerfile is your file PATH.

DocFChecker(["Dockerfile"]) 

Development and Contribution

See; CONTRIBUTING.md

License

Copyright (c) 2024 Osman Kandemir
Licensed under the GPL-3.0 License.

Donations

If you like DocF-Sec-Check and would like to show support, you can use Buy A Coffee or Github Sponsors feature for the developer using the button below.

Or

Sponsor me : https://github.com/sponsors/OsmanKandemir 😊

Buy Me A Coffee

Your support will be much appreciated😊

Metadata

Release files for docfseccheck 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docfseccheck 1.0
File Size Uploaded
docfseccheck-1.0.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for docfseccheck 1.0
File Interpreter ABI Platform
docfseccheck-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.8 kB

Release files / docfseccheck-1.0.tar.gz

Download URL docfseccheck-1.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bce8bf5dd5776b541bbeb6703b09977dc8ec25c05a4fac09a0d03f9ba1642fb2
BLAKE2b-256 checksum
How to use checksums
f3e0aefb9013f9b3940b3af611a14a4f9d0f72673155dcc7b53f89cd210683f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.8

Release files / docfseccheck-1.0-py3-none-any.whl

Download URL docfseccheck-1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fc84fbec1899d18aa3b590a3b948cc52cedaf10199ce55ac4b616d9a5c4e8f5
BLAKE2b-256 checksum
How to use checksums
693cefa71dbe14e30a986e7359b32ae541957086b96a636e30401631e74838a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page