-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding demo regex checker for IP redaction
- Loading branch information
1 parent
9dd0537
commit 793c86c
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
http_interactions: | ||
- request: | ||
method: get | ||
uri: http://ipinfo.io/ | ||
body: | ||
encoding: '' | ||
string: '' | ||
headers: | ||
Accept: application/json, text/xml, application/xml, */* | ||
response: | ||
status: | ||
status_code: 200 | ||
category: Success | ||
reason: OK | ||
message: 'Success: (200) OK' | ||
headers: | ||
access-control-allow-origin: '*' | ||
content-encoding: gzip | ||
content-type: application/json; charset=utf-8 | ||
date: Fri, 04 Oct 2024 01:00:32 GMT | ||
referrer-policy: strict-origin-when-cross-origin | ||
vary: Accept-Encoding | ||
x-content-type-options: nosniff | ||
x-frame-options: SAMEORIGIN | ||
x-xss-protection: 1; mode=block | ||
content-length: '247' | ||
via: 1.1 google | ||
strict-transport-security: max-age=2592000; includeSubDomains | ||
body: | ||
encoding: '' | ||
file: no | ||
string: |- | ||
{ | ||
"ip": "redacted", | ||
"hostname": "redacted", | ||
"city": "Wellington", | ||
"region": "Wellington Region", | ||
"country": "NZ", | ||
"loc": "-41.2866,174.7756", | ||
"org": "redacted", | ||
"postal": "6021", | ||
"timezone": "Pacific/Auckland", | ||
"readme": "https://ipinfo.io/missingauth" | ||
} | ||
recorded_at: 2024-10-04 01:00:32 GMT | ||
recorded_with: vcr/1.6.0, webmockr/0.9.0 |
This file contains 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