Skip to content

threatgrid/ctim

Repository files navigation

CTIM

Clojars Project

CTIM includes common data models used by Cisco Threat Intel services like the CTIA. It is written in Clojure and includes schemas and sample generators.

This is a cljc project, it is intended to work both from clojure/clojurescript projects.

You can run clojurescript tests with:

lein doo phantom test once
lein doo node node once

(Requires phantom and node)

To generate the documentation

lein doc

Docs

Releases

# snapshot release
lein deploy

# for releases, set project.clj version to x.y.z-SNAPSHOT
# this command then releases as x.y.z and bumps to x.y.(z+1)-SNAPSHOT
# aliased as ./script/release.sh
lein release :patch

# if release fails partway through, use these commands to recover
git tag --delete x.y.z
# you might have a redundant commit "Version x.y.z", undo with:
git reset --hard SHA_BEFORE_FAILED_RELEASE

License

Copyright © 2016-2024 Cisco Systems

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.