Minor grammar errors

pull/466/head
Miroslav Stampar 2019-09-26 11:03:03 +02:00 committed by GitHub
parent 1e0016cafa
commit ddb3c2e4ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -59,11 +59,11 @@
"source": [
"# Using the PyMISP objects\n",
"\n",
"This page aims to give recommandations about how to efficiently use the `pymisp` library.\n",
"This page aims to give recommendations about how to efficiently use the `pymisp` library.\n",
"\n",
"It is strongly recommended (read \"don't do anything else, please\") to use the library this way and never, ever modify the python dictionary you get by loading the json blob you receive from the server.\n",
"\n",
"This library is made in a way to hide as much as the complexity as possible and we're happy to improve it is there is someting missing."
"This library is made in a way to hide as much as the complexity as possible and we're happy to improve it is there is something missing."
]
},
{
@ -121,7 +121,7 @@
"## Set the Event date\n",
"\n",
"\n",
"The date can be in many different formats. This helper makes sure it normalises it in a way that will be understood by your MISP instance."
"The date can be in many different formats. This helper makes sure it normalizes it in a way that will be understood by your MISP instance."
]
},
{
@ -145,7 +145,7 @@
"event.set_date(d)\n",
"print(event.date)\n",
"\n",
"# datetime.datetime => MISP expects a day, so the hour will be droped.\n",
"# datetime.datetime => MISP expects a day, so the hour will be dropped.\n",
"from datetime import datetime\n",
"d = datetime.now()\n",
"print(type(d))\n",
@ -159,7 +159,7 @@
"source": [
"## Add Attribute to event\n",
"\n",
"More usefull things: adding attributes to an event.\n",
"More useful things: adding attributes to an event.\n",
"\n",
"Attributes have a bunch of parameters you can pass (if you feel like it). If you don't pass them, they'll be automatically set depending on their sane defaults.\n",
"\n",
@ -263,7 +263,7 @@
"source": [
"## Soft delete attribute\n",
"\n",
"**Important note**: the default approach to *delete* on MISP is to do a soft delete (meaning the attribue is not displayed on the default view on MISP). The reason we do it this way is that it allows to push *delete* updates to instances we synchronize with.\n",
"**Important note**: the default approach to *delete* on MISP is to do a soft delete (meaning the attribute is not displayed on the default view on MISP). The reason we do it this way is that it allows to push *delete* updates to instances we synchronize with.\n",
"\n",
"The delete method will set the default parameter of the attribute to `True`."
]
@ -533,7 +533,7 @@
"source": [
"## Generic helper\n",
"\n",
"This helper is meant to be used when you alreadu have a script that does the mapping between your own code, and the MISPObject template."
"This helper is meant to be used when you already have a script that does the mapping between your own code, and the MISPObject template."
]
},
{
@ -746,7 +746,7 @@
"source": [
"## Edit, removes the timestamp when exporting\n",
"\n",
"If you tried to edit an event manually, and never got the updates on the instance, it is probably because the timestamps weren't updated/removed. Or you removed them all, and adding a single tag was makting every attributes as new.\n",
"If you tried to edit an event manually, and never got the updates on the instance, it is probably because the timestamps weren't updated/removed. Or you removed them all, and adding a single tag was making every attributes as new.\n",
"\n",
"PyMISP got you covered."
]
@ -803,7 +803,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Getting the API key (automatically generated on the trainig VM)"
"# Getting the API key (automatically generated on the training VM)"
]
},
{