%global _empty_manifest_terminate_build 0 Name: python-pyintelowl Version: 4.4.3 Release: 1 Summary: Robust Python SDK and CLI for IntelOwl's API License: GNU Affero General Public License v3 or later (AGPLv3+) URL: https://github.com/intelowlproject/pyintelowl Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fb/8f/6e55719ce06a3bd3848d615ba76a91bbcc87dad61e721b7f951e239c7d1e/pyintelowl-4.4.3.tar.gz BuildArch: noarch Requires: python3-requests Requires: python3-geocoder Requires: python3-click Requires: python3-rich Requires: python3-click-creds Requires: python3-typing-extensions Requires: python3-black Requires: python3-flake8 Requires: python3-isort Requires: python3-pre-commit Requires: python3-tox Requires: python3-tox-gh-actions Requires: python3-codecov Requires: python3-requests Requires: python3-geocoder Requires: python3-click Requires: python3-rich Requires: python3-click-creds Requires: python3-typing-extensions Requires: python3-black Requires: python3-flake8 Requires: python3-isort Requires: python3-pre-commit Requires: python3-tox Requires: python3-tox-gh-actions Requires: python3-codecov Requires: python3-requests Requires: python3-geocoder Requires: python3-click Requires: python3-rich Requires: python3-click-creds Requires: python3-typing-extensions %description # PyIntelOwl [![PyPI version](https://badge.fury.io/py/pyintelowl.svg)](https://badge.fury.io/py/pyintelowl) [![PyPI Supported Python Versions](https://img.shields.io/pypi/pyversions/pyintelowl.svg)](https://pypi.python.org/pypi/pyintelowl/) [![Pull request automation](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml/badge.svg)](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml) [![codecov](https://codecov.io/gh/intelowlproject/pyintelowl/branch/master/graph/badge.svg?token=JF62UMZ0U6)](https://codecov.io/gh/intelowlproject/pyintelowl) [![CodeFactor](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl/badge)](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl) Robust Python **SDK** and **Command Line Client** for interacting with [IntelOwl](https://github.com/intelowlproject/IntelOwl)'s API. ## Features - Easy one-time configuration with self documented help and hints along the way. - Request new analysis for observables and files. - Select which analyzers you want to run for every analysis you perform. - Choose whether you want to HTTP poll for the analysis to finish or not. - List all jobs or view one job in a prettified tabular form. - List all tags or view one tag in a prettified tabular form. - Tabular view of the `analyzer_config.json` and `connector_config.json` from IntelOwl with RegEx matching capabilities. ## Demo [![pyintelowl asciicast](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ.svg)](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ?t=5) ## Installation ```bash $ pip3 install pyintelowl ``` For development/testing, `pip3 install pyintelowl[dev]` ## Quickstart ### As Command Line Client On successful installation, The `pyintelowl` entryscript should be directly invokable. For example, ```bash $ pyintelowl Usage: pyintelowl [OPTIONS] COMMAND [ARGS]... Options: -d, --debug Set log level to DEBUG --version Show the version and exit. -h, --help Show this message and exit. Commands: analyse Send new analysis request analyzer-healthcheck Send healthcheck request for an analyzer... config Set or view config variables connector-healthcheck Send healthcheck request for a connector get-analyzer-config Get current state of `analyzer_config.json` from... get-connector-config Get current state of `connector_config.json` from... jobs Manage Jobs tags Manage tags ``` ### As a library / SDK ```python from pyintelowl import IntelOwl obj = IntelOwl("", "", "optional", "optional") ``` For more comprehensive documentation, please see https://pyintelowl.readthedocs.io/. ## Changelog View [CHANGELOG.md](https://github.com/intelowlproject/pyintelowl/blob/master/.github/CHANGELOG.md). ## FAQ #### Generate API key You need a valid API key to interact with the IntelOwl server. Keys should be created from the admin interface of [IntelOwl](https://github.com/intelowlproject/intelowl): you have to go in the _Durin_ section (click on `Auth tokens`) and generate a key there. #### Incompatibility after version 3.0 We did a complete rewrite of the PyIntelOwl client and CLI both for the version `3.0.0`. We very much recommend you to update to the latest version to enjoy all new features. #### (old auth method) JWT Token Authentication > this auth was available in IntelOwl versions <1.8.0 and pyintelowl versions <2.0.0 From the admin interface of IntelOwl, you have to go in the _Outstanding tokens_ section and generate a token there. You can use it by pasting it into the file [api_token.txt](api_token.txt). %package -n python3-pyintelowl Summary: Robust Python SDK and CLI for IntelOwl's API Provides: python-pyintelowl BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pyintelowl # PyIntelOwl [![PyPI version](https://badge.fury.io/py/pyintelowl.svg)](https://badge.fury.io/py/pyintelowl) [![PyPI Supported Python Versions](https://img.shields.io/pypi/pyversions/pyintelowl.svg)](https://pypi.python.org/pypi/pyintelowl/) [![Pull request automation](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml/badge.svg)](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml) [![codecov](https://codecov.io/gh/intelowlproject/pyintelowl/branch/master/graph/badge.svg?token=JF62UMZ0U6)](https://codecov.io/gh/intelowlproject/pyintelowl) [![CodeFactor](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl/badge)](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl) Robust Python **SDK** and **Command Line Client** for interacting with [IntelOwl](https://github.com/intelowlproject/IntelOwl)'s API. ## Features - Easy one-time configuration with self documented help and hints along the way. - Request new analysis for observables and files. - Select which analyzers you want to run for every analysis you perform. - Choose whether you want to HTTP poll for the analysis to finish or not. - List all jobs or view one job in a prettified tabular form. - List all tags or view one tag in a prettified tabular form. - Tabular view of the `analyzer_config.json` and `connector_config.json` from IntelOwl with RegEx matching capabilities. ## Demo [![pyintelowl asciicast](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ.svg)](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ?t=5) ## Installation ```bash $ pip3 install pyintelowl ``` For development/testing, `pip3 install pyintelowl[dev]` ## Quickstart ### As Command Line Client On successful installation, The `pyintelowl` entryscript should be directly invokable. For example, ```bash $ pyintelowl Usage: pyintelowl [OPTIONS] COMMAND [ARGS]... Options: -d, --debug Set log level to DEBUG --version Show the version and exit. -h, --help Show this message and exit. Commands: analyse Send new analysis request analyzer-healthcheck Send healthcheck request for an analyzer... config Set or view config variables connector-healthcheck Send healthcheck request for a connector get-analyzer-config Get current state of `analyzer_config.json` from... get-connector-config Get current state of `connector_config.json` from... jobs Manage Jobs tags Manage tags ``` ### As a library / SDK ```python from pyintelowl import IntelOwl obj = IntelOwl("", "", "optional", "optional") ``` For more comprehensive documentation, please see https://pyintelowl.readthedocs.io/. ## Changelog View [CHANGELOG.md](https://github.com/intelowlproject/pyintelowl/blob/master/.github/CHANGELOG.md). ## FAQ #### Generate API key You need a valid API key to interact with the IntelOwl server. Keys should be created from the admin interface of [IntelOwl](https://github.com/intelowlproject/intelowl): you have to go in the _Durin_ section (click on `Auth tokens`) and generate a key there. #### Incompatibility after version 3.0 We did a complete rewrite of the PyIntelOwl client and CLI both for the version `3.0.0`. We very much recommend you to update to the latest version to enjoy all new features. #### (old auth method) JWT Token Authentication > this auth was available in IntelOwl versions <1.8.0 and pyintelowl versions <2.0.0 From the admin interface of IntelOwl, you have to go in the _Outstanding tokens_ section and generate a token there. You can use it by pasting it into the file [api_token.txt](api_token.txt). %package help Summary: Development documents and examples for pyintelowl Provides: python3-pyintelowl-doc %description help # PyIntelOwl [![PyPI version](https://badge.fury.io/py/pyintelowl.svg)](https://badge.fury.io/py/pyintelowl) [![PyPI Supported Python Versions](https://img.shields.io/pypi/pyversions/pyintelowl.svg)](https://pypi.python.org/pypi/pyintelowl/) [![Pull request automation](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml/badge.svg)](https://github.com/intelowlproject/pyintelowl/actions/workflows/pull_request_automation.yml) [![codecov](https://codecov.io/gh/intelowlproject/pyintelowl/branch/master/graph/badge.svg?token=JF62UMZ0U6)](https://codecov.io/gh/intelowlproject/pyintelowl) [![CodeFactor](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl/badge)](https://www.codefactor.io/repository/github/intelowlproject/pyintelowl) Robust Python **SDK** and **Command Line Client** for interacting with [IntelOwl](https://github.com/intelowlproject/IntelOwl)'s API. ## Features - Easy one-time configuration with self documented help and hints along the way. - Request new analysis for observables and files. - Select which analyzers you want to run for every analysis you perform. - Choose whether you want to HTTP poll for the analysis to finish or not. - List all jobs or view one job in a prettified tabular form. - List all tags or view one tag in a prettified tabular form. - Tabular view of the `analyzer_config.json` and `connector_config.json` from IntelOwl with RegEx matching capabilities. ## Demo [![pyintelowl asciicast](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ.svg)](https://asciinema.org/a/z7L93lsIzOQ0Scve7hMl30mJJ?t=5) ## Installation ```bash $ pip3 install pyintelowl ``` For development/testing, `pip3 install pyintelowl[dev]` ## Quickstart ### As Command Line Client On successful installation, The `pyintelowl` entryscript should be directly invokable. For example, ```bash $ pyintelowl Usage: pyintelowl [OPTIONS] COMMAND [ARGS]... Options: -d, --debug Set log level to DEBUG --version Show the version and exit. -h, --help Show this message and exit. Commands: analyse Send new analysis request analyzer-healthcheck Send healthcheck request for an analyzer... config Set or view config variables connector-healthcheck Send healthcheck request for a connector get-analyzer-config Get current state of `analyzer_config.json` from... get-connector-config Get current state of `connector_config.json` from... jobs Manage Jobs tags Manage tags ``` ### As a library / SDK ```python from pyintelowl import IntelOwl obj = IntelOwl("", "", "optional", "optional") ``` For more comprehensive documentation, please see https://pyintelowl.readthedocs.io/. ## Changelog View [CHANGELOG.md](https://github.com/intelowlproject/pyintelowl/blob/master/.github/CHANGELOG.md). ## FAQ #### Generate API key You need a valid API key to interact with the IntelOwl server. Keys should be created from the admin interface of [IntelOwl](https://github.com/intelowlproject/intelowl): you have to go in the _Durin_ section (click on `Auth tokens`) and generate a key there. #### Incompatibility after version 3.0 We did a complete rewrite of the PyIntelOwl client and CLI both for the version `3.0.0`. We very much recommend you to update to the latest version to enjoy all new features. #### (old auth method) JWT Token Authentication > this auth was available in IntelOwl versions <1.8.0 and pyintelowl versions <2.0.0 From the admin interface of IntelOwl, you have to go in the _Outstanding tokens_ section and generate a token there. You can use it by pasting it into the file [api_token.txt](api_token.txt). %prep %autosetup -n pyintelowl-4.4.3 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-pyintelowl -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 15 2023 Python_Bot - 4.4.3-1 - Package Spec generated