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

removed copyright section #19848

Merged
merged 10 commits into from Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion Packs/AnsibleCiscoIOS/.pack-ignore
@@ -1,2 +1,5 @@
[file:AnsibleCiscoIOS.yml]
ignore=IN145
ignore=IN145

[file:README.md]
ignore=RM113
2 changes: 1 addition & 1 deletion Packs/AnsibleLinux/.pack-ignore
@@ -1,5 +1,5 @@
[file: README.md]
ignore=RM100
ignore=RM100,RM113

[file:AnsibleLinux.yml]
ignore=IN145
Expand Down
2 changes: 2 additions & 0 deletions Packs/AnsibleMicrosoftWindows/.pack-ignore
@@ -0,0 +1,2 @@
[file:README.md]
ignore=RM113
2 changes: 1 addition & 1 deletion Packs/CommonScripts/.pack-ignore
Expand Up @@ -65,7 +65,7 @@ ignore=SC106
ignore=SC106

[file:ReadPDFFileV2.yml]
ignore=SC106
ignore=SC106,BA119

[known_words]
UnzipFile
Expand Down
4 changes: 4 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_7_12.md
@@ -0,0 +1,4 @@

#### Scripts
##### ParseEmailFiles
- Removed copyright section.
23 changes: 0 additions & 23 deletions Packs/CommonScripts/Scripts/ParseEmailFiles/ParseEmailFiles.py
Expand Up @@ -36,29 +36,6 @@

"""
https://github.com/vikramarsid/msg_parser

Copyright (c) 2009-2018 Vikram Arsid <vikramarsid@gmail.com>

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list
of conditions and the following disclaimer in the documentation and/or other materials
provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.

"""

