Build the database, share and host settings packs

Aperta
#97 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, mariadb, mysql, powershell, sql
Ambito
security

Direzione di ricerca

Start on branch phase-7/service-packs-data in phases/harden/modules/pack_data/ per spec design 11 section 6. First read #80 and #89 to see existing pack structure, then build the MySQL/MariaDB, SQL Server, SMB, WinRM and vsftpd packs plus host settings library. Write bats and Pester acceptance tests; done means packs are idempotent and probes pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: services phase: harden platform: linux platform: windows type: build

Location & Context

Roadmap branch phase-7/service-packs-data. Spec: design 11 (including section 6). Planned module ID: harden.pack_data, in phases/harden/modules/pack_data/. Depends on #80 and #89.

Current Behavior

MySQL or MariaDB, SQL Server, SMB shares, WinRM and vsftpd are left at their defaults, and there is no host settings library.

Remediation Plan

  1. Build packs for MySQL or MariaDB, SQL Server, SMB shares, WinRM and vsftpd.
  2. Build the host settings library, including the pkexec setting (remove the setuid bit where no scored service uses it, recording the previous mode).
  3. Write these acceptance tests first (bats and Pester):
    • Each pack, run twice, changes nothing the second time.
    • With pkexec's setuid bit removed, an unprivileged lab user cannot run it as root, every probe passes, and rollback restores the bit.
    • On a version not listed as tested the pack applies nothing automatically.
    • Every automatic setting leaves the scoring-style probe passing.
    • A negative test: protected accounts and scored services are untouched before and after.
Lingua principale
PowerShell
Stelle
0
Fork
0
Merge medio
54m
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dotnetdork/Labyrinth

Tutte le issue di dotnetdork/Labyrinth

Issue simili

Altre issue su Security

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.