Graylog2 / Graylog2/graylog2-server

Integration test to detect unprotected API endpoints

Open
#7,950 1 comment 2 reactions 0 assignees View on GitHub
feature infrastructure security triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

We should think about adding a test that can detect endpoints
that are unauthenticated or don't require permissions.

## Why?
Prevent security bugs.

## How?
Check all endpoints for missing `@RequiresAuthentication` and `@RequiresPermissions` annotations.
This might produce some false positives, since not all are secured with annotations, but programmatically.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.