New port: security/py-stix2-patterns

The STIX 2 Pattern Validator is a software tool for checking the syntax of the
Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
STIX to express conditions (prepresented with the Cyber Observable data model)
that indicate particular cyber threat activity.  The repository contains source
code, an ANTLR grammar, automated tests and associated documentation for the
tool.  The validator can be used as a command-line tool or as a Python library
which can be included in other applications.

WWW: https://github.com/oasis-open/cti-pattern-validator
This commit is contained in:
Antoine Brodin 2018-11-24 21:31:54 +00:00
parent 399d1f4202
commit 657752ed50
4 changed files with 40 additions and 1 deletions

View file

@ -1051,6 +1051,7 @@
SUBDIR += py-sslstrip
SUBDIR += py-stem
SUBDIR += py-stix
SUBDIR += py-stix2-patterns
SUBDIR += py-tlslite
SUBDIR += py-trezor
SUBDIR += py-trustedpickle
@ -1332,8 +1333,8 @@
SUBDIR += unhide
SUBDIR += unicornscan
SUBDIR += unssh
SUBDIR += vault
SUBDIR += vanguards-tor
SUBDIR += vault
SUBDIR += veracrypt
SUBDIR += vinetto
SUBDIR += vlock

View file

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= stix2-patterns
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Python library to validate STIX 2 Patterns
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}antlr4-python3-runtime>=0:devel/py-antlr4-python3-runtime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USE_GITHUB= yes
GH_ACCOUNT= oasis-open
GH_PROJECT= cti-pattern-validator
NO_ARCH= yes
USES= python:3.4+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1543094194
SHA256 (oasis-open-cti-pattern-validator-v1.1.0_GH0.tar.gz) = ef48e55737da3c2e995e1fc6cef1428de9f73878ed4abcb893f9e348f6c46c07
SIZE (oasis-open-cti-pattern-validator-v1.1.0_GH0.tar.gz) = 33742

View file

@ -0,0 +1,9 @@
The STIX 2 Pattern Validator is a software tool for checking the syntax of the
Cyber Threat Intelligence (CTI) STIX Pattern expressions, which are used within
STIX to express conditions (prepresented with the Cyber Observable data model)
that indicate particular cyber threat activity. The repository contains source
code, an ANTLR grammar, automated tests and associated documentation for the
tool. The validator can be used as a command-line tool or as a Python library
which can be included in other applications.
WWW: https://github.com/oasis-open/cti-pattern-validator