Skip to content

Commit cdb0fd2

Browse files
committed
chg: adapt examples
1 parent 71c211f commit cdb0fd2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tutorial/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ To start, click the **New notebook** (+) button in the *Personal* section, give
352352
**Find recent IOCs by tag:**
353353

354354
```python
355-
events = mwlab.search_events(tags=["tlp:white"], size=20)
355+
events = mwlab.search_events(tags=["tlp:clear"], size=20)
356356
mwlab.dataframe(events)
357357
```
358358

@@ -361,10 +361,10 @@ mwlab.dataframe(events)
361361
**Pivot from an attribute to its event:**
362362

363363
```python
364-
hits = mwlab.search_attributes(value="example.com", type="domain")
364+
hits = mwlab.search_attributes(value="*.com", type="domain", size=20)
365365
for attr in hits:
366366
event = mwlab.get_event(attr["event_uuid"])
367-
print(attr["uuid"], "", event["info"])
367+
print(attr["value"], "", attr["uuid"], "", event["info"])
368368
```
369369

370370
**Enrich / geolocate an indicator** (audited under your identity):

0 commit comments

Comments
 (0)