Skip to content

Commit 3e10aa6

Browse files
committed
#32 Add SPDX headers
Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent ec6388f commit 3e10aa6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+226
-578
lines changed

.github/workflows/publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
# This workflow will build a Java project with Gradle
26
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
37

.github/workflows/test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
# This workflow will test a Java project with Gradle
26
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
37

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
14

25
# Created by https://www.toptal.com/developers/gitignore/api/java,gradle,intellij
36
# Edit at https://www.toptal.com/developers/gitignore?templates=java,gradle,intellij

.sdkmanrc

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
# Enable auto-env through the sdkman_auto_env config
26
# Add key=value pairs of SDKs to use below
37
java=17.0.7-tem

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
4+
SPDX-License-Identifier: Apache-2.0
5+
-->
6+
17
# DefectDojo Client Java
28

39
Java Client to interact with the DefectDojo API.

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
plugins {
26
id 'java'
37
id "io.freefair.lombok" version "6.5.1"

lombok.config

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
# SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
15
# This file is generated by the 'io.freefair.lombok' Gradle plugin
26
config.stopBubbling = true

settings.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
rootProject.name = 'defectdojo-client'
26

src/main/java/io/securecodebox/persistence/defectdojo/ScanType.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo;
197

208
import lombok.Getter;

src/main/java/io/securecodebox/persistence/defectdojo/config/DefectDojoConfig.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.config;
197

208
import lombok.AllArgsConstructor;

src/main/java/io/securecodebox/persistence/defectdojo/exceptions/DefectDojoLoopException.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2015-2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2015-2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.exceptions;
197

208
public class DefectDojoLoopException extends RuntimeException {

src/main/java/io/securecodebox/persistence/defectdojo/exceptions/DefectDojoPersistenceException.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.exceptions;
197

208
public class DefectDojoPersistenceException extends RuntimeException {

src/main/java/io/securecodebox/persistence/defectdojo/models/DefectDojoModel.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import java.util.Map;

src/main/java/io/securecodebox/persistence/defectdojo/models/DefectDojoResponse.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonProperty;

src/main/java/io/securecodebox/persistence/defectdojo/models/DojoGroup.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
package io.securecodebox.persistence.defectdojo.models;
26

37
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/DojoGroupMember.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
package io.securecodebox.persistence.defectdojo.models;
26

37
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/Endpoint.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/Engagement.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/Finding.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonAlias;

src/main/java/io/securecodebox/persistence/defectdojo/models/Product.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/ProductGroup.java

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
2+
//
3+
// SPDX-License-Identifier: Apache-2.0
4+
15
package io.securecodebox.persistence.defectdojo.models;
26

37
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/ProductType.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonInclude;

src/main/java/io/securecodebox/persistence/defectdojo/models/RiskAcceptance.java

+5-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
/*
2-
* secureCodeBox (SCB)
3-
* Copyright 2021 iteratec GmbH
4-
* https://www.iteratec.com
5-
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
17-
*/
1+
// Copyright 2021 iteratec GmbH
2+
// SPDX-FileCopyrightText: 2023 iteratec GmbH
3+
//
4+
// SPDX-License-Identifier: Apache-2.0
5+
186
package io.securecodebox.persistence.defectdojo.models;
197

208
import com.fasterxml.jackson.annotation.JsonInclude;

0 commit comments

Comments
 (0)