Skip to content

Commit 246caad

Browse files
2 parents 2ad1f58 + 992439e commit 246caad

File tree

13 files changed

+344
-151
lines changed

13 files changed

+344
-151
lines changed
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
pull_request:
16+
# The branches below must be a subset of the branches above
17+
branches: '*'
18+
19+
jobs:
20+
analyze:
21+
name: Analyze
22+
runs-on: ubuntu-latest
23+
permissions:
24+
actions: read
25+
contents: read
26+
security-events: write
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language: [ 'java' ]
32+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
33+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
34+
35+
steps:
36+
- name: Checkout repository
37+
uses: actions/checkout@v3
38+
39+
# Initializes the CodeQL tools for scanning.
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@v2
42+
with:
43+
languages: ${{ matrix.language }}
44+
# If you wish to specify custom queries, you can do so here or in a config file.
45+
# By default, queries listed here will override any specified in a config file.
46+
# Prefix the list here with "+" to use these queries and those in the config file.
47+
48+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49+
# queries: security-extended,security-and-quality
50+
51+
52+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
53+
# If this step fails, then you should remove it and run the build manually (see below)
54+
- name: Autobuild
55+
uses: github/codeql-action/autobuild@v2
56+
57+
# ℹ️ Command-line programs to run using the OS shell.
58+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
59+
60+
# If the Autobuild fails above, remove it and uncomment the following three lines.
61+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
62+
63+
# - run: |
64+
# echo "Run, Build Application using script"
65+
# ./location_of_script_within_repo/buildscript.sh
66+
67+
- name: Perform CodeQL Analysis
68+
uses: github/codeql-action/analyze@v2

.github/workflows/jira.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Create JIRA ISSUE
2+
on:
3+
pull_request:
4+
types: [opened]
5+
jobs:
6+
security:
7+
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Login into JIRA
12+
uses: atlassian/gajira-login@master
13+
env:
14+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
15+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
16+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
17+
- name: Create a JIRA Issue
18+
id: create
19+
uses: atlassian/gajira-create@master
20+
with:
21+
project: ${{ secrets.JIRA_PROJECT }}
22+
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
23+
summary: |
24+
${{ github.event.pull_request.title }}
25+
description: |
26+
PR: ${{ github.event.pull_request.html_url }}
27+
28+
fields: "${{ secrets.JIRA_FIELDS }}"

.github/workflows/sast-scan.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: SAST Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Horusec Scan
11+
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd)

.github/workflows/sca-scan.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Source Composition Analysis Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Run Snyk to check for vulnerabilities
11+
uses: snyk/actions/maven@master
12+
env:
13+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/secrets-scan.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Secrets Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Gittyleaks
11+
uses: gupy-io/gittyleaks-action@v0.1

CHANGELOG.md

Lines changed: 35 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
11
# CHANGELOG
22

3-
## Version 1.10.2
3+
## v1.10.2
44

5-
### Date: 27-Oct-2022
5+
### Date: 22-Oct-2022
66

77
- LivePreview internal function implementation updated
88
- Jsoup dependency updated
99
- Json version updated
1010

11-
---
12-
13-
## Version 1.10.1
11+
## v1.10.1
1412

1513
### Date: 18-June-2022
1614

1715
- Compile Issue With Gradle
1816

17+
### Date: 17-Jun-2022
18+
19+
- #57 CompileJava issue in Gradle build ecosystem (contentstack-utils)
20+
- #58 content_type : Invalid warning for contentTypeUid
21+
1922
---
2023

21-
## Version 1.10.0
24+
## v1.10.0
2225

23-
### Date: 16-May-2022
26+
### Date: 03-Jun-2022
2427

