Sandbox-side proposal audit (CONFIG:PROPOSED and /wait decisions) names only the first endpoint
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 78/100
Direção de pesquisa
Comece em openshell-supervisor-network/src/policy_local.rs na função summarize_chunk_for_audit (por volta da linha 695), depois encontre seus testes existentes. Rastreie como a função resume endpoints e regras L7 para as decisões CONFIG:PROPOSED e /wait. Adicione cobertura para uma regra de dois endpoints e verifique se ambos os resumos listam todos os endpoints e todas as permissões L7, ou indicam a quantidade quando truncados.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
User Story. As an operator shipping OpenShell's OCSF to a SIEM, I want each proposal's audit record to name every endpoint it asks for, so the trail matches what a reviewer approves.
Problem Statement. Two audit records summarise a proposal with summarize_chunk_for_audit: CONFIG:PROPOSED, and the /wait CONFIG:APPROVED|REJECTED. That function is at openshell-supervisor-network/src/policy_local.rs:695, and it reads rule.endpoints.first() and .first() of its L7 rules. A proposal for [ports.ubuntu.com:80, 169.254.169.254:80] is therefore audited as on ports.ubuntu.com:80 GET /ubuntu-ports/** by /usr/bin/perl, with no sign that a second endpoint exists.
The gateway's own approval audit does list every endpoint (endpoints=[…]), so the two streams disagree about the same chunk.
Impact. Anyone who reads the sandbox-side OCSF record, whether a SIEM or an auditor, sees only the benign endpoint. An agent can put the benign endpoint first.
Acceptance Criteria.
- The PROPOSED and
/waitdecision summaries list every endpoint and every L7 allow, or say "N endpoints" when truncated. - There is a test with a two-endpoint rule.
Reproduction Steps.
- From a sandbox,
POST http://policy.local/v1/proposalswith one rule containing two endpoints. - Compare
openshell rule get <sandbox>(both endpoints listed) with the PROPOSED line inopenshell logs <sandbox> --source sandbox(first only).
Environment.
openshell 0.1.2(Homebrew)- Docker driver, Docker 29.4.1 linux/arm64 (Docker Desktop)
- macOS 26.5.2
proposal_approval_mode= manual- Sources checked at
main0bca9fb
Logs. Only in source: the PROPOSED lines I observed each had a single endpoint. The first-only summary follows from policy_local.rs:699–706.
- Linguagem predominante
- Rust
- Estrelas
- 13.2k
- Forks
- 1.6k
- Merge médio
- 1d 20h
- PRs com merge (30d)
- 348
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/OpenShell
-
bug(vm-driver): VM sandbox cold start stalls ~5 s repeatedly on "Waiting for VM supervisor"Talvez já em andamento @benoitf assumiu hoje. Abertastate:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
docs: document workspace and provider label capabilitiesTalvez já em andamento @johntmyers assumiu há 1 dia. Abertaarea:docs
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NVIDIA/OpenShell#4250 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
bug(driver-mxc): test helper fails to compile after gateway-name argumentTalvez já em andamento @feloy assumiu há 2 dias. Abertastate:triage-needed
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
bug: install.sh ignores XDG_CONFIG_HOME for the local gateway configTalvez já em andamento @fede-kamel assumiu há 6 dias. Abertaarea:cli os:linux os:macos state:validated
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
NVIDIA/OpenShell#4042 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NVIDIA/OpenShell#3995 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de NVIDIA/OpenShell
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
Mantenedores costumam responder em até 1 dia
-
Markdown Preview Fonts Don't Show Selected OptionTalvez já em andamento @RadhiRasho assumiu hoje. Abertastate:needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 61/100
zed-industries/zed#65300 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia