mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-12 10:12:53 +01:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6e2cf8404 | ||
|
|
f327de134e | ||
|
|
4ed1d4c19a | ||
|
|
529d97d823 | ||
|
|
cd6ed0feed |
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -2,6 +2,7 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push: { branches: [ main ] }
|
push: { branches: [ main ] }
|
||||||
pull_request:
|
pull_request:
|
||||||
|
release: { types: [ published ] }
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
@@ -63,8 +64,8 @@ jobs:
|
|||||||
- name: Version
|
- name: Version
|
||||||
if: ${{ github.ref != '' }}
|
if: ${{ github.ref != '' }}
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.ref }}
|
echo ${{ github.ref_name }}
|
||||||
echo ${{ github.ref }} > VERSION
|
echo ${{ github.ref_name }} > VERSION
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v3
|
||||||
@@ -76,18 +77,3 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
# deploy:
|
|
||||||
# name: Deploy
|
|
||||||
# runs-on: self-hosted
|
|
||||||
# needs: [ build ]
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2
|
|
||||||
# - uses: docker/login-action@v1
|
|
||||||
# with:
|
|
||||||
# registry: ${{ env.REGISTRY }}
|
|
||||||
# username: ${{ github.actor }}
|
|
||||||
# password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# - run: docker-compose -f docker-compose.yml -f docker-compose.demo.yml pull
|
|
||||||
# - run: docker-compose -f docker-compose.yml -f docker-compose.demo.yml up -d --remove-orphans --force-recreate
|
|
||||||
# - run: docker-compose -f docker-compose.yml -f docker-compose.demo.yml restart
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
type CLI struct {
|
type CLI struct {
|
||||||
Secret string `env:"SECRET" required:"" help:"A random secret value (can be created with 'openssl rand -hex 32')"`
|
Secret string `env:"SECRET" required:"" help:"A random secret value (can be created with 'openssl rand -hex 32')"`
|
||||||
ExternalAddress string `env:"EXTERNAL_ADDRESS" required:""`
|
ExternalAddress string `env:"EXTERNAL_ADDRESS" required:""`
|
||||||
CatalystAddress string `env:"CATALYST_ADDRESS" default:"http://catalyst"`
|
CatalystAddress string `env:"CATALYST_ADDRESS" default:"http://catalyst:8000"`
|
||||||
|
|
||||||
OIDCIssuer string `env:"OIDC_ISSUER" required:""`
|
OIDCIssuer string `env:"OIDC_ISSUER" required:""`
|
||||||
OIDCClientID string `env:"OIDC_CLIENT_ID" default:"catalyst"`
|
OIDCClientID string `env:"OIDC_CLIENT_ID" default:"catalyst"`
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export default Vue.extend({
|
|||||||
}
|
}
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "Ticket",
|
name: "Ticket",
|
||||||
params: { id: this.goto.toString() }
|
params: { id: this.goto.toString(), type: "-" }
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
openTicketList: function (type: string) {
|
openTicketList: function (type: string) {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<v-text-field label="Name" v-model="template.name" class="flex-grow-0 flex-shrink-0" :readonly="readonly"></v-text-field>
|
<v-text-field label="Name" v-model="template.name" class="flex-grow-0 flex-shrink-0" :readonly="readonly"></v-text-field>
|
||||||
|
|
||||||
<AdvancedJSONSchemaEditor v-if="schema" @save="save" :schema="schema" :readonly="readonly"></AdvancedJSONSchemaEditor>
|
<AdvancedJSONSchemaEditor v-if="schema" @save="save" :schema="schema" :readonly="readonly" :hidepreview="false"></AdvancedJSONSchemaEditor>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -363,7 +363,7 @@
|
|||||||
v-model="valids[selectedTaskPlaybook.toString() + '-' + selectedTask.id]"
|
v-model="valids[selectedTaskPlaybook.toString() + '-' + selectedTask.id]"
|
||||||
class="clearfix"
|
class="clearfix"
|
||||||
>
|
>
|
||||||
<h3>Input</h3>
|
<h3 v-if="selectedTask.task.schema">Input</h3>
|
||||||
<v-jsf
|
<v-jsf
|
||||||
v-if="selectedTask.task.schema"
|
v-if="selectedTask.task.schema"
|
||||||
v-model="tdata[selectedTaskPlaybook.toString() + '-' + selectedTask.id]"
|
v-model="tdata[selectedTaskPlaybook.toString() + '-' + selectedTask.id]"
|
||||||
|
|||||||
Reference in New Issue
Block a user