feat(sources): close AbuseIPDB collection in Rust - #2976
Closed
jonathanhaaswriter wants to merge 3 commits into
Closed
feat(sources): close AbuseIPDB collection in Rust#2976jonathanhaaswriter wants to merge 3 commits into
jonathanhaaswriter wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
AbuseIPDB had a complete credential-free Rust kernel (request planning, response decoding, normalization, projection) but no bridge into the closed source-execution protocol, so durable collection for this catalog-authoritative source still ran through the Go catalog runtime. Add the AbuseIPDB source execution adapter set for the reports and ip_addresses families. The bridge reads only the public filters that belong to the selected family (ip_address and max_age_in_days for reports; confidence_minimum and ip_version for ip_addresses), plans origin-restricted requests under the api.abuseipdb.com/api/v2 root, and decodes bounded pages through the kernel. Register the adapters in the shared dispatcher, add the abuseipdb.key credential operation so the trusted host applies the provider's Key header, forward the four declared public filters and the api_key credential alias from Go, bind both families in the Rust-authoritative and preview selectors, record the ledger kernel rule with refreshed digests, and retire the static Go loader. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
|
Superseded by merged PR #2982. A three-way merge with current main produces the exact current main tree, so this PR has no remaining unique change to integrate. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AbuseIPDB is catalog-authoritative with a complete credential-free Rust kernel (request planning, decoding, normalization, projection), but it had no bridge into the closed source-execution protocol, so durable collection still ran through the Go catalog runtime.
crates/source-runtime-next/src/abuseipdb/source_execution.rs: adapters for thereportsandip_addressesfamilies, modeled on the Abnormal Security bridge. The bridge reads only the public filters that belong to the selected family (ip_address,max_age_in_daysfor reports;confidence_minimum,ip_versionfor ip_addresses), because the host forwards every declared selector.abuseipdb.keycredential operation: the trusted host applies the provider'sKeyheader (credentialHeaderinhost.go) and the Rust contract allowlists the operation.RustAuthoritativeFamily(defaultreports) andPreviewRustFamily; forward the four declared public filters inPublicExecutionConfigForSource; select theapi_keycredential alias inCredentialBinding; retire the static Go loader.rust_fail_closedkernel rules for durable pull and preview with refreshed selector digests.allow(dead_code)/allow(unused_imports)attributes on the seven now-registered modules.Validation
cargo fmt --all;cargo test -p cerebro-source-runtime-next --locked(abuseipdb and source_execution suites);cargo clippy -p cerebro-source-runtime-next --all-targets --all-features --locked -- -D warningsgo test ./internal/sourceruntime/sourceworker/... ./internal/sourceregistry/... ./tools/rustcarve/... -count=1;go vet ./internal/sourceruntime/sourceworker/...go run ./tools/sourceoperationauthoritycheck(clean)Keyheader application and AbuseIPDB public config filtering, plus selector and credential-alias table rows.