mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
5da8045bb2ed954f4df652be2f2c38ae22c19150
88
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a6da82af8a |
feat(logs): support saved query definitions (#7999) (#8003)
* feat(logs): support saved query definitions Closes #7999 * fix: preserve saved-query retries and fence reset writes Keep client-token request snapshots and returned IDs separate from mutable query definitions. Delayed create and update retries preserve newer content, reject conflicting input, and do not resurrect deleted definitions. Persist retry records with the configured account-aware CloudWatch Logs storage until reset. Gate saves and deletes through beforeReset/afterReset under the service monitor so reset drains active writes and rejects new writes throughout the storage wipe. Validation: 137 focused service, SDK integration, reset, and existing CloudWatch Logs regression tests passed. Checkstyle, docs-check, partition-check, and git diff --check passed. * fix: validate saved queries against vendored Logs constraints Include all three saved-query actions in the existing botocore constraint generator and share RequestConstraintCheck with delivery handlers. Return InvalidParameterException for saved-query constraints while preserving delivery ValidationException messages. Remove duplicated lengths, patterns, enums, list sizes, and type checks from the service and handler; retain domain checks for retries and query-language compatibility. Reuse AwsTestClients for SDK integration fixtures. Cover modeled errors before service calls, nested parameters, valid maximum sizes, and existing saved-query retry/reset behavior. Validation: 179 focused Java tests and 50 request-shape generator tests passed. Generated-data freshness, Checkstyle, docs-check, partition-check, and git diff --check passed. |
||
|
|
b144879127 |
feat(xray): serve traces, summaries, the service graph and sampling (#7733)
X-Ray is the one AWS service local stacks ask for and Floci does not have: SQS
and SNS already carry AWSTraceHeader, and nothing on the other end accepts the
segments that header points at. This serves the ingest loop, the summaries that
read it back, the service graph a console draws from it, and the sampling the
X-Ray daemon polls on its own timers.
The API is REST JSON on literal paths (/TraceSegments, /Traces, /TraceSummaries,
/ServiceGraph, /TraceGraph, /GetSamplingRules, ...), which S3's path-style routes
would swallow as a bucket name, so a request signed for the xray credential scope
is rewritten onto an internal prefix and every other request keeps its path. Only
the paths Floci serves are claimed.
What Floci stores is the segment document as sent: BatchGetTraces has to answer
exactly what PutTraceSegments accepted, so re-serialising through a model would
change what the caller reads. The summaries and the graph parse those documents
on read, which keeps the stored bytes the caller's and costs nothing while a local
stack is idle.
A filter expression is parsed, not pattern-matched: service("name"), hasError,
hasFault, hasThrottle, duration, responsetime, http.status, annotation.key,
comparisons, AND, OR, NOT and parentheses. Anything outside that set is refused
with InvalidRequestException naming what it could not read, because accepting a
filter and ignoring half of it hands a caller a superset and looks like a pass. A
lone '!' is refused the same way rather than left as a delimiter no branch
consumes, and responsetime is compared in seconds, the unit AWS uses.
The graph collapses segments into services by name, derives edges from parent ids,
and reports AWS's SummaryStatistics and cumulative DurationHistogram per node and
per edge. A node is a service, not a document shape: the same service seen once
with an http block and once without is one node.
Sampling answers the Default rule AWS serves in every Region, so a daemon has
something to sample at before any rule exists, and five rules per Region on top of
it. It is answered, not adapted: the reservoir is reported as the quota and
renewed every 10 seconds rather than decremented per report, and the service page
says so.
A local emulator runs for days, so the store is bounded to 10000 traces per Region
with AWS's 30 day window, oldest evicted first. A bad document is reported under
UnprocessedTraceSegments with its reason instead of failing the whole call, and
100 documents per call is the AWS limit, enforced.
Co-authored-by: David Guardiola <davidguardiola@gmail.com>
|
||
|
|
9f77c736e9 |
feat(securityhub): add member account operations and DisableOrganizationAdminAccount (#7791)
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 |
||
|
|
ab312d68e6 |
feat(paymentcryptography): the card values and the authorization cryptograms (#7400)
* feat(paymentcryptography): the single DES decryption The retail MAC closes its tag with a decryption under the right half of the key, so the cipher package needs the Single DES decryption as well as the encryption. It is the same cipher the encryption is, the other way round, and it is BouncyCastle's like every other cipher here. * feat(paymentcryptography): the card values and the authorization cryptograms The card validation value is the three digit value of the X9 algorithm: the account number, the expiry and the service code, enciphered under the card verification key, and decimalized. The dynamic variants compute the value from the transaction rather than from the card's own fields, and they take a key of their own usage that may derive. The authorization cryptogram is the ARQC of the transaction: the ISO 9797-1 algorithm 3 retail MAC over the transaction data, cut to eight bytes, under a session key the request's derivation produces. The EMV common session key, the EMV 2000 one, the Mastercard one and the Visa one are served. The American Express derivation is refused rather than approximated: the AEIPS session key derivation is proprietary and there is nothing to verify it against, and a plausible wrong cryptogram is worse than an error. The operations are written on the data plane as it is now: the hexadecimal is java.util.HexFormat, the digests are the shared Digests, and the ciphers are the BouncyCastle ones the package already uses. The routes of the card operations are in the vendored rest-routes.json already, so they are authorized by the generated rules and need no hand-written ones. * test(paymentcryptography): the card operations over the SDK and the CLI The unit tests call the operations directly, so they do not reach the routes the requests travel, the JSON the body carries, or the rules that decide which action a request is. The suite does, through a client that signs the request the way a client of the data plane signs it. The Java suite drives the card verification value and the authorization cryptogram with the AWS SDK for Java v2, and the CLI suite drives them with the AWS CLI. Both refuse the American Express derivation, the key of another usage, and the value or the cryptogram that does not verify. * fix(paymentcryptography): the card requests are checked against the model The card operations' constraints were not vendored, so their requests were checked by hand and only partly: the account number was read as the digits it carried, the expiry and the service code were not checked at all for the first card verification value, and the key an operation acted on was not checked to be a key. The constraints are in the model, so they are vendored now, the four operations are checked against them before they look at the request, and the checks that repeat them are gone. The model states that the PAN sequence number is two digits and that the application transaction counter is two bytes. The derivation reads the last eight bytes of the packed PAN || PSN and the first two bytes of the counter, so the longer values the hand-rolled checks allowed were read as something other than the counter they stood for. The vectors are the ones the EMV derivation gives for the model's inputs. * docs(paymentcryptography): the card requests are checked against the model The account number is digits, the expiry is four of them, the service code is three and the PAN sequence number is two, the EMV ones as the model states them. A formatted account number and a longer sequence number are refused rather than read as the digits they carry. * docs(paymentcryptography): the data plane's operation count The Service Matrix counts the operations a service documents, and the data plane documents four more now: the card verification value and the authorization cryptogram. * fix(paymentcryptography): the card operations raise the errors the model names Three findings from the review, all in the card operations. A key that may not be used for the operation was refused with InvalidKeyUsageException, which the data plane's model does not name, so a client cannot catch it as its own type. The data plane names three errors, and a refusal that is not one of them is a ValidationException. The ARPC method 2 read an ArpcInputFormat member that no model, and no SDK, carries, so the branch it guarded could never be taken. The member is gone and the response value is always made the way the reference makes it. And a hexadecimal member of an odd length is a request the model allows and the cipher cannot read, so it was answered with an internal failure the caller cannot catch. It is refused with the error the model names, and the refusal names the member. * test(paymentcryptography): the card operations' members are covered Seven members the card operations read were read by no test, so nothing proved they work: the response attributes and the response code, the card status update and the proprietary data, the track data, the unpredictable number and the validation data length. Each is sent now, and the shape the service receives with them is exercised. The response value is made by both ARPC methods, and a request that asks for none is answered without one. * test(paymentcryptography): the padding type is refused The padding type belongs to RSA, and the symmetric cipher does not pad, so a request that names one is refused rather than answered with a cipher that ignored it. Nothing sent one, so the refusal was never exercised. * fix(paymentcryptography): the wrapped key is refused on every operation that carries one The encrypt, decrypt and re-encrypt requests hold a wrapped key for the key exchange, and the unwrapping is part of that exchange rather than part of the cipher. A request that carries one is refused, as the PIN operations already refused it, rather than answered as if the key were a fixed one. The rule now lives in one place, so the two paths cannot disagree on it. * fix(paymentcryptography): the master key is derived over the rightmost sixteen digits The block the ICC master key is derived over is the rightmost sixteen digits of the account number and the PAN sequence number, padded on the left with zeros when they are shorter. That is the rule EMV 4.4 Book 2 Annex A1.4.1 gives for Option A, and the Visa Integrated Circuit Card Specification states it the same way. An account number of twelve digits is therefore read and derived from, where the derivation used to refuse it, and the refusal in the request layer goes with it. A derivation the request cannot be read for is refused with the error the model names, rather than answered with a failure the caller cannot catch. * test(paymentcryptography): the derivations are the ones the specifications give The vectors are the ones the specifications publish: the ICC master key from the EMV Option A derivation, the MasterCard proprietary session key and the application cryptogram it produces over the same data from the M/Chip worked example, and the common session key from the same document. The common session key is compared with the parity bits masked, because the document does not force the parity of the derived key and the derivation does not affect the computation. * fix(paymentcryptography): the dynamic value is the one Visa describes The Visa Contactless Payment Specification gives the dynamic card verification value in full: the leftmost four digits of the account number are replaced by the transaction counter, and the result, the expiry and the service code are enciphered under the card's unique derived key, which the issuer derives from the master key with the account number and the PAN sequence number. The three leftmost decimal digits of the result are the value. The derivation used a session key and covered the account number as it stands, so it was the emulator's own construction and not the value Visa describes. The key it needs is the one the unique derived key derivation already makes, and the request carries the PAN sequence number that derivation takes. The counter is a binary coded decimal counter, so a counter that is not one is refused rather than read. * docs(paymentcryptography): the dynamic code is the emulator's one * fix(paymentcryptography): the card value carries the length asked for The model states the length of a card validation value as three to five, and the service refused every length but three. The value now carries the number of digits the request asks for, and the verification compares as many. The dynamic value's counter is a binary coded decimal counter, so the digits that replace the leftmost ones of the account number are zero padded on the left to the four the field holds. * fix(paymentcryptography): the card values and cryptograms as specified The review of the branch found that the card values and the authorization cryptograms did not follow the rules they are made by. The Option B master key derivation turned the hexadecimal digits of the hash into digits as it scanned them. The specification takes the decimal digits of the hash first and only then the nibbles that are not decimal digits, each reduced modulo ten, so the derivation now follows it. The transaction data reaches the service already padded, because the caller pads it the way the card padded it before the card enciphered it. The service was padding it a second time, which enciphered a block the card never enciphered. The data is enciphered as it was sent now, and a length that is not a whole number of eight-byte blocks is refused, because the ISO 9797-1 MAC runs over whole blocks. The key table names the application cryptogram usage, the TDES_2KEY algorithm and the DeriveKey mode of use for the ARQC key, so a key of another usage, another algorithm or without the mode of use is refused. The rules are asked in one place now, so the card operations and the cryptogram operations cannot drift apart on what they accept. The response value of the second issuer authentication method is made of the card status update and the proprietary data, as the specification has it. The response code belongs to the first method. The EMV 4.1 tree derivation and the dynamic card verification code are refused rather than approximated: the first is proprietary, and the second was the emulator's own construction. A verification that fails carries the reason the model names, and a key that is not there is answered with a 404. * refactor(paymentcryptography): the model settles the card value's length The card operations refused a validation data length that was not three to five digits, and a validation data that was not, while the model states both. The model is checked before the operation runs, so the two checks never reached the point where they could answer, and the model answers the same request with the same error. The checks are gone, and the model's own constraints have a test each, so the refusal is proved. The class comment of EmvCrypto said the ARQC is made over the CDOL, and it is made over the transaction data as the caller sent it, so the comment says that now. * refactor(paymentcryptography): the card side reads the shared helpers The review found the card side holding copies of what the service already holds, and the comments around them out of date. The card operations read the request members through PaymentCryptographyAttributes now, the same as the cryptogram operations, instead of carrying their own text and soleVariant. They read the key's material through PaymentCryptographyKeyRules.materialHex as well. A key read back after a restart holds no material, and the shared rule says so, where the raw accessor gave a null that the derivation failed on. The refused dynamic card verification code left its branch in the computation and the track data and unpredictable number fields behind, and the two-argument retailMac had no callers. They are gone. The comments are in step with the code now: the class comment of the cryptogram operations no longer calls the EMV 2000 derivation the common one, the comment on the second issuer authentication method no longer carries the response code in its input, and the class comment of EmvCrypto no longer names OpenSSL or the original engine. |
||
|
|
13640785a9 |
feat(signer): serve the Signer control plane for profiles, permissions and job records (#7680)
Signer was the last control plane Floci's CloudFormation provisioner stubbed: SignerCfnProvisioner recorded only the identifiers a template handed it, with a comment saying Floci has no Signer API. This serves the API, so an SDK, the CLI or a stack sees the profile it actually created. Cancellation keeps the profile, as AWS does: it stays readable through GetSigningProfile with the same ARN and version and the status Canceled, it stops accepting jobs, and ListSigningProfiles hides it unless includeCanceled is set or statuses names Canceled. A PutSigningProfile on the same name brings it back as a new active version. A signing job fails by default, and says why. Nothing on this machine signs the artifact, so a succeeded job would advertise a signedObject key that does not exist and every download of it would fail; the job instead completes as Failed with a statusReason naming the object that was not written, and RevokeSignature refuses it because there is no signature to revoke. Metadata-only callers can set floci.services.signer.mock-signing-jobs=true, which records jobs as succeeded and is documented as a mock rather than as AWS behaviour. Signer routes collide with S3's path-style ones, so a request signed for the signer scope is rewritten onto an internal prefix before matching. That rewrite used to happen before IAM resolved the action from the path, which left every Signer call unchecked; IamActionRegistry now strips the internal prefix the signing service owns, and SignerIamEnforcementIntegrationTest proves a key with no policy is refused while one with signer:* is allowed. Co-authored-by: David Guardiola <davidguardiola@gmail.com> |
||
|
|
3701d4d041 | feat(ec2-instance-connect): SendSSHPublicKey, verified by the unmodified AWS agent (#7473) | ||
|
|
6130fe9568 | feat(paymentcryptography): the PIN operations (#7397) | ||
|
|
4617e4a4f8 |
feat(paymentcryptography): the data plane as a service of its own (#7396)
* feat(paymentcryptography): the data plane as a service of its own docs(paymentcryptography): the data plane has a page of its own fix(paymentcryptography): a MAC under a three-key Triple DES key is computed test(paymentcryptography): a key of another purpose does not encrypt data feat(paymentcryptography): the data plane's IAM is generated fix(paymentcryptography): a DUKPT MAC needs a base derivation key fix(paymentcryptography): a key whose material is not held is refused docs(paymentcryptography): the data plane's example runs test(paymentcryptography): the data plane through the AWS SDK test(paymentcryptography): the data plane through the AWS CLI fix(paymentcryptography): the CLI test removes the keys it makes docs(compat): the AWS CLI suite names the data plane test(paymentcryptography): the route is read as the registry reads it test(paymentcryptography): the request names its method and its URI fix(paymentcryptography): the cipher pads no data fix(paymentcryptography): the data plane takes the service scope fix(paymentcryptography): a MAC length that is not a number is refused docs(paymentcryptography): the data plane says the cipher pads no data fix(paymentcryptography): the data plane ciphers with Triple DES as well fix(paymentcryptography): the scope alias names the model's scope fix(paymentcryptography): the Triple DES cipher is BouncyCastle's fix(paymentcryptography): the usage and the blob keep their comments fix(paymentcryptography): a key's family is read from its algorithm fix(paymentcryptography): the cipher reads the vector through one helper test(paymentcryptography): the keys are built by one builder fix(paymentcryptography): the data plane checks the model's rules fix(paymentcryptography): the Triple DES check value is BouncyCastle's fix(paymentcryptography): the SDK names it TDES_2_KEY docs(contributing): the ciphers come from BouncyCastle refactor(paymentcryptography): the model owns the request shapes refactor(paymentcryptography): the ciphers are BouncyCastle's test(compat): one helper makes a key of either algorithm docs(contributing): the cipher rule comes out fix(paymentcryptography): the refusals are the model's refactor(paymentcryptography): the ciphers are one helper each refactor(paymentcryptography): the generators share the helper docs(paymentcryptography): the javadocs name both ciphers test(aws): the moved constants read from the shared helper fix(paymentcryptography): the deprecated cipher constructors go chore(paymentcryptography): the duplicate import goes test(paymentcryptography): the DUKPT vectors the standard publishes fix(paymentcryptography): the DUKPT refusal is the derivation's docs(paymentcryptography): the retail MAC is over a double-length key fix(paymentcryptography): the ISO 9797-1 MAC pads only a partial block refactor(paymentcryptography): the refusals the model already makes chore(aws): the routes are generated from the models again * chore(aws): the IAM resources are generated again |
||
|
|
f8670f64fb |
feat(quicksight): add metadata APIs and limited registered-user embedding (#7529)
Closes #7522 Origin comparisons preserved host casing and default ports, CSP named only the immediate parent, and expired sessions remained in storage indefinitely. Normalize both sides of origin checks, allow all configured ancestors, and reap expired sessions across accounts with the shared sweep worker. |
||
|
|
3308ea2f1c | feat(logs): add vended log delivery sources, destinations and deliveries (#7411) | ||
|
|
2e47b9c571 |
feat(bedrock-agentcore): add the harness control plane (#7387)
* feat(bedrock-agentcore): add the harness control plane CreateHarness, GetHarness, UpdateHarness, DeleteHarness, ListHarnesses and ListHarnessVersions were unknown, so aws_bedrockagentcore_harness could not be created. Harnesses are stored per Region with a name-<10 alphanumerics> id and settle in READY at once. Each update appends an immutable version, and members a create leaves out take the defaults AWS fills in, including an AgentCore Runtime environment named harness_<name>. Tags work on harness ARNs through the shared /tags route. InvokeHarness moves into the new /harnesses controller unchanged: a request is matched against one root resource class, so the data-plane controller rooted at / would no longer see /harnesses/invoke. * fix(bedrock-agentcore): match a harness role ARN with AwsArnUtils.PARTITION_REGEX * fix(bedrock-agentcore): serve InvokeHarness from a data-plane class of its own InvokeHarness sat in the control plane's /harnesses controller, so it inherited its JSON-only @Produces (an Accept: application/vnd.amazon.eventstream request was refused with 406) and was gated by no service flag, since the controller was missing from ResolvedServiceCatalog. It now has its own class rooted at /harnesses/invoke, the more specific root, registered with the data plane, and the harness controller is registered with the control plane. * refactor(bedrock-agentcore): share one random id suffix helper The harness registry, and the memory, tools and gateway services before it, each carried their own copy of the alphanumeric alphabet and the random suffix builder. One random(alphabet, length) and randomAlphanumeric(length) in BedrockAgentCoreControllerSupport now serve all four; the gateway keeps its lowercase alphabet for gateway ids. |
||
|
|
6906759c9a | feat(paymentcryptography): the Payment Cryptography control plane (#7090) | ||
|
|
dfaab8ba4c | feat(eventbridgev2): add EventBridge V2 service (#6962) | ||
|
|
3d30bbcf7a |
feat(redshift): add event subscriptions with SNS delivery (#6705)
* feat(redshift): add event subscriptions with SNS delivery Add Create, Modify, Delete and DescribeEventSubscriptions, subscription tagging, and publication of matching events to the subscription's SNS topic, honouring the topic policy. * fix(redshift): deliver events from a consistent subscription snapshot and reject nameless subscription ARNs Delivery copied no state under the lock modifySubscription holds, so a concurrent update could change the topic between matching and publishing. Match and publish from a snapshot taken under that lock. A tag ARN ending in eventsubscription: passed an empty name to describeSubscriptions, which lists all subscriptions. Reject it up front. |
||
|
|
e8ef0b147e |
chore(ci): name the Java package in one place for tools and CI (#6596)
The docs tools, the partition gate and their registries each spelled out src/main/java/io/github/hectorvent/floci/. tools/java_sources.py now holds the package path, the tools import it, and services.yaml and service_matrix.yaml list sources relative to the package root, so the move to io.floci.aws changes one line here. A registry entry still in the repo-relative form fails with a message naming the new form. prefetch-images.sh finds TestImages.java by name. Signed-off-by: Hector Ventura <hectorvent@gmail.com> |
||
|
|
95bf6df474 |
feat(dsql): add Aurora DSQL's control plane and AWS::DSQL::Cluster (#6048)
* feat(dsql): add Aurora DSQL's control plane and AWS::DSQL::Cluster The first half of #6014. Aurora DSQL's REST JSON control plane, with the answers measured on AWS (eu-west-1): CreateCluster, GetCluster, ListClusters, UpdateCluster, DeleteCluster, GetVpcEndpointServiceName, the cluster policy calls and tagging on cluster ARNs. Identifiers are 26 characters of lowercase base32 as DSQL's are, and malformed or unknown ones are refused with DSQL's messages; a cluster created without deletionProtectionEnabled is protected, and deleting a protected one is refused. CreateCluster answers CREATING and the cluster is ACTIVE right after. AWS::DSQL::Cluster waits for ACTIVE, returns the identifier from Ref and Identifier, ResourceArn, Status, CreationTime, Endpoint, VpcEndpoint and VpcEndpointServiceName through Fn::GetAtt, and a protected cluster makes the stack's deletion fail, as on AWS. A cluster has no database behind it here: its endpoint is named as on AWS, <id>.dsql.<region>.localhost.floci.io, but not served. Serving it is the second half of #6014, its own pull request. * fix(dsql): answer the control plane's edge cases as DSQL does Review of #6048, each answer measured on DSQL (eu-west-1) first: - ListClusters carries on from a page token whose cluster was deleted in between, as AWS does: the token now holds the sort position of the next page's first cluster rather than its identifier. - deletionProtectionEnabled is read as DSQL reads it: text is false when it spells false in any case and true otherwise; empty text, a number, an object and a list fail with SerializationException. - The tag calls refuse another account's cluster ARN with 403 AccessDeniedException instead of reading it in the caller's account. - A client token reused with other parameters answers 409 ConflictException; with the same ones, the earlier cluster. - AWS_OWNED_KMS_KEY names AWS's own key on create and update. AWS::DSQL::Cluster reads DeletionProtectionEnabled and PolicyDocument with AWS::NoValue as left out, and an update that drops the multi-Region properties clears them, as it already reset the key and deletion protection. ListTagsForResource copies the tags under the cluster's lock, and a cluster's lock goes with the cluster. * fix(dsql): answer errors, policies, updates and multi-Region clusters as DSQL does A review asked for the attribute coverage, the reason ValidationException carries, a real untag assertion and tests of the stack-update path. Measuring them on DSQL (eu-west-1, 2026-10-20) found more that did not match, fixed here too. - Attributes are written with resource.getAttributes().put, which the schema coverage test reads; EncryptionDetails, an object an output refuses on AWS, is recorded as a gap. - DSQL leaves reason out of its model-validation errors. Only the page token's refusal carries it, with fieldList naming next-token and its own text. maxResults no longer quotes the value. - Tag calls answer what DSQL answers: 403 for an ARN that is not a cluster ARN, 400 BadRequestException for another Region's, 404 NotFoundException for no cluster. The 403s name the caller. - Policy versions are epoch milliseconds, DeleteClusterPolicy answers the deleted version, and the missing-policy and stale-version errors carry DSQL's texts and resourceType. - Policies are checked and kept as DSQL does: its three refusal texts, a service principal, a principal that names no one, a public grant, and the lockout check when both policy actions are denied to the caller, unless bypassPolicyLockoutSafetyCheck. The kept form is Jackson's pretty printer in DSQL's element order, with condition operators and keys in HashMap order, as measured. - The public check shares its condition keys with Lambda web functions through PublicAccessConditions, and S3 now takes its fixed-value and SourceIp range tests from there. Sharing the whole rule was tried and dropped: DSQL was measured to treat some operators otherwise than LambdaWeb's and S3's rules do (ForAnyValue:, ArnLike "*", StringEquals "*"), so the operator rules stay per service. The lockout check is IamPolicyEvaluator's. - A multi-Region cluster is PENDING_SETUP and lists itself until it and each peer name one another, then ACTIVE; its deletion answers PENDING_DELETE. - AWS::DSQL::Cluster reads its properties through CfnPropertyTypes, so a PolicyDocument object or DeletionProtectionEnabled "yes" fails as on AWS, where Boolean.valueOf made "yes" false. An update leaves a property the template no longer sets as it was, deletion protection, KMS key and multi-Region alike, and removes only the tags and the policy; an earlier change put them back to their defaults, which was not measured and is not what CloudFormation does. A policy the template does not change keeps its version, and create settles on PENDING_SETUP too. DsqlServiceTest, DsqlClusterPoliciesTest and DsqlCfnProvisionerTest cover these in isolation, the integration tests over the wire. * fix(dsql): keep the public access rule to DSQL and forget a deleted policy's version A review asked to leave S3 and Lambda web functions out of this change, and pointed at DSQL's own block public access page. The shared helper is dropped and S3 and Lambda web functions are as on main; folding their copies into one helper belongs to a separate change. DSQL now has its own keys: the trusted ones its page lists, and aws:SourceIp, aws:SourceVpcArn and the three aws:Vpce* keys, which the page leaves out but DSQL accepts (measured, eu-west-1, 2026-10-20). As the page says, a policy variable never restricts: StringEquals with ${aws:PrincipalArn}, ${aws:SourceVpc} or a role/${aws:username} ARN is public on DSQL. ArnEquals reads like ArnLike, as IAM matches both the same way, so a value that is no ARN, ${aws:SourceArn} among them, matches nothing and restricts, as measured. DeleteClusterPolicy left the deleted version on the cluster, so a put naming it went through; it is now cleared, and a put that names a version on a cluster with no policy is refused as not found. |
||
|
|
be2cb677d0 |
feat(resourcegroups): support EC2 capacity reservation pools (#6011)
Signed-off-by: Andre Kurait <akurait@amazon.com> |
||
|
|
d3fce14256 |
feat(redshift-serverless): add release track, managed workgroup and reservation reads (#5691)
* feat(redshift-serverless): add release track, managed workgroup and reservation reads Add GetTrack, ListTracks, ListManagedWorkgroups, ListReservations, ListReservationOfferings, GetReservation, GetReservationOffering and CreateReservation so SDK, CLI and IaC clients no longer get an unknown operation error. Floci models no zero-ETL managed workgroups and sells no reservations, so the lists are empty and the reservation lookups answer ResourceNotFoundException. The two release tracks are current and trailing. Required members, patterns and lengths come from the AWS model through RedshiftServerlessRequestShapes; only the track names, which the model leaves unenumerated, are checked by hand. * refactor(redshift-serverless): reuse Pagination.paginate and remove unused admin handle method Rely on Pagination.paginate for maxResults and nextToken validation in listTracks and listWithoutItems, matching the other Redshift Serverless lists. Remove the unused handle method and its duplicate unknown-operation response in RedshiftServerlessAdminJsonHandler. |
||
|
|
6f78083080 |
feat(lambdaweb): Lambda Web Functions control plane (#5706)
* feat(lambdaweb): Lambda Web Functions control plane The lambda-web service model (apiVersion 2025-03-07) signs as lambda, so it is served under the lambda service at /2025-03-07/... with the AWS wire shapes, state words and error wording of the 20 operations on web functions, revisions, endpoints, tags and the resource policy. Revisions and endpoints converge at once. They are stored Active and an endpoint update is stored Successful, while the create and update responses report the transitional state AWS reports, so a CLI waiter settles on its first poll. Code comes from an S3 object that must exist. IamAuth, the resource policy and the endpoint domain are stored but not served yet. Part of #5699 * fix(lambdaweb): carry the page position in the token The nextToken of a list operation was a UUID keyed into an in-memory anchor map that only grew and was not scoped to the account. The token is now a core Pagination cursor that encodes the request (operation, region, account, function, filters and page size) and the cursor of the item the page ended on. A token reused with other parameters gets the AWS "does not match the request" error and any other token the AWS "invalid or has expired" error. AWS issues UUID tokens and rejects any other shape, so Floci no longer reproduces the pattern error for a malformed token. * fix(iam): resolve a Lambda Web revision or endpoint named by its ARN The route resource for IAM enforcement took the path segment after revisions or endpoints as the id. A revision or endpoint ARN in that position carries slashes, so the resource ARN ended in the ARN's first segment and a policy scoped to the revision or endpoint did not apply. The id is now the last segment of such an ARN. * fix(lambdaweb): add the values of a repeated state filter AWS lists a function when any state filter in the request names its state. A later state filter replaced the earlier one, so a request with state=Active followed by state=Failed listed nothing. * fix(lambdaweb): refuse empty arrays in a resource policy AWS answers an empty Action or Resource array with the policy syntax error and an empty principal array with the invalid principal error, which wins when all three are empty. Floci stored such a policy. * fix(lambdaweb): judge a wildcard principal by the operator and value of its condition A trusted condition key alone kept an Allow for every principal out of the public check. AWS blocks the policy unless a positive operator pins the key: StringNotEquals and the IfExists forms do not count, nor does a wildcard in an account value or in the account field of an ARN value, while a wildcard elsewhere in an ARN and a literal * under StringEquals do. |
||
|
|
63b48342d6 |
feat(redshift): add snapshot copy and snapshot schedule operations (#5574)
* feat(redshift): add snapshot copy and snapshot schedule operations Terraform's aws_redshift_snapshot_copy, aws_redshift_snapshot_schedule and aws_redshift_snapshot_schedule_association failed with InvalidAction because the Query handler had no arms for these actions. - EnableSnapshotCopy / DisableSnapshotCopy / ModifySnapshotCopyRetentionPeriod store the copy settings on the cluster, and DescribeClusters reports ClusterSnapshotCopyStatus while copy is enabled. RetentionPeriod defaults to 7 and ManualSnapshotRetentionPeriod to -1. Faults follow the Redshift model: SnapshotCopyAlreadyEnabledFault, SnapshotCopyAlreadyDisabledFault, SnapshotCopyDisabledFault (modify), InvalidRetentionPeriodFault and SnapshotCopyGrantNotFoundFault. - Create/Describe/Modify/DeleteSnapshotSchedule and ModifyClusterSnapshotSchedule. The association lives on the cluster, so DescribeSnapshotSchedules derives AssociatedClusters (state ACTIVE) and filters by ClusterIdentifier from it, and a deleted cluster cannot leave a stale association. Deleting a schedule in use is refused with InvalidClusterSnapshotScheduleState. - Snapshot schedules take part in CreateTags/DeleteTags/DescribeTags as resource type snapshotschedule. No snapshot is copied to another region or taken on a schedule; the docs say so. * fix(redshift): reject malformed snapshot schedules and in-use copy grant deletion * fix(redshift): validate snapshot copy region and snapshot schedule identifier EnableSnapshotCopy now refuses a DestinationRegion that is not a published AWS region with UnknownSnapshotCopyRegionFault (404), as the model lists. CreateSnapshotSchedule now refuses a ScheduleIdentifier containing anything but letters, digits and hyphens with InvalidParameterValue (400). The API reference allows alphanumerics; the management guide's example uses a hyphen. |
||
|
|
bac2c7cbf9 |
feat(elasticache): add serverless cache APIs (#5366)
* feat(elasticache): add serverless cache APIs Add CreateServerlessCache, DescribeServerlessCaches, ModifyServerlessCache and DeleteServerlessCache over the Query protocol. Each cache is backed by a hidden cluster that the ordinary cluster APIs do not list, with its own user-group authentication path in the proxy. * fix(elasticache): sua loi container rollback, validation tag, leak log stream va npipe hang - Thu hoi container va storage khi tao Memcached provisioning that bai - Format thong bao loi deleteCacheCluster chua cluster id - Validate tag key trong CreateServerlessCache khi co tag value - Chuan hoa case-insensitive cho userGroupId va region key cho nhom attachment - Giai phong dung logStream khi stop container trong ElastiCache va Memcached container manager - Tat validateAfterInactivity tren npipe trong FlociDockerHttpClient de tranh deadlock tren Windows * fix(elasticache): release serverless backing on reset and make delete and list tolerant - release backing clusters and user group attachments in clear() - let DeleteServerlessCache be retried after the backing cluster is already gone - keep DescribeServerlessCaches working when one cache has lost its backing - drop the unused replaceTags and document that tags are create-only * fix(core): drop the named-pipe stale-connection change, #5400 makes it |
||
|
|
5bad6774f6 |
refactor(dynamodb): isolate backend operation execution (#4379)
* refactor(dynamodb): route wire operations through a backend seam Rename the native wire handlers to NativeDynamoDbJsonHandler and NativeDynamoDbStreamsJsonHandler. Add DynamoDbOperations as the raw operation seam, plus typed DynamoDbItemAccess and DynamoDbTableAccess contracts. Add NativeDynamoDbBackend behind the seam and DynamoDbBackendSelector as the one immutable selection. Keep DynamoDbJsonHandler and DynamoDbStreamsJsonHandler as thin entry points that resolve account and region. Add RequestScopes.callAsChecked and let AslExecutor delegate to it. * refactor(dynamodb): route Java consumers through DynamoDbFacade DynamoDbFacade hands out the selected item and table capabilities and is now the one DynamoDB Resource Explorer provider in place of DynamoDbService. CloudFormation, Step Functions, the IAM condition context and the Redshift backfill call it with an explicit scope; the IoT dynamoDBv2 action writes as the rule's owning account. |
||
|
|
4a51c0e814 |
feat(dlm): manage lifecycle policies (#4335)
* feat(dlm): manage lifecycle policies * fix(dlm): use shared partition regex |
||
|
|
7cf8ab7d85 |
feat(ce): manage anomaly monitors and subscriptions (#4221)
* feat(ce): manage anomaly monitors and subscriptions * fix(ce): return JSON objects for empty responses |
||
|
|
4b3923712a |
feat(redshiftserverless): add namespace lifecycle and tagging (#3631)
* feat(redshiftserverless): add namespace lifecycle Amazon Redshift Serverless was absent entirely: every call returned UnknownOperationException, so Terraform's aws_redshiftserverless_namespace could not be planned or applied against Floci. Add a JSON 1.1 service under the RedshiftServerless. target prefix with CreateNamespace, GetNamespace, ListNamespaces, UpdateNamespace, and DeleteNamespace. Namespaces are account and Region scoped and stored through StorageFactory. AWS defaults are applied on create (dbName dev, kmsKeyId AWS_OWNED_KMS_KEY, empty logExports, status AVAILABLE), adminUserPassword is accepted and never returned, DeleteNamespace returns the removed namespace with status DELETING, and UpdateNamespace applies only the supplied fields. Workgroups, snapshots, and the tagging operations remain unemulated. * feat(redshiftserverless): add namespace tagging operations Terraform's aws_redshiftserverless_namespace calls ListTagsForResource on every read once tags are involved, so the namespace lifecycle alone left the resource broken as soon as a config set tags. Add ListTagsForResource, TagResource, and UntagResource. Lookup is by resourceArn rather than namespace name, scoped to the caller's Region, since that is how AWS keys these operations; the namespace is currently the only taggable Redshift Serverless resource, so any other ARN is reported absent. TagResource merges into the existing tags, UntagResource removes by key, and tags passed to CreateNamespace are readable back and survive UpdateNamespace. * fix(redshiftserverless): emit creationDate as ISO-8601 per the API model The awsJson1.1 default is epoch seconds and 133 call sites use it, but this model overrides it: TimestampFormatTrait ISO_8601 on creationDate (and on all eleven other timestamp members in the package, audited). Strict clients broke on the number: Terraform's Go SDK failed to decode and orphaned the created namespace outside state; the Java SDK failed to unmarshall. Only botocore's lenient parsing let CLI checks pass. Emitted via the repo's millisecond-ISO idiom; format pinned by regex in the integration test and by a new handler-level unit test class covering the wire layer that had none (timestamp shape, nextToken emission, maxResults type guard). Checklist note added to AGENTS.md + CONTRIBUTING.md so the next service checks the trait before reaching for the epoch idiom. * docs(redshiftserverless): the ISO-8601 rule is per member, not model-wide Review follow-up: the earlier claim that every timestamp member in this model carries TimestampFormatTrait(ISO_8601) is wrong — 15 of the model's 30 INSTANT members carry no trait and fall back to the awsJson1.1 epoch default. The shipped code is unaffected (creationDate, the only timestamp emitted, is genuinely ISO_8601), but the claim was load-bearing guidance: whoever adds snapshots or scheduled actions next would have applied ISO-8601 to trait-free members and reintroduced the bug in the opposite direction. Narrowed in all four places it appeared. * fix(redshiftserverless): validate collection types, copy-on-update; drop em dashes A present iamRoles, logExports, tags or tagKeys member that was not a JSON array parsed to null and was then indistinguishable from an omitted member, so a malformed UpdateNamespace silently kept the stored value and returned 200 instead of reporting the request as invalid. Only a missing or null member now means "omitted"; a present member of the wrong type, or a collection holding a non-string element, is a ValidationException naming the member. updateNamespace mutated the stored Namespace in place while GetNamespace and ListNamespaces read without taking the same monitor, so a concurrent reader could observe a torn object with some fields updated and some not. Build the new state on a copy and store that instead, which also makes the write-back explicit. The same in-place mutation was present in tagResource, untagResource and deleteNamespace, so all four now copy. Merge semantics are unchanged. Replace the em dashes in the timestamp guidance with commas and periods, per the repository ban. * fix(redshiftserverless): reject Redshift reserved words as namespace names CreateNamespace rejects a namespace name that is an Amazon Redshift SQL reserved word, so names like select or user passed the length and [a-z0-9-] checks here and were persisted. Add the documented reserved word list to the shared namespace-name validator, which create, get, update and delete all reach, so the rejection is consistent. |
||
|
|
532bae5525 |
feat(dms): add replication subnet group lifecycle and tagging (#3630)
* feat(dms): add replication subnet group lifecycle AWS DMS was entirely absent, so every terraform-aws-data-storage example using aws_dms_replication_subnet_group failed at plan with UnknownOperationException. Adds a minimal dms service on AWS JSON 1.1 (X-Amz-Target prefix AmazonDMSv20160101.) implementing CreateReplicationSubnetGroup, DescribeReplicationSubnetGroups and DeleteReplicationSubnetGroup. Subnets are resolved against the emulated EC2 service, so the VpcId and Availability Zones a group reports are the ones its subnets actually have, and AWS's own rules are enforced: the identifier is stored lowercase, "default" is reserved, subnets must share a VPC, and a group must cover at least two Availability Zones. Tagging actions and replication instances, endpoints and tasks are out of scope and still report UnknownOperationException. * feat(dms): add resource tagging for replication subnet groups Terraform's aws_dms_replication_subnet_group reads tags back through ListTagsForResource, so without the tagging trio the resource could be created but never read cleanly. Adds ListTagsForResource, AddTagsToResource and RemoveTagsFromResource, and stores the Tags member of CreateReplicationSubnetGroup with the group. DMS does not return a subnet group ARN from describe, so the provider builds arn:aws:dms:<region>:<account>:subgrp:<id> client side; Floci parses that form back to the stored group and rejects anything else, including another account's ARN, with ResourceNotFoundFault. * fix(dms): address review findings Emit IsReadOnly on ReplicationSubnetGroup, the one member of the model's seven the response was missing. It is always false: a read-only group is one DMS manages for a zero-ETL integration, which Floci does not emulate. Fault a cross-Region ARN the way a cross-account one already faulted. Storage is keyed by the caller's Region, so honouring an eu-west-1 ARN from a us-east-1 caller silently reached the caller's own group of that name rather than the one named. Reject a subnet with no Availability Zone as InvalidSubnet. Set.copyOf rejects nulls, so such a subnet raised a NullPointerException and surfaced as a 500 instead of a client error. Adds the user-realistic minimum-AZ case: two subnets sharing one AZ, which the previous tests did not cover because they passed one subnet. * fix(dms): reject wrongly-typed tag, filter and arn-list members A present member of the wrong JSON type was coerced rather than rejected. asText() on an object yields the empty string, so a tag whose Value was an object stored an empty value and reported success; a Filters or ResourceArnList member that was not a list was ignored outright, which turned a filtered describe into an unfiltered one. Every string member now answers SerializationException when it is present with another JSON type, matching what AWS returns when a json-1.1 member will not deserialize, and matching how Kinesis, Cognito and KMS already report the same class of error here. An absent member stays a parameter error: missing and mistyped are different faults. * fix(dms): paginate DescribeReplicationSubnetGroups and validate the description DescribeReplicationSubnetGroups returned every matching group in one response and ignored both MaxRecords and Marker, so an SDK or Terraform paginator diverged from a live account as soon as more than one page of groups existed. Page through the shared opaque-cursor helper, keyed on the group identifier, so a Marker stays resumable across groups created or deleted between requests. MaxRecords defaults to 100 and is rejected outside the documented 20 to 100 range rather than clamped, with the InvalidParameterValueException a live account answers. Marker is emitted only while a further page remains: an SDK paginator treats any Marker as "ask again", so one on the final page loops forever. ReplicationSubnetGroupDescription now also enforces the model's printable-character constraint, so a value carrying a control character such as 0x01 is rejected instead of persisted. * docs(dms): describe the Marker as the opaque cursor it is * fix(test): DmsTest must compile at the sdk-test-java module's Java 17 target List.getFirst() is a Java 21 SequencedCollection method. The main project compiles at 21, but compatibility-tests/sdk-test-java pins source/target 17, and DmsTest was the only file in that module using getFirst() -- so the native arm64 sdk-test-java image failed to build and every test in it was skipped. This was not caught earlier because the previous head of this PR had no CI rollup at all; the merge that made the branch mergeable is what first ran the job. Replaced with get(0), which is what the rest of the module uses. * style(test): import Objects and Collectors instead of naming them inline AGENTS.md asks for imports rather than inline fully-qualified names. DmsServiceTest had two: java.util.Objects::nonNull and java.util.stream.Collectors.toMap. Neither was imported; both now are. |
||
|
|
d227ef9195 |
feat(redshift): add ModifyClusterIamRoles, DescribeClusterVersions and DescribeOrderableClusterOptions (#3990)
ModifyClusterIamRoles adds and removes the IAM roles associated with a cluster. The change is pushed to the running auth proxy, so COPY and UNLOAD on new connections authorize against the updated role list. Cluster IamRoles now report ApplyStatus in-sync. DescribeClusterVersions and DescribeOrderableClusterOptions return static data so IaC providers can validate node types before creating a cluster. |
||
|
|
677cdbe053 |
feat(redshift): authorize COPY and UNLOAD with IAM_ROLE (#3815)
* feat(redshift): parse IAM_ROLE clause on COPY and UNLOAD * feat(s3): add signed-principal authorization wrappers for role sessions * feat(redshift): authorize COPY/UNLOAD S3 access through an IAM_ROLE session * feat(redshift): thread IamService through the Redshift auth proxy chain * test(redshift): cover IAM_ROLE resolution and signed authorization in prepareCopy * fix(redshift): complete IAM_ROLE S3 authorization * test(redshift): cover IAM_ROLE authorization end to end * docs(redshift): document IAM_ROLE COPY and UNLOAD * fix(redshift): retain IAM_ROLE session during COPY * style(test): use Mockito static imports * fix(native): initialize redshift copy simulator at runtime * fix(redshift): address IAM role review feedback * test(redshift): use valid proxy relay keys * fix(redshift): require IAM roles to be associated * test(compat): recover CodeArtifact create retries * fix(redshift): parse IAM role location names * fix(docs): exclude Redshift IAM role member label * chore: remove unrelated CodeArtifact test |
||
|
|
eb787672b8 |
feat(timestream-influxdb): add Timestream for InfluxDB backed by InfluxDB 2.x containers (#3683)
* feat(timestream-influxdb): add Timestream for InfluxDB backed by InfluxDB 2.x containers Implements all 24 AmazonTimestreamInfluxDB operations; DB instances and read replica clusters run real influxdb:2.7 containers. * Fix #2566 Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> * fix(timestream-influxdb): reject unsupported RestoreFromDbBackup parameters Point-in-time restore needs a continuous backup, and REPLACE_EXISTING accepts no configuration overrides, so both are rejected instead of silently restoring on-demand data or dropping the overrides. * Fix #2566 Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> * style(timestream-influxdb): import the classes used instead of naming them inline Replaces the inline fully-qualified LinkedHashMap, Comparator, Predicate and TimestreamInfluxDbService references with imports. * Fix #2566 Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> --------- Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> |
||
|
|
22b0627245 |
test(compat): assert recorded metric filter publishing through the SDK modules (#3809)
* feat(logs): add metric filters with per-event metric publication Implements PutMetricFilter, DescribeMetricFilters, DeleteMetricFilter and TestMetricFilter on the CloudWatch Logs JSON 1.1 handler, backed by a filter pattern engine for term, space-delimited and JSON patterns. The grammar is checked against 148 TestMetricFilter cases recorded from AWS, kept as fixtures under src/test/resources/cloudwatchlogs and recaptured with the opt-in script under tools/aws-capture/cloudwatchlogs. Validation follows the observed AWS wire behavior: the five regex-bearing filters per log group quota is shared with subscription filters through one canonical backend monitor, a filter pattern may hold at most two regular expressions, defaultValue must be a JSON number, DescribeMetricFilters requires metricName and metricNamespace together in both directions, and TestMetricFilter reports one-based event numbers with an empty public extractedValues map for JSON patterns. Ingested events publish samples into CloudWatch Metrics per event at the event timestamp: matching events contribute the extracted or literal value, non-matching events contribute defaultValue, dimensions are all-or-none, and system dimensions only attach to matching events. Failed publications are retried from a bounded queue of 10,000 samples with stable publication ids. Resettable gains beforeReset and afterReset default hooks so the metric filter publisher can pause and drain before a state reset wipes storage and resume afterwards. EmulatorInfoController.performReset is serialized and calls the hooks around the existing container teardown and storage wipe, running afterReset in a finally block so a failed wipe cannot leave a publisher paused. The GetMetricStatistics and GetMetricData Query responses now carry the CloudWatch namespace so both read paths return the same samples. * feat(cloudformation): provision AWS::Logs::MetricFilter Adds LogsMetricFilterCfnProvisioner for creates, in-place updates, name changes and deletes. Ref and PhysicalResourceId are the filter name alone, as observed on AWS; the log group is kept as private resource metadata. A replacement deletes the old filter before creating the new one, matching the DELETE then CREATE event order AWS emits, and a failed replacement recreates the previous definition on rollback. Every mutation records an APPLIED, NOT_APPLIED or UNKNOWN outcome under the service lock so a failed or ambiguous call can never authorize deleting or overwriting a filter the stack does not own. Ownership that cannot be proven is resolved conservatively before the next mutation. The engine gains three small provisioner hooks that this type needs and others may reuse: - ProvisionContext carries a progress consumer so a provisioner can emit the intermediate DELETE_IN_PROGRESS and DELETE_COMPLETE events of a delete-first replacement while provision is still running. - rollbackUpdate(resource, progress) lets a provisioner restore its own previous state during UPDATE_ROLLBACK and report the steps as events. - hasPendingRollbackCleanup and retainsFailedUpdateState let a provisioner tell the engine that an UPDATE_FAILED resource still holds its own rollback snapshot, so the engine neither restores the previous resource over it nor refuses a later DeleteStack. Both default to false; only this provisioner overrides them. The type is listed in supported-resource-types.tsv, the generated resource table and CfnProvisionerFixture, with unit, integration, storage reload and SDK coverage. * docs(logs): document metric filters and the AWS verification record Describes the metric filter operations, publication semantics and CloudFormation support in docs/services/cloudwatch.md and adds cloudwatch-metric-filters-verification.md, the record of what was observed on AWS in eu-west-1, with which tools, and where each recorded fixture came from. Registers the handler and the verification page with the docs tooling and teaches the service inventory test to count facet pages. * feat(logs): publish metric filter samples off the PutLogEvents thread PutLogEvents evaluated each filter and wrote one CloudWatch Metrics sample per filter and event on the request thread while holding the filter-store monitor, up to a million writes for a maximal request, so ingestion latency depended on the Metrics sink and every PutMetricFilter waited behind the whole batch. The request thread now only evaluates the group's filters as they are at ingestion and hands the resulting immutable samples, with their stable publication ids, to a bounded queue of 100,000 samples. The existing single worker drains it and writes one sample per monitor acquisition, so a PutMetricFilter or a reset waits for at most one write. A batch that does not fit the queue is written inline on the request thread rather than dropped. Failed writes still land in the 10,000 sample retry map with the same ids and cadence as before. Reset pauses the worker, discards queued and failed samples and bumps a generation counter so a batch taken before the reset is never written into the wiped store. Shutdown drains the queue before storage shuts down and clears the retry map only after the worker has terminated. Samples ingested while Metrics is disabled are discarded at startup. Integration and SDK tests poll for the sample, as they would against AWS. * test(compat): assert recorded metric filter publishing through the SDK modules Extends the Java compatibility module with the publishing scenarios recorded from AWS: mixed defaults and quiet traffic, extraction and ordinary dimension series, system dimensions on matches only, and a Sum alarm driven by quiet defaults. Each series is read through the SDK's CloudWatch JSON protocol and again as a signed legacy Query request, so GetMetricStatistics and GetMetricData agree on every sample, timestamp, unit and dimension set. Expected values come from module-local copies of the root fixture metric-filter-publishing-aws.json. MetricFilterFixturePackagingTest checks the Java copy loads from the classpath and the root CloudWatchLogsMetricFilterFixturePackagingTest fails when either SDK module copy drifts from the root file. The Python module gains tests/metric_filter_replay.py, an opt-in replay of the same scenarios against a Floci endpoint or, with explicit profile, region and write acknowledgement, against AWS. Its logic is covered offline by tests/test_metric_filter_replay.py with the network blocked. Both module Dockerfiles are unchanged: the Java image already runs the whole suite and the Python image already copies tests/. * test(compat): assert every recorded statistic and poll for published samples The SDK publishing assertions compared only Sum and SampleCount although the AWS fixture also records Minimum and Maximum for the default-value scenarios. Both the SDK JSON reads and the signed legacy Query reads now assert every statistic the fixture carries, on GetMetricStatistics and GetMetricData. Publication now happens shortly after PutLogEvents returns, so present series are polled and absent series are asserted only after a later positive control of the same filter is visible, which the publisher's ordering guarantees. The read window ends at second 59 so a sample stamped on the following minute is never in scope. The live replay's Region check names the commercial partition explicitly. botocore already defaults get_available_regions to partition_name="aws", so GovCloud and China Regions were rejected before; the offline test now pins it. * test(compat): keep the metric filter SDK test on the Java 17 API of the compat image List.getLast() is Java 21; the sdk-test-java image compiles with Temurin 17. |
||
|
|
66bcdaf675 |
feat(codeartifact): add CodeArtifact control-plane support (#3713)
Floci had zero CodeArtifact support: no service package, no docs, nothing. Any terraform apply touching aws_codeartifact_domain, aws_codeartifact_repository, or either permissions-policy resource failed outright. This adds the full CodeArtifact control plane: domain and repository CRUD, resource policies with optimistic-locking revisions, tags, and the fixed set of real AWS-hosted external (upstream) connections (public:npmjs, public:pypi, public:maven-central, etc.). Package publish/fetch endpoints per format (npm, PyPI, Maven, NuGet, generic) are intentionally out of scope here: this closes the terraform apply gap, not real package serving. ListTagsForResource (POST /v1/tags?resourceArn=) is CodeArtifact's one tag operation that addresses the resource with a query parameter on the bare path rather than a path segment, unlike every other V1TagsController/SharedTagsController handler. That method lives on V1TagsController itself rather than the shared AbstractTagsController base: SharedTagsController (mounted at /tags) already declares its own bare POST (tagResourceByBody, for TagResource), so a bare POST on the shared base collides with it and Quarkus refuses to start. CodeArtifact's handler is @V1Tags-qualified and only ever registered against V1TagsController, so the method belongs there. core/common stays service-free: CodeArtifactTagHandler registers itself as a bean the same way MskTagHandler does, and TagHandler gained a default for the lowercase key/value entry names CodeArtifact uses instead of AWS's usual capitalized Key/Value. Known, documented limitations (see docs/services/codeartifact.md): no cycle detection across upstream chains, no referential-integrity check when deleting a repository other repositories reference as an upstream, and no authorization check on cross-account domainOwner addressing (consistent with Floci's opt-in IAM enforcement elsewhere). Verified against the real botocore codeartifact service-2.json (protocol, exact querystring vs. body placement per operation, exact ARN format, epoch-seconds timestamps, real error shapes) and the live AWS API docs for behavioral rules not in the wire model (DeleteDomain blocked while repositories exist, the real fixed external-connection name/format list, PutDomainPermissionsPolicy's all-body field placement vs. the sibling repository operation's querystring placement). Live-verified three ways: - Unit tests including a concurrent-create race test proving the synchronized guard actually holds under contention, plus full-stack QuarkusTest/RestAssured integration tests. - A real terraform init/apply/plan/destroy cycle against a running Floci instance, independently confirming destroy actually tore the domain down via a follow-up describe-domain call. - A live AWS SDK v2 Java test exercising the real CodeartifactClient against a live instance. |
||
|
|
e2aefa654b |
feat(sagemaker): add SageMaker emulation with Docker-backed training (#1949)
Implement the SageMaker control plane over the AWS JSON 1.1 protocol
(X-Amz-Target: SageMaker.*) plus the runtime invocation path:
- Models, endpoint configs, endpoints, training jobs, and tags with
AWS-shaped validation errors (ValidationException / ResourceInUse)
- CreateTrainingJob runs the training image as a real Docker container
using the /opt/ml contract: hyperparameters, resourceconfig and
inputdataconfig under /opt/ml/input/config, S3 channel data under
/opt/ml/input/data/<channel>, and /opt/ml/model uploaded back to S3
as model.tar.gz under the configured S3OutputPath
- CreateEndpoint hosts the model image as a long-lived container with
the serve command, /ping health checks, and ModelDataUrl artifacts
extracted into /opt/ml/model
- POST /endpoints/{name}/invocations proxies to the container and maps
model 5xx responses to ModelError (HTTP 424) like SageMaker Runtime
- Training container logs stream to CloudWatch Logs under
/aws/sagemaker/TrainingJobs
- Storage wired through StorageFactory with memory/persistent modes,
config in EmulatorConfig and both application.yml files
- Unit, integration, and Docker-gated integration tests plus a boto3
compatibility test; service and docs registered in the catalog
|
||
|
|
315dfe69f0 |
fix(rds): support tagging DB snapshots (#3649)
TagResource/UntagResource/ListTagsForResource rejected a snapshot ARN
outright ("not yet implemented by Floci"), and CreateDBSnapshot
silently dropped its Tags parameter even though DbSnapshot already had
a tags field. Both are now wired up: CreateDBSnapshot stores Tags, the
generic tag-resource dispatch resolves a "snapshot" ARN type against
the snapshot store, and DescribeDBSnapshots echoes DBSnapshotArn and
TagList like the other tagged resource types already do.
Snapshots are now region-scoped the same way DB instances and clusters
already are: CreateDBSnapshot/DescribeDBSnapshots/DescribeDBSnapshot-
Attributes/ModifyDBSnapshotAttribute/RestoreDBInstanceFromDBSnapshot
all thread the request's signed region through to snapshot storage and
lookup (via the same dbResourceKey/hasRdsResourceIdentity scoping the
instance/cluster stores use), so DBSnapshotArn reflects the request's
actual region and a snapshot created in one region is not visible to
Describe/Tag calls signed for another.
Verifying this live against a real floci instance via Terraform
surfaced two more gaps blocking any use of aws_db_snapshot at all,
regardless of tagging: DescribeDBSnapshotAttributes (called on every
read of the resource) and ModifyDBSnapshotAttribute were both
completely unimplemented. Added minimal support for both (the
"restore" attribute, i.e. cross-account copy/restore authorization,
modeled as plain in-memory state, no real cross-account sharing).
DeleteDBSnapshot is also unimplemented and was not added here — a
snapshot can be created and tagged but not destroyed via Terraform.
Noted in docs/services/rds.md as a follow-up, along with the other
resource types the original gap report mentioned (Aurora cluster
snapshots, reserved instances) that aren't modeled in Floci at all, so
tagging doesn't apply to them either.
Added a Terraform compatibility scenario (aws_db_snapshot with tags,
verifying create, tag read-back, a clean second plan, and an in-place
tag update) and ran it against a live floci instance before
committing, including a re-run after the region-scoping fix.
|
||
|
|
a985773611 |
feat(bcm-pricing-calculator): emulate workload estimates (#3441)
* feat(bcm-pricing-calculator): emulate workload estimates * fix(bcm-pricing-calculator): serialize timestamps as epoch seconds * fix(bcm-pricing-calculator): align idempotency and errors |
||
|
|
128d3ef181 |
feat(datasync): add the DataSync management plane (#3377)
* feat(datasync): add the DataSync management plane Emulates the AWS DataSync management API over JSON (X-Amz-Target FmrsService.<Action>, signing name datasync): agents, the eleven CreateLocation/DescribeLocation/UpdateLocation trios plus the shared ListLocations and DeleteLocation, tasks, and resource tagging. Each DescribeLocation* projects the create request that produced the location, so the configuration that went in is the configuration that comes back, and LocationUri is derived from that request per the scheme AWS documents for the type. DescribeAgent reports ONLINE and DescribeTask reports AVAILABLE from the first read, which is what the Terraform provider's aws_datasync_task waits on. Credential members (Password, SecretKey, SasConfiguration, the Kerberos files and the nested Protocol.SMB.Password) are dropped before the configuration is stored, as AWS never reads them back either. Errors use InvalidRequestException, the only client error the DataSync model declares. The task-execution data plane (StartTaskExecution, DescribeTaskExecution, ListTaskExecutions, CancelTaskExecution, UpdateTaskExecution) transfers real bytes between real storage systems and keeps raising UnknownOperationException rather than a stub success. * fix(datasync): default VerifyMode from the task mode The DataSync model documents two VerifyMode defaults, not one: POINT_IN_TIME_CONSISTENT for a BASIC task and ONLY_FILES_TRANSFERRED for an ENHANCED one, which also cannot use POINT_IN_TIME_CONSISTENT at all. CreateTask applied the BASIC default to every task, so an ENHANCED task created without an explicit VerifyMode read back wrong. The default now follows TaskMode, and a VerifyMode the mode does not support is rejected with InvalidRequestException, the only client error this API declares. UpdateTaskRequest carries no TaskMode, so a task keeps the mode it was created with and UpdateTask applies the same rule against the stored mode. An unrecognized TaskMode is rejected rather than silently treated as BASIC. * test(datasync): add the SDK compatibility test Drives an agent, an S3 and an NFS location, both task modes and the tag round trip through the AWS SDK v2 DataSync client, which is the one piece of real-SDK verification the RestAssured tests do not cover. It asserts the VerifyMode default for a BASIC and an ENHANCED task, and that an ENHANCED task rejects POINT_IN_TIME_CONSISTENT on create and on update. --------- Co-authored-by: lex00 <artigues.dev@gmail.com> |
||
|
|
cae8f9a013 |
feat(bedrock): add guardrail lifecycle and versions (#3380)
* feat(bedrock): add guardrail lifecycle and versions
Amazon Bedrock control plane over REST JSON: CreateGuardrail through
DeleteGuardrail, CreateGuardrailVersion, ListGuardrails with pagination, and
resource tagging on /tagResource, /untagResource and /listTagsForResource.
Guardrails report READY on the first read, so the Terraform provider's status
poll for aws_bedrock_guardrail completes without a transition.
The control plane and bedrock-runtime both sign as "bedrock". The runtime
descriptor keeps that credential scope, and the new descriptor routes through
its resource class, which ServiceEnabledFilter checks first.
Policy blocks are stored under the read-shape member names, so a *Config
submitted on create or update reads back unsuffixed. ListGuardrails honours
maxResults and nextToken, and DeleteGuardrail rejects a guardrailVersion that
is not a GuardrailNumericalVersion.
* fix(bedrock): enforce guardrail length caps and resolve kmsKeyId to a key ARN
The AWS model caps description at 200 characters and both blockedInputMessaging
and blockedOutputsMessaging at 500, each with a minimum of 1. None of those were
checked, so an over-long value was stored and read back. name was already bounded
by its [0-9a-zA-Z-_]{1,50} pattern.
kmsKeyId on CreateGuardrail and UpdateGuardrail is a KmsKeyId: a key id, a key
ARN, an alias name or an alias ARN. kmsKeyArn on the read shapes is a KmsKeyArn,
which is only ever the full key ARN. The request value was echoed back verbatim,
so a bare key id or an alias produced a response that does not match the shape
GetGuardrail declares. It now resolves through KmsService.describeKey, the same
way RDS, DocDB and ElastiCache already resolve their KmsKeyId, and a key that is
missing, disabled or pending deletion is rejected with ValidationException.
* test(bedrock): drive the guardrail lifecycle from the AWS SDK v2 client
Adds the bedrock SDK module to the compatibility project, a BedrockClient
factory on TestFixtures, and a BedrockGuardrailTest covering create, read,
update, versioning, listing, tagging and delete. The test also submits kmsKeyId
as a bare key id and as an alias and asserts both read back as the same full KMS
key ARN.
* fix(bedrock): enforce the guardrail tag caps from the AWS model
The AWS model gives TagList a max of 200 items, and that shape backs the tags
member of both CreateGuardrail and TagResource. TooManyTagsException, declared
on both operations, documents a separate limit of 50 tags per resource counted
over the tags already on the resource together with the ones in the request.
parseTagList now rejects an array over 200 items with ValidationException, and
it moved to BedrockService so both entry points share it. CreateGuardrail and
TagResource raise TooManyTagsException once the total the guardrail would be
left holding passes 50, carrying resourceName as the model declares.
|
||
|
|
07d6cabd8a | feat(marketplace-discovery): emulate AWS Marketplace Discovery API (#3342) | ||
|
|
137a39add3 |
feat(appintegrations): add data and event integrations (#3379)
* feat(appintegrations): add data and event integrations
Amazon AppIntegrations over REST JSON, registered under the app-integrations
signing name: event integrations on /eventIntegrations, data integrations on
/dataIntegrations, and resource tagging through the shared /tags/{resourceArn}
dispatcher. Terraform's aws_appintegrations_event_integration and
aws_appintegrations_data_integration now round-trip against Floci instead of
failing on an unimplemented signing scope.
Event integrations are keyed by name, data integrations by generated id, and
both accept their own ARN wherever the API takes an identifier. The two PATCH
operations apply only the members present in the request body, matching how AWS
treats an optional member the caller did not send. Both tag writes answer 200,
which is what the 2020-07-29 model gives them.
* test(appintegrations): add an SDK compatibility test
Adds the appintegrations AWS SDK v2 module, a TestFixtures client factory,
and an AppIntegrationsTest that drives both integration types and the tag
round trip through the real SDK client.
|
||
|
|
2e79f5c766 |
feat(globalaccelerator): add the Global Accelerator management plane (#3378)
* feat(globalaccelerator): add the Global Accelerator management plane Emulates the AWS Global Accelerator management plane over JSON 1.1 under the GlobalAccelerator_V20180706 target prefix, signing name globalaccelerator: accelerators, listeners, endpoint groups, accelerator attributes and resource tags, 22 actions in all. Global Accelerator is a global service, so ARNs carry an empty region segment and listener and endpoint group ARNs extend the accelerator ARN. Nothing is keyed by the signing region, so a caller that signs outside us-west-2 sees the same accelerators. Accelerators report DEPLOYED and endpoints HEALTHY from the first read, so SDK and Terraform waiters complete on their first poll. Enum and range members are validated against the API model, and UpdateAcceleratorAttributes rejects an update that would leave FlowLogsEnabled true with no destination bucket. * fix(globalaccelerator): enforce the list caps and HealthCheckPath format from the API model The scalar ranges were already checked against globalaccelerator/2018-08-08, but the array-count caps were not. PortRanges, EndpointConfigurations and PortOverrides each declare max 10, and IpAddresses declares max 2 for the BYOIP case. All four were unbounded. HealthCheckPath declares max 255 and the pattern ^/[-a-zA-Z0-9@:%_\+.~#?&/=]*$, which was not checked at all. The new failures reuse InvalidArgumentException and the message shape the existing scalar validations already use, so they are indistinguishable in kind from those. * test(globalaccelerator): add the SDK compatibility test Adds the globalaccelerator SDK module, a TestFixtures client factory and a GlobalAcceleratorTest that drives accelerator, listener and endpoint group lifecycles through the AWS SDK v2 client, including the new PortRanges cap. --------- Co-authored-by: lex00 <artigues.dev@gmail.com> |
||
|
|
efcbc4d993 | feat(marketplace-metering): emulate AWS Marketplace Metering API (#3344) | ||
|
|
3c080e1ea6 | feat(marketplace-reporting): emulate AWS Marketplace Reporting API (#3343) | ||
|
|
6b17ef2b1c |
feat(redshift): emulate GetClusterCredentials and GetClusterCredentialsWithIAM (#3273)
* feat(redshift): add RedshiftCredentialBroker for short-lived Db credentials * refactor(rds-proxy): widen PasswordValidator to a three-value AuthResult The wire-level password check the PostgreSQL/MySQL proxy handlers take now returns REJECT / PASSTHROUGH / MASTER_EQUIVALENT instead of a boolean, so a caller can tell the proxy to open the backend leg as the cluster master for a client it has vouched for. RdsAuthProxy keeps its own boolean master-password callback, renamed MasterPasswordCheck to free the PasswordValidator name, and adapts it at the handler boundary (non-master stays PASSTHROUGH). * feat(redshift): auth proxy accepts live GetClusterCredentials credentials passwordValidatorFor now returns AuthResult and consults RedshiftCredentialBroker: the master pair and any live minted credential resolve to MASTER_EQUIVALENT, a known broker user with a stale password is REJECTed, everyone else PASSTHROUGH. * feat(redshift): add default-credential-duration-seconds config * feat(redshift): implement GetClusterCredentials action Mints a short-lived DbUser/DbPassword pair via RedshiftCredentialBroker and returns it as Query-protocol XML. AutoCreate prefixes IAM: on the DbUser, DbGroups are echoed, DurationSeconds is validated to 900-3600 (default from the new config key), and an unknown ClusterIdentifier propagates ClusterNotFound. The two credential actions are registered in AwsQueryController.REDSHIFT_ACTIONS and the Query dispatch now forwards the Authorization header to the handler. * feat(redshift): implement GetClusterCredentialsWithIAM action Derives the DbUser from the caller's IAM identity resolved via the Authorization header: an IAM user maps to IAM:<name>, an assumed role to IAMR:<role>, and an unresolvable caller to the IAMR:floci fallback with a WARN so local and CI flows are not blocked. Any DbUser request parameter is ignored. * feat(redshift-data): resolve non-master DbUser via GetClusterCredentials resolveViaDbUser now accepts a DbUser that has a live credential in RedshiftCredentialBroker, connecting to the container as the cluster master (the minted DbUser is nominal). An unknown non-master DbUser still fails with ValidationException. * test(redshift): end-to-end GetClusterCredentials + Data API non-master DbUser Docker-gated: mints a credential for a non-master DbUser via GetClusterCredentials then runs SELECT 1 through the Data API as that DbUser, asserting the result. * test(compat): SDK coverage for Redshift GetClusterCredentials Adds getClusterCredentials and getClusterCredentialsWithIAM assertions to the AWS SDK Redshift compatibility test. * docs(redshift): document GetClusterCredentials and GetClusterCredentialsWithIAM Regenerates the redshift.md action table (excluding the DbGroups member-name switch label), fills the two new descriptions, updates the wire-auth and redshift-data.md DbUser notes, and bumps the Service Matrix count to 23. * fix(redshift): reject a wrong master password instead of passing it through passwordValidatorFor only treated the master pair as MASTER_EQUIVALENT and let everything else fall to the broker. A request with the master username but a wrong password is unknown to the broker, so it classified as PASSTHROUGH; the wire proxy then opened the backend leg as master (isMaster is username-only) and the client authenticated with the wrong password. Now the master username is decided on its own password: match to MASTER_EQUIVALENT, mismatch to REJECT. * fix(redshift): reject proxy logins when the cluster row is gone; strip IAM user path passwordValidatorFor fell through to the broker when the cluster was absent from the account partition, classifying an unknown user as PASSTHROUGH; the wire proxy reads isMaster from its own start-time config, so that still opened the backend as master for the master username with any password. Return REJECT when there is no cluster row to validate against. RedshiftIamDbUserResolver now strips an IAM path prefix from a user ARN (user/team/alice -> alice), matching how AWS names the DbUser. * fix(redshift): keep concurrent credentials, revoke on delete, bound the config default Addresses PR review (greptile): - RedshiftCredentialBroker now holds every unexpired credential per DbUser instead of one slot, so a reissue no longer invalidates a still-live password (matches AWS, which keeps each issued credential valid to its own expiry). - Add revokeCluster(); RedshiftService calls it on deleteCluster and at the start of createCluster, so a cluster recreated with the same identifier does not inherit master-equivalent access from a stale credential. - resolveDurationSeconds now holds the YAML default to the same 900-3600 bounds as a request value, falling back to 900 with a WARN instead of minting a credential that is already expired or over-range. * fix(redshift): revoke temp credentials on createCluster rollback too The greptile review asked for revocation on 'relevant rollback paths'. Both createCluster failure branches that delete the cluster row now also call credentialBroker.revokeCluster, so a credential issued by a concurrent GetClusterCredentials while the row briefly existed cannot outlive it. * fix(redshift): correct GetClusterCredentials AutoCreate prefix AWS prefixes the returned DbUser with IAM: when AutoCreate is false and IAMA: when it is true. The handler returned IAM: when true and no prefix when false, so a client using the returned name could not authenticate and the value diverged from GetClusterCredentialsWithIAM, which already issues prefixed identities. The broker keys on the returned name, so the proxy and Data API now expect the prefixed DbUser. Tests and the redshift docs are updated to match. * test(redshift): give compat GetClusterCredentials tests distinct @Order Three methods shared @Order(2), leaving their relative order undefined. Number the two credential tests 3 and 4 and move testDeleteCluster to 5. |
||
|
|
48d2928061 | feat(marketplace-deployment): emulate AWS Marketplace Deployment API (#3341) | ||
|
|
2d51259120 |
feat(verifiedpermissions): add full service emulation (#3128)
* feat(verifiedpermissions): add full service emulation * fix(verifiedpermissions): harden OIDC and schema validation * test(verifiedpermissions): add service layer coverage * fix(verifiedpermissions): support native Cedar runtime * fix(verifiedpermissions): package Cedar native FFI * fix(verifiedpermissions): register Cedar deserializers for native * fix(verifiedpermissions): bound JWKS refreshes * fix(verifiedpermissions): avoid Cedar entity reflection * fix(verifiedpermissions): register Cedar native reflection * fix(verifiedpermissions): refresh rotated OIDC keys safely * fix(verifiedpermissions): retry failed JWKS refreshes * refactor(verifiedpermissions): isolate Cedar in sidecar * fix(verifiedpermissions): harden Cedar sidecar runtime * fix(verifiedpermissions): build cedar sidecar in compatibility CI * fix(verifiedpermissions): remove stale cedar jni config * fix(verifiedpermissions): recover cedar sidecar * fix(verifiedpermissions): bound OIDC document responses * fix(verifiedpermissions): start cedar sidecar in native sdk CI |
||
|
|
87f2c2d1a8 | feat(marketplace-entitlement): emulate AWS Marketplace Entitlement API (#3340) | ||
|
|
c99ecea0da | feat(marketplace-agreement): emulate AWS Marketplace Agreement API (#3339) | ||
|
|
50fa334dc5 | feat(marketplace-catalog): emulate AWS Marketplace Catalog API (#3338) | ||
|
|
483dfb4e1c |
feat(agentcore): expand Bedrock AgentCore control-plane coverage (#3317)
* feat(agentcore): emulate CreateBrowser * feat(agentcore): emulate GetBrowser * feat(agentcore): emulate ListBrowsers * feat(agentcore): emulate DeleteBrowser * feat(agentcore): emulate CreateBrowserProfile * feat(agentcore): emulate GetBrowserProfile * feat(agentcore): emulate ListBrowserProfiles * feat(agentcore): emulate DeleteBrowserProfile * feat(agentcore): emulate CreateCodeInterpreter * feat(agentcore): emulate GetCodeInterpreter * feat(agentcore): emulate ListCodeInterpreters * feat(agentcore): emulate DeleteCodeInterpreter * feat(agentcore): emulate CreateGatewayRule * feat(agentcore): emulate GetGatewayRule * feat(agentcore): emulate ListGatewayRules * feat(agentcore): emulate UpdateGatewayRule * feat(agentcore): emulate DeleteGatewayRule * feat(agentcore): emulate CreateApiKeyCredentialProvider * feat(agentcore): emulate GetApiKeyCredentialProvider * feat(agentcore): emulate ListApiKeyCredentialProviders * feat(agentcore): emulate UpdateApiKeyCredentialProvider * feat(agentcore): emulate DeleteApiKeyCredentialProvider * feat(agentcore): emulate CreateOauth2CredentialProvider * feat(agentcore): emulate GetOauth2CredentialProvider * feat(agentcore): emulate ListOauth2CredentialProviders * feat(agentcore): emulate UpdateOauth2CredentialProvider * feat(agentcore): emulate DeleteOauth2CredentialProvider * feat(agentcore): emulate GetResourcePolicy * feat(agentcore): emulate PutResourcePolicy * feat(agentcore): emulate DeleteResourcePolicy * docs(agentcore): update expanded coverage * fix(agentcore): align expanded control-plane contracts * fix(agentcore): address PR review findings * test(agentcore): cover persistent delete replay |
||
|
|
9d4e71f8a2 |
feat(securityhub): add organization configuration operations (#3161)
* feat(securityhub): add organization configuration operations * fix(securityhub): complete organization configuration contracts * fix(securityhub): harden organization contracts * test(securityhub): log tolerated organization state * test(securityhub): clean organization fixture state * test(securityhub): isolate organization cleanup failures * fix(securityhub): return modeled invalid access error |
||
|
|
4944764fa3 |
feat(inspector2): add organization configuration operations (#3162)
* feat(inspector2): add organization configuration operations * fix(inspector2): complete organization contracts * fix(inspector2): scope organization account state * test(inspector2): log tolerated organization state * test(inspector2): isolate organization cleanup |