2528
- High increase in memory consumption & thread count when updated to the 1.9.0 version
2629
- Setting Proxy in config [#52](https://github.com/contentstack/contentstack-java/issues/52)
2730
- Adding query parameter for the Live Preview
28-
- Enhancement in logger for the different class ( Suggested through a pull request ) [#51](https://github.com/contentstack/contentstack-java/pull/51)
31+
- Enhancement in logger for the different class ( Suggested through a pull
32+
request ) [#51](https://github.com/contentstack/contentstack-java/pull/51)
2933

3034
---
3135

32-
## Version 1.9.0
36+
## v1.9.0
3337

3438
### Date: 16-Mar-2022
3539

@@ -39,7 +43,7 @@
3943

4044
---
4145

42-
## Version 1.8.1
46+
## v1.8.1
4347

4448
### Date: 27-Jan-2022
4549

@@ -49,7 +53,7 @@
4953

5054
---
5155

52-
## Version 1.8.0
56+
## v1.8.0
5357

5458
### Date: 01-Nov-2021
5559

@@ -62,7 +66,7 @@
6266

6367
---
6468

65-
## Version 1.7.0
69+
## v1.7.0
6670

6771
### Date: 12-JUL-2021
6872

@@ -72,7 +76,7 @@
7276

7377
---
7478

75-
## Version 1.6.0
79+
## v1.6.0
7680

7781
### Date: 05-APR-2021
7882

@@ -81,15 +85,15 @@
8185

8286
---
8387

84-
## Version 1.5.7
88+
## v1.5.7
8589

8690
### Date: 20-Feb-2021
8791

8892
Document updated
8993

9094
---
9195

92-
## Version 1.5.6
96+
## v1.5.6
9397

9498
### Date: 27-Jan-2021
9599

@@ -100,7 +104,7 @@ New Features:
100104

101105
---
102106

103-
## Version 1.5.5
107+
## v1.5.5
104108

105109
### Date: 22-Jan-2021
106110

@@ -121,7 +125,7 @@ New Features:
121125

122126
---
123127

124-
## Version 1.5.4
128+
## v1.5.4
125129

126130
### Date: 08-DEC-2020
127131

@@ -134,15 +138,15 @@ New Features:
134138

135139
---
136140

137-
## Version 1.5.3
141+
## v1.5.3
138142

139143
### Date: 28-July-2020
140144

141145
- **Build Issue** Build update issue fixed
142146

143147
---
144148

145-
## Version 1.5.2
149+
## v1.5.2
146150

147151
### Date: 23-July-2020
148152

@@ -152,15 +156,15 @@ New Features:
152156

153157
---
154158

155-
## Version 1.5.1
159+
## v1.5.1
156160

157161
### Date: 13-Jan-2020
158162

159163
- **Dependency Vulnerability** Java Github reported vulnerable issue on dependency logj
160164

161165
---
162166

163-
## Version 1.5.0
167+
## v1.5.0
164168

165169
### Date: 15-Nov-2019
166170

@@ -171,15 +175,15 @@ New Features:
171175

172176
---
173177

174-
## Version 1.4.2
178+
## v1.4.2
175179

176180
### Date: 03-Sept-2019
177181

178182
- **Config** - Added support for Region in Config.
179183

180184
---
181185

182-
## Version 1.4.1
186+
## v1.4.1
183187

184188
### Date: 21-August-2019
185189

@@ -188,7 +192,7 @@ New Features:
188192

189193
---
190194

191-
## Version 1.4.0
195+
## v1.4.0
192196

193197
### Date: 26-July-2019
194198

@@ -202,15 +206,15 @@ New Features:
202206

203207
---
204208

205-
## Version 1.3.3
209+
## v1.3.3
206210

207211
### Date: 21-June-2019
208212

209213
- **HOTFIX**: Override response hot-fix
210214

211215
---
212216

213-
## Version 1.3.2
217+
## v1.3.2
214218

215219
### Date: 13-May-2019
216220

@@ -219,7 +223,7 @@ New Features:
219223

220224
---
221225

222-
## Version 1.3.1
226+
## v1.3.1
223227

224228
### Date: May-02-2019
225229

@@ -228,7 +232,7 @@ New Features:
228232

229233
---
230234

231-
## Version 1.3.0
235+
## v1.3.0
232236

233237
### Date: Apr-12-2019
234238

@@ -246,7 +250,7 @@ Below two support from the Config class has been removed permanently
246250

247251
---
248252

249-
## Version 1.2.1
253+
## v1.2.1
250254

251255
### Date: 14-Mar-2019
252256

@@ -258,7 +262,7 @@ Folder structure modified.
258262

259263
---
260264

261-
## Version 1.2.0
265+
## v1.2.0
262266

263267
### Date: 15-Dec-2017
264268

@@ -272,7 +276,7 @@ Folder structure modified.
272276

273277
---
274278

275-
## Version 1.1.0
279+
## v1.1.0
276280

277281
### Date: 10-Nov-2017
278282

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313

1414
<properties>
15-
<sdk.version.snapshot>1.10.0-SNAPSHOT</sdk.version.snapshot>
16-
<sdk.version.release>1.10.0</sdk.version.release>
15+
<sdk.version.release>1.10.1-SNAPSHOT</sdk.version.release>
1716
<maven.compiler.target>1.8</maven.compiler.target>
1817
<maven.compiler.source>1.8</maven.compiler.source>
1918
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)