Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.
Wes edited this page Feb 23, 2016 · 23 revisions

SDKs

The SDKs (Software Development Kits) are meant to be a thin programming layer between the CIF API and your application. The SDK goal is to function using the minimum dependencies required to make a connection and provide data to/from your application and a cif-router.

If you would like to contribute to, or create a SDK in another language, see the References section below for more ideas.

Examples

Ping

$ cif -p --remote 'https://localhost' --token 1234
$ cif -p --no-verify-ssl --remote 'https://localhost' --token 1234

Search

$ cif -q example.com
$ cif -q 1.2.3.4

Submit

echo '{"observable":"example.com","tlp":"amber","confidence":"85","tags":"malware","provider":"me.com","group":"everyone"}' | /usr/local/bin/cif --no-verify-ssl --remote 'https://localhost' -s --token 1234...

Sample Config [YAML]

# ~/.cif.yml
client:
  remote: https://localhost
  token: 1234
  no_verify_ssl: true

References

These are just references, none of these projects are in any way affiliated with the CSIRT Gadgets Foundation or the CIF project.

Clone this wiki locally