forked from demisto/content
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
XSUP-27936 problem with regex (demisto#29613)
* failed test * fix * rn * rn * unit test * ut * validations * fixed test and docker * fix * validation
- Loading branch information
Showing
8 changed files
with
237 additions
and
64 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
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
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
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
108 changes: 108 additions & 0 deletions
108
Packs/Whois/Integrations/Whois/test_data/whois_response.txt
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,108 @@ | ||
%% | ||
%% This is the AFNIC Whois server. | ||
%% | ||
%% complete date format: YYYY-MM-DDThh:mm:ssZ | ||
%% | ||
%% Rights restricted by copyright. | ||
%% See https://www.afnic.fr/en/domain-names-and-support/everything-there-is-to-know-about-domain-names/find-a-domain-name-or-a-holder-using-whois/ | ||
%% | ||
%% | ||
|
||
domain: google.fr | ||
status: ACTIVE | ||
eppstatus: serverUpdateProhibited | ||
eppstatus: serverTransferProhibited | ||
eppstatus: serverDeleteProhibited | ||
eppstatus: serverRecoverProhibited | ||
hold: NO | ||
holder-c: GIHU100-FRNIC | ||
admin-c: GIHU101-FRNIC | ||
tech-c: MI3669-FRNIC | ||
registrar: MARKMONITOR Inc. | ||
Expiry Date: 2023-12-30T17:16:48Z | ||
created: 2000-07-26T22:00:00Z | ||
last-update: 2022-12-03T09:40:42.40624Z | ||
source: FRNIC | ||
|
||
nserver: ns1.google.com | ||
nserver: ns2.google.com | ||
nserver: ns3.google.com | ||
nserver: ns4.google.com | ||
source: FRNIC | ||
|
||
registrar: MARKMONITOR Inc. | ||
address: 2150 S. Bonito Way, Suite 150 | ||
address: ID 83642 MERIDIAN | ||
country: US | ||
phone: +1.2083895740 | ||
fax-no: +1.2083895771 | ||
e-mail: email@markmonitor.com | ||
website: http://www.markmonitor.com | ||
anonymous: No | ||
registered: 2002-01-07T00:00:00Z | ||
source: FRNIC | ||
|
||
nic-hdl: GIHU100-FRNIC | ||
type: ORGANIZATION | ||
contact: Google Ireland Holdings Unlimited Company | ||
address: Google Ireland Holdings Unlimited Company | ||
address: 70 Sir John Rogerson's Quay | ||
address: 2 Dublin | ||
country: IE | ||
phone: +353.14361000 | ||
e-mail: email@google.com | ||
registrar: MARKMONITOR Inc. | ||
changed: 2022-10-15T05:41:14.918179Z | ||
anonymous: NO | ||
obsoleted: NO | ||
eppstatus: serverUpdateProhibited | ||
eppstatus: associated | ||
eligstatus: not identified | ||
reachstatus: not identified | ||
source: FRNIC | ||
|
||
nic-hdl: MI3669-FRNIC | ||
type: ORGANIZATION | ||
contact: MarkMonitor Inc. | ||
address: 2150 S. Bonito Way, Suite 150 | ||
address: 83642 Meridian | ||
country: US | ||
phone: +1.2083895740 | ||
fax-no: +1.2083895771 | ||
e-mail: email@markmonitor.com | ||
registrar: MARKMONITOR Inc. | ||
changed: 2023-09-07T07:32:23.899353Z | ||
anonymous: NO | ||
obsoleted: NO | ||
eppstatus: associated | ||
eppstatus: active | ||
eligstatus: ok | ||
eligsource: REGISTRAR | ||
eligdate: 2021-10-05T00:00:00Z | ||
reachstatus: ok | ||
reachmedia: email | ||
reachsource: REGISTRAR | ||
reachdate: 2021-10-05T00:00:00Z | ||
source: FRNIC | ||
|
||
nic-hdl: GIHU101-FRNIC | ||
type: ORGANIZATION | ||
contact: Google Ireland Holdings Unlimited Company | ||
address: 70 Sir John Rogerson's Quay | ||
address: 2 Dublin | ||
country: IE | ||
phone: +353.14361000 | ||
e-mail: email@google.com | ||
registrar: MARKMONITOR Inc. | ||
anonymous: NO | ||
obsoleted: NO | ||
eppstatus: associated | ||
eppstatus: active | ||
eligstatus: not identified | ||
reachstatus: ok | ||
reachmedia: email | ||
reachsource: REGISTRAR | ||
reachdate: 2018-03-02T00:00:00Z | ||
source: FRNIC | ||
|
||
>>> WHOIS request date: 2023-09-13T09:36:56.921026Z <<< |
78 changes: 78 additions & 0 deletions
78
Packs/Whois/Integrations/Whois/test_data/whois_response_text.txt
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,78 @@ | ||
%% | ||
%% This is the AFNIC Whois server. | ||
%% | ||
%% complete date format: YYYY-MM-DDThh:mm:ssZ | ||
%% | ||
%% Rights restricted by copyright. | ||
%% See test | ||
%% | ||
%% | ||
|
||
domain: test.fr | ||
status: TEST | ||
eppstatus: TEST | ||
hold: TEST | ||
holder-c: TEST | ||
admin-c: TEST | ||
tech-c: TEST | ||
registrar: TEST | ||
Expiry Date: 2026-06-09T14:25:21.617352Z | ||
created: 2026-06-09T14:25:21.638904Z | ||
last-update: 2027-06-16T13:38:17.476151Z | ||
source: TEST | ||
|
||
nserver: test.com | ||
nserver: test.com | ||
source: TEST | ||
|
||
registrar: TEST | ||
address: TEST 1 | ||
address: TEST | ||
country: TEST | ||
phone: +12.1234 | ||
fax-no: +12.1234 | ||
e-mail: test@test.net | ||
website: http://www.test.net/tld/fr | ||
anonymous: TEST | ||
registered: 2006-07-24T00:00:00Z | ||
source: TEST | ||
|
||
nic-hdl: TEST | ||
type: TEST | ||
contact: TEST | ||
address: TEST | ||
address: 9 TEST | ||
address: 1234 TEST | ||
country: TEST | ||
phone: +12.1234 | ||
e-mail: test@test.fr | ||
registrar: TEST | ||
anonymous: TEST | ||
obsoleted: TEST | ||
eppstatus: TEST | ||
eppstatus: TEST | ||
eligstatus: TEST | ||
reachstatus: TEST | ||
source: TEST | ||
|
||
nic-hdl: TEST | ||
type: TEST | ||
contact: TEST | ||
address: TEST | ||
address: TEST 1 | ||
address: TEST | ||
country: TEST | ||
phone: +12.1234 | ||
e-mail: test@test.net | ||
registrar: TEST | ||
changed: 2023-09-09T22:59:54.000448Z | ||
anonymous: TEST | ||
obsoleted: TEST | ||
eppstatus: TEST | ||
eppstatus: TEST | ||
eligstatus: TEST | ||
reachstatus: TEST | ||
source: TEST | ||
|
||
>>> WHOIS request date: 2023-09-11T11:59:51.886322Z <<< | ||
|
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,8 @@ | ||
|
||
#### Integrations | ||
|
||
##### Whois | ||
- Updated the Docker image to: *demisto/ippysocks-py3:1.0.0.74506*. | ||
|
||
- Fixed an issue where extraction on some domains caused timeout issue. | ||
|
Oops, something went wrong.