pub fn finding_metadata(credential: &str) -> Option<HashMap<String, String>>Expand description
Build the offline metadata for an AWS-access-key finding: always
{ "account_id": "<12 digits>" } for a decodable AKIA…/ASIA… key, plus
{ "is_canary": "true", "canary_message": <note> } when the decoded account
belongs to a known canary issuer. None when credential is not a
well-formed AWS access-key ID.
The HashMap<String, String> shape lets a crate::VerifiedFinding’s
metadata absorb it directly, with no verify and no network.