Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hma] Match Lookup API that provides more metadata #1681

Open
Dcallies opened this issue Nov 6, 2024 · 0 comments
Open

[hma] Match Lookup API that provides more metadata #1681

Dcallies opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
hma Items related to the hasher-matcher-actioner system

Comments

@Dcallies
Copy link
Contributor

Dcallies commented Nov 6, 2024

Today's Lookup APIs

https://github.com/haianhng31/ThreatExchange/blob/8d10599cda78afa49f763c08ca556db94f4ae332/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/matching.py

Ideal Usecase - Reddit Request

@aokolish representing request:

Input:

  1. Required
    1. Signal type
      1 .hash
  2. Optional
    1. Resolve 3P record json

Output:
List of match objects:

   Bank: [
       bank_content_id: {
          distance
          // Example
          3P_exchange_type:  exchange_type: NCMEC
          3P_Records: {3p_id: NCMEC_ID        
              exchange_data: {  // Specific to exchange type
                  member_entries: {
                     member_id: [tags]
              }
          } 
       }
   ]

Notes:

  • Do not return disabled hashes or banks
@Dcallies Dcallies added the hma Items related to the hasher-matcher-actioner system label Nov 6, 2024
@Dcallies Dcallies self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hma Items related to the hasher-matcher-actioner system
Projects
None yet
Development

No branches or pull requests

1 participant