Commit Graph
4 Commits
Author SHA1 Message Date
Priamo Germosen a8c34f6326 fix(iam): refuse an action no vendor prefaces on the way in (#8428)
No write read the values a statement's action elements name, so a document
naming a bare verb was stored and only told apart later, by whatever tried to
decide with it. AWS refuses that document before it stores anything, with
MalformedPolicyDocument at 400 and the clause's own sentence,
"Actions/Conditions must be prefaced by a vendor, e.g., iam, sdb, ec2, etc.",
fixed text with no request value in it. The resource elements beside them have
been read value by value for a while, so this is the action half of the same
clause check.

The policy grammar writes an action as a service namespace, a colon and the
name of an action, and an action element may name the bare wildcard instead,
which stands for every action there is. So a value passes when it is "*" or
carries a namespace before a colon, whatever the name after it spells: "s3:*"
and "iam:*AccessKey*" are the reference's own examples of a wildcard inside the
name. A value that is no string is held to the text it spells, as the Version,
the Effect and the resource values already are, so "Action": 123 is refused
where "Action": "123" was; an element carrying null still names nothing, which
is the element's own sentence rather than a value to read.

The namespace is asked for rather than looked up. No sentence anywhere says AWS
refuses an action whose vendor it does not publish, so reading these values
against a catalog of services would refuse documents AWS stores and would make
an action of a service this emulator has yet to model impossible to write. What
is read is the shape the grammar gives, nothing more.

Both identity validators word this clause alike, the effect being the one clause
of an identity document whose sentence follows the validator that read it. The
actions are read before the resources, which is the order the elements a
statement must carry are already read in, so a document missing both answers the
action sentence first. No code and no status moves: the refusal is
MalformedPolicyDocument at 400, as every other sentence of this reader is. AWS
words the clause for actions and condition keys together and only the actions
are read here, a condition key being a value neither validator reads yet.
2026-11-15 08:13:41 -04:00
Aniket Shukla fdb2d7fe44 fix(ssoadmin): provision IAM roles for permission sets (#8239)
* fix(ssoadmin): provision IAM roles for permission sets
* fix(ssoadmin): preserve role ownership during cleanup
* test(ssoadmin): share customer boundary request setup
2026-11-14 10:30:14 -04:00
Franklin G. Mendoza cbfa034470 feat(identity-center): complete IAM Identity Center emulation (#3331)
* feat(ssoadmin): add region operation

* feat(ssoadmin): attach customer managed policies

* feat(ssoadmin): create applications

* feat(ssoadmin): create application assignments

* feat(ssoadmin): create account instances

* feat(ssoadmin): create ABAC configuration

* feat(ssoadmin): create trusted token issuers

* feat(ssoadmin): delete account assignments

* feat(ssoadmin): delete applications

* feat(ssoadmin): delete application access scopes

* feat(ssoadmin): delete application assignments

* feat(ssoadmin): delete application authentication methods

* feat(ssoadmin): delete application grants

* feat(ssoadmin): delete identity center instances

* feat(ssoadmin): list principal account assignments

* feat(ssoadmin): provision permission sets

* feat(ssoadmin): list provisioned permission sets

* feat(ssoadmin): list accounts for provisioned permission set

* feat(ssoadmin): describe permission set provisioning status

* feat(ssoadmin): list permission set provisioning status

* feat(ssoadmin): describe account assignment deletion status

* feat(ssoadmin): list account assignment creation status

* feat(ssoadmin): list account assignment deletion status

* feat(ssoadmin): delete permission sets

* feat(ssoadmin): detach customer managed policy references

* feat(ssoadmin): list customer managed policy references

* feat(ssoadmin): get inline permission set policies

* feat(ssoadmin): put permission set boundaries

* feat(ssoadmin): get permission set boundaries

* feat(ssoadmin): delete permission set boundaries

* feat(scim): create groups

* feat(scim): create users

* feat(scim): delete groups

* feat(scim): delete users

* feat(scim): get groups

* feat(scim): get users

* feat(scim): list groups

* feat(scim): list users

* feat(scim): get schemas

* feat(scim): list schemas

* feat(scim): list resource types

* feat(scim): add service provider config

* feat(scim): patch groups

* feat(scim): patch users

* feat(scim): put users

* feat(ssoadmin): delete ABAC configuration

* feat(ssoadmin): delete trusted token issuers

* feat(ssoadmin): describe applications

* feat(ssoadmin): describe application assignments

* feat(ssoadmin): describe instances

* feat(ssoadmin): describe ABAC configuration

* feat(ssoadmin): describe regions

* feat(ssoadmin): describe trusted token issuers

* feat(ssoadmin): describe application providers

* feat(ssoadmin): list application assignments

* feat(ssoadmin): list principal application assignments

* feat(ssoadmin): list applications

* feat(ssoadmin): list application providers

* feat(ssoadmin): list regions

* feat(ssoadmin): list trusted token issuers

* feat(ssoadmin): put application access scopes

* feat(ssoadmin): get application access scopes

* feat: support listing application access scopes

* feat(ssoadmin): get application assignment configuration

* feat(ssoadmin): put application assignment configuration

* feat(ssoadmin): get application authentication methods

* feat(ssoadmin): put application authentication methods

* feat(ssoadmin): list application authentication methods

* feat(ssoadmin): get application grants

* feat(ssoadmin): put application grants

* feat(ssoadmin): list application grants

* feat(ssoadmin): get application session configuration

* feat(ssoadmin): put application session configuration

* feat(ssoadmin): list resource tags

* feat(ssoadmin): tag resources

* feat(ssoadmin): untag resources

* feat(ssoadmin): remove regions

* feat(ssoadmin): update applications

* feat(ssoadmin): update instances

* feat(ssoadmin): update ABAC configuration

* feat(ssoadmin): update trusted token issuers

* feat(ssooidc): register clients

* feat(ssooidc): start device authorization

* feat(ssooidc): create public client tokens

* feat(ssooidc): create IAM-authenticated tokens

* feat(ssoportal): list assigned accounts

* feat(ssoportal): list assigned account roles

* feat(ssoportal): issue assigned role credentials

* feat(ssoportal): invalidate portal sessions

* docs(ssoadmin): report complete operation count

* fix(identity-center): repair CI validation

* fix(identity-center): harden auth and native build

* fix(ssooidc): disambiguate RestAssured query parameter

* fix(identity-center): resolve CI compatibility failures

* fix(identity-center): address maintainer review

* fix(ssoadmin): preserve application provider partition

* fix(identity-center): repair Java compatibility tests

* fix(identity-center): trust local TLS in browser flows

* fix(identity-center): register refresh token grant in SDK test
2026-09-10 16:34:41 -04:00
Franklin G. Mendoza 1bf7494e99 feat(ssoadmin): add permission sets and assignments (#3103)
* feat(ssoadmin): add permission sets and assignments

* test(ssoadmin): validate account assignments with sdk

* fix(ssoadmin): complete pagination and lifecycle contracts
2026-09-05 21:46:20 -04:00