docs/config.md still says a running-target scan cannot be authenticated

Offen Anfängerfreundlich
#188 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
90/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
documentation

Rechercherichtung

Lies den Abschnitt Scope in docs/config.md ungefähr in den Zeilen 434–463 und vergleiche die Hinweise zu „Authenticated scans“ mit dem übrig gebliebenen Absatz. Aktualisiere den Absatz, sodass dort nicht mehr steht, dass die Authentifizierung nicht konfiguriert werden kann, und stelle einmal klar, dass es keinen Login-Ablauf und keinen Cookie-Jar gibt. Fertig, wenn beide Akzeptanzkriterien erfüllt und die widersprüchliche Aussage entfernt sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

documentation good first issue severity: medium

Summary

A paragraph in the Scope section says there is no setting for a login, a session cookie or an authorization header. The section 27 lines above it documents exactly that setting, and the code implements it.

Where

  • docs/config.md:463 (the leftover paragraph)
  • docs/config.md:434-453 ("Authenticated scans")
  • internal/config/config.go:122-129 (ScopeAuth)
  • internal/engine/live.go:70 (per-host notes)

Details

The paragraph reads: "A running-target scan is not authenticated. There is no setting for a login, a session cookie or an authorization header, and a cookie the target sets is not sent back. The scan covers what an anonymous visitor can reach, and every report of such a scan says so in its run notes." It predates [[auth]] / [[scope.auth]] and now contradicts the same page and the code. "Every report says so" is also no longer true for hosts that got a header.

Impact

A reader who lands on that part of the Scope section concludes that pages behind a login cannot be scanned.

Suggested fix

Delete the paragraph, or reduce it to what is still true (no login flow is performed and cookies set by the target are not kept), with a link to "Authenticated scans".

Acceptance criteria

  • docs/config.md no longer states that authentication cannot be configured
  • What is still true (no login flow, no cookie jar) is stated once

Related: #65

Getting started

  • Relevant files: docs/config.md
  • How to run tests: make test-short (Unix) or .\make.ps1 test-short (Windows PowerShell); make lint before you call it done
  • Related docs: docs/config.md

Filed by repo-audit/full-audit at 50e92ec. Severity: medium. Effort: S. audit-key: documentation|docs/config.md|scope-not-authenticated-paragraph

Vorherrschende Sprache
Go
Sterne
0
Forks
1
Ø Merge
8 Std. 14 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TMHSDigital/Spackle

Alle Issues in TMHSDigital/Spackle

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.