Repository navigation
Conversation
…p role and user selection) Resync the OpenAPI spec to v1.40.2 and regenerate the DTOs. Add the read_backups RBAC action as Permissions.Backups.Read, gated on 1.39.10. Add the Loading, LazyLoading, Shutdown, Unavailable and Recovering shard statuses, map unrecognized values to Unknown, and surface the per-node status. Add BackupCreateRequest.IncludeRoles and IncludeUsers, gated on 1.40.0, sent only when set.
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
🛡️ The following IaC misconfigurations have been detected
| NAME | FILE | ||
|---|---|---|---|
| Response on operations that should have a body has undefined schema | .../Schema/openapi.json | View in code | |
| Response on operations that should have a body has undefined schema | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Invalid Format | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Response Code Missing (v3) | .../Schema/openapi.json | View in code | |
| Type Has Invalid Keyword | .../Schema/openapi.json | View in code | |
| Type Has Invalid Keyword | .../Schema/openapi.json | View in code | |
| ... | ... | ... | ... |
Summary - Weaviate C# Client CoverageSummary
CoverageWeaviate.Client - 49.8%
Weaviate.Client.Analyzers - 0%
Weaviate.Client.VectorData - 50.3%
|
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.
REST surface changes for the Weaviate 1.41 companion release.
read_backupsRBAC action (#377):Permissions.Backups.Read. Round-trips throughCreate,Get,AddPermissions,RemovePermissionsandHasPermission. Listing roles on a server that grants it to the built-in viewer no longer throws. Setting it is gated on 1.39.10, where core shipped the action.Shard statuses:
ShardStatusgainsLoading,LazyLoading,Shutdown,UnavailableandRecovering, an unrecognized value maps toUnknowninstead of throwing, andShardInfo.PerNodeStatuscarries the per-replica status (null below 1.40). Verified against a 1.41.0 server reportingUNAVAILABLEfor inactive tenants andLAZY_LOADINGright after a restart.Backup role and user selection:
BackupCreateRequest.IncludeRolesandIncludeUsers, with wildcards, gated on 1.40.0. Null backs up all, empty backs up none, and the keys stay off the wire unless set. Verified in the server's backup manifest (rolesanduserslisted, orskipRolesandskipUserstrue).OpenAPI resync at v1.40.2 with regenerated DTOs. The three definitions this PR uses (permission actions, backup create request, shard status response) are identical in v1.41.0.
BackupCreateRequestgrew two trailing optional parameters, so seven-element positional deconstruction no longer compiles and callers built against 1.2.x must recompile, as with the 1.2.0 change.Tests ran locally against Weaviate 1.41.0: unit 1016 passed,
TestBackupsandTestCollectionShards21 passed,TestRbacRoles16 passed.