chg: [blog] add how to pick the template name

pull/28/head
Alexandre Dulaunoy 2020-09-30 10:25:59 +02:00
parent fa47bc6307
commit c5b8131b8f
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 4 additions and 1 deletions

View File

@ -123,12 +123,15 @@ The PyMISP connection is instantiated with following parameters coming from the
### Object creation ### Object creation
We create a MISP object, the name is object template name: We create a MISP object, the name is the object template name:
~~~~python ~~~~python
misp_object = MISPObject(name="github-user") misp_object = MISPObject(name="github-user")
~~~~ ~~~~
**tips:** you can find the object template name is the [MISP object template repository](https://github.com/MISP/misp-objects).
**contributing:** if an object template is missing, you can propose your own.
### User data ### User data
User data from the GitHub API are transformed into a JSON in order to be parsed by the following commands: User data from the GitHub API are transformed into a JSON in order to be parsed by the following commands: