noInsecureCookie: confirm whether a Suitelet may set Set-Cookie

Aperta
#39 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
tooling

Direzione di ricerca

Read the Oracle SuiteScript 2.1 N/https and ServerResponse.setHeader documentation, including the blocked response headers list; if possible, verify behavior in a real account. Then report whether a Suitelet can set Set-Cookie and cite the evidence. If it can, update src/rules/noInsecureCookie.ts, docs/rule-priority.md, and the opt-in reason in scripts/rule-sources.ts; if it cannot, explain which documentation establishes that.

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

Descrizione

documentation good first issue help wanted

Question

noInsecureCookie (src/rules/noInsecureCookie.ts) is opt-in and in no preset. Oracle's OWASP agent skill says Suitelet cookies "must include security attributes", which assumes a Suitelet can set a Set-Cookie response header at all. We have not confirmed that.

What to do

Check Oracle's documentation (the SuiteScript 2.1 N/https and ServerResponse.setHeader pages, and the list of blocked response headers) and, if possible, a real account. Then report one of:

  • A Suitelet can set Set-Cookie: the rule's premise holds. Move it toward all per docs/rule-priority.md and update the source comment and the README opt-in reason (scripts/rule-sources.ts).
  • It cannot (the header is blocked or ignored): the rule is moot. Say so here with the page that shows it, and we will drop or reshape it (see noBlockedResponseHeader).

Where

  • Rule: src/rules/noInsecureCookie.ts
  • Why it is opt-in: ADR 0005
  • Source ranking: docs/rule-priority.md (read Oracle sources in full and quote them in the rule comment)
Lingua principale
TypeScript
Stelle
1
Fork
0
Merge medio
2h 8m
PR unite (30g)
64

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 nemchik/biome-plugin-suitescript

Tutte le issue di nemchik/biome-plugin-suitescript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.