HEX
Server: Apache
System: Linux p3plzcpnl489499.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: dwauav0tm6jp (6177017)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/orphanedaccountscanner-1.1.2.dist-info/METADATA
Metadata-Version: 2.4
Name: orphanedaccountscanner
Version: 1.1.2
Author-email: Ethan Jordan <ejordan@godaddy.com>, James Stephens <jstephens2@godaddy.com>
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: requests

# orphanedaccountscanner

## Ranking System

relevance_score = f(x)

x = (q, d)

where q = query and d = document

### Ranks

0. Bad
1. Fair
2. Good
3. Excellent
4. Perfect

On the scale, the closer we get to perfect the more sure we are that the data
can be remove

## Setup on app server, for example p3plsrecpnlads2

* git clone git@github.com:gdcorp-hosting/orphanedaccountscanner.git
* cd orphanedaccountscanner
* python3.9 -m venv env
* . env/bin/activate
* pip install --upgrade pip
* pip install -r requirements.txt
* python -m build

## Run the scanner

In order to call provapi the following keys and crts are required (download from CloudUI) =>

~/.ssl/diablo.api.sreh.int.godaddy.com.crt
~/.ssl/diablo.api.sreh.int.godaddy.com.key
~/.ssl/diablo.api.sreh.int.test-godaddy.com.crt
~/.ssl/diablo.api.sreh.int.test-godaddy.com.key

Add the servers you want to run the scanner against to the hosts file using the FQDN, for example =>

orphanedaccountscanner]$ cat hosts 
[hosts]
bom1plzcpnl504230.prod.bom1.secureserver.net

### Debug mode

ansible-playbook -i hosts deploy.yaml --extra-vars "mode=debug"

### Live mode

ansible-playbook -i hosts deploy.yaml --extra-vars "mode=live"

## Logs

Once the scanner has ran logs can be found on the app deploy server under ~/orphanscanner_logs/