-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GMP 22.4 and GMP 22.5 specific request modules
Allow to version the request classes for specific GMP versions. With this change we can add new requests that are only available for specific GMP versions.
- Loading branch information
1 parent
cc64777
commit 7076707
Showing
89 changed files
with
353 additions
and
191 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# SPDX-FileCopyrightText: 2018-2024 Greenbone AG | ||
# | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
# | ||
""" | ||
GMP Request implementations for GMP version 22.4. | ||
""" | ||
|
||
from .._entity_id import EntityID | ||
from .._version import Version | ||
from ._aggregates import Aggregates, AggregateStatistic, SortOrder | ||
from ._alerts import AlertCondition, AlertEvent, AlertMethod, Alerts | ||
from ._audits import Audits | ||
from ._auth import Authentication | ||
from ._cert_bund_advisories import CertBundAdvisories | ||
from ._cpes import Cpes | ||
from ._credentials import ( | ||
CredentialFormat, | ||
Credentials, | ||
CredentialType, | ||
SnmpAuthAlgorithm, | ||
SnmpPrivacyAlgorithm, | ||
) | ||
from ._cves import Cves | ||
from ._dfn_cert_advisories import DfnCertAdvisories | ||
from ._entity_type import EntityType | ||
from ._feed import Feed, FeedType | ||
from ._filters import Filters, FilterType | ||
from ._groups import Groups | ||
from ._help import Help, HelpFormat | ||
from ._hosts import Hosts, HostsOrdering | ||
from ._notes import Notes | ||
from ._nvts import Nvts | ||
from ._operating_systems import OperatingSystems | ||
from ._overrides import Overrides | ||
from ._permissions import Permissions, PermissionSubjectType | ||
from ._policies import Policies | ||
from ._port_lists import PortLists, PortRangeType | ||
from ._report_formats import ReportFormats, ReportFormatType | ||
from ._reports import Reports | ||
from ._results import Results | ||
from ._roles import Roles | ||
from ._scan_configs import ScanConfigs | ||
from ._scanners import Scanners, ScannerType | ||
from ._schedules import Schedules | ||
from ._secinfo import InfoType, SecInfo | ||
from ._severity import Severity | ||
from ._system_reports import SystemReports | ||
from ._tags import Tags | ||
from ._targets import AliveTest, Targets | ||
from ._tasks import Tasks | ||
from ._tickets import Tickets, TicketStatus | ||
from ._tls_certificates import TLSCertificates | ||
from ._trashcan import TrashCan | ||
from ._user_settings import UserSettings | ||
from ._users import UserAuthType, Users | ||
from ._vulnerabilities import Vulnerabilities | ||
|
||
__all__ = ( | ||
"Aggregates", | ||
"AggregateStatistic", | ||
"Alerts", | ||
"AlertCondition", | ||
"AlertEvent", | ||
"AlertMethod", | ||
"AliveTest", | ||
"Audits", | ||
"Authentication", | ||
"CertBundAdvisories", | ||
"Cpes", | ||
"Credentials", | ||
"CredentialFormat", | ||
"CredentialType", | ||
"Cves", | ||
"DfnCertAdvisories", | ||
"EntityID", | ||
"EntityType", | ||
"Feed", | ||
"FeedType", | ||
"Filters", | ||
"FilterType", | ||
"Groups", | ||
"Help", | ||
"HelpFormat", | ||
"Hosts", | ||
"HostsOrdering", | ||
"InfoType", | ||
"Notes", | ||
"Nvts", | ||
"OperatingSystems", | ||
"Overrides", | ||
"Permissions", | ||
"PermissionSubjectType", | ||
"Policies", | ||
"PortLists", | ||
"PortRangeType", | ||
"ReportFormatType", | ||
"ReportFormats", | ||
"Reports", | ||
"ResourceType", | ||
"Results", | ||
"Roles", | ||
"ScanConfigs", | ||
"Scanners", | ||
"ScannerType", | ||
"Schedules", | ||
"SecInfo", | ||
"Severity", | ||
"SortOrder", | ||
"SnmpAuthAlgorithm", | ||
"SnmpPrivacyAlgorithm", | ||
"SystemReports", | ||
"Tags", | ||
"Targets", | ||
"Tasks", | ||
"Tickets", | ||
"TicketStatus", | ||
"TLSCertificates", | ||
"TrashCan", | ||
"UserAuthType", | ||
"UserSettings", | ||
"Users", | ||
"Version", | ||
"Vulnerabilities", | ||
) |
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
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.