Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #53 from automationator/master
Browse files Browse the repository at this point in the history
Updates documentation
  • Loading branch information
automationator committed Mar 20, 2019
2 parents 430ca65 + d8fc0e8 commit 5860f7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/web/docs/api/indicator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ Create

Required parameters are in **bold**.

*NOTE*: While only **type**, **username**, and **value** are listed as required parameters,
*NOTE*: While only **type** and **value** are listed as required parameters,
**confidence**, **impact**, and **status** are also required. However, these three parameters
are omitted from the required list of fields because SIP will use the default values
you chose when you initially setup and configured SIP.
you chose when you initially setup and configured SIP. The final requirement not listed in the
schema is that you must either supply the **username** parameter OR your API key in the
Authorization header. This is what is used to link the indicator to the user who created it.

SIP comes with a list of reasonable values that are added to the database during
its initial setup. For example, the default confidence chosen is "LOW", impact is "LOW",
Expand Down
5 changes: 5 additions & 0 deletions services/web/docs/api/intel_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Create

Required parameters are in **bold**.

*NOTE*: While only **reference** and **source** are listed as required parameters,
there is a requirement not listed in the schema. You must either supply the **username**
parameter OR your API key in the Authorization header. This is what is used to link
the intel reference to the user who created it.

.. jsonschema:: ../../project/api/schemas/intel_reference_create.json

|
Expand Down

0 comments on commit 5860f7e

Please sign in to comment.