mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
Add CreateMembers, ListMembers, GetMembers, DisassociateMembers, DeleteMembers and DisableOrganizationAdminAccount, the operations Landing Zone Accelerator and Terraform's aws_securityhub_member use to manage Security Hub members. Organization accounts added by the delegated administrator become Enabled members and have Security Hub and its default standards enabled for them; other accounts are Created. Organization members can be disassociated but not deleted. Disabling the delegated administrator marks its organization members Removed. Macie already served POST /members and GET /members, so Security Hub calls on those paths were answered by Macie. Both routes now dispatch on the SigV4 credential scope in SecurityAdminController, as GET /admin already does; unsigned requests still reach Macie. Closes #2197
27 lines
1.6 KiB
Markdown
27 lines
1.6 KiB
Markdown
# Amazon Macie
|
|
|
|
Floci implements the REST JSON organization surfaces used to configure Macie locally.
|
|
|
|
## Supported Actions
|
|
|
|
<!-- floci:actions:start -->
|
|
| Action | Description |
|
|
| --- | --- |
|
|
| `EnableOrganizationAdminAccount` | Designates the delegated Macie administrator account. |
|
|
| `GetMacieSession` | Returns the current account Macie session. |
|
|
| `EnableMacie` | Enables Macie for the current account. |
|
|
| `UpdateOrganizationConfiguration` | Updates organization auto-enable settings as the delegated administrator. |
|
|
| `DescribeOrganizationConfiguration` | Reads organization auto-enable settings as the delegated administrator. |
|
|
| `ListOrganizationAdminAccounts` | Lists the delegated Macie administrator for the organization. |
|
|
| `CreateMember` | - |
|
|
| `ListMembers` | - |
|
|
<!-- floci:actions:end -->
|
|
|
|
Delegation is visible in both the management-account and delegated-account request scopes. Designating the delegated administrator enables Macie for that account in the Region, matching AWS Organizations integration behavior.
|
|
|
|
`GetMacieSession` returns `ResourceNotFoundException` before Macie is enabled. Enabling an already enabled session or attempting incompatible administrator state returns `ConflictException`. Request validation and missing-resource behavior use the modeled `ValidationException` and `ResourceNotFoundException` responses.
|
|
|
|
AWS also models provider-side `InternalServerException`, `ServiceQuotaExceededException`, and `ThrottlingException`; these are not injected artificially.
|
|
|
|
See the [Amazon Macie API Reference](https://docs.aws.amazon.com/macie/latest/APIReference/Welcome.html).
|