Skip to content

Commit 442d696

Browse files
Setup workflow
1 parent ffd0a7b commit 442d696

File tree

6 files changed

+48
-51
lines changed

6 files changed

+48
-51
lines changed

.github/workflows/codesee-arch-diagram.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: inquestlabs-workflow
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
strategy:
9+
matrix:
10+
python-version: ["3.6", "3.7", "3.8", "3.9"]
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
- name: Install dependencies
19+
run: |
20+
pip install -r requirements.txt
21+
pip install -r requirements-testing.txt
22+
- name: Test scripts
23+
run: coverage run -m pytest

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
[![Developed by InQuest](https://inquest.net/images/inquest-badge.svg)](https://inquest.net/)
2-
[![Build Status](https://app.travis-ci.com/InQuest/inquestlabs.svg?branch=master)](https://app.travis-ci.com/InQuest/inquestlabs)
3-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9da8a5cde7c34c849c73969ac3281be8)](https://www.codacy.com/gh/InQuest/inquestlabs/dashboard?utm_source=github.com&utm_medium=referral&utm_content=InQuest/inquestlabs&utm_campaign=Badge_Grade)
4-
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/9da8a5cde7c34c849c73969ac3281be8)](https://www.codacy.com/gh/InQuest/inquestlabs/dashboard?utm_source=github.com&utm_medium=referral&utm_content=InQuest/inquestlabs&utm_campaign=Badge_Coverage)
1+
![Build Status](https://github.com/InQuest/python-inquestlabs/workflows/inquestlabs-workflow/badge.svg?branch=master)
2+
![Developed by InQuest](https://inquest.net/images/inquest-badge.svg)
3+
![PyPI Version](http://img.shields.io/pypi/v/inquestlabs.svg)
54

65
# InQuest Labs API CLI
76
A Pythonic interface and command line tool for interacting with the
@@ -12,9 +11,7 @@ Searchable API documentation with multi-language snippets: <https://labs.inquest
1211
OpenAPI (Swagger) specification: <https://app.swaggerhub.com/apis-docs/InQuest.net/InQuestLabs/1.0>
1312

1413
## Installation
15-
The recommended way to install InQuest Labs API CLI is by using
16-
[pipx](https://pypa.github.io/pipx/). This installs the package and all
17-
dependencies in an isolated virtual environment that can be invoked easily.
14+
The recommended way to install InQuest Labs API CLI is by using [pipx](https://pypa.github.io/pipx/). This installs the package and all dependencies in an isolated virtual environment that can be invoked easily.
1815

1916
```bash
2017
pipx install inquestlabs
@@ -105,14 +102,11 @@ test):
105102

106103
## The Trystero Project
107104

108-
The vast majority of attacks (>90%) are email-borne. The "Trystero Project" is our code name for an experiment that we're actively conducting to measure the security efficacy of the two largest mail providers, Google and Microsoft, against real-world emerging malware. The basic idea is this... let's take real-world threats daily and loop it through the two most popular cloud email providers, Google and Microsoft. We'll monitor which samples make it to the inbox and compare the results over the time. You can read more, view graphs,
109-
explore data, and compare results at [InQuest Labs: Trystero Project](https://labs.inquest.net/trystero). If you're curious to explore the testing corpus further, see the following two command line options:
105+
The vast majority of attacks (>90%) are email-borne. The "Trystero Project" is our code name for an experiment that we're actively conducting to measure the security efficacy of the two largest mail providers, Google and Microsoft, against real-world emerging malware. The basic idea is this... let's take real-world threats daily and loop it through the two most popular cloud email providers, Google and Microsoft. We'll monitor which samples make it to the inbox and compare the results over the time. You can read more, view graphs, explore data, and compare results at [InQuest Labs: Trystero Project](https://labs.inquest.net/trystero). If you're curious to explore the testing corpus further, see the following two command line options:
110106

111107
### List Trystero Days
112108

113-
For a list of days we have ran the Trystero Project and the number of samples
114-
harvested for each day. Note that `first_record` denotes the earliest record
115-
(2020-08-09):
109+
For a list of days we have ran the Trystero Project and the number of samples harvested for each day. Note that `first_record` denotes the earliest record (2020-08-09):
116110

117111
```
118112
$ inquestlabs trystero list-days | jq .
@@ -363,10 +357,7 @@ $ inquestlabs trystero list-days | jq .
363357

364358
### List Trystero Samples
365359

366-
You can receive further details about each sample from any given daily corpus.
367-
Information included is similar to the output of `dfi list` with the addition
368-
of `bypasses` that denotes which provider was bypassed and `available_on_labs`
369-
which states the sample can be seen on labs.inquest.net:
360+
You can receive further details about each sample from any given daily corpus. Information included is similar to the output of `dfi list` with the addition of `bypasses` that denotes which provider was bypassed and `available_on_labs` which states the sample can be seen on labs.inquest.net:
370361

371362
```
372363
$ inquestlabs trystero list-samples 2021-06-29 | jq .

requirements-testing.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pytest
2+
pytest-mock
3+
coverage
4+
requests-mock

requirements.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
attrs==22.2.0
2+
certifi==2022.9.24
3+
charset-normalizer==2.1.1
4+
docopt==0.6.2
5+
idna==3.4
6+
iniconfig==1.1.1
7+
packaging==21.3
8+
pluggy==1.0.0
9+
py==1.11.0
10+
pyparsing==3.0.9
11+
requests==2.28.1
12+
six==1.16.0
13+
tomli==2.0.1
14+
urllib3==1.26.12

0 commit comments

Comments
 (0)