Skip to content

Adds FOSSA registration and team details to maintainer route#97

Merged
RobertKielty merged 6 commits intocncf:mainfrom
RobertKielty:maintainer-profile-fossa-aware
Mar 13, 2026
Merged

Adds FOSSA registration and team details to maintainer route#97
RobertKielty merged 6 commits intocncf:mainfrom
RobertKielty:maintainer-profile-fossa-aware

Conversation

@RobertKielty
Copy link
Copy Markdown
Collaborator

Adds CNCF FOSSA details to the maintainer route/page
Adds staged PII checks to local githooks and CI workflow

  - add a maintainer-page FOSSA service panel showing account state and required team memberships across projects
  - add maintainer-page actions to refresh FOSSA state, send invites, and reconcile missing team assignments
  - add maintainer-profile BDD coverage and wire web BDD to run against Microcks-backed FOSSA mocks
  - document the Microcks-based web test setup and add staged PII checking alongside the existing SOPS hook

  FOSSA API mitigation:
  - update the local FOSSA Swagger and mock contract to reflect observed live behavior for PUT /teams/{id}/users
  - treat users[].id as the live request field instead of the documented users[].userId
  - send a compatibility payload including both id and userId when adding users to teams
  - stop hardcoding the Team Admin role ID and resolve it dynamically from GET /roles
  - add tests and mocks that lock in the observed live contract so maintainer-d remains compatible while upstream docs/spec catch
  up

Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
  - add scripts/check-pii.sh to scan staged or changed files for likely personal emails and obvious tokens
  - add scripts/pii-allowlist.regex for approved fixture and documentation placeholders
  - extract the existing SOPS validation into scripts/check-sops-secrets.sh
  - update .githooks/pre-commit to run both the SOPS check and the new PII check
  - add a GitHub Actions workflow to run the PII scan on changed files in push and pull request diffs
  - document the hook behavior and allowlist usage in docs/development.md

Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
@RobertKielty RobertKielty changed the title Maintainer profile fossa aware Adds FOSSA registration and team details to maintainer route Mar 13, 2026
Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
  FOSSA_API_TOKEN is needed by our services even when using microcks

Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
Signed-off-by: Robert Kielty <robert.kielty@cncf.io>
@RobertKielty RobertKielty merged commit 95a6d87 into cncf:main Mar 13, 2026
9 checks passed
@RobertKielty RobertKielty self-assigned this Mar 13, 2026
@RobertKielty RobertKielty added improvement Refine or improve an existing feature new-feature New user facing features: Foundation Officers, Project Maintainers, Project Collaborators labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Refine or improve an existing feature new-feature New user facing features: Foundation Officers, Project Maintainers, Project Collaborators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant