From 10974e5b14893485554b60f2a443ca3866e5bac5 Mon Sep 17 00:00:00 2001 From: "vladyslav.guriev" Date: Tue, 30 Jul 2024 14:21:04 +0300 Subject: [PATCH 1/8] Fix: Python version upgrade and sensitive match for URLs --- .github/workflows/main.yml | 6 +- .gitignore | 6 + CHANGELOG.md | 17 + sekoia.io/app.manifest | 2 +- sekoia.io/default/transforms.conf | 1 + .../lib/py2/antlr4/BufferedTokenStream.py | 306 - sekoia.io/lib/py2/antlr4/CodePoints.py | 73 - .../lib/py2/antlr4/CommonTokenFactory.py | 59 - sekoia.io/lib/py2/antlr4/CommonTokenStream.py | 85 - sekoia.io/lib/py2/antlr4/FileStream.py | 32 - sekoia.io/lib/py2/antlr4/InputStream.py | 108 - sekoia.io/lib/py2/antlr4/IntervalSet.py | 296 - sekoia.io/lib/py2/antlr4/LL1Analyzer.py | 170 - sekoia.io/lib/py2/antlr4/Lexer.py | 319 - sekoia.io/lib/py2/antlr4/ListTokenSource.py | 143 - sekoia.io/lib/py2/antlr4/Parser.py | 563 -- sekoia.io/lib/py2/antlr4/ParserInterpreter.py | 163 - sekoia.io/lib/py2/antlr4/ParserRuleContext.py | 181 - sekoia.io/lib/py2/antlr4/PredictionContext.py | 622 -- sekoia.io/lib/py2/antlr4/Recognizer.py | 141 - sekoia.io/lib/py2/antlr4/RuleContext.py | 225 - sekoia.io/lib/py2/antlr4/StdinStream.py | 21 - sekoia.io/lib/py2/antlr4/Token.py | 159 - .../lib/py2/antlr4/TokenStreamRewriter.py | 252 - sekoia.io/lib/py2/antlr4/Utils.py | 39 - sekoia.io/lib/py2/antlr4/__init__.py | 21 - sekoia.io/lib/py2/antlr4/atn/ATN.py | 122 - sekoia.io/lib/py2/antlr4/atn/ATNConfig.py | 149 - sekoia.io/lib/py2/antlr4/atn/ATNConfigSet.py | 209 - .../antlr4/atn/ATNDeserializationOptions.py | 21 - .../lib/py2/antlr4/atn/ATNDeserializer.py | 524 -- sekoia.io/lib/py2/antlr4/atn/ATNSimulator.py | 45 - sekoia.io/lib/py2/antlr4/atn/ATNState.py | 255 - sekoia.io/lib/py2/antlr4/atn/ATNType.py | 12 - .../lib/py2/antlr4/atn/LexerATNSimulator.py | 557 -- sekoia.io/lib/py2/antlr4/atn/LexerAction.py | 291 - .../lib/py2/antlr4/atn/LexerActionExecutor.py | 135 - .../lib/py2/antlr4/atn/ParserATNSimulator.py | 1642 ---- .../lib/py2/antlr4/atn/PredictionMode.py | 495 - .../lib/py2/antlr4/atn/SemanticContext.py | 318 - sekoia.io/lib/py2/antlr4/atn/Transition.py | 252 - sekoia.io/lib/py2/antlr4/atn/__init__.py | 1 - sekoia.io/lib/py2/antlr4/dfa/DFA.py | 135 - sekoia.io/lib/py2/antlr4/dfa/DFASerializer.py | 74 - sekoia.io/lib/py2/antlr4/dfa/DFAState.py | 124 - sekoia.io/lib/py2/antlr4/dfa/__init__.py | 1 - .../antlr4/error/DiagnosticErrorListener.py | 106 - .../lib/py2/antlr4/error/ErrorListener.py | 72 - .../lib/py2/antlr4/error/ErrorStrategy.py | 691 -- sekoia.io/lib/py2/antlr4/error/Errors.py | 156 - sekoia.io/lib/py2/antlr4/error/__init__.py | 1 - sekoia.io/lib/py2/antlr4/tree/Chunk.py | 32 - .../lib/py2/antlr4/tree/ParseTreeMatch.py | 120 - .../lib/py2/antlr4/tree/ParseTreePattern.py | 69 - .../antlr4/tree/ParseTreePatternMatcher.py | 367 - sekoia.io/lib/py2/antlr4/tree/RuleTagToken.py | 48 - .../lib/py2/antlr4/tree/TokenTagToken.py | 47 - sekoia.io/lib/py2/antlr4/tree/Tree.py | 166 - sekoia.io/lib/py2/antlr4/tree/Trees.py | 110 - sekoia.io/lib/py2/antlr4/tree/__init__.py | 0 sekoia.io/lib/py2/antlr4/xpath/XPath.py | 342 - sekoia.io/lib/py2/antlr4/xpath/__init__.py | 1 - .../DESCRIPTION.rst | 3 - .../INSTALLER | 1 - .../METADATA | 13 - .../RECORD | 121 - .../WHEEL | 5 - .../metadata.json | 1 - .../top_level.txt | 1 - sekoia.io/lib/py2/bin/chardetect | 11 - sekoia.io/lib/py2/bin/validate-patterns | 11 - .../py2/certifi-2021.5.30.dist-info/INSTALLER | 1 - .../py2/certifi-2021.5.30.dist-info/LICENSE | 21 - .../py2/certifi-2021.5.30.dist-info/METADATA | 83 - .../py2/certifi-2021.5.30.dist-info/RECORD | 13 - .../lib/py2/certifi-2021.5.30.dist-info/WHEEL | 6 - .../certifi-2021.5.30.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/certifi/__init__.py | 3 - sekoia.io/lib/py2/certifi/__main__.py | 12 - sekoia.io/lib/py2/certifi/cacert.pem | 4257 --------- sekoia.io/lib/py2/certifi/core.py | 60 - .../lib/py2/chardet-4.0.0.dist-info/INSTALLER | 1 - .../lib/py2/chardet-4.0.0.dist-info/LICENSE | 504 - .../lib/py2/chardet-4.0.0.dist-info/METADATA | 101 - .../lib/py2/chardet-4.0.0.dist-info/RECORD | 94 - .../lib/py2/chardet-4.0.0.dist-info/WHEEL | 6 - .../chardet-4.0.0.dist-info/entry_points.txt | 3 - .../py2/chardet-4.0.0.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/chardet/__init__.py | 83 - sekoia.io/lib/py2/chardet/big5freq.py | 386 - sekoia.io/lib/py2/chardet/big5prober.py | 47 - sekoia.io/lib/py2/chardet/chardistribution.py | 233 - .../lib/py2/chardet/charsetgroupprober.py | 107 - sekoia.io/lib/py2/chardet/charsetprober.py | 145 - sekoia.io/lib/py2/chardet/cli/__init__.py | 1 - sekoia.io/lib/py2/chardet/cli/chardetect.py | 84 - .../lib/py2/chardet/codingstatemachine.py | 88 - sekoia.io/lib/py2/chardet/compat.py | 36 - sekoia.io/lib/py2/chardet/cp949prober.py | 49 - sekoia.io/lib/py2/chardet/enums.py | 76 - sekoia.io/lib/py2/chardet/escprober.py | 101 - sekoia.io/lib/py2/chardet/escsm.py | 246 - sekoia.io/lib/py2/chardet/eucjpprober.py | 92 - sekoia.io/lib/py2/chardet/euckrfreq.py | 195 - sekoia.io/lib/py2/chardet/euckrprober.py | 47 - sekoia.io/lib/py2/chardet/euctwfreq.py | 387 - sekoia.io/lib/py2/chardet/euctwprober.py | 46 - sekoia.io/lib/py2/chardet/gb2312freq.py | 283 - sekoia.io/lib/py2/chardet/gb2312prober.py | 46 - sekoia.io/lib/py2/chardet/hebrewprober.py | 292 - sekoia.io/lib/py2/chardet/jisfreq.py | 325 - sekoia.io/lib/py2/chardet/jpcntx.py | 233 - .../lib/py2/chardet/langbulgarianmodel.py | 4650 --------- sekoia.io/lib/py2/chardet/langgreekmodel.py | 4398 --------- sekoia.io/lib/py2/chardet/langhebrewmodel.py | 4383 --------- .../lib/py2/chardet/langhungarianmodel.py | 4650 --------- sekoia.io/lib/py2/chardet/langrussianmodel.py | 5718 ----------- sekoia.io/lib/py2/chardet/langthaimodel.py | 4383 --------- sekoia.io/lib/py2/chardet/langturkishmodel.py | 4383 --------- sekoia.io/lib/py2/chardet/latin1prober.py | 145 - sekoia.io/lib/py2/chardet/mbcharsetprober.py | 91 - sekoia.io/lib/py2/chardet/mbcsgroupprober.py | 54 - sekoia.io/lib/py2/chardet/mbcssm.py | 572 -- .../lib/py2/chardet/metadata/__init__.py | 0 .../lib/py2/chardet/metadata/languages.py | 310 - sekoia.io/lib/py2/chardet/sbcharsetprober.py | 145 - sekoia.io/lib/py2/chardet/sbcsgroupprober.py | 83 - sekoia.io/lib/py2/chardet/sjisprober.py | 92 - .../lib/py2/chardet/universaldetector.py | 286 - sekoia.io/lib/py2/chardet/utf8prober.py | 82 - sekoia.io/lib/py2/chardet/version.py | 9 - sekoia.io/lib/py2/enum/LICENSE | 32 - sekoia.io/lib/py2/enum/README | 3 - sekoia.io/lib/py2/enum/__init__.py | 838 -- .../lib/py2/enum34-1.1.10.dist-info/INSTALLER | 1 - .../lib/py2/enum34-1.1.10.dist-info/METADATA | 62 - .../lib/py2/enum34-1.1.10.dist-info/RECORD | 9 - .../lib/py2/enum34-1.1.10.dist-info/WHEEL | 5 - .../py2/enum34-1.1.10.dist-info/top_level.txt | 1 - .../lib/py2/idna-2.10.dist-info/INSTALLER | 1 - .../lib/py2/idna-2.10.dist-info/LICENSE.rst | 34 - .../lib/py2/idna-2.10.dist-info/METADATA | 243 - sekoia.io/lib/py2/idna-2.10.dist-info/RECORD | 22 - sekoia.io/lib/py2/idna-2.10.dist-info/WHEEL | 6 - .../lib/py2/idna-2.10.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/idna/__init__.py | 2 - sekoia.io/lib/py2/idna/codec.py | 118 - sekoia.io/lib/py2/idna/compat.py | 12 - sekoia.io/lib/py2/idna/core.py | 400 - sekoia.io/lib/py2/idna/idnadata.py | 2050 ---- sekoia.io/lib/py2/idna/intranges.py | 53 - sekoia.io/lib/py2/idna/package_data.py | 2 - sekoia.io/lib/py2/idna/uts46data.py | 8357 ----------------- .../py2/requests-2.25.1.dist-info/INSTALLER | 1 - .../lib/py2/requests-2.25.1.dist-info/LICENSE | 175 - .../py2/requests-2.25.1.dist-info/METADATA | 103 - .../lib/py2/requests-2.25.1.dist-info/RECORD | 42 - .../lib/py2/requests-2.25.1.dist-info/WHEEL | 6 - .../requests-2.25.1.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/requests/__init__.py | 137 - sekoia.io/lib/py2/requests/__version__.py | 14 - sekoia.io/lib/py2/requests/_internal_utils.py | 42 - sekoia.io/lib/py2/requests/adapters.py | 533 -- sekoia.io/lib/py2/requests/api.py | 161 - sekoia.io/lib/py2/requests/auth.py | 305 - sekoia.io/lib/py2/requests/certs.py | 18 - sekoia.io/lib/py2/requests/compat.py | 72 - sekoia.io/lib/py2/requests/cookies.py | 549 -- sekoia.io/lib/py2/requests/exceptions.py | 123 - sekoia.io/lib/py2/requests/help.py | 119 - sekoia.io/lib/py2/requests/hooks.py | 34 - sekoia.io/lib/py2/requests/models.py | 956 -- sekoia.io/lib/py2/requests/packages.py | 14 - sekoia.io/lib/py2/requests/sessions.py | 781 -- sekoia.io/lib/py2/requests/status_codes.py | 123 - sekoia.io/lib/py2/requests/structures.py | 105 - sekoia.io/lib/py2/requests/utils.py | 992 -- .../lib/py2/six-1.16.0.dist-info/INSTALLER | 1 - .../lib/py2/six-1.16.0.dist-info/LICENSE | 18 - .../lib/py2/six-1.16.0.dist-info/METADATA | 49 - sekoia.io/lib/py2/six-1.16.0.dist-info/RECORD | 8 - sekoia.io/lib/py2/six-1.16.0.dist-info/WHEEL | 6 - .../py2/six-1.16.0.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/six.py | 998 -- .../DESCRIPTION.rst | 3 - .../py2/splunk_sdk-1.6.16.dist-info/INSTALLER | 1 - .../py2/splunk_sdk-1.6.16.dist-info/METADATA | 21 - .../py2/splunk_sdk-1.6.16.dist-info/RECORD | 61 - .../lib/py2/splunk_sdk-1.6.16.dist-info/WHEEL | 5 - .../splunk_sdk-1.6.16.dist-info/metadata.json | 1 - .../splunk_sdk-1.6.16.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/splunklib/__init__.py | 20 - sekoia.io/lib/py2/splunklib/binding.py | 1415 --- sekoia.io/lib/py2/splunklib/client.py | 3737 -------- sekoia.io/lib/py2/splunklib/data.py | 266 - .../py2/splunklib/modularinput/__init__.py | 12 - .../py2/splunklib/modularinput/argument.py | 103 - .../lib/py2/splunklib/modularinput/event.py | 114 - .../splunklib/modularinput/event_writer.py | 87 - .../modularinput/input_definition.py | 60 - .../lib/py2/splunklib/modularinput/scheme.py | 85 - .../lib/py2/splunklib/modularinput/script.py | 177 - .../lib/py2/splunklib/modularinput/utils.py | 74 - .../modularinput/validation_definition.py | 86 - sekoia.io/lib/py2/splunklib/ordereddict.py | 128 - sekoia.io/lib/py2/splunklib/results.py | 295 - .../py2/splunklib/searchcommands/__init__.py | 155 - .../splunklib/searchcommands/decorators.py | 450 - .../splunklib/searchcommands/environment.py | 123 - .../searchcommands/eventing_command.py | 149 - .../searchcommands/external_search_command.py | 228 - .../searchcommands/generating_command.py | 350 - .../py2/splunklib/searchcommands/internals.py | 844 -- .../searchcommands/reporting_command.py | 281 - .../searchcommands/search_command.py | 1127 --- .../searchcommands/streaming_command.py | 195 - .../splunklib/searchcommands/validators.py | 394 - sekoia.io/lib/py2/splunklib/six.py | 980 -- .../stix2_patterns-1.3.2.dist-info/INSTALLER | 1 - .../stix2_patterns-1.3.2.dist-info/LICENSE | 27 - .../stix2_patterns-1.3.2.dist-info/METADATA | 191 - .../py2/stix2_patterns-1.3.2.dist-info/RECORD | 88 - .../py2/stix2_patterns-1.3.2.dist-info/WHEEL | 6 - .../entry_points.txt | 3 - .../top_level.txt | 1 - sekoia.io/lib/py2/stix2patterns/__init__.py | 1 - sekoia.io/lib/py2/stix2patterns/exceptions.py | 28 - .../grammars/STIXPatternLexer.py | 2 - .../grammars/STIXPatternListener.py | 2 - .../grammars/STIXPatternParser.py | 2 - .../grammars/STIXPatternVisitor.py | 2 - .../py2/stix2patterns/grammars/__init__.py | 0 sekoia.io/lib/py2/stix2patterns/helpers.py | 29 - sekoia.io/lib/py2/stix2patterns/inspector.py | 26 - sekoia.io/lib/py2/stix2patterns/pattern.py | 3 - .../lib/py2/stix2patterns/test/__init__.py | 0 .../py2/stix2patterns/test/test_helpers.py | 33 - .../py2/stix2patterns/test/v20/__init__.py | 0 .../stix2patterns/test/v20/spec_examples.txt | 24 - .../stix2patterns/test/v20/test_inspector.py | 71 - .../stix2patterns/test/v20/test_validator.py | 100 - .../py2/stix2patterns/test/v21/__init__.py | 0 .../stix2patterns/test/v21/spec_examples.txt | 23 - .../stix2patterns/test/v21/test_inspector.py | 69 - .../stix2patterns/test/v21/test_validator.py | 114 - .../lib/py2/stix2patterns/v20/__init__.py | 0 .../v20/grammars/STIXPatternLexer.py | 351 - .../v20/grammars/STIXPatternListener.py | 285 - .../v20/grammars/STIXPatternParser.py | 2236 ----- .../v20/grammars/STIXPatternVisitor.py | 162 - .../stix2patterns/v20/grammars/__init__.py | 0 .../lib/py2/stix2patterns/v20/inspector.py | 149 - .../py2/stix2patterns/v20/object_validator.py | 42 - .../lib/py2/stix2patterns/v20/pattern.py | 113 - .../lib/py2/stix2patterns/v20/validator.py | 52 - .../lib/py2/stix2patterns/v21/__init__.py | 0 .../v21/grammars/STIXPatternLexer.py | 355 - .../v21/grammars/STIXPatternListener.py | 294 - .../v21/grammars/STIXPatternParser.py | 2275 ----- .../v21/grammars/STIXPatternVisitor.py | 167 - .../stix2patterns/v21/grammars/__init__.py | 0 .../lib/py2/stix2patterns/v21/inspector.py | 149 - .../py2/stix2patterns/v21/object_validator.py | 42 - .../lib/py2/stix2patterns/v21/pattern.py | 113 - .../lib/py2/stix2patterns/v21/validator.py | 114 - sekoia.io/lib/py2/stix2patterns/validator.py | 119 - .../py2/urllib3-1.26.6.dist-info/INSTALLER | 1 - .../py2/urllib3-1.26.6.dist-info/LICENSE.txt | 21 - .../lib/py2/urllib3-1.26.6.dist-info/METADATA | 1388 --- .../lib/py2/urllib3-1.26.6.dist-info/RECORD | 84 - .../lib/py2/urllib3-1.26.6.dist-info/WHEEL | 6 - .../urllib3-1.26.6.dist-info/top_level.txt | 1 - sekoia.io/lib/py2/urllib3/__init__.py | 85 - sekoia.io/lib/py2/urllib3/_collections.py | 337 - sekoia.io/lib/py2/urllib3/_version.py | 2 - sekoia.io/lib/py2/urllib3/connection.py | 539 -- sekoia.io/lib/py2/urllib3/connectionpool.py | 1067 --- sekoia.io/lib/py2/urllib3/contrib/__init__.py | 0 .../py2/urllib3/contrib/_appengine_environ.py | 36 - .../contrib/_securetransport/__init__.py | 0 .../contrib/_securetransport/bindings.py | 519 - .../contrib/_securetransport/low_level.py | 396 - .../lib/py2/urllib3/contrib/appengine.py | 314 - sekoia.io/lib/py2/urllib3/contrib/ntlmpool.py | 130 - .../lib/py2/urllib3/contrib/pyopenssl.py | 511 - .../py2/urllib3/contrib/securetransport.py | 922 -- sekoia.io/lib/py2/urllib3/contrib/socks.py | 216 - sekoia.io/lib/py2/urllib3/exceptions.py | 323 - sekoia.io/lib/py2/urllib3/fields.py | 274 - sekoia.io/lib/py2/urllib3/filepost.py | 98 - .../lib/py2/urllib3/packages/__init__.py | 5 - .../urllib3/packages/backports/__init__.py | 0 .../urllib3/packages/backports/makefile.py | 51 - sekoia.io/lib/py2/urllib3/packages/six.py | 1077 --- .../packages/ssl_match_hostname/__init__.py | 24 - .../ssl_match_hostname/_implementation.py | 160 - sekoia.io/lib/py2/urllib3/poolmanager.py | 536 -- sekoia.io/lib/py2/urllib3/request.py | 170 - sekoia.io/lib/py2/urllib3/response.py | 821 -- sekoia.io/lib/py2/urllib3/util/__init__.py | 49 - sekoia.io/lib/py2/urllib3/util/connection.py | 150 - sekoia.io/lib/py2/urllib3/util/proxy.py | 56 - sekoia.io/lib/py2/urllib3/util/queue.py | 22 - sekoia.io/lib/py2/urllib3/util/request.py | 143 - sekoia.io/lib/py2/urllib3/util/response.py | 107 - sekoia.io/lib/py2/urllib3/util/retry.py | 602 -- sekoia.io/lib/py2/urllib3/util/ssl_.py | 495 - .../lib/py2/urllib3/util/ssltransport.py | 221 - sekoia.io/lib/py2/urllib3/util/timeout.py | 268 - sekoia.io/lib/py2/urllib3/util/url.py | 432 - sekoia.io/lib/py2/urllib3/util/wait.py | 153 - .../RECORD | 238 +- .../py3/certifi-2021.5.30.dist-info/RECORD | 26 +- .../lib/py3/chardet-4.0.0.dist-info/RECORD | 188 +- sekoia.io/lib/py3/idna-2.10.dist-info/RECORD | 44 +- .../lib/py3/requests-2.25.1.dist-info/RECORD | 84 +- sekoia.io/lib/py3/six-1.16.0.dist-info/RECORD | 16 +- .../py3/splunk_sdk-1.6.16.dist-info/RECORD | 122 +- sekoia.io/lib/py3/splunklib/ordereddict.py | 256 +- .../py3/stix2_patterns-1.3.2.dist-info/RECORD | 176 +- .../lib/py3/urllib3-1.26.6.dist-info/RECORD | 168 +- slim3.py | 21 + txt.log | 1242 +++ 323 files changed, 1950 insertions(+), 107170 deletions(-) create mode 100644 CHANGELOG.md delete mode 100644 sekoia.io/lib/py2/antlr4/BufferedTokenStream.py delete mode 100644 sekoia.io/lib/py2/antlr4/CodePoints.py delete mode 100644 sekoia.io/lib/py2/antlr4/CommonTokenFactory.py delete mode 100644 sekoia.io/lib/py2/antlr4/CommonTokenStream.py delete mode 100644 sekoia.io/lib/py2/antlr4/FileStream.py delete mode 100644 sekoia.io/lib/py2/antlr4/InputStream.py delete mode 100644 sekoia.io/lib/py2/antlr4/IntervalSet.py delete mode 100644 sekoia.io/lib/py2/antlr4/LL1Analyzer.py delete mode 100644 sekoia.io/lib/py2/antlr4/Lexer.py delete mode 100644 sekoia.io/lib/py2/antlr4/ListTokenSource.py delete mode 100644 sekoia.io/lib/py2/antlr4/Parser.py delete mode 100644 sekoia.io/lib/py2/antlr4/ParserInterpreter.py delete mode 100644 sekoia.io/lib/py2/antlr4/ParserRuleContext.py delete mode 100644 sekoia.io/lib/py2/antlr4/PredictionContext.py delete mode 100644 sekoia.io/lib/py2/antlr4/Recognizer.py delete mode 100644 sekoia.io/lib/py2/antlr4/RuleContext.py delete mode 100644 sekoia.io/lib/py2/antlr4/StdinStream.py delete mode 100644 sekoia.io/lib/py2/antlr4/Token.py delete mode 100644 sekoia.io/lib/py2/antlr4/TokenStreamRewriter.py delete mode 100644 sekoia.io/lib/py2/antlr4/Utils.py delete mode 100644 sekoia.io/lib/py2/antlr4/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATN.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNConfig.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNConfigSet.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNDeserializationOptions.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNDeserializer.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNSimulator.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNState.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ATNType.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/LexerATNSimulator.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/LexerAction.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/LexerActionExecutor.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/ParserATNSimulator.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/PredictionMode.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/SemanticContext.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/Transition.py delete mode 100644 sekoia.io/lib/py2/antlr4/atn/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4/dfa/DFA.py delete mode 100644 sekoia.io/lib/py2/antlr4/dfa/DFASerializer.py delete mode 100644 sekoia.io/lib/py2/antlr4/dfa/DFAState.py delete mode 100644 sekoia.io/lib/py2/antlr4/dfa/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4/error/DiagnosticErrorListener.py delete mode 100644 sekoia.io/lib/py2/antlr4/error/ErrorListener.py delete mode 100644 sekoia.io/lib/py2/antlr4/error/ErrorStrategy.py delete mode 100644 sekoia.io/lib/py2/antlr4/error/Errors.py delete mode 100644 sekoia.io/lib/py2/antlr4/error/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/Chunk.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/ParseTreeMatch.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/ParseTreePattern.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/ParseTreePatternMatcher.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/RuleTagToken.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/TokenTagToken.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/Tree.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/Trees.py delete mode 100644 sekoia.io/lib/py2/antlr4/tree/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4/xpath/XPath.py delete mode 100644 sekoia.io/lib/py2/antlr4/xpath/__init__.py delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/DESCRIPTION.rst delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/metadata.json delete mode 100644 sekoia.io/lib/py2/antlr4_python2_runtime-4.8.dist-info/top_level.txt delete mode 100755 sekoia.io/lib/py2/bin/chardetect delete mode 100755 sekoia.io/lib/py2/bin/validate-patterns delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/LICENSE delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/certifi-2021.5.30.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/certifi/__init__.py delete mode 100644 sekoia.io/lib/py2/certifi/__main__.py delete mode 100644 sekoia.io/lib/py2/certifi/cacert.pem delete mode 100644 sekoia.io/lib/py2/certifi/core.py delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/LICENSE delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/entry_points.txt delete mode 100644 sekoia.io/lib/py2/chardet-4.0.0.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/chardet/__init__.py delete mode 100644 sekoia.io/lib/py2/chardet/big5freq.py delete mode 100644 sekoia.io/lib/py2/chardet/big5prober.py delete mode 100644 sekoia.io/lib/py2/chardet/chardistribution.py delete mode 100644 sekoia.io/lib/py2/chardet/charsetgroupprober.py delete mode 100644 sekoia.io/lib/py2/chardet/charsetprober.py delete mode 100644 sekoia.io/lib/py2/chardet/cli/__init__.py delete mode 100644 sekoia.io/lib/py2/chardet/cli/chardetect.py delete mode 100644 sekoia.io/lib/py2/chardet/codingstatemachine.py delete mode 100644 sekoia.io/lib/py2/chardet/compat.py delete mode 100644 sekoia.io/lib/py2/chardet/cp949prober.py delete mode 100644 sekoia.io/lib/py2/chardet/enums.py delete mode 100644 sekoia.io/lib/py2/chardet/escprober.py delete mode 100644 sekoia.io/lib/py2/chardet/escsm.py delete mode 100644 sekoia.io/lib/py2/chardet/eucjpprober.py delete mode 100644 sekoia.io/lib/py2/chardet/euckrfreq.py delete mode 100644 sekoia.io/lib/py2/chardet/euckrprober.py delete mode 100644 sekoia.io/lib/py2/chardet/euctwfreq.py delete mode 100644 sekoia.io/lib/py2/chardet/euctwprober.py delete mode 100644 sekoia.io/lib/py2/chardet/gb2312freq.py delete mode 100644 sekoia.io/lib/py2/chardet/gb2312prober.py delete mode 100644 sekoia.io/lib/py2/chardet/hebrewprober.py delete mode 100644 sekoia.io/lib/py2/chardet/jisfreq.py delete mode 100644 sekoia.io/lib/py2/chardet/jpcntx.py delete mode 100644 sekoia.io/lib/py2/chardet/langbulgarianmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langgreekmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langhebrewmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langhungarianmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langrussianmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langthaimodel.py delete mode 100644 sekoia.io/lib/py2/chardet/langturkishmodel.py delete mode 100644 sekoia.io/lib/py2/chardet/latin1prober.py delete mode 100644 sekoia.io/lib/py2/chardet/mbcharsetprober.py delete mode 100644 sekoia.io/lib/py2/chardet/mbcsgroupprober.py delete mode 100644 sekoia.io/lib/py2/chardet/mbcssm.py delete mode 100644 sekoia.io/lib/py2/chardet/metadata/__init__.py delete mode 100644 sekoia.io/lib/py2/chardet/metadata/languages.py delete mode 100644 sekoia.io/lib/py2/chardet/sbcharsetprober.py delete mode 100644 sekoia.io/lib/py2/chardet/sbcsgroupprober.py delete mode 100644 sekoia.io/lib/py2/chardet/sjisprober.py delete mode 100644 sekoia.io/lib/py2/chardet/universaldetector.py delete mode 100644 sekoia.io/lib/py2/chardet/utf8prober.py delete mode 100644 sekoia.io/lib/py2/chardet/version.py delete mode 100644 sekoia.io/lib/py2/enum/LICENSE delete mode 100644 sekoia.io/lib/py2/enum/README delete mode 100644 sekoia.io/lib/py2/enum/__init__.py delete mode 100644 sekoia.io/lib/py2/enum34-1.1.10.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/enum34-1.1.10.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/enum34-1.1.10.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/enum34-1.1.10.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/enum34-1.1.10.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/LICENSE.rst delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/idna-2.10.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/idna/__init__.py delete mode 100644 sekoia.io/lib/py2/idna/codec.py delete mode 100644 sekoia.io/lib/py2/idna/compat.py delete mode 100644 sekoia.io/lib/py2/idna/core.py delete mode 100644 sekoia.io/lib/py2/idna/idnadata.py delete mode 100644 sekoia.io/lib/py2/idna/intranges.py delete mode 100644 sekoia.io/lib/py2/idna/package_data.py delete mode 100644 sekoia.io/lib/py2/idna/uts46data.py delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/LICENSE delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/requests-2.25.1.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/requests/__init__.py delete mode 100644 sekoia.io/lib/py2/requests/__version__.py delete mode 100644 sekoia.io/lib/py2/requests/_internal_utils.py delete mode 100644 sekoia.io/lib/py2/requests/adapters.py delete mode 100644 sekoia.io/lib/py2/requests/api.py delete mode 100644 sekoia.io/lib/py2/requests/auth.py delete mode 100644 sekoia.io/lib/py2/requests/certs.py delete mode 100644 sekoia.io/lib/py2/requests/compat.py delete mode 100644 sekoia.io/lib/py2/requests/cookies.py delete mode 100644 sekoia.io/lib/py2/requests/exceptions.py delete mode 100644 sekoia.io/lib/py2/requests/help.py delete mode 100644 sekoia.io/lib/py2/requests/hooks.py delete mode 100644 sekoia.io/lib/py2/requests/models.py delete mode 100644 sekoia.io/lib/py2/requests/packages.py delete mode 100644 sekoia.io/lib/py2/requests/sessions.py delete mode 100644 sekoia.io/lib/py2/requests/status_codes.py delete mode 100644 sekoia.io/lib/py2/requests/structures.py delete mode 100644 sekoia.io/lib/py2/requests/utils.py delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/LICENSE delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/six-1.16.0.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/six.py delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/DESCRIPTION.rst delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/metadata.json delete mode 100644 sekoia.io/lib/py2/splunk_sdk-1.6.16.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/splunklib/__init__.py delete mode 100644 sekoia.io/lib/py2/splunklib/binding.py delete mode 100644 sekoia.io/lib/py2/splunklib/client.py delete mode 100644 sekoia.io/lib/py2/splunklib/data.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/__init__.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/argument.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/event.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/event_writer.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/input_definition.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/scheme.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/script.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/utils.py delete mode 100644 sekoia.io/lib/py2/splunklib/modularinput/validation_definition.py delete mode 100644 sekoia.io/lib/py2/splunklib/ordereddict.py delete mode 100644 sekoia.io/lib/py2/splunklib/results.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/__init__.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/decorators.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/environment.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/eventing_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/external_search_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/generating_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/internals.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/reporting_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/search_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/streaming_command.py delete mode 100644 sekoia.io/lib/py2/splunklib/searchcommands/validators.py delete mode 100644 sekoia.io/lib/py2/splunklib/six.py delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/LICENSE delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/entry_points.txt delete mode 100644 sekoia.io/lib/py2/stix2_patterns-1.3.2.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/stix2patterns/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/exceptions.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/grammars/STIXPatternLexer.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/grammars/STIXPatternListener.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/grammars/STIXPatternParser.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/grammars/STIXPatternVisitor.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/grammars/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/helpers.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/inspector.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/pattern.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/test_helpers.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v20/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v20/spec_examples.txt delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v20/test_inspector.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v20/test_validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v21/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v21/spec_examples.txt delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v21/test_inspector.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/test/v21/test_validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/grammars/STIXPatternLexer.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/grammars/STIXPatternListener.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/grammars/STIXPatternParser.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/grammars/STIXPatternVisitor.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/grammars/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/inspector.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/object_validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/pattern.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v20/validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/grammars/STIXPatternLexer.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/grammars/STIXPatternListener.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/grammars/STIXPatternParser.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/grammars/STIXPatternVisitor.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/grammars/__init__.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/inspector.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/object_validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/pattern.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/v21/validator.py delete mode 100644 sekoia.io/lib/py2/stix2patterns/validator.py delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/INSTALLER delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/LICENSE.txt delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/METADATA delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/RECORD delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/WHEEL delete mode 100644 sekoia.io/lib/py2/urllib3-1.26.6.dist-info/top_level.txt delete mode 100644 sekoia.io/lib/py2/urllib3/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/_collections.py delete mode 100644 sekoia.io/lib/py2/urllib3/_version.py delete mode 100644 sekoia.io/lib/py2/urllib3/connection.py delete mode 100644 sekoia.io/lib/py2/urllib3/connectionpool.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/_appengine_environ.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/_securetransport/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/_securetransport/bindings.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/_securetransport/low_level.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/appengine.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/ntlmpool.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/pyopenssl.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/securetransport.py delete mode 100644 sekoia.io/lib/py2/urllib3/contrib/socks.py delete mode 100644 sekoia.io/lib/py2/urllib3/exceptions.py delete mode 100644 sekoia.io/lib/py2/urllib3/fields.py delete mode 100644 sekoia.io/lib/py2/urllib3/filepost.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/backports/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/backports/makefile.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/six.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/ssl_match_hostname/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/packages/ssl_match_hostname/_implementation.py delete mode 100644 sekoia.io/lib/py2/urllib3/poolmanager.py delete mode 100644 sekoia.io/lib/py2/urllib3/request.py delete mode 100644 sekoia.io/lib/py2/urllib3/response.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/__init__.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/connection.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/proxy.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/queue.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/request.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/response.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/retry.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/ssl_.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/ssltransport.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/timeout.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/url.py delete mode 100644 sekoia.io/lib/py2/urllib3/util/wait.py create mode 100644 slim3.py create mode 100644 txt.log diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e91d5d9..6135e11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.11 - name: Package Splunk App with CLI run: | @@ -37,8 +37,8 @@ jobs: wget https://download.splunk.com/misc/packaging-toolkit/splunk-packaging-toolkit-1.0.1.tar.gz pip install splunk-packaging-toolkit-1.0.1.tar.gz mkdir dist - slim validate sekoia.io/ - slim package sekoia.io/ -o dist + python slim3.py validate sekoia.io/ + python slim3.py package sekoia.io/ -o dist - uses: splunk/appinspect-cli-action@v1 with: diff --git a/.gitignore b/.gitignore index 48d92c0..4e339a6 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,9 @@ __pycache__/ # Splunk local configuration files sekoia.io/local/ sekoia.io/metadata/local.meta + +.venv +.venv-3.11 +.venv-3.10 +dist +.idea diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..558307a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## 2024-07-30 - 1.3.0 + +### Changed + +- Remove support of python2 +- Add `case_sensitive_match` option to the configuration +- Upgrade python build time version to 3.10 +- Custom wrapper over slim to have backward compatibility lower versions of python, as it is used by the splunk diff --git a/sekoia.io/app.manifest b/sekoia.io/app.manifest index 357bc5f..be13fcc 100644 --- a/sekoia.io/app.manifest +++ b/sekoia.io/app.manifest @@ -5,7 +5,7 @@ "id": { "group": null, "name": "sekoia.io", - "version": "1.2.2" + "version": "1.3.0" }, "author": [ { diff --git a/sekoia.io/default/transforms.conf b/sekoia.io/default/transforms.conf index 760ed1d..6cfd5cb 100644 --- a/sekoia.io/default/transforms.conf +++ b/sekoia.io/default/transforms.conf @@ -17,6 +17,7 @@ max_matches = 1 collection = sekoia_iocs_url external_type = kvstore fields_list = _key,type,valid_until,indicator_id +case_sensitive_match = false max_matches = 1 [sekoia_iocs_md5] diff --git a/sekoia.io/lib/py2/antlr4/BufferedTokenStream.py b/sekoia.io/lib/py2/antlr4/BufferedTokenStream.py deleted file mode 100644 index f541e77..0000000 --- a/sekoia.io/lib/py2/antlr4/BufferedTokenStream.py +++ /dev/null @@ -1,306 +0,0 @@ -# -# Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. -# Use of this file is governed by the BSD 3-clause license that -# can be found in the LICENSE.txt file in the project root. - -# This implementation of {@link TokenStream} loads tokens from a -# {@link TokenSource} on-demand, and places the tokens in a buffer to provide -# access to any previous token by index. -# -#

-# This token stream ignores the value of {@link Token#getChannel}. If your -# parser requires the token stream filter tokens to only those on a particular -# channel, such as {@link Token#DEFAULT_CHANNEL} or -# {@link Token#HIDDEN_CHANNEL}, use a filtering token stream such a -# {@link CommonTokenStream}.

-from io import StringIO - -from antlr4.Token import Token -from antlr4.error.Errors import IllegalStateException - -# this is just to keep meaningful parameter types to Parser -class TokenStream(object): - - pass - - -class BufferedTokenStream(TokenStream): - - def __init__(self, tokenSource): - # The {@link TokenSource} from which tokens for this stream are fetched. - self.tokenSource = tokenSource - - # A collection of all tokens fetched from the token source. The list is - # considered a complete view of the input once {@link #fetchedEOF} is set - # to {@code true}. - self.tokens = [] - - # The index into {@link #tokens} of the current token (next token to - # {@link #consume}). {@link #tokens}{@code [}{@link #p}{@code ]} should be - # {@link #LT LT(1)}. - # - #

This field is set to -1 when the stream is first constructed or when - # {@link #setTokenSource} is called, indicating that the first token has - # not yet been fetched from the token source. For additional information, - # see the documentation of {@link IntStream} for a description of - # Initializing Methods.

- self.index = -1 - - # Indicates whether the {@link Token#EOF} token has been fetched from - # {@link #tokenSource} and added to {@link #tokens}. This field improves - # performance for the following cases: - # - #