mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* fix(accessanalyzer): route GetAnalyzer through GET /analyzer/<name>
Adds getAnalyzer service method and GET /analyzer/{analyzerName} endpoint
in AccessAnalyzerController to return analyzer details. Returns
ResourceNotFoundException (404) when analyzer does not exist. Adds
integration tests for retrieval and not found cases.
Fixes #5353
Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
* docs(accessanalyzer): sync the action table for GetAnalyzer
Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
* fix(accessanalyzer): share not-found helper and align docs/service matrix
Extract a shared analyzerNotFound helper that returns ResourceNotFoundException
with resourceId/resourceType (analyzer) for both get/delete. Remove trailing
blank lines from the controller. Update docs/services/index.md to list 4
operations. Run make docs-sync to keep action tables in sync.
Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
* fix(accessanalyzer): reuse getAnalyzer in deleteAnalyzer and assert not-found fields
deleteAnalyzer repeated getAnalyzer's validate-and-lookup; it now calls
getAnalyzer before deleting, so the lookup and the not-found error live in
one place. The 404 test now checks the resourceId and resourceType the
shared helper adds, and the stray blank line before the class's closing
brace is gone.
Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
---------
Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
1.2 KiB
1.2 KiB
IAM Access Analyzer
Protocol: REST JSON
Endpoint: http://localhost:4566
Floci supports the analyzer lifecycle used by local governance workflows.
Supported Actions
| Action | Description |
|---|---|
ListAnalyzers |
- |
CreateAnalyzer |
- |
DeleteAnalyzer |
- |
GetAnalyzer |
- |
Analyzer state is account and Region scoped and persisted through StorageFactory.
AWS-compatible failures
Analyzer names, types, tags, pagination, duplicate names, and local analyzer quotas are validated. Floci returns ValidationException, ConflictException, ResourceNotFoundException, and ServiceQuotaExceededException for deterministic conditions represented by local state.
AWS also models AccessDeniedException, InternalServerException, and ThrottlingException. Floci does not inject provider-side failures that cannot be derived from the request or emulator state.
See the IAM Access Analyzer API Reference.
Configuration
| Variable | Default | Description |
|---|---|---|
FLOCI_SERVICES_ACCESSANALYZER_ENABLED |
true |
Enable or disable IAM Access Analyzer |