22from .models import *
33from .base_model import Page
44from .services .integrations import Integrations
5- from .services .cves import Cves
6- from .services .vendors import Vendors
7- from .services .products import Products
8- from .services .tags import Tags
9- from .services .fingerprints import Fingerprints
5+ from .services .allowlists import Allowlists
6+ from .services .blocklists import Blocklists
7+ from .services .decisions import Decisions
8+ from .services .info import Info
9+ from .services .metrics import Metrics
10+ from .services .hub import Hub
1011from .http_client import ApiKeyAuth
1112
1213class Server (Enum ):
1314 production_server = 'https://admin.api.crowdsec.net/v1'
1415
1516__all__ = [
1617 'Integrations' ,
17- 'Cves' ,
18- 'Vendors' ,
19- 'Products' ,
20- 'Tags' ,
21- 'Fingerprints' ,
18+ 'Allowlists' ,
19+ 'Blocklists' ,
20+ 'Decisions' ,
21+ 'Info' ,
22+ 'Metrics' ,
23+ 'Hub' ,
2224 'ApiKeyCredentials' ,
2325 'BasicAuthCredentials' ,
2426 'BlocklistSubscription' ,
@@ -36,50 +38,84 @@ class Server(Enum):
3638 'OutputFormat' ,
3739 'Stats' ,
3840 'ValidationError' ,
39- 'AdjustmentScore' ,
40- 'AffectedComponent' ,
41- 'AllowlistSubscription' ,
42- 'AttackDetail' ,
43- 'Behavior' ,
44- 'CVEEvent' ,
45- 'CVEResponseBase' ,
46- 'CVEsubscription' ,
47- 'CWE' ,
48- 'Classification' ,
49- 'Classifications' ,
41+ 'AllowlistCreateRequest' ,
42+ 'AllowlistCreateResponse' ,
43+ 'AllowlistGetItemsResponse' ,
44+ 'AllowlistGetItemsResponsePage' ,
45+ 'AllowlistGetResponse' ,
46+ 'AllowlistGetResponsePage' ,
47+ 'AllowlistItemUpdateRequest' ,
48+ 'AllowlistItemUpdateResponse' ,
49+ 'AllowlistItemsCreateRequest' ,
50+ 'AllowlistScope' ,
51+ 'AllowlistSubscriberEntity' ,
52+ 'AllowlistSubscriberEntityPage' ,
53+ 'AllowlistSubscribersCount' ,
54+ 'AllowlistSubscriptionRequest' ,
55+ 'AllowlistSubscriptionResponse' ,
56+ 'AllowlistUpdateRequest' ,
57+ 'AllowlistUpdateResponse' ,
58+ 'AttacksMetrics' ,
59+ 'BlocklistAddIPsRequest' ,
60+ 'BlocklistCategory' ,
61+ 'BlocklistContentStats' ,
62+ 'BlocklistCreateRequest' ,
63+ 'BlocklistDeleteIPsRequest' ,
64+ 'BlocklistIncludeFilters' ,
65+ 'BlocklistOrigin' ,
66+ 'BlocklistSearchRequest' ,
67+ 'BlocklistShareRequest' ,
68+ 'BlocklistSources' ,
69+ 'BlocklistStats' ,
70+ 'BlocklistSubscriberEntity' ,
71+ 'BlocklistSubscriberEntityPage' ,
72+ 'BlocklistSubscribersCount' ,
73+ 'BlocklistSubscriptionRequest' ,
74+ 'BlocklistSubscriptionResponse' ,
75+ 'BlocklistUpdateRequest' ,
76+ 'BlocklistUsageStats' ,
77+ 'Body_uploadBlocklistContent' ,
78+ 'ComputedMetrics' ,
79+ 'ComputedSavedMetrics' ,
80+ 'CtiAs' ,
81+ 'CtiBehavior' ,
82+ 'CtiCategory' ,
83+ 'CtiCountry' ,
84+ 'CtiIp' ,
85+ 'CtiScenario' ,
86+ 'DecisionCreateRequest' ,
87+ 'DecisionCreateResponse' ,
88+ 'DecisionResponse' ,
89+ 'DecisionTargetModel' ,
90+ 'DecisionTargetType' ,
91+ 'DecisionsGetResponsePage' ,
92+ 'DecisionsSortBy' ,
93+ 'DecisionsSortOrder' ,
5094 'EntityType' ,
51- 'ExploitationPhase' ,
52- 'FingerprintRuleResponse' ,
53- 'FingerprintRuleSummary' ,
54- 'FingerprintTimelineItem' ,
55- 'GetCVEIPsResponsePage' ,
56- 'GetCVEResponse' ,
57- 'GetCVESubscribedIntegrationsResponsePage' ,
58- 'GetCVEsFilterBy' ,
59- 'GetCVEsResponsePage' ,
60- 'GetCVEsSortBy' ,
61- 'GetCVEsSortOrder' ,
62- 'GetFingerprintIPsResponsePage' ,
63- 'GetFingerprintRulesResponsePage' ,
64- 'GetFingerprintSubscribedIntegrationsResponsePage' ,
65- 'History' ,
66- 'IPItem' ,
67- 'IntegrationResponse' ,
68- 'IntervalOptions' ,
69- 'Location' ,
70- 'LookupImpactCVEItem' ,
71- 'LookupImpactFingerprintItem' ,
72- 'LookupImpactResponsePage' ,
73- 'LookupListItem' ,
74- 'LookupListResponsePage' ,
75- 'MitreTechnique' ,
76- 'Reference' ,
77- 'ScoreBreakdown' ,
78- 'Scores' ,
79- 'SinceOptions' ,
80- 'SubscribeCVEIntegrationRequest' ,
81- 'SubscribeFingerprintIntegrationRequest' ,
82- 'TimelineItem' ,
95+ 'GetRemediationMetricsResponse' ,
96+ 'InfoResponse' ,
97+ 'MetricUnits' ,
98+ 'OriginMetrics' ,
99+ 'Permission' ,
100+ 'PricingTiers' ,
101+ 'PublicBlocklistResponse' ,
102+ 'PublicBlocklistResponsePage' ,
103+ 'RawMetrics' ,
104+ 'RemediationMetrics' ,
105+ 'RemediationMetricsData' ,
106+ 'Share' ,
107+ 'SourceInfo' ,
108+ 'SourceType' ,
109+ 'SubscriberEntityType' ,
110+ 'AppsecConfigIndex' ,
111+ 'AppsecRuleIndex' ,
112+ 'CollectionIndex' ,
113+ 'ContextIndex' ,
114+ 'Index' ,
115+ 'ParserIndex' ,
116+ 'PostoverflowIndex' ,
117+ 'ScenarioIndex' ,
118+ 'VersionDetail' ,
83119 'ApiKeyAuth' ,
84120 'Server' ,
85121 'Page'
0 commit comments