You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or you can download custom items from your XSOAR instance.
63
+
To do that, you need to set the `DEMISTO_BASE_URL` and `DEMISTO_API_KEY` (and `XSIAM_AUTH_ID` for XSOAR 8) environment variables in your terminal or in the `.env` file. see [Demisto SDK](https://github.com/demisto/demisto-sdk/?tab=readme-ov-file#installation) for more information.
We have two options to deploy our content to XSOAR:
74
+
75
+
1. Via an artifact server.
76
+
2. Directly to XSOAR.
77
+
78
+
See [XSOAR CI/CD](https://xsoar.pan.dev/docs/reference/packs/content-management#deployment) Article for more information.
79
+
80
+
In this repository, we have an example of [GitHub Action file](.github/workflows/config.yml) that contains the two options.
81
+
Under the `Upload Packs to Artifacts Server` job, you can see the two options.
82
+
Delete the one you don't want to use.
83
+
84
+
### Deploying to XSOAR via artifact server
85
+
86
+
In the `Upload Packs to Artifacts Server` job, you can choose to upload the modified packs to an artifact server.
87
+
Use the following scripts to upload the modified packs to the artifact server:
88
+
89
+
#### Google Cloud Storage
90
+
91
+
Use the `bucket_upload.py` script to upload the modified packs to a Google Cloud Storage bucket.
92
+
93
+
#### AWS S3
94
+
95
+
Use the `bucket_upload_aws.py` script to upload the modified packs to an AWS S3 bucket.
96
+
97
+
### Deploying to XSOAR directly
98
+
99
+
To upload the modified packs directly to XSOAR, you need to add the following environment variables to your repository:
100
+
`DEMISTO_BASE_URL` and `DEMISTO_API_KEY` as secret.
101
+
`XSIAM_AUTH_ID` as variable.
102
+
See [Creating secrets for a repository](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository) for more information.
0 commit comments