While a cluster has Auto Mode's load balancing capability on, a LoadBalancer
Service whose loadBalancerClass is eks.amazonaws.com/nlb gets a Network Load
Balancer in the cluster's subnets: a TCP target group per TCP port on its
NodePort, with a TCP health check and the cluster's node registered by
instance ID, and a listener on the Service port. Once the node is registered,
the DNS name is written to the Service's status, in a patch that names its UID.
A reconciler reads the Services with kubectl every 10 seconds; each pass makes
whatever a Service's ports lack and removes what dropped ports had. The load
balancers carry eks:eks-cluster-name and service.eks.amazonaws.com/stack, the
only keys AmazonEKSLoadBalancingPolicy lets Auto Mode set, and go with the
Service, with the cluster and when its load balancing is turned off.
ElasticLoadBalancing.loadBalancingOn replaces two copies of the on check.
Part of #8914.
AWS's Service Reference now gives Bedrock a `project` and a
`trusted-access-program` resource type, adds `project` to
InvokeModelWithResponseStream and the tagging calls, gives
ListInferenceProfiles its two inference profile types, and checks
ListTrustedAccessPrograms as its own action, so the online drift check
reported 24 vendored Bedrock claims that no longer hold. Regenerate
iam-request-resources.json from the live reference: those 24 operations
change and no other.
RDS now answers CreateIntegration, DescribeIntegrations, ModifyIntegration and DeleteIntegration for zero-ETL integrations from an aurora-postgresql DB cluster or a standalone postgres DB instance into a Redshift Serverless namespace or a provisioned Redshift cluster. It refuses a source or target that does not exist or is of another kind, a duplicate name or source and target pair, an AdditionalEncryptionContext without a KMSKeyId, and a PostgreSQL DataFilter that breaks AWS's rules. DescribeIntegrations takes an ARN, id or name, its filters, MaxRecords and Marker.
No data is copied yet: an integration reports creating, then active. The initial load follows under #7984.
SpectrumQueryPreparation's test constructors filled the Kinesis and MSK
streaming views with nulls inline. Each views class now owns an inMemory()
factory, so the null collaborators sit in one documented place.
#9305 ran the full expression check on every write condition in
DynamoDbService.evaluateCondition, and PartiQL UPDATE and DELETE pass a
condition built from the WHERE clause there, with a grouped OR or NOT in a
second pair of parentheses, so the redundant parentheses check refused
statements DynamoDB accepts. The check now runs where the typed backend takes
a put, update or delete, so Step Functions tasks still refuse an unknown
function, and PartiQL writes behave as they did before #9305.
The admission webhook now also makes the IAM roles for service accounts
mutation the Amazon EKS pod identity webhook makes: a pod whose service
account carries eks.amazonaws.com/role-arn, and that gets no Pod Identity
mutation, gets a projected token for STS mounted at
/var/run/secrets/eks.amazonaws.com/serviceaccount and AWS_ROLE_ARN,
AWS_WEB_IDENTITY_TOKEN_FILE, AWS_STS_REGIONAL_ENDPOINTS and the cluster's
Region, with the audience, token-expiration, sts-regional-endpoints and
skip-containers annotations read as upstream reads them. The webhook
reads the service account with kubectl in the cluster container, since
it is handed only the pod. Pod Identity keeps precedence, and the two are
never injected together.
Closes#5647.
Adds LambdaUdfInvoker, the batch invoker for scalar Redshift Lambda UDFs, on top of LambdaService. It sends the request Redshift documents (request_id, cluster, user, database, external_function, query_id, num_records, arguments) from the cluster's Region, splits rows by the batch row and size limits, parses the response and maps PostgreSQL text values to and from JSON across the documented scalar types. It retries TooManyRequestsException with backoff, and refusals and failures surface as SQL errors.
Whether the role may invoke the function is decided by a new iam.RoleResourceAccessAuthorizer, which holds the identity, boundary, SCP and resource policy evaluation Step Functions' LambdaTaskAuthorizer used, and which that class now calls too.
Part of #7815.
MskStreamingViews.createLocked now binds the candidate MskViewBinding it already
built for the IAM check, instead of constructing the same binding a second time.
PutAccountProperties stored any value the declared length admitted, so role
manager's switch took one nothing can read as a flag. The operation's own
Properties member says "the service validates each value based on the property
key's expected type. For example, boolean properties expect true or false", and
one property has its type published: role manager is "controlled by the
account-level property RoleManager/Enabled", where "a value of true enables role
manager; false disables it". Both spellings are lowercase on every page that
writes them, the guide's CLI examples, the API Reference's instruction to set
the property "to true or false", and the response in its own example.
That property now takes those two values and nothing else, answering
InvalidInput 400 with "Property <key> expects true or false: <value>", the value
as the request sent it. The sentence is this package's own, AWS publishing that
a value is validated against its key's type and nothing of what it answers when
one is not. The request is refused whole, so an entry beside the bad one is not
stored either, which is how a request refused for its keys already behaves.
What is held is the pair of values rather than a type, since a type is what this
would be inventing: the pair is what AWS publishes for the property. Every other
property keeps taking any value of the declared length, no page saying what any
of them is for, which is the looser answer and the direction to be wrong in. The
key is read before the value, a value's type being the key's to say, so a
request naming an unrecognised namespace is still answered for the namespace.
Closing a ServerSocket with a pending virtual-thread accept can defer release of its bound descriptor. Wait for the accept worker with a bounded join before shutdown returns, preserving interruption and occupied-port refusal. Retain existing delivery, token, rotation and polling behavior.
Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
EcrLifecycleSweepTest's in-memory registry binds an HttpServer on an ephemeral port, so the class now declares ParallelLocks.PORTS in READ mode, as ParallelLocksInventoryTest requires of every plain test class that opens a socket since #9311.
The v2 SendBulkEmail refusal of an empty DefaultContent.Template.TemplateName now builds its violation with SmithyValidationErrors.Violations.WITHOUT_VALUES.lengthTooShort instead of writing the sentence out, as the bulkEmailEntries check beside it does with notNullWithoutValue. The message is unchanged.
A sweep now applies every repository's lifecycle policy, as ECR does
within a day of an image meeting a rule, and expires the images its
rules select: imageCountMoreThan keeps the newest by push time and
sinceImagePushed expires those older than the count, with rules applied
in priority order and none marking an image a higher rule selected. A
platform image of a held manifest list is kept until the list goes, and
an artifact naming a subject expires with that image. Get and
DeleteLifecyclePolicy report lastEvaluatedAt, and the delete echoes the
policy it removed.
Closes#5874.
Overflow of the GELF delivery buffer drops lines from the live console and CloudWatch Logs streams only. Docker still writes them to the local dual-log copy, so docker logs, the RDS log-file APIs and the polling fallback can read them while they remain there. log-max-size and log-max-file bound that copy, not the delivery buffer.
The "Vendored AWS data in sync" job now takes six to nine minutes, nearly
all of it the IAM request-resources check, which grows with each namespace
the generated table reads, so runs on a slower runner reach the job's
ten-minute limit and are cancelled inside that check. Raise the limit to
thirty minutes; nothing else changes.
A session tag never reached the session assumed from it, so the opt-in AWS
publishes for role chaining was missing: "if you set a tag key as transitive,
the corresponding key and value passes to subsequent sessions in a role chain".
All three operations that mint a tagged session now read the keys where AWS
publishes them, the request's TransitiveTagKeys member, the assertion's
multivalued TransitiveTagKeys attribute and the token's transitive_tag_keys
claim in either published format, and GetFederationToken declares none because
its credentials cannot assume a role at all.
A session assumed from one carrying transitive tags takes those tags as its own,
under the ones its own request passes, and keeps their keys transitive so the
next link inherits them too. A role's own tags never pass down. A session tag
whose key the calling session passes down is refused, which AWS publishes as the
operation failing without saying what it answers, so the code is the one this
operation already gives the other rule that turns on the caller being a session
and the sentence is this package's own. The inherited tags count against the
session token size like any other state the session carries, while the keys cost
nothing.
sts:TransitiveTagKeys now reaches the role's trust policy with the keys the
request names, beside sts:RoleSessionName and sts:ExternalId there. It stays out
of the caller's identity-policy context, which is filled from the generated
request-condition-keys.json, and that file does not list the key for the action.
One rule of the chain is left and the docs say why: a transitive tag replaces the
assumed role's matching ResourceTag value, and Floci publishes no
aws:ResourceTag for the role in either evaluation, so there is nothing yet for it
to replace.
An inherited tag needs the role's tagging permission as much as a passed one
does, so the trust policy is read for sts:TagSession when the calling session
passes any tag down, with the request carrying none: the guide lists "incoming
transitive session tags" among the tags a principal carries, and where a base
role's own tags are passed on by STS "the trust policy must also allow
sts:TagSession". The caller's own policy is read for a request that carries
Tags, which the generated tagging table keys on, so a chain of inherited tags
alone is held to the role's permission and not to the calling session's, where
AWS reads both; the docs say so.
The SES v2 integration tests that declare a regional AUTH now build their requests with a statically imported SesV2Requests.v2(AUTH) instead of spelling out given().contentType("application/json").header("Authorization", AUTH), 124 blocks across 16 classes. Each class keeps its own AUTH constant, and no request changes.
Docker's GELF driver now runs in non-blocking mode, so a listener outage
no longer blocks a container's log writes or skips the daemon's local log
copy. docker.md describes the default 1 MB delivery buffer and the live
console and CloudWatch Logs loss once it fills.
Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
SearchVectors now refuses unused ExpressionAttributeNames and ExpressionAttributeValues, and runs every check that needs no table, the 4 KB expression size limits included, before it looks up the table, in DynamoDB's order.
Every condition expression now refuses an unknown function name with DynamoDB's message, the name as written, so ATTRIBUTE_EXISTS(a) is refused like nope(a). Function names are not keywords, so size = :v reads size as an attribute name. The Step Functions putItem, updateItem, deleteItem and scan tasks, which skip the handler, get the same check.
PutLifecyclePolicy and an AWS::ECR::Repository's LifecyclePolicy now
check a document the way ECR's refusals show it does: the model's 100 to
30720 characters, the JSON, a JSON schema whose validator's text ECR
quotes with its trailing newline (types, required members, minimums, 50
rules, 10 prefixes, the count type and action alternatives), the mapping
onto ECR's rule types, then the user guide's rules in ECR's sentences
where they are known. Values must be spelled as the guide spells them,
an any rule must be the last of its storage class, and an archive rule
waits 90 days.
Part of #5874.
Toree finds its built-in magics (%AddJar, %AddDeps, %LsMagic, %%sql,
%%dataframe and the rest) by scanning its own jar for plugin classes,
and its class finder reads each entry's name through a reflective call
to JarFile$JarFileEntry.getName(). The notebook image's Java 17 refuses
that call unless java.util.jar is open to the caller, so the scan
failed ("PluginSearcher: Failed to load class info from classpath",
an InaccessibleObjectException) and the kernel started with no magics.
- The Scala kernel spec exports JDK_JAVA_OPTIONS with
--add-opens=java.base/java.util.jar=ALL-UNNAMED, after any value
already set, before it runs spark-submit. Java reads the variable
itself, so the image's spark.driver.extraJavaOptions stay as they
are, where --driver-java-options would replace them. The option
comes from EmrServerlessSparkRunner.javaBaseOpens, which now builds
YARN's options from their package list too.
- The nightly check's Scala kernel adds a jar with %AddJar, then
compiles a cell against a class in it. Its method's timeout grows by
the two cells' four minutes, and the docker-runner group's with it.
PutAccountProperties stored a property under any namespace whose key satisfied
the Namespace/PropertyName rule, where AWS answers InvalidInput 400 with
"Unsupported namespace: <namespace>", recorded against a real account on
2026-10-25 for a key naming an invented namespace. Accepting it was the worse
of the two ways to be wrong: one bad write left the account answering every
later GetAccountProperties with a key AWS would never have stored, and the
caller was never told.
The set the refusal is held to is published nowhere. Only RoleManager is named,
as an example, in the API Reference's own PutAccountProperties request, in the
user guide's role manager page and in the guide's policy example for
iam:AccountPropertyNamespaces, and the operation's model carries no enum for the
key. So the set is those three pages read together, kept as one set in IamService
to extend when AWS publishes another, and the cost is stated where it lives: a
namespace AWS recognises and has not written down is refused until the set names
it.
The namespace is matched as AWS spells it, and a request mixing two namespaces is
still answered for mixing them whether or not either is recognised, which leaves
every request that was already refused with the answer it already had. Both
readings are this package's own and the docs say so.
The wire tests and the SDK compatibility suite took a made-up namespace per
case so they could not read each other's properties. They now share the one
published namespace and keep that isolation in the property name, which is the
half nothing checks, and the SDK suite pins the new refusal through the SDK's
own model beside the codes it already pins.
The check for whether EKS Auto Mode's block storage capability is on was
written out in requireCapabilitiesTogether, AutoMode.state(),
EksService.blockStorageOn and EksClusterManager.applyBlockStorage. It is
now one static StorageConfig.blockStorageOn, which all four use, and the
private EksService copy is removed. No behaviour changes.
With floci.docker.log-driver-mode on (off by default), the long-lived service containers Floci attaches to are created with Docker's gelf log driver pointed at a TCP listener in Floci, and the daemon pushes each line instead of Floci reading the log on a timer. Flink TaskManagers and ephemeral RDS instances keep json-file.
Each container carries a random tag, as a label and in every message. A message whose tag no attached container claimed is dropped, and lines that arrive before the attach are held for it. The listener takes a fixed port, floci.docker.log-driver-port (12201), and opens before Floci starts any container, so a stopped container adopted after a restart starts again. A container created under another port or host is read on a timer from the daemon's local copy, with a warning. The listener accepts at most 1024 connections.
The json-file max-size and max-file settings map to the local copy's cache-max-size and cache-max-file.
PutLifecyclePolicy and an AWS::ECR::Repository's LifecyclePolicy now
refuse what the ECR user guide rules out: a tagged rule without exactly
one tag filter, filters on other statuses, more than four wildcards in a
pattern, unknown count types, a countUnit other than days for the since
types or any countUnit for imageCountMoreThan, a countNumber below 1,
storage classes and actions that do not fit the count type, an any rule
that is not last, two untagged rules and a prefix used by two rules in
one storage class. Refusals use ECR's message form and keep the prior policy.
Part of #5874.
Updating a target group's health check settings through CloudFormation now applies them to the existing group through ModifyTargetGroup. The prior settings are saved before the change and restored on a failed provision or a stack rollback, independently of the target registrations, and a failed undo keeps its snapshot for a retry. Properties the template omits keep their values.
A change to the health check interval replaces the group's probe timer, keeping target health, and a superseded timer's callback is ignored.
Closes#8900
Move `elasticache` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so ElastiCache requests are checked on the
resources they name instead of `*`: a cache cluster, a replication group, a
parameter or subnet group, a snapshot, a user, a user group or a serverless
cache by the identifier its request names, as <type>:<name>, the ARN
ElastiCache mints. The tag calls name their resource in ResourceName, which
the table does not read, and stay on `*`.
ModifyUserGroup is also checked on each user its UserIdsToAdd and
UserIdsToRemove name, as the Service Reference lists the user type for it:
a type the action acts on that no resource names yet takes its one variable
from a list named after it with ToAdd or ToRemove. Over the whole table this
changes ModifyUserGroup and no other operation.
Move `dms` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py. The Service Reference gives every DMS type
an ARN format ending in a literal `*`, which the reader matches as written:
a request naming a subnet group by its identifier, or creating a
replication instance, is checked on that pattern (subgrp:*, rep:*), where
it was checked on `*`, and a request naming an endpoint, an instance or a
task by its ARN matches no format and stays on `*`.
The generator's rule for an optional ARN member a request leaves out took a
format with no variable for a single resource, so a CreateEndpoint or
ModifyEndpoint with no CertificateArn was also checked on cert:*. It now
skips a format ending in a wildcard, every resource of its type: of the
whole table, four DMS operations change and no other.
A chart written for EKS names its own account's images by the AWS
registry host, <account>.dkr.ecr.<region>.amazonaws.com. The
registries.yaml Floci gives a k3s node mirrored only Floci's localhost
forms, so containerd sent those pulls to AWS, where they fail.
The generated registries.yaml now also mirrors the cluster's and the
default account's registry hosts as AWS names them, across the regions
of the cluster's partition, under that partition's DNS suffix
(amazonaws.com.cn in the China regions). containerd still tries AWS
last, so an image Floci does not hold is looked for there. Other
accounts' registries, such as the ones EKS add-on images come from, and
public registries are not mirrored.
Floci's registry endpoint serves a mirror request whose ns names an
account's AWS registry host from that account's repositories in that
region, when the region belongs to the suffix's partition. A request
sent with an AWS registry host as its Host is not routed there.
A node now records the digest of the registries.yaml it was started
with in a label. When Floci starts, a surviving node whose label does
not match the registries.yaml Floci gives it now, such as one started
before these entries existed, is replaced on its data volume, as one
with another capacity is, so existing clusters get the new mirrors too.
It is kept while the registry is unavailable or the mirror is off.
EksVpcPodNetworkNightlyIntegrationTest, which #9288 added, now skips
without -Dnightly.checks.enabled=true, as every other nightly check
does, so a local test run with Docker no longer starts its k3s node.
Closes#5711
Move `config` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so Config requests are checked on the
resources they name instead of `*`. A config rule's, configuration
recorder's and conformance pack's ARN ends in an id Config mints, which a
request naming one by its name does not carry, so ConfigStoredResourceArns
answers the table's lookups with the ARN Config stores it under; one Config
holds none of is checked on its name with the id open. The tag calls are
read from ResourceArn.
Two generic readings are added to the generator, changing Config's
PutAggregationAuthorization and PutConfigurationRecorder rows and no other
operation's: a format naming an account or a Region of its own beside the
ARN's takes them from the request's one account id member and its one
Region member, and a member filling one of the format's variables is no
longer also the ARN's account; and a type the request names but fills no
variable of takes its one name variable from the request's structure named
after the type (ConfigurationRecorder.name).
PutConfigRule now updates the rule its ConfigRuleArn names, else its
ConfigRuleId, else its ConfigRuleName, as the PutConfigRule reference lets
an update name its rule by any of the three, and refuses an ARN or id that
names no rule with InvalidParameterValueException. Finding the rule by name
alone let a request carrying one rule's id and another rule's name be
checked on the first and change the second.
An endpoint's jupyter-kernel-overrides gives a kernel its own
container-image ("Custom kernel image with interactive endpoint"), and
on EMR on EKS each kernel is a pod of its image. A Floci endpoint ran
every kernel in its gateway's container, whatever image the overrides
named.
- The gateway job tells the gateway program which kernels the
overrides give an image (python3 and spark-python-kubernetes, the
kernels the guide's example names, as "You can't add new kernel image
types"), where it asks Floci for their containers, and a secret Floci
gives that gateway alone.
- EmrContainersKernelContainersRoute takes the gateway's POST and
DELETE on /_aws/emr-containers/kernel-containers/<endpoint>/<kernel>.
The service checks the secret, that the endpoint is ACTIVE and its
overrides give the kernel an image, and the kernel id, response
address and public key, then EmrContainersKernelContainers runs the
kernel's container: the override image, with the gateway's settings
and environment and the kernel's KERNEL_ variables, running the
image's Jupyter Enterprise Gateway launcher (launch_ipykernel.py),
under spark-submit with the %%configure magic for a PySpark kernel.
A launch is admitted under the lock the gateway's end takes, so an
endpoint's kernel containers all stop with its gateway, and a reset
or Floci's shutdown stops every one.
- The gateway program gives such a kernel a jupyter_client provisioner
that speaks the launcher's protocol: it asks Floci for the container
with an RSA public key and a response address, decrypts the
connection the launcher sends back (an AES key, under RSA, over
AES-GCM), and polls, signals and stops the kernel through the
launcher's comm port and Floci. It waits KERNEL_LAUNCH_TIMEOUT
seconds, at most the guide's 400, or 400, and a launch that fails
once the container was asked for stops it.
- Such a kernel's %%configure magic posts to its ENDPOINT_IP, the
gateway, on port 9547 over TLS, with a certificate the image's openssl
makes; the program checks it with the launcher's AES key, which each
launch refreshes. Every restart, the kernels API's, the
auto-restarter's or %%configure's, gives the kernel a new container
with new ports and a new key, and the program moves the kernel's
clients and its activity watch onto them.
- The nightly check gains a method: an endpoint that overrides both
kernels with the release's own image runs each in its own container,
the PySpark one counting an S3 file's lines and taking %%configure.
The docker-runner group's budget grows by its eighteen minutes.
AWS added AnalyticsConfig to the AWS::WAFv2::WebACL resource schema, so the
committed schema surface no longer matched AWS's archive. Regenerated it with
make cfn-schema-surface-sync, and recorded the new property in
writable-property-gaps.tsv as accepted and ignored, like the WebACL's other
unread properties, since WafV2CfnProvisioner does not read it.
The metric-filter compatibility test stopped polling at the first
nonempty aggregate, so a later log batch could still add its statistics
after the read. assertSeries now waits through TestFixtures.await until
every statistic the fixture records matches, within the same ten-second
deadline, with the last read in the timeout message. An absent series is
still read once, and the JSON and Query assertions are unchanged.
Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
A session's tags are principal tags of its requests, "when you request a
session, you can specify principal tags as the session tags. The tags apply to
requests that you make using the session's credentials", and this package read
none of them. AssumeRole and GetFederationToken counted the Tags member toward
the token size and then dropped it, and the two operations that take session
tags inside a SAML assertion or a web identity token, where the model declares
no Tags member at all, had nowhere to take them from, so aws:PrincipalTag held
only what was stored on the user or the role.
A session records the tags it was minted with now, from wherever its own
operation takes them: the Tags member on AssumeRole and GetFederationToken, the
assertion's https://aws.amazon.com/SAML/Attributes/PrincipalTag:<key>
attributes on AssumeRoleWithSAML, and the token's https://aws.amazon.com/tags
claims on AssumeRoleWithWebIdentity, in both formats AWS reads those in, the
nested object under principal_tags and the flattened claims prefixed
https://aws.amazon.com/tags/principal_tags/. GetSessionToken and AssumeRoot
declare no way to pass one and record none.
What a request publishes is the identity's tags with the session's own over
them: the role's tags for a role session, and for a federated user the tags of
the user whose key minted it, where it carried none at all, "the session
principal tags include the user tags and the passed session tags". A session tag
"overrides the role" tag of the same key, matched without case as IAM matches a
tag key on a user or a role, "not case sensitive, but case is preserved", so the
session's own spelling is the one published.
One value per tag: "you must pass a single value for each session tag" and STS
"does not support multi-valued session tags". The published nested example
writes each value as an array holding one string and the flattened format as a
plain claim, so both are read, while a tag carrying more than one value is left
unread rather than cut down to its first.
A role's trust policy has to permit the tagging as well as the assume: "trust
policies for all roles connected to the identity provider passing tags must have
the sts:TagSession permission. For roles without this permission in the trust
policy, the AssumeRole operation fails." All three assume operations read their
own trust policy for that action when the request, the assertion or the token
carries a tag, with the same principals and conditions as the assume, and answer
AccessDenied naming it. Without that reading a caller the policy lets assume a
role could choose the principal tags downstream permissions are conditioned on,
which is the whole point of the permission. The caller's own half was already
here, the generated tagging table requiring sts:TagSession of a request that
carries Tags, so a tagged AssumeRole is held to both policies and a tagged
GetFederationToken to the caller's alone, having no trust policy to read.
A tag that is not one key with one value is refused rather than read as the
first value or dropped: an attribute with several AttributeValue elements or
none, an attribute whose name ends at the colon, and a token claim that is
neither a string nor a one-element array. Nothing published says what AWS
answers a malformed session tag, so those sentences are this package's own, and
a tag a policy would have been evaluated with cannot go missing quietly. An
assertion's value is stored as it was signed, spaces included, where trimming it
would hand a policy a value the provider never asserted. Two tags of one request
whose keys differ only in case are one tag, the later winning, as a tag key on
an identity is: kept as two they would reach a policy as one key with the
other's value dropped, and a Deny on that value would stop matching.
Session tags are state the token carries, "session policies and session tags add
to the session token size", so they count against the limit and into what the
session reports. The two operations that take them from a message measure that
once the assertion or the token has been verified, which is the first point the
tags exist, rather than before the operation runs where the declared members are
read.
Two published pieces are left, named on the page rather than guessed at here.
The transitive tag keys beside the tags are not read, so no tag passes into a
chained session, which is AWS's own default and leaves only the opt-in missing;
a key stored unread would have said otherwise. And the plaintext limits a
session tag is held to are read where the model declares the members that carry
them, which leaves the number and the length of a tag inside an assertion or a
token unchecked, nothing published saying what AWS answers there; what does hold
them is the token size.
Covered end to end under enforcement by a session tag that decides a call and
overrides the role's tag of that key, by one that brings a Deny on, by a caller
whose trust policy permits the assume but not the tagging, and by a federated
session whose tag is the whole of what decides it; over the API by a signed
assertion whose attributes reach the session, by a spaced value kept as signed,
by an attribute carrying no single value and one naming no key, and by a tag set
too large for the token it would be carried in; at the service level by the
merge, the case-insensitive replacement within a request and across the
identity's tags, and the federated user's two halves; on the handler by the Tags
member reaching the session it mints, by the token's tags counting toward what
the session reports, and by the long-term session recording nothing; and on the
token verifier by both claim formats, a multi-valued tag, a tag with no key and
a token that passes none.
Move `comprehend` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py, so its requests are read from the generated
request-resources table like the other namespaces'. The detection actions
Floci serves act on no resource type and stay on `*`, as AWS authorizes them;
the classifier, recognizer and endpoint operations are read by their ARN
members. No other namespace's rows change.
Pods got k3s's flannel addresses (10.42.0.0/16), which nothing outside
the node reaches, so a target group with TargetType ip, which the AWS
Load Balancer Controller registers, never saw a healthy target.
With floci.services.eks.vpc-pod-network, pods now take their addresses
from the /28 prefixes their node holds, as the VPC CNI's prefix
delegation gives them. k3s starts without flannel and its network
policy controller, with the VPC's range as its cluster CIDR, and the
node's entrypoint sets up the rest before k3s starts: the CNI plugins
the image ships, linked where containerd looks with flannel off, a
bridge holding each prefix's gateway address, host-local handing out
the prefixes, proxy ARP on the interface holding the node's VPC
address, as the VPC delivers a prefix's traffic to its interface, and
SNAT for traffic leaving the VPC only. Inside the VPC pods keep their
own addresses, so Floci's health checks and load balancers reach them.
The IMDS and Pod Identity rules for pod traffic match the prefixes
instead of 10.42.0.0/16. A surviving node started with another pod
network, or with prefixes it no longer holds all of, is replaced on its
data volume, as one with another capacity is. disable-cni, or a node
without an address or prefix in a Docker-backed subnet, keeps k3s's
own network, with a warning.
Closes#5929
CREATE MATERIALIZED VIEW over a topic of an MSK external schema, REFRESH MATERIALIZED VIEW, DROP MATERIALIZED VIEW and DROP SCHEMA ... CASCADE now work, with the transaction, AUTO REFRESH YES, JOIN and aggregate guards of the Kinesis views. The topic's staging table has Redshift's eight Kafka columns.
A refresh positions each partition itself by manual assignment and a seek, reads up to the end offset the partition has when the refresh starts, and saves per-partition checkpoints only after the batch statement commits. Each view reads through its own consumer group. The first refresh starts at the earliest offset, and a partition that ends before its checkpoint is read again from its beginning.
With IAM enforcement on, CREATE and REFRESH check kafka:GetBootstrapBrokers on the cluster and, with AUTHENTICATION iam, kafka-cluster:Connect, DescribeTopic, ReadData, AlterGroup and DescribeGroup on the cluster, topic and group ARNs. A missing cluster fails with 42704, a cluster without a running broker or an unreachable broker with 58030, and a missing topic with 42P01.
KafkaRestClient.partitionOffsets reads a partition's beginning and end offsets. StreamingViewSupport holds the source lock, drop, unbind and batching shared by the Kinesis and MSK views, and DROP SCHEMA of an MSK schema holds a schema lock so no view is created while it runs.
Closes#7814
CloudWatch was not read by the generated request-resources table, so under
IAM enforcement every CloudWatch request was checked on `*`: a grant scoped
to one alarm was refused and a deny scoped to one never applied.
Move `cloudwatch` from NOT_COVERED to NAMESPACES in
regen_iam_request_resources.py. The table reads an alarm from AlarmName or
each of AlarmNames as alarm:<name>, a dashboard from DashboardName or each
of DashboardNames with no Region in its ARN, a metric stream from Name or
each of Names, and a tag call from ResourceARN: the ARNs CloudWatch mints.
Metric data and the list calls name no resource and stay on `*`. No other
namespace's rows change.