An open API service indexing awesome lists of open source software.

https://github.com/hunsche/oss-security-pucpr


https://github.com/hunsche/oss-security-pucpr

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# OSS Security PUCPR

This repository is a simple demonstration of a CI/CD pipeline for basic open source security checks. It was created as part of a DevOps course project.

## ๐Ÿ” What It Does

The repository includes a Python script that performs a basic security validation by checking for the presence of essential files in open source projects, such as:

- `LICENSE`
- `README.md`
- `requirements.txt`

These files are commonly expected in well-structured open source projects to ensure legal clarity, documentation, and dependency management.

## โš™๏ธ CI/CD Pipeline

A GitHub Actions workflow is configured to automatically run the security check script on every push or pull request to the `main` branch. The workflow will fail if any of the required files are missing.

## ๐Ÿ“ Project Structure

```
.
โ”œโ”€โ”€ .github
โ”‚ โ””โ”€โ”€ workflows
โ”‚ โ””โ”€โ”€ security.yml # GitHub Actions workflow
โ”œโ”€โ”€ check_security.py # Python script to check required files
โ”œโ”€โ”€ LICENSE # (Required)
โ”œโ”€โ”€ README.md # (Required)
โ””โ”€โ”€ requirements.txt # (Required)
```

## ๐Ÿงช How to Run Locally

Make sure you have Python 3.10+ installed, then run:

```bash
python check_security.py
```

## ๐Ÿง  Purpose

This project is purely educational. The goal is to simulate a CI/CD use case aligned with open source security practices.