Skip to content

[PART 5] test: API key enforcement integration test#5

Merged
andreabadesso merged 1 commit into
masterfrom
feat/tests-api-key-enforcement
Apr 1, 2026
Merged

[PART 5] test: API key enforcement integration test#5
andreabadesso merged 1 commit into
masterfrom
feat/tests-api-key-enforcement

Conversation

@andreabadesso

Copy link
Copy Markdown
Contributor

Summary

  • Verify per-container API key security via direct container access

Acceptance Criteria

  • Direct access without API key returns 401 or 403
  • Direct access with wrong API key returns 401 or 403
  • Direct access with correct API key succeeds (not 401/403)
  • Proxy access (no key in request) succeeds — proxy injects the correct key
  • Test retrieves container port from GET /sessions list endpoint

🤖 Generated with Claude Code

@andreabadesso andreabadesso changed the title test: API key enforcement integration test [PART 5] test: API key enforcement integration test Mar 31, 2026
@andreabadesso andreabadesso force-pushed the feat/tests-api-key-enforcement branch from 1b91804 to 21afb69 Compare March 31, 2026 13:23
@andreabadesso andreabadesso changed the base branch from master to feat/tests-basic-lifecycle March 31, 2026 13:23
@andreabadesso andreabadesso added the enhancement New feature or request label Mar 31, 2026
@andreabadesso andreabadesso self-assigned this Mar 31, 2026
@andreabadesso andreabadesso moved this to In Progress (Done) in Hathor Network Mar 31, 2026
@github-project-automation github-project-automation Bot moved this from In Progress (Done) to In Review (WIP) in Hathor Network Mar 31, 2026
@andreabadesso andreabadesso changed the base branch from feat/tests-basic-lifecycle to master April 1, 2026 14:22
Verify per-container API key security:
- Direct access without key is rejected (401/403)
- Direct access with wrong key is rejected
- Correct key works directly
- Proxy transparently injects the correct key

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@andreabadesso andreabadesso force-pushed the feat/tests-api-key-enforcement branch from 21afb69 to 8971a0e Compare April 1, 2026 14:24
@andreabadesso andreabadesso merged commit 788972b into master Apr 1, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Review (WIP) to Waiting to be deployed in Hathor Network Apr 1, 2026
@andreabadesso andreabadesso deleted the feat/tests-api-key-enforcement branch April 1, 2026 14:24
@andreabadesso andreabadesso moved this from Waiting to be deployed to Done in Hathor Network Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants