feat(red-team): supported-languages + target-profile error-log endpoints#193
Merged
Merged
Conversation
…endpoints
- getLanguages() / getManagementLanguages() -> GET /v1/languages (dp + mp),
new TenantLanguagesResponse / LanguageOption schemas
- getTargetProfileErrorLogs(targetId, opts?) -> GET
/v1/error-log/target-profile/{target_id}, reuses ErrorLogListResponse
- Refresh committed Red Team OpenAPI specs to latest upstream (0 preflight drift)
Closes #190
Closes #191
This was referenced Jul 9, 2026
Merged
cdot65
added a commit
that referenced
this pull request
Jul 9, 2026
- feat(red-team): Network Broker channel sub-client (#187) - feat(red-team): supported-languages and target-profile error-log endpoints (#193) - feat(model-security): read-only models sub-client (#195) - fix(management): percent-encode TSG ID in customer-apps list path (#189) - fix(red-team): correct Network Broker ChannelStats field names (#199)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #190
Closes #191
What
Two Red Team endpoints from the latest OpenAPI specs, added as
RedTeamClientconvenience methods:getLanguages()(data plane) andgetManagementLanguages()(management plane), bothGET /v1/languages. ReturnsTenantLanguagesResponse={ multilingual_enabled, supported_job_types, languages: { code, name }[] }. NewTenantLanguagesResponseSchema/LanguageOptionSchema.getTargetProfileErrorLogs(targetId, opts?)→GET /v1/error-log/target-profile/{target_id}. Reuses the existingErrorLogListResponse(same upstream component as the job error-log). UUID-validated.Specs
Refreshes the committed Red Team OpenAPI specs (
PaloAltoNetworks-AIRS-RedTeam-DataPlane.yaml,-management.yaml) to the latest upstream — 0 preflight drift after refresh.Tests
test/red-team/client.spec.ts— path/plane assertions for both language methods and the target error-log (incl.limitserialization + UUID rejection).test/models/red-team.spec.ts— language schema parsing + required fields + passthrough.Verification
format:check,lint,typecheck,preflight(0 unacknowledged drift),docs:check, full Vitest (1336) pass locally.Notes
Schemasuffix the resolver doesn't try. Improving that (and the 4 pre-existing divergences it would surface) is filed separately as chore(preflight): match OpenAPI components with 'Schema' name suffix #192 to keep this PR feature-focused.🤖 Generated with Claude Code