Commit Graph
5945 Commits
Author SHA1 Message Date
Priamo Germosen 30c37a129c fix(bcm-pricing-calculator): give resource-tag conditions the tags of the workload estimate a request names (#9112)
The generated request resources give Pricing Calculator's workload
estimate type the aws:ResourceTag/ key, but no service answered the bcm-
pricing-calculator namespace's stored tags, so a condition on an
estimate's tags saw none. BcmPricingCalculatorService now answers it: a
workload estimate records no ARN, so storedTags takes the ARN only when
it is the one the estimate's account and id give in the request's
partition, which has no Region, then reads the estimate by its id, in
the request's account, in place. An estimate's tags are the ones it was
created with, which nothing changes. The package now builds that ARN to
compare, so partition/smoke-exemptions.tsv gets a row saying why it
needs no partition smoke case.
2026-11-20 17:24:41 -04:00
Priamo Germosen 3027145979 fix(iam): check CloudWatch Logs requests on the resources they name, from the generated table (#9088)
CloudWatch Logs was built by hand: ResourceArnBuilder built a group or
stream ARN for six operations and resolved the tag operations' ARN
itself, every other Logs operation was checked on *, and only the
vended-log delivery operations and PutDestination were read from the
request resources table, through READ_IN_HAND_BUILT. logs moves from
HAND_BUILT to NAMESPACES, so the table gives each of its 118
operations the log group, stream, destination or delivery resource its
request names, from botocore and the Service Reference: PutLogEvents,
FilterLogEvents, metric and subscription filters, StartQuery and the
other operations on a group or stream are checked on it, no longer on
*. READ_IN_HAND_BUILT, whose only entries were Logs', goes with its
checks and tests. ResourceArnBuilder's buildLogResources and the
filter's Logs case go; the tagged CreateLogGroup check reads the
table's bare group ARN, which the evaluator already matches with or
without the trailing :* for the group's management actions.
CloudWatchLogsStoredResourceArns answers the stored tags of a log
group, a destination and the delivery family; IamConditionContextResolver
keeps only the request tags of Logs' create and tag calls. Log group
tag writes give the group a new map under the lock creating and
deleting a group take, so one racing a delete cannot put the group
back, and its tags field is volatile. Only Logs' operations change in
the table.
2026-11-20 16:21:08 -04:00
Priamo Germosen 751f84079f chore(iam): regenerate the request resources table for OAM's link and sink types (#9108)
The Service Reference now lists both the Link and the Sink resource
types for OAM's CreateLink and UpdateLink, so
iam-request-resources-verify fails on every change touching the table.
make iam-request-resources-sync, with no change to the generator,
brings them in: CreateLink is checked on the sink it names and now on
the link it makes too, link/* in the caller's account and Region, and
UpdateLink, whose Identifier holds a link's ARN, on the same link as
before. The same run brings in Textract's blueprint, job and project
types for its tag actions, which Floci does not serve.
RequestResourcesTest expects the made link, the REST route enforcement
test grants it with the sink and refuses a grant on the sink alone, and
the table-wide member test gives an ARN member that also fills a
resource of one of its types an ARN of that type.
2026-11-20 15:50:59 -04:00
Priamo Germosen 6b420b166f fix(emr): make a uniform RunJobFlow cluster's master and core instance groups (#9107)
RunJobFlow's uniform form, MasterInstanceType, SlaveInstanceType and
InstanceCount in place of InstanceGroups or InstanceFleets, made no
instance groups, so ListInstanceGroups listed none, ListInstances no
instances, and with runner-mode docker the cluster ran on its primary
node alone. It now makes the groups the API reference describes: "If
the value is 1, the same instance serves as both the master and core
and task node. If the value is greater than 1, one instance is the
master node and all others are core and task nodes."

That is a MASTER group of one MasterInstanceType instance and, for a
count above 1, a CORE group of the rest as SlaveInstanceType, both
ON_DEMAND. The master group is named "Master InstanceGroup", as in
DescribeJobFlows' sample response; no source names the core group, so
Floci names it "Core InstanceGroup". A request that gives
InstanceGroups or InstanceFleets keeps its own.

A request for more than one instance without SlaveInstanceType is
refused with a ValidationException, as JobFlowInstancesConfig says "all
three must be present"; a single instance needs none, as AWS runs one
without it. However many instances a cluster asks for, in this form or
any other, its core and task nodes are now built no further than
yarn-max-worker-nodes, where every one asked for was built before the
rest were dropped.
2026-11-20 15:03:53 -04:00
Niels Kootstra c9aad84192 fix(sns): refuse a topic policy that grants an action SNS does not have (#9080)
SetTopicAttributes and CreateTopic stored any Policy, so a topic policy
granting an action SNS does not have, such as sns:PublishBatch, was kept
and an AWS::SNS::TopicPolicy carrying one reached CREATE_COMPLETE. Both
now check every sns: Action of every statement against the list
AddPermission uses, ignoring case, and answer the same InvalidParameter
("Policy statement action out of service scope!"). A refused
SetTopicAttributes keeps the old policy and a refused CreateTopic creates
no topic. Receive, which AWS's former default topic policy granted, is
added to that list. Wildcards, NotAction, other services' actions and a
value that is not JSON are left unchecked.

Closes #8897
2026-11-20 15:00:04 -04:00
TATSUNO “Taz” Yasuhiro 7e2d9e83fb feat(dynamodb): refuse WarmThroughput above the per table quota (#9096)
CreateTable and UpdateTable now refuse a WarmThroughput above the per
table quota of 40000 units, for a table and for a global secondary
index, with the LimitExceededException AWS answers. Each member is
checked against its lower bound first, then against the quota, Read
before Write and the table before its indexes; on CreateTable the check
runs after ResourceInUseException and before the provisioned capacity
quota. The quota is the TableMaxReadCapacityUnits and
TableMaxWriteCapacityUnits that DescribeLimits reports.
2026-11-20 14:26:16 -04:00
David 6f73107fea test(codeartifact): take the scanner test's expected integrity from npmIntegrity (#9092)
NpmPublishEnvelopeScannerTest built its expected sha512 integrity by hand in three tests with its own sha512 helper. CodeArtifactRequests.npmIntegrity gives the same string, so the tests use it and the helper goes, as suggested in the review of #8906.
2026-11-20 14:23:31 -04:00
Hector Ventura 5cded523e3 feat(docker): fail Docker calls fast while the daemon is unreachable (#9047)
A circuit breaker sits under the retry layer of both Docker clients and
counts consecutive transport failures: an I/O error or an unusable
socket, never an HTTP response or a wait for a pooled connection. After
floci.docker.breaker-failure-threshold (3) of them it pings the daemon
off the caller's thread, over a one-connection transport of its own;
only when that ping fails too does every Docker call fail at once with
DockerUnavailableException, which the retry layer never replays. While
open it pings every floci.docker.breaker-probe-interval-seconds (5), and
the first answer closes it. Any HTTP status to the ping is an answer,
and a ping that never reaches the daemon neither opens nor closes the
breaker. A threshold of 0 turns it off.
2026-11-20 14:16:14 -04:00
Jimmy Liu Jia 3991e5ce44 fix(ecs): honor task-set resource tags in IAM (#9086)
An aws:ResourceTag condition on a task-set action, such as DeleteTaskSet,
never matched: EcsService.storedTags had no case for a task-set ARN, so
the request was evaluated as if the task set had no tags. It now reads
the tags the task set was created with, in the request's account.

Closes #8818
2026-11-20 14:11:37 -04:00
Kenshin Okinaka b9b33f32f6 fix(ses): check the template selectors of a v2 send as SES does (#9083)
* fix(ses): check the template selectors of a v2 send as SES does
2026-11-20 14:10:18 -04:00
Aniket Shukla 306bcf8c5b fix(core): route JSON services over Smithy RPC v2 CBOR (#8592)
* fix(core): share JSON dispatch with RPC v2 CBOR
* fix(core): adapt modeled blobs and timestamps for RPC v2 CBOR
* fix(core): preserve CBOR event streams and compact wire models
* test(paymentcryptography): avoid random CVV verification collisions
2026-11-20 14:09:47 -04:00
Murtuza Chhil 017e635edf feat(paymentcryptography): the AS2805 KEK validation (#9065)
GenerateAs2805KekValidation is served on the Payment Cryptography data
plane. Two AS2805 nodes prove they hold the same key encryption key: the
request form makes a random number with Single DES odd parity and returns
it enciphered under one variant of the key, and the response form
deciphers a number, inverts it and returns it enciphered under another
variant. The key is a Triple DES TR31_K0 key encryption key; the request
form needs Encrypt and the response form both Decrypt and Encrypt.

The AS2805 Triple DES check and the key lookup now live in
PaymentCryptographyKeyRules, shared with the key exchange, card
validation, authorization cryptogram and PIN operations.
2026-11-20 14:07:01 -04:00
Hector Ventura 2402267966 test(ses): parse the writer-overflow message on a stack of its own (#9097)
relayRaw_nestingThatParsesButOverflowsTheWriter_isSkippedNotThrown parsed
its 10,000-layer message on the test thread and asserted the parse
succeeded, but how deep mime4j's recursive parser gets depends on the
thread's stack, and on smaller stacks it overflowed first, so message()
was null. The test now parses on a thread with a 256 MB stack, then
relays on the test thread as before, where the writer must still
overflow. SmtpRelay is unchanged.
2026-11-20 13:41:52 -04:00
mrfelek 29cd4a84ee feat(ecs): create the Cloud Map services of a Service Connect service's endpoints (#9022)
A Service Connect service that offers endpoints now has them in the
Cloud Map namespace it joined. CreateService and UpdateService create an
HTTP Cloud Map service for each services[] entry, named by its
discoveryName or else its portName, and one for a client configuration,
aws-ecs-sc.client.<UUID>.<service name>, described "Managed by" the ECS
service and tagged AmazonECSManaged=true. Each deployment reports them
as serviceConnectResources. UpdateService keeps, creates and deletes them
to match, turning Service Connect off or DeleteService deletes them all,
and a circuit-breaker rollback brings them back in line.

Discovery names are checked before anything is created, under a lock per
namespace: one outside ECS's naming rule, one named twice, one another
ECS service holds and one a Cloud Map service created outside ECS holds
are refused with ECS's messages, ClientException on CreateService and
InvalidParameterException on UpdateService. ECS only reuses or deletes
Cloud Map services it made. Cloud Map's duplicate-name check moves into
CloudMapService.findServiceByName, shared with the registrar.
2026-11-20 07:33:23 -04:00
Ignas 3ae5b8b6ea fix(elbv2): pass TCP health checks on an open connection (#9032)
A target group with a TCP health check was probed with an HTTP GET and
judged on the response code, so a target that accepts connections but
does not answer HTTP stayed unhealthy. A TCP check now opens a
connection to the target and passes once it is accepted, without
consulting the path or matcher, which AWS scopes to HTTP and HTTPS
checks. The ELB docs describe the TCP check.

Closes #9031
2026-11-20 07:32:37 -04:00
TATSUNO “Taz” Yasuhiro 4713120f3e fix(dynamodb): check WarmThroughput last on CreateTable (#9077) 2026-11-20 07:30:23 -04:00
Kenshin Okinaka 7c4ed46223 fix(ses): match SES v1 on a missing custom verification template and an absent MAIL FROM domain (#9081) 2026-11-20 07:24:33 -04:00
galsuchetzky-act a3c45a4ce2 fix(bedrock-agentcore): validate tag resource request maps (#9076)
AgentCore TagResource accepted any tags map. It now validates the map
before dispatch with the same rules create and update use: at most 50
entries, keys of 1 to 128 characters and values of 0 to 256 in the
AgentCore tag pattern. The handler opts into the strict tag payload
parser, so a malformed or non-object body is refused without changing
stored tags, while an empty map and an empty untag request stay valid.

Closes #7894
2026-11-20 07:18:43 -04:00
Allen Sanborn 704b5f1c3b fix(kms): keep import parameters valid across concurrent identical imports (#9004)
* fix(kms): keep import parameters valid across concurrent identical imports
* fix(kms): ImportKeyMaterial no longer re-enables a Disabled key
2026-11-20 07:11:09 -04:00
Murtuza Chhil 42707716cd test(paymentcryptography): the TR-34 codec answers the standard's own vectors (#9079) 2026-11-20 07:09:32 -04:00
Priamo Germosen dc97ce5cb1 fix(iam): check Resource Groups requests on the groups the generated table gives them (#9074)
Resource Groups was built by hand: ResourceArnBuilder read a group from
the body's Group or GroupName, or CreateGroup's Name, the request
resources table held no Resource Groups operation, and nothing gave a
policy condition a group's tags. resource-groups moves from HAND_BUILT
to NAMESPACES, so the table gives each operation the group its Group
names, by its name or its ARN, and the ARN a tagging route carries;
CreateGroup, for which the Service Reference lists no resource type, is
checked on *, as AWS checks it. ResourceArnBuilder's Resource Groups
branch goes. ResourceGroupsStoredResourceArns answers a group's stored
tags, read in place from the group record the service stores whole. Only
Resource Groups' operations change in the table.
2026-11-20 07:03:52 -04:00
Jackson PriceandAndre Kurait ab7fc6f81f feat(dynamodb): update Kinesis destination precision (#9072)
* feat(dynamodb): update Kinesis destination precision
* fix(dynamodb): reuse validation for Kinesis precision updates

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-20 06:54:51 -04:00
Don HavelbergandDolev Hacohen 546065dc53 fix(lambda): queue throttled asynchronous invocations with backoff (#9071)
Co-authored-by: Dolev Hacohen <dolev.hacohen@forcepoint.com>
2026-11-20 06:54:32 -04:00
Priamo Germosen e8f16911d2 fix(iam): check EKS requests on the resources the generated table gives them (#9070)
EKS was built by hand: ResourceArnBuilder walked an EKS path, looked
each resource up through EksService, and checked a tagging route on the
caller's cluster named after the ARN's last segment; the request
resources table held no EKS operation, and nothing gave a policy
condition an EKS resource's tags. eks moves from HAND_BUILT to
NAMESPACES, so the table gives each operation the cluster its path
names, the node group, add-on or Fargate profile EksStoredResourceArns
finds by its cluster and name, the ARN a tagging route carries, and
parts of an ARN the request does not give open. CreateCluster, for which
the Service Reference lists no resource type, is checked on the cluster
its body names from a MEASURED entry quoting the EKS user guide's
example policy for creating a cluster. ResourceArnBuilder's EKS section
and its EksService dependency go. EksStoredResourceArns answers the
stored tags of a cluster, node group, Fargate profile, add-on, Pod
Identity association or access entry; EKS's tag changes take one lock
and give a cluster, node group or Fargate profile a new map, whose tags
field is now volatile, and a cluster is tagged only when its ARN is the
whole ARN the request names. Tag changes and tag reads find a cluster,
node group or Fargate profile through one lookup, and an ARN with a part
left open is not looked up. Read from its model, EKS tags only on
/tags/{resourceArn} with the ARN encoded, as the SDKs send it, so the
tagging tests that sent it unencoded now encode it. Only EKS's
operations change in the table.
2026-11-19 23:25:25 -04:00
Jackson PriceandAndre Kurait e50e7dac36 feat(s3vectors): support resource tagging (#9059)
S3 Vectors buckets and indexes now support TagResource, UntagResource and
ListTagsForResource through the shared tag routes. A tag call reads the
resource ARN in the request's Region, partition and account as the other
ARN operations do, merges tags by key, and holds the 50-tag limit under
the bucket lock. Create, replace and TagResource validate tags the same
way, with the service's not-found wording and modeled constraint errors.
Strict tag handlers reject trailing JSON before calling their service.

Adapted from AndreKurait/floci#815.

Co-authored-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-19 22:14:23 -04:00
Daniël van Ziel 41aa3ba2eb fix(apigateway): honor limit and position on GetRequestValidators (#9060) 2026-11-19 22:12:18 -04:00
TATSUNO “Taz” Yasuhiro d37698ea71 feat(dynamodb): store WarmThroughput from CreateTable and UpdateTable (#9069)
* feat(dynamodb): store WarmThroughput from CreateTable and UpdateTable
2026-11-19 22:12:08 -04:00
Priamo Germosen 1a888867ad fix(iam): check STS requests on the resources the generated table gives them (#9033)
STS was built by hand: ResourceArnBuilder checked AssumeRole on the role
its RoleArn named and every other operation on *, IamEnforcementFilter
sent STS requests there by action, and the request resources table held
no STS operation. sts moves from HAND_BUILT to NAMESPACES, so the table
gives each operation what the Service Reference and botocore give it:
AssumeRole the role its RoleArn names, as before, GetFederationToken the
federated user its Name names and AssumeRoot the root user, where the
hand builder checked both on *, and the operations that act on no
resource type * as before. StsStoredResourceArns answers that a role IAM
holds in the account its ARN names is assumed there, as the handler
finds it, so a cross-account AssumeRole is checked on that role alone
and not also on the caller's role of that name. ResourceArnBuilder's STS
section and the filter's STS case go. Only STS's operations change in
the table.
2026-11-19 21:56:53 -04:00
Kenshin Okinaka a769b77124 fix(ses): skip the raw relay when the message cannot be parsed or is nested too deeply (#9066) 2026-11-19 21:55:32 -04:00
Kenshin Okinaka 0af048a099 fix(ses): require a subject and a part in an inline send template (#9064)
A v2 SendEmail or SendBulkEmail with inline TemplateContent was accepted
as soon as one of the subject, text or html was set, and an empty one
was answered with a message of Floci's own.

SES needs a subject and a text or html part, each with a non-whitespace
character, and answers every incomplete shape with "Template is missing
required fields." It reports that ahead of a missing or malformed
sender, the destinations, the template data and the configuration set
and tenant lookups, so the check now runs first on both operations.

A stored template is no longer checked again when a send renders it: it
was validated when it was stored.

A template that names a stored template beside TemplateContent now
answers with the message SES uses on each operation.
2026-11-19 21:46:04 -04:00
Vũ Thế Huy 42fad08915 test(glue): reuse shared InMemoryStorageFactory and GlueRequests in remaining Glue tests (#9061)
Seven Glue service tests each declared a private InMemoryStorageFactory,
and four Glue integration tests built the AWSGlue.<action> request by
hand. They now use io.floci.aws.testing.InMemoryStorageFactory and
GlueRequests.call, which #8568 shared.
2026-11-19 21:23:55 -04:00
Andre Kurait 430088b772 fix(ci): pass IAM drift changed paths through a file (#9025)
A large pull request diff could fail the IAM data gate before any check
ran, because the workflow passed every changed path in one make argument
("Argument list too long"). The workflow now writes the paths to a file
and iam-data-verify reads it through CHANGED_FILE, keeping affected-check
selection, the CHANGED interface, full verification for an empty diff or
the weekly run, and the report of every failed check. A Python test runs
the target with stubbed checks for each of those cases.
2026-11-19 21:19:01 -04:00
Priamo Germosen 186b0f6a63 chore(iam): regenerate the request resources table for Route 53's health check sources (#9053)
The Service Reference now gives Route 53 a healthchecksource resource
type and lists it for ChangeTagsForResource, ListTagsForResource and
ListTagsForResources, so iam-request-resources-verify fails on every
change touching the table. make iam-request-resources-sync, with no
change to the generator, brings that in, with the type's ARN format and
its aws:ResourceTag/ key, and what else AWS changed since the table was
last written, each read by the existing rules: Route 53's health check
source actions, Cognito user pools' client metadata document policy and
URL actions, the userpool type for those and for the point-in-time
recovery actions, Pricing Calculator's GetUsageLinesEstimatedCost and
its bill-estimate tag key, EventBridge's RotateWebhookCredentials, S3
Tables' DisassociateTableReplication and RDS's subgrp type for
ModifyDBCluster, which nothing the action reads fills.
2026-11-19 21:15:00 -04:00
rajp33 3f51fdec34 feat(rds): honor DeletionProtection on cluster restores and AWS::RDS::DBCluster (#9057)
RestoreDBClusterFromSnapshot and RestoreDBClusterToPointInTime now read
DeletionProtection and set it on the new cluster before it is stored.

The AWS::RDS::DBCluster provisioner reads DeletionProtection, creates the
cluster with it, and applies a changed value on stack update. A stack
delete of a protected cluster is refused by DeleteDBCluster and reported
as the resource's DELETE_FAILED, as on AWS.

A restore, or a CloudFormation role attach, that fails after creating the
cluster goes through one cleanup that clears the flag and always attempts
the delete, adding any failure to the original error.

Closes #9056
2026-11-19 20:56:18 -04:00
Suja Shaj 3e1fe3c8b6 fix(cloudformation): resolve an RDS instance's previous template as it was deployed (#9058) 2026-11-19 20:55:19 -04:00
Andre Kurait a6a609d62f fix(ec2): report the network interface IPv6 address (#9027)
An ENI could have IPv6 addresses assigned while its top-level
ipv6Address was missing from CreateNetworkInterface and
DescribeNetworkInterfaces. The shared serializer now reports the first
assigned address there, keeps the ipv6AddressesSet list, and omits the
field when the interface has none.

Ported from Emanuel Aseghehey's AndreKurait/floci#1239.
2026-11-19 20:36:25 -04:00
Hector Ventura 2ab20905a2 chore(docker): raise the streaming pool default to 3072 connections (#9050)
* chore(docker): raise the streaming pool default to 3072 connections
2026-11-19 20:19:55 -04:00
galsuchetzky-act 3f16c0234b test(lambdamicrovms): share two-version image fixture (#9054) 2026-11-19 20:10:51 -04:00
Jackson Priceandoeyh b69d184c5c test(elbv2): cover pending replacement routing over HTTP and HTTPS (#9036)
* test(elbv2): cover pending replacement routing over HTTP and HTTPS
* test(elbv2): reuse shared TLS trust context
* test(elbv2): extend shared initial-health regressions

Co-authored-by: oeyh <8153134+oeyh@users.noreply.github.com>
2026-11-19 20:09:57 -04:00
rajp33 30503c4c2e fix(rds): persist DB cluster DeletionProtection and refuse to delete a protected cluster (#8985) 2026-11-19 19:53:59 -04:00
galsuchetzky-act fca7dfdd22 test(bedrock): reuse inference-profile metadata test helpers (#9044)
Share same-account client construction and successful summary lookup in
the existing metadata tests. Preserve each test assertion, region and
resource lifetime, including the unavailable-region negative control.

Closes #9043
2026-11-19 19:34:47 -04:00
galsuchetzky-act 61be3048e7 refactor(bedrock): share model profile reachability checks (#9046)
* refactor(bedrock): share model profile reachability checks
2026-11-19 19:33:18 -04:00
Andre Kurait 875794c538 fix(iam): select EC2 interface and endpoint authorization resources (#8892)
* fix(iam): select EC2 interface and endpoint authorization resources
2026-11-19 19:24:56 -04:00
Kenshin Okinaka c91740de85 fix(ses): check a template's tags before its name and content (#9041)
CreateEmailTemplate validated the tags last, after the template name
and content. SES checks them first, as probed on us-west-2: the tag
count, character set, lengths, an empty key and duplicate keys are all
refused ahead of a blank name or a missing subject or part.

The reserved aws: key prefix is the exception. SES refuses it after
the name and the content, before it looks the name up, and words it
"Invalid tags" on this operation.
2026-11-19 19:24:53 -04:00
Ignas f08cc57437 fix(elbv2): omit HTTP-only fields from TCP target groups (#9030) 2026-11-19 19:20:35 -04:00
rajp33 9f959a3f27 feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions (#8945)
* feat(iot): support SetV2LoggingOptions and GetV2LoggingOptions
* fix(iot): keep omitted V2 logging options and require role and level on first set
* fix(iot): validate SetV2LoggingOptions log level and member types
* fix(iot): answer SetV2LoggingOptions with an empty body
* test(iot): cover V2 logging setup, updates, errors and account scoping in the SDK suite
* test(iot): sign V2 logging requests with the shared EnforcementFixtures.auth helper
* test(iot): cover V2 logging persistence and document eventConfigurations and verbose limits
* docs(iot): count the V2 logging routes in the service matrix
* fix(iot): reject a SetV2LoggingOptions body that is not a JSON object
* fix(iot): reject a blank roleArn in SetV2LoggingOptions
* fix(iot): serialize the SetV2LoggingOptions read-merge-write
* test(iot): share one IoT client builder in the SDK fixtures
* fix(iot): stop refusing a blank roleArn in SetV2LoggingOptions
* fix(iot): build the V2 log level refusal with SmithyValidationErrors
* refactor(iot): share IoT request body readers between logging and fleet indexing
2026-11-19 19:14:50 -04:00
Jeremy Chapeau b8632351e8 fix(sts): let a same-account trust policy that names a user grant AssumeRole (#8918)
A role's trust policy now reaches IAM enforcement through a
ResourcePolicyProvider, the path every other resource-based policy
takes, instead of a branch on sts:AssumeRole in the enforcement filter.
RoleTrustPolicyProvider answers an STS action on a role ARN with the
role's stored trust policy, each statement that names no Resource given
the role's ARN, and with the account in the role's ARN as its owner.
IAM actions on the role, such as iam:GetRole and iam:PassRole, get
nothing from it.

evaluateResourcePolicyFor already returns ALLOW_DIRECT_IAM_USER for an
Allow naming the caller's user ARN, so a same-account grant to a user
is unchanged, and AssumeRolePolicyEvaluator.grantsToIamUser and its
request-key helper are removed. Within the role's account, an Allow
naming a role session's role, or "*", now grants the call too, as any
same-account resource-based policy does. Across accounts the filter
needs the trust policy's Allow beside the caller's identity policy, so
it refuses an IAM user or a role session the trust policy does not
allow before STS does, with its own AccessDenied message;
AssumeRoleTrustConditionsIntegrationTest checks that message for those
callers.

The STS guide's sentence that the caller's identity policy must allow
sts:AssumeRole now names the same-account exception.
2026-11-19 19:10:54 -04:00
David Acevedo 3aba098ee8 feat(lambda): add a process executor for provided runtimes (#9006) 2026-11-19 19:07:32 -04:00
Hector Ventura 3205a62cf7 chore(ci): prune only main's superseded Maven caches (#8994)
The prune job added in #8956 listed maven-Linux- caches across every ref, so a cache another ref saved under the current pom's key could pass its guard and let it delete main's older entries while main's own current one was missing. It now lists and checks only refs/heads/main. No other ref saves that key today, since the save runs only on a push to main, but the guard no longer depends on it.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-19 17:07:16 -06:00
Hector Ventura 3bf5e2a5f9 chore(ci): check the amd64 native image after each Nightly, not on every pull request (#8959)
* chore(ci): check the amd64 native image after each Nightly, not on every pull request

compatibility.yml built the amd64 native image on every pull request (7 to 9 minutes in the last five green runs) to run one 2-minute suite, sdk-test-python, whose Firehose compression delivery test needs the x86_64 snappy JNI library. Pull requests now build and test arm64 only. compat-partitions.yml, which already runs after each Nightly against the published floci/floci:nightly image, gains an amd64 sdk-test-python job in the commercial partition, so the amd64 half of the multi-arch image is still checked once a day, against the image users pull.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

* chore(ci): keep the amd64 job's test results, and skip it on a single-region dispatch

Signed-off-by: Hector Ventura <hectorvent@gmail.com>

---------

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
2026-11-19 17:06:52 -06:00