DATA_TYPE_MAP = {
Expand Down
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.7.11",
"currentVersion": "1.7.12",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down
5 changes: 4 additions & 1 deletion Packs/DNSDB/.pack-ignore
Expand Up @@ -9,4 +9,7 @@ ignore=PB114


[file:FarsightDNSDB_image.png]
ignore=IM111
ignore=IM111

[known_words]
Farsight
14 changes: 0 additions & 14 deletions Packs/DNSDB/Integrations/DNSDB_v2/DNSDB_v2.py
@@ -1,17 +1,3 @@
# Copyright (c) 2020 by Farsight Security, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import inspect
import locale
from typing import Iterator, Dict, List, Tuple, Union, Any, Callable, Iterable
Expand Down
122 changes: 41 additions & 81 deletions Packs/DNSDB/Integrations/DNSDB_v2/DNSDB_v2.yml
Expand Up @@ -60,17 +60,13 @@ script:
description: Limit the number of returned records
defaultValue: "50"
- name: time_first_before
description: Filter results for entries seen for first time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time before (ISO or UNIX timestamp, relative if negative)
- name: time_last_before
description: Filter results for entries seen for last time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time before (ISO or UNIX timestamp, relative if negative)
- name: time_first_after
description: Filter results for entries seen for first time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time after (ISO or UNIX timestamp, relative if negative)
- name: time_last_after
description: Filter results for entries seen for last time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time after (ISO or UNIX timestamp, relative if negative)
outputs:
- contextPath: DNSDB.Record.RRName
type: string
Expand Down Expand Up @@ -98,8 +94,7 @@ script:
dnsdb_rdata_raw command.
- contextPath: DNSDB.Record.Count
type: number
description: The number of times the resource record was observed via passive
DNS replication.
description: The number of times the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Record.TimeFirst
type: date
description: The first time that the resource record was observed.
Expand All @@ -108,8 +103,7 @@ script:
description: The most recent time that the resource record was observed.
- contextPath: DNSDB.Record.FromZoneFile
type: bool
description: False if the resource record was observed via passive DNS replication,
True if by zone file import.
description: False if the resource record was observed via passive DNS replication, True if by zone file import.
description: DNSDB flex search
- name: dnsdb-rdata
arguments:
Expand All @@ -130,17 +124,13 @@ script:
description: Limit the number of returned records
defaultValue: "50"
- name: time_first_before
description: Filter results for entries seen for first time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time before (ISO or UNIX timestamp, relative if negative)
- name: time_last_before
description: Filter results for entries seen for last time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time before (ISO or UNIX timestamp, relative if negative)
- name: time_first_after
description: Filter results for entries seen for first time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time after (ISO or UNIX timestamp, relative if negative)
- name: time_last_after
description: Filter results for entries seen for last time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time after (ISO or UNIX timestamp, relative if negative)
- name: aggr
description: Aggregate identical RRsets
auto: PREDEFINED
Expand Down Expand Up @@ -170,8 +160,7 @@ script:
3597 generic Rdata encoding will be used.
- contextPath: DNSDB.Record.Count
type: number
description: The number of times the resource record was observed via passive
DNS replication.
description: The number of times the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Record.TimeFirst
type: date
description: The first time that the resource record was observed.
Expand All @@ -180,8 +169,7 @@ script:
description: The most recent time that the resource record was observed.
- contextPath: DNSDB.Record.FromZoneFile
type: bool
description: False if the resource record was observed via passive DNS replication,
True if by zone file import.
description: False if the resource record was observed via passive DNS replication, True if by zone file import.
description: Lookup RData records
- name: dnsdb-summarize-rdata
arguments:
Expand All @@ -202,17 +190,13 @@ script:
description: Limit the number of returned records
defaultValue: "50"
- name: time_first_before
description: Filter results for entries seen for first time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time before (ISO or UNIX timestamp, relative if negative)
- name: time_last_before
description: Filter results for entries seen for last time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time before (ISO or UNIX timestamp, relative if negative)
- name: time_first_after
description: Filter results for entries seen for first time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time after (ISO or UNIX timestamp, relative if negative)
- name: time_last_after
description: Filter results for entries seen for last time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time after (ISO or UNIX timestamp, relative if negative)
- name: aggr
description: Aggregate identical RRsets
auto: PREDEFINED
Expand All @@ -224,28 +208,22 @@ script:
outputs:
- contextPath: DNSDB.Summary.Count
type: number
description: The number of times the resource record was observed via passive
DNS replication.
description: The number of times the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.NumResults
type: number
description: The number of results (resource records) that would be returned
from a Lookup.
description: The number of results (resource records) that would be returned from a Lookup.
- contextPath: DNSDB.Summary.TimeFirst
type: date
description: The first time that the resource record was observed via passive
DNS replication.
description: The first time that the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.TimeLast
type: date
description: The most recent time that the resource record was observed via
passive DNS replication.
description: The most recent time that the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.ZoneTimeFirst
type: date
description: The first time that the resource record was observed in a zone
file.
description: The first time that the resource record was observed in a zone file.
- contextPath: DNSDB.Summary.ZoneTimeLast
type: date
description: The most recent time that the resource record was observed in a
zone file.
description: The most recent time that the resource record was observed in a zone file.
description: Summarize RData records
- name: dnsdb-rrset
arguments:
Expand All @@ -260,17 +238,13 @@ script:
description: Limit the number of returned records
defaultValue: "50"
- name: time_first_before
description: Filter results for entries seen for first time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time before (ISO or UNIX timestamp, relative if negative)
- name: time_first_after
description: Filter results for entries seen for first time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time after (ISO or UNIX timestamp, relative if negative)
- name: time_last_before
description: Filter results for entries seen for last time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time before (ISO or UNIX timestamp, relative if negative)
- name: time_last_after
description: Filter results for entries seen for last time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time after (ISO or UNIX timestamp, relative if negative)
- name: aggr
description: Aggregate identical RRsets
auto: PREDEFINED
Expand Down Expand Up @@ -314,8 +288,7 @@ script:
description: The most recent time that the RRset was observed.
- contextPath: DNSDB.Record.FromZoneFile
type: bool
description: False if the RRset was observed via passive DNS replication, True
if by zone file import.
description: False if the RRset was observed via passive DNS replication, True if by zone file import.
description: Lookup RRset records
- name: dnsdb-summarize-rrset
arguments:
Expand All @@ -330,17 +303,13 @@ script:
description: Limit the number of returned records
defaultValue: "50"
- name: time_first_before
description: Filter results for entries seen for first time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time before (ISO or UNIX timestamp, relative if negative)
- name: time_first_after
description: Filter results for entries seen for first time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for first time after (ISO or UNIX timestamp, relative if negative)
- name: time_last_before
description: Filter results for entries seen for last time before (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time before (ISO or UNIX timestamp, relative if negative)
- name: time_last_after
description: Filter results for entries seen for last time after (ISO or UNIX
timestamp, relative if negative)
description: Filter results for entries seen for last time after (ISO or UNIX timestamp, relative if negative)
- name: aggr
description: Aggregate identical RRsets
auto: PREDEFINED
Expand All @@ -352,35 +321,28 @@ script:
outputs:
- contextPath: DNSDB.Summary.Count
type: number
description: The number of times the resource record was observed via passive
DNS replication.
description: The number of times the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.NumResults
type: number
description: The number of results (resource records) that would be returned
from a Lookup.
description: The number of results (resource records) that would be returned from a Lookup.
- contextPath: DNSDB.Summary.TimeFirst
type: date
description: The first time that the resource record was observed via passive
DNS replication.
description: The first time that the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.TimeLast
type: date
description: The most recent time that the resource record was observed via
passive DNS replication.
description: The most recent time that the resource record was observed via passive DNS replication.
- contextPath: DNSDB.Summary.ZoneTimeFirst
type: date
description: The first time that the resource record was observed in a zone
file.
description: The first time that the resource record was observed in a zone file.
- contextPath: DNSDB.Summary.ZoneTimeLast
type: date
description: The most recent time that the resource record was observed in a
zone file.
description: The most recent time that the resource record was observed in a zone file.
description: Lookup RRset records
- name: dnsdb-rate-limit
outputs:
- contextPath: DNSDB.Rate.Limit
type: number
description: The maximum number of API lookups that may be performed. This is
the initial quota.
description: The maximum number of API lookups that may be performed. This is the initial quota.
- contextPath: DNSDB.Rate.Unlimited
type: bool
description: True if there is no maximum number of API lookups that may be performed.
Expand Down Expand Up @@ -416,12 +378,10 @@ script:
greater than maximum allowed."
- contextPath: DNSDB.Rate.OffsetNotAllowed
type: number
description: True if the offset parameter is not allowed for this API key, and
similar 416 error will be generated.
description: True if the offset parameter is not allowed for this API key, and similar 416 error will be generated.
- contextPath: DNSDB.Rate.BurstSize
type: number
description: The maximum number of API lookups that may be performed within
this burst_window number of seconds.
description: The maximum number of API lookups that may be performed within this burst_window number of seconds.
- contextPath: DNSDB.Rate.BurstWindow
type: number
description: The number of seconds over which a burst of queries is measured.
Expand All @@ -430,6 +390,6 @@ script:
script: '-'
type: python
subtype: python3
dockerimage: demisto/python3:3.9.8.24399
dockerimage: demisto/python3:3.10.4.31492
isfetch: false
fromversion: 5.0.0
14 changes: 0 additions & 14 deletions Packs/DNSDB/Integrations/DNSDB_v2/DNSDB_v2_test.py
@@ -1,17 +1,3 @@
# Copyright (c) 2020 by Farsight Security, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import json
import textwrap
import time
Expand Down
5 changes: 5 additions & 0 deletions Packs/DNSDB/ReleaseNotes/2_1_8.md
@@ -0,0 +1,5 @@

#### Integrations
##### Farsight DNSDB v2
- Removed copyright section.
- Updated the Docker image to: *demisto/python3:3.10.4.31492*.
2 changes: 1 addition & 1 deletion Packs/DNSDB/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Farsight DNSDB",
"description": "Query Farsight DNSDB service",
"support": "partner",
"currentVersion": "2.1.7",
"currentVersion": "2.1.8",
"author": "Farsight Security, Inc.",
"url": "https://www.farsightsecurity.com",
"email": "support@farsightsecurity.com",
Expand Down