Skip to content

Commit c310a1f

Browse files
authored
Fix for issue #10207 non-existent env import (#11053)
* get or create environment * honor auto_create_context, update docs * case of not providing environment * create base class, re-use code import, reimport * put common context code in base * mistyped dict for data
1 parent 05faab6 commit c310a1f

2 files changed

Lines changed: 89 additions & 264 deletions

File tree

docs/content/en/integrations/importing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ An import can be performed by specifying the names of these entities in the API
6969
}
7070
```
7171

72-
When `auto_create_context` is `True`, the product and engagement will be created if needed. Make sure your user has sufficient [permissions](../usage/permissions) to do this.
72+
When `auto_create_context` is `True`, the product, engagement, and environment will be created if needed. Make sure your user has sufficient [permissions](../usage/permissions) to do this.
7373

7474
A classic way of importing a scan is by specifying the ID of the engagement instead:
7575

0 commit comments

Comments
 (0)