diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 9d5cdf19cc..e1fb300d68 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -6,7 +6,7 @@ module.exports = {
'plugin:react-hooks/recommended',
'plugin:vitest-globals/recommended',
],
- plugins: ['react', 'react-hooks'],
+ plugins: ['react', 'react-hooks', 'header'],
settings: {
react: {
version: 'detect',
@@ -41,5 +41,27 @@ module.exports = {
],
'no-class-assign': 'off',
'no-prototype-builtins': 'off',
+ 'header/header': [
+ 2,
+ 'block',
+ [
+ {
+ pattern: ' SPDX-FileCopyrightText: \\d{4} Greenbone AG',
+ template: ' SPDX-FileCopyrightText: 2024 Greenbone AG',
+ },
+ ' *',
+ ' * SPDX-License-Identifier: AGPL-3.0-or-later',
+ ' ',
+ ],
+ 2,
+ ],
},
+ overrides: [
+ {
+ files: ['vite-env.d.ts'],
+ rules: {
+ 'header/header': 'off',
+ },
+ },
+ ],
};
diff --git a/package-lock.json b/package-lock.json
index 77c5735df2..fd15b0f9a2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -27,6 +27,7 @@
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
"downshift": "^9.0.6",
+ "eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
"fast-xml-parser": "^4.2.5",
"history": "^4.10.1",
@@ -94,7 +95,6 @@
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -2696,7 +2696,6 @@
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
"integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
- "dev": true,
"dependencies": {
"eslint-visitor-keys": "^3.3.0"
},
@@ -2711,7 +2710,6 @@
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz",
"integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==",
- "dev": true,
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
@@ -2720,7 +2718,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
"integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
- "dev": true,
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
@@ -2743,7 +2740,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -2753,7 +2749,6 @@
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
"integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -2768,7 +2763,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -2780,7 +2774,6 @@
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
"integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
- "dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
@@ -2855,7 +2848,6 @@
"version": "0.11.14",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
"integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
- "dev": true,
"dependencies": {
"@humanwhocodes/object-schema": "^2.0.2",
"debug": "^4.3.1",
@@ -2869,7 +2861,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -2879,7 +2870,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -2891,7 +2881,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
"integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
"engines": {
"node": ">=12.22"
},
@@ -2903,8 +2892,7 @@
"node_modules/@humanwhocodes/object-schema": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
- "dev": true
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA=="
},
"node_modules/@istanbuljs/load-nyc-config": {
"version": "1.1.0",
@@ -3604,7 +3592,6 @@
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
"run-parallel": "^1.1.9"
@@ -3617,7 +3604,6 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
"engines": {
"node": ">= 8"
}
@@ -3626,7 +3612,6 @@
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
"fastq": "^1.6.0"
@@ -5043,8 +5028,7 @@
"node_modules/@ungap/structured-clone": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
- "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
- "dev": true
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ=="
},
"node_modules/@visx/axis": {
"version": "3.10.1",
@@ -5459,7 +5443,6 @@
"version": "8.11.3",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
"integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
- "dev": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -5471,7 +5454,6 @@
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
@@ -5501,7 +5483,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"dependencies": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -5544,7 +5525,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
"integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -5553,7 +5533,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"dependencies": {
"color-convert": "^2.0.1"
},
@@ -5580,8 +5559,7 @@
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="
},
"node_modules/aria-hidden": {
"version": "1.2.4",
@@ -6284,7 +6262,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -6499,7 +6476,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"dependencies": {
"color-name": "~1.1.4"
},
@@ -6510,8 +6486,7 @@
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
},
"node_modules/colorette": {
"version": "2.0.20",
@@ -6546,8 +6521,7 @@
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
},
"node_modules/convert-source-map": {
"version": "2.0.0",
@@ -6637,7 +6611,6 @@
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",
@@ -6995,8 +6968,7 @@
"node_modules/deep-is": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"node_modules/deepmerge": {
"version": "4.3.1",
@@ -7107,7 +7079,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
"dependencies": {
"esutils": "^2.0.2"
},
@@ -7432,7 +7403,6 @@
"version": "8.57.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
"integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
- "dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
@@ -7495,6 +7465,14 @@
"eslint": ">=7.0.0"
}
},
+ "node_modules/eslint-plugin-header": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz",
+ "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==",
+ "peerDependencies": {
+ "eslint": ">=7.7.0"
+ }
+ },
"node_modules/eslint-plugin-react": {
"version": "7.34.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz",
@@ -7618,7 +7596,6 @@
"version": "7.2.2",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
"integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
"dependencies": {
"esrecurse": "^4.3.0",
"estraverse": "^5.2.0"
@@ -7634,7 +7611,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
@@ -7646,7 +7622,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -7656,7 +7631,6 @@
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
"integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
"dependencies": {
"type-fest": "^0.20.2"
},
@@ -7671,7 +7645,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -7683,7 +7656,6 @@
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
"integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
- "dev": true,
"dependencies": {
"acorn": "^8.9.0",
"acorn-jsx": "^5.3.2",
@@ -7713,7 +7685,6 @@
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
"integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
- "dev": true,
"dependencies": {
"estraverse": "^5.1.0"
},
@@ -7725,7 +7696,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
"dependencies": {
"estraverse": "^5.2.0"
},
@@ -7737,7 +7707,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"engines": {
"node": ">=4.0"
}
@@ -7912,14 +7881,12 @@
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"node_modules/fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="
},
"node_modules/fast-xml-parser": {
"version": "4.3.6",
@@ -7946,7 +7913,6 @@
"version": "1.17.1",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
"integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
- "dev": true,
"dependencies": {
"reusify": "^1.0.4"
}
@@ -7972,7 +7938,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
"dependencies": {
"flat-cache": "^3.0.4"
},
@@ -8001,7 +7966,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
"integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
"dependencies": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
@@ -8017,7 +7981,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
"integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
- "dev": true,
"dependencies": {
"flatted": "^3.2.9",
"keyv": "^4.5.3",
@@ -8030,8 +7993,7 @@
"node_modules/flatted": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
- "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
- "dev": true
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw=="
},
"node_modules/for-each": {
"version": "0.3.3",
@@ -8065,8 +8027,7 @@
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
},
"node_modules/fsevents": {
"version": "2.3.3",
@@ -8224,7 +8185,6 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -8244,7 +8204,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"dependencies": {
"is-glob": "^4.0.3"
},
@@ -8256,7 +8215,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -8266,7 +8224,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -8339,8 +8296,7 @@
"node_modules/graphemer": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="
},
"node_modules/has-bigints": {
"version": "1.0.2",
@@ -8355,7 +8311,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -8721,7 +8676,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
"integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
- "dev": true,
"engines": {
"node": ">= 4"
}
@@ -8775,7 +8729,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
"engines": {
"node": ">=0.8.19"
}
@@ -8793,7 +8746,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dev": true,
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -8802,8 +8754,7 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/internal-slot": {
"version": "1.0.7",
@@ -8989,7 +8940,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -9048,7 +8998,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
@@ -9108,7 +9057,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
"integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -9264,8 +9212,7 @@
"node_modules/isexe": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
},
"node_modules/istanbul-lib-coverage": {
"version": "3.2.2",
@@ -10422,7 +10369,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
"dependencies": {
"argparse": "^2.0.1"
},
@@ -10484,8 +10430,7 @@
"node_modules/json-buffer": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="
},
"node_modules/json-parse-better-errors": {
"version": "1.0.2",
@@ -10501,8 +10446,7 @@
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"node_modules/json-stable-stringify": {
"version": "1.1.1",
@@ -10525,8 +10469,7 @@
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="
},
"node_modules/json-stable-stringify/node_modules/isarray": {
"version": "2.0.5",
@@ -10579,7 +10522,6 @@
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
"integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
"dependencies": {
"json-buffer": "3.0.1"
}
@@ -10610,7 +10552,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1",
"type-check": "~0.4.0"
@@ -10827,7 +10768,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
"integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
"dependencies": {
"p-locate": "^5.0.0"
},
@@ -10851,8 +10791,7 @@
"node_modules/lodash.merge": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
},
"node_modules/log-update": {
"version": "5.0.1",
@@ -11184,8 +11123,7 @@
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="
},
"node_modules/nice-try": {
"version": "1.0.5",
@@ -11424,7 +11362,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -11448,7 +11385,6 @@
"version": "0.9.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
"integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
- "dev": true,
"dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3",
@@ -11474,7 +11410,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
"integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
"dependencies": {
"yocto-queue": "^0.1.0"
},
@@ -11489,7 +11424,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
"integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
"dependencies": {
"p-limit": "^3.0.2"
},
@@ -11553,7 +11487,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -11562,7 +11495,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -11571,7 +11503,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -11790,7 +11721,6 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -11897,7 +11827,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -11955,7 +11884,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -12599,7 +12527,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "dev": true,
"engines": {
"iojs": ">=1.0.0",
"node": ">=0.10.0"
@@ -12615,7 +12542,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "dev": true,
"dependencies": {
"glob": "^7.1.3"
},
@@ -12687,7 +12613,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -12852,7 +12777,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
"dependencies": {
"shebang-regex": "^3.0.0"
},
@@ -12864,7 +12788,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
"engines": {
"node": ">=8"
}
@@ -13218,7 +13141,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"dependencies": {
"ansi-regex": "^5.0.1"
},
@@ -13274,7 +13196,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
"engines": {
"node": ">=8"
},
@@ -13341,7 +13262,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
"dependencies": {
"has-flag": "^4.0.0"
},
@@ -13441,8 +13361,7 @@
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw=="
},
"node_modules/tiny-case": {
"version": "1.0.3",
@@ -13573,7 +13492,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"dependencies": {
"prelude-ls": "^1.2.1"
},
@@ -13594,7 +13512,6 @@
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
"integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
"engines": {
"node": ">=10"
},
@@ -13795,7 +13712,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
"dependencies": {
"punycode": "^2.1.0"
}
@@ -14389,7 +14305,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"dependencies": {
"isexe": "^2.0.0"
},
@@ -14560,8 +14475,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "dev": true
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
},
"node_modules/write-file-atomic": {
"version": "4.0.2",
@@ -14709,7 +14623,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
"integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
"engines": {
"node": ">=10"
},
diff --git a/package.json b/package.json
index 3efe887291..a328dbbcbc 100644
--- a/package.json
+++ b/package.json
@@ -50,6 +50,7 @@
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0",
"downshift": "^9.0.6",
+ "eslint-plugin-header": "^3.1.1",
"fast-deep-equal": "^3.1.3",
"fast-xml-parser": "^4.2.5",
"history": "^4.10.1",
diff --git a/src/__tests__/version.js b/src/__tests__/version.js
index 19c3528de6..d167bfe53a 100644
--- a/src/__tests__/version.js
+++ b/src/__tests__/version.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/__tests__/cancel.js b/src/gmp/__tests__/cancel.js
index 27dfe7990e..3a8cae4a87 100644
--- a/src/gmp/__tests__/cancel.js
+++ b/src/gmp/__tests__/cancel.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import CancelToken from '../cancel.js';
diff --git a/src/gmp/__tests__/cvss.js b/src/gmp/__tests__/cvss.js
index 8a68375991..c726a9da5f 100644
--- a/src/gmp/__tests__/cvss.js
+++ b/src/gmp/__tests__/cvss.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/__tests__/gmp.js b/src/gmp/__tests__/gmp.js
index 3ed5807919..4d240b4273 100644
--- a/src/gmp/__tests__/gmp.js
+++ b/src/gmp/__tests__/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/gmpsettings.js b/src/gmp/__tests__/gmpsettings.js
index ac04450b68..1b6f4bb6f4 100644
--- a/src/gmp/__tests__/gmpsettings.js
+++ b/src/gmp/__tests__/gmpsettings.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/log.js b/src/gmp/__tests__/log.js
index d3a8a65517..02339bc205 100644
--- a/src/gmp/__tests__/log.js
+++ b/src/gmp/__tests__/log.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
describe,
test,
diff --git a/src/gmp/__tests__/model.js b/src/gmp/__tests__/model.js
index 2a1fea60a0..ec4ea244fc 100644
--- a/src/gmp/__tests__/model.js
+++ b/src/gmp/__tests__/model.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model, {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/__tests__/parser.js b/src/gmp/__tests__/parser.js
index b828f0b0e2..8a0014a492 100644
--- a/src/gmp/__tests__/parser.js
+++ b/src/gmp/__tests__/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isDate, isDuration} from 'gmp/models/date';
diff --git a/src/gmp/__tests__/timezones.js b/src/gmp/__tests__/timezones.js
index 2934227caa..ae1e4bb1d9 100644
--- a/src/gmp/__tests__/timezones.js
+++ b/src/gmp/__tests__/timezones.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isArray} from '../utils/identity';
diff --git a/src/gmp/cancel.js b/src/gmp/cancel.js
index 394f62f7cb..83ff6003dd 100644
--- a/src/gmp/cancel.js
+++ b/src/gmp/cancel.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
/*
diff --git a/src/gmp/capabilities/__tests__/capabilities.js b/src/gmp/capabilities/__tests__/capabilities.js
index f8741d0c93..835994a957 100644
--- a/src/gmp/capabilities/__tests__/capabilities.js
+++ b/src/gmp/capabilities/__tests__/capabilities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from '../capabilities';
diff --git a/src/gmp/capabilities/__tests__/everything.js b/src/gmp/capabilities/__tests__/everything.js
index b19066a9a4..97cfb82f5b 100644
--- a/src/gmp/capabilities/__tests__/everything.js
+++ b/src/gmp/capabilities/__tests__/everything.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import EverythingCapabilities from '../everything';
diff --git a/src/gmp/capabilities/capabilities.js b/src/gmp/capabilities/capabilities.js
index 64a0c69eaa..aba48bccc9 100644
--- a/src/gmp/capabilities/capabilities.js
+++ b/src/gmp/capabilities/capabilities.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/capabilities/everything.js b/src/gmp/capabilities/everything.js
index 1ffbb07308..0332e1d623 100644
--- a/src/gmp/capabilities/everything.js
+++ b/src/gmp/capabilities/everything.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Capabilities from './capabilities.js';
diff --git a/src/gmp/collection/collectioncounts.js b/src/gmp/collection/collectioncounts.js
index 2b7e0c1571..4c4cf0b157 100644
--- a/src/gmp/collection/collectioncounts.js
+++ b/src/gmp/collection/collectioncounts.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../utils/identity';
diff --git a/src/gmp/collection/parser.js b/src/gmp/collection/parser.js
index e200dfadc2..beb87f80b6 100644
--- a/src/gmp/collection/parser.js
+++ b/src/gmp/collection/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from '../log';
import {isArray, isDefined} from '../utils/identity';
diff --git a/src/gmp/command.js b/src/gmp/command.js
index 58a63f0222..d3b0ef8943 100644
--- a/src/gmp/command.js
+++ b/src/gmp/command.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const COMMANDS = {};
const registerCommand = (name, clazz) => {
diff --git a/src/gmp/commands/__tests__/audit.js b/src/gmp/commands/__tests__/audit.js
index 26ebf37ff3..15bfd2a223 100644
--- a/src/gmp/commands/__tests__/audit.js
+++ b/src/gmp/commands/__tests__/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/auth.js b/src/gmp/commands/__tests__/auth.js
index 8832b68d29..c76a9b1651 100644
--- a/src/gmp/commands/__tests__/auth.js
+++ b/src/gmp/commands/__tests__/auth.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {AuthenticationCommand} from '../auth';
diff --git a/src/gmp/commands/__tests__/convert.js b/src/gmp/commands/__tests__/convert.js
index 0ef1dd8418..9a48c745a3 100644
--- a/src/gmp/commands/__tests__/convert.js
+++ b/src/gmp/commands/__tests__/convert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {convertBoolean} from '../convert';
diff --git a/src/gmp/commands/__tests__/dashboards.js b/src/gmp/commands/__tests__/dashboards.js
index dbf3a8b2cc..db46cb1282 100644
--- a/src/gmp/commands/__tests__/dashboards.js
+++ b/src/gmp/commands/__tests__/dashboards.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_ROW_HEIGHT, createDisplay, createRow} from '../dashboards';
diff --git a/src/gmp/commands/__tests__/entities.js b/src/gmp/commands/__tests__/entities.js
index de6e407ce3..850e14c9dc 100644
--- a/src/gmp/commands/__tests__/entities.js
+++ b/src/gmp/commands/__tests__/entities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/entity.js b/src/gmp/commands/__tests__/entity.js
index 389261f755..db1e6d1408 100644
--- a/src/gmp/commands/__tests__/entity.js
+++ b/src/gmp/commands/__tests__/entity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/feedstatus.js b/src/gmp/commands/__tests__/feedstatus.js
index 38ed98b337..f36d60ce5c 100644
--- a/src/gmp/commands/__tests__/feedstatus.js
+++ b/src/gmp/commands/__tests__/feedstatus.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/http.js b/src/gmp/commands/__tests__/http.js
index 050b516b26..6b7bf05011 100644
--- a/src/gmp/commands/__tests__/http.js
+++ b/src/gmp/commands/__tests__/http.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import HttpCommand from '../http';
diff --git a/src/gmp/commands/__tests__/license.js b/src/gmp/commands/__tests__/license.js
index 3b207941e4..4ce8d1bf79 100644
--- a/src/gmp/commands/__tests__/license.js
+++ b/src/gmp/commands/__tests__/license.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/nvt.js b/src/gmp/commands/__tests__/nvt.js
index add299774a..35f7983afb 100644
--- a/src/gmp/commands/__tests__/nvt.js
+++ b/src/gmp/commands/__tests__/nvt.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/nvtfamilies.js b/src/gmp/commands/__tests__/nvtfamilies.js
index 4416d958ff..1a126f8bc7 100644
--- a/src/gmp/commands/__tests__/nvtfamilies.js
+++ b/src/gmp/commands/__tests__/nvtfamilies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {NvtFamiliesCommand} from '../nvtfamilies';
diff --git a/src/gmp/commands/__tests__/policies.js b/src/gmp/commands/__tests__/policies.js
index cf95d2e10c..d7cf9aff4a 100644
--- a/src/gmp/commands/__tests__/policies.js
+++ b/src/gmp/commands/__tests__/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/policy.js b/src/gmp/commands/__tests__/policy.js
index d500fbe1fc..e463bd9f6d 100644
--- a/src/gmp/commands/__tests__/policy.js
+++ b/src/gmp/commands/__tests__/policy.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/report.js b/src/gmp/commands/__tests__/report.js
index 488bc51c39..aaf6f5b568 100644
--- a/src/gmp/commands/__tests__/report.js
+++ b/src/gmp/commands/__tests__/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createHttp, createEntityResponse} from '../testing';
diff --git a/src/gmp/commands/__tests__/reportconfig.js b/src/gmp/commands/__tests__/reportconfig.js
index 7446eaaaca..ac3d411441 100644
--- a/src/gmp/commands/__tests__/reportconfig.js
+++ b/src/gmp/commands/__tests__/reportconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/reportconfigs.js b/src/gmp/commands/__tests__/reportconfigs.js
index 309e192013..73dca45af7 100644
--- a/src/gmp/commands/__tests__/reportconfigs.js
+++ b/src/gmp/commands/__tests__/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createHttp, createEntitiesResponse} from '../testing';
diff --git a/src/gmp/commands/__tests__/reports.js b/src/gmp/commands/__tests__/reports.js
index f3d25a011f..07d7c03968 100644
--- a/src/gmp/commands/__tests__/reports.js
+++ b/src/gmp/commands/__tests__/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/resourcenames.js b/src/gmp/commands/__tests__/resourcenames.js
index 38e7533b44..8ce3a05dad 100644
--- a/src/gmp/commands/__tests__/resourcenames.js
+++ b/src/gmp/commands/__tests__/resourcenames.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {createResponse, createHttp} from '../testing';
diff --git a/src/gmp/commands/__tests__/result.js b/src/gmp/commands/__tests__/result.js
index 140119ae1c..82e62e78c9 100644
--- a/src/gmp/commands/__tests__/result.js
+++ b/src/gmp/commands/__tests__/result.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ResultCommand} from '../results';
diff --git a/src/gmp/commands/__tests__/results.js b/src/gmp/commands/__tests__/results.js
index a034361e52..8fd134b519 100644
--- a/src/gmp/commands/__tests__/results.js
+++ b/src/gmp/commands/__tests__/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/scanconfig.js b/src/gmp/commands/__tests__/scanconfig.js
index 9af29183ec..1f48398859 100644
--- a/src/gmp/commands/__tests__/scanconfig.js
+++ b/src/gmp/commands/__tests__/scanconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/commands/__tests__/tag.js b/src/gmp/commands/__tests__/tag.js
index 347d329e7b..e170c0b3f7 100644
--- a/src/gmp/commands/__tests__/tag.js
+++ b/src/gmp/commands/__tests__/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TagCommand} from '../tags';
diff --git a/src/gmp/commands/__tests__/target.js b/src/gmp/commands/__tests__/target.js
index 72075ac993..28810c043b 100644
--- a/src/gmp/commands/__tests__/target.js
+++ b/src/gmp/commands/__tests__/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TargetCommand} from '../targets';
diff --git a/src/gmp/commands/__tests__/task.js b/src/gmp/commands/__tests__/task.js
index ed4cf24478..c7dce9ba09 100644
--- a/src/gmp/commands/__tests__/task.js
+++ b/src/gmp/commands/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TaskCommand} from '../tasks';
diff --git a/src/gmp/commands/__tests__/ticket.js b/src/gmp/commands/__tests__/ticket.js
index 7eaaff2e6f..3a8ef9eb27 100644
--- a/src/gmp/commands/__tests__/ticket.js
+++ b/src/gmp/commands/__tests__/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {TicketCommand} from '../tickets';
diff --git a/src/gmp/commands/__tests__/tickets.js b/src/gmp/commands/__tests__/tickets.js
index 3c6b664ed5..937593a3f1 100644
--- a/src/gmp/commands/__tests__/tickets.js
+++ b/src/gmp/commands/__tests__/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/tlscertificates.js b/src/gmp/commands/__tests__/tlscertificates.js
index 73748bacab..8d05fede38 100644
--- a/src/gmp/commands/__tests__/tlscertificates.js
+++ b/src/gmp/commands/__tests__/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {ALL_FILTER} from 'gmp/models/filter';
diff --git a/src/gmp/commands/__tests__/user.js b/src/gmp/commands/__tests__/user.js
index e560e6ac75..17fe9d1ec9 100644
--- a/src/gmp/commands/__tests__/user.js
+++ b/src/gmp/commands/__tests__/user.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {UserCommand, transformSettingName} from '../users';
diff --git a/src/gmp/commands/alerts.js b/src/gmp/commands/alerts.js
index bfdae302ce..2dbfc320cb 100644
--- a/src/gmp/commands/alerts.js
+++ b/src/gmp/commands/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/commands/audits.js b/src/gmp/commands/audits.js
index 56224f9f1d..2b2724c50a 100644
--- a/src/gmp/commands/audits.js
+++ b/src/gmp/commands/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/auth.js b/src/gmp/commands/auth.js
index 44aeeb865e..fd1ac1563a 100644
--- a/src/gmp/commands/auth.js
+++ b/src/gmp/commands/auth.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from '../command';
import HttpCommand from './http';
diff --git a/src/gmp/commands/certbund.js b/src/gmp/commands/certbund.js
index c8ec4fff3a..55b21c5c8a 100644
--- a/src/gmp/commands/certbund.js
+++ b/src/gmp/commands/certbund.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/convert.js b/src/gmp/commands/convert.js
index ee98babf67..f79d589685 100644
--- a/src/gmp/commands/convert.js
+++ b/src/gmp/commands/convert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/cpes.js b/src/gmp/commands/cpes.js
index dfe5458752..39015d163f 100644
--- a/src/gmp/commands/cpes.js
+++ b/src/gmp/commands/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import InfoEntitiesCommand from './infoentities';
diff --git a/src/gmp/commands/credentials.js b/src/gmp/commands/credentials.js
index e69c10a70f..6205eb414b 100644
--- a/src/gmp/commands/credentials.js
+++ b/src/gmp/commands/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/cves.js b/src/gmp/commands/cves.js
index 8e7017a6e7..ed00ae13db 100644
--- a/src/gmp/commands/cves.js
+++ b/src/gmp/commands/cves.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/cvsscalculator.js b/src/gmp/commands/cvsscalculator.js
index 1be8e5a9fd..2aa00c507d 100644
--- a/src/gmp/commands/cvsscalculator.js
+++ b/src/gmp/commands/cvsscalculator.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/gmp/commands/dashboards.js b/src/gmp/commands/dashboards.js
index 1bc79efabd..5c5f54ec7f 100644
--- a/src/gmp/commands/dashboards.js
+++ b/src/gmp/commands/dashboards.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/dfncert.js b/src/gmp/commands/dfncert.js
index 32977e80a4..5838200f9d 100644
--- a/src/gmp/commands/dfncert.js
+++ b/src/gmp/commands/dfncert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/entities.js b/src/gmp/commands/entities.js
index a75d465980..9c61da2bb0 100644
--- a/src/gmp/commands/entities.js
+++ b/src/gmp/commands/entities.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/entity.js b/src/gmp/commands/entity.js
index 4b906be1af..71e0f3f28e 100644
--- a/src/gmp/commands/entity.js
+++ b/src/gmp/commands/entity.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/feedstatus.js b/src/gmp/commands/feedstatus.js
index 17faa5ef86..1150c54cb0 100644
--- a/src/gmp/commands/feedstatus.js
+++ b/src/gmp/commands/feedstatus.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseDate} from 'gmp/parser';
diff --git a/src/gmp/commands/filters.js b/src/gmp/commands/filters.js
index d4cf808a62..eb63bc2f3d 100644
--- a/src/gmp/commands/filters.js
+++ b/src/gmp/commands/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/gmp.js b/src/gmp/commands/gmp.js
index bf6fac3c52..256f078657 100644
--- a/src/gmp/commands/gmp.js
+++ b/src/gmp/commands/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, hasValue} from 'gmp/utils/identity';
import ActionResult from 'gmp/models/actionresult';
diff --git a/src/gmp/commands/groups.js b/src/gmp/commands/groups.js
index 402d2acd6b..fd222d79a0 100644
--- a/src/gmp/commands/groups.js
+++ b/src/gmp/commands/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import logger from 'gmp/log';
diff --git a/src/gmp/commands/hosts.js b/src/gmp/commands/hosts.js
index bc41197014..0788bcf29e 100644
--- a/src/gmp/commands/hosts.js
+++ b/src/gmp/commands/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/http.js b/src/gmp/commands/http.js
index f743a6ffb6..9df4fcd88f 100644
--- a/src/gmp/commands/http.js
+++ b/src/gmp/commands/http.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
class HttpCommand {
diff --git a/src/gmp/commands/infoentities.js b/src/gmp/commands/infoentities.js
index 2a279432fb..439a73b598 100644
--- a/src/gmp/commands/infoentities.js
+++ b/src/gmp/commands/infoentities.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/gmp/commands/infoentity.js b/src/gmp/commands/infoentity.js
index c3d17e5c09..ac9f40a664 100644
--- a/src/gmp/commands/infoentity.js
+++ b/src/gmp/commands/infoentity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import EntityCommand from './entity';
class InfoEntityCommand extends EntityCommand {
diff --git a/src/gmp/commands/license.js b/src/gmp/commands/license.js
index 1f3ae01fc2..3a0e41146f 100644
--- a/src/gmp/commands/license.js
+++ b/src/gmp/commands/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/login.js b/src/gmp/commands/login.js
index 6dfd5d863d..2bdf054afe 100644
--- a/src/gmp/commands/login.js
+++ b/src/gmp/commands/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import _ from 'gmp/locale';
import HttpCommand from './http';
diff --git a/src/gmp/commands/notes.js b/src/gmp/commands/notes.js
index a7091d5cbc..b33cdfdf66 100644
--- a/src/gmp/commands/notes.js
+++ b/src/gmp/commands/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/nvt.js b/src/gmp/commands/nvt.js
index dcdd6ce49e..a4bc99685d 100644
--- a/src/gmp/commands/nvt.js
+++ b/src/gmp/commands/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/nvtfamilies.js b/src/gmp/commands/nvtfamilies.js
index 784f389bfb..753c201f47 100644
--- a/src/gmp/commands/nvtfamilies.js
+++ b/src/gmp/commands/nvtfamilies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt} from 'gmp/parser';
import {map} from 'gmp/utils/array';
@@ -31,9 +19,8 @@ export class NvtFamiliesCommand extends GmpCommand {
get(params, options) {
return this.httpGet(params, options).then(response => {
const {data} = response;
- const {
- family: families,
- } = data.get_nvt_families.get_nvt_families_response.families;
+ const {family: families} =
+ data.get_nvt_families.get_nvt_families_response.families;
return response.set(
map(families, family => ({
name: family.name,
diff --git a/src/gmp/commands/os.js b/src/gmp/commands/os.js
index ccd3970590..d891616b34 100644
--- a/src/gmp/commands/os.js
+++ b/src/gmp/commands/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import OperatingSystem from 'gmp/models/os';
diff --git a/src/gmp/commands/overrides.js b/src/gmp/commands/overrides.js
index dfeb8ce279..f1419c0647 100644
--- a/src/gmp/commands/overrides.js
+++ b/src/gmp/commands/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/performance.js b/src/gmp/commands/performance.js
index 2c4d78f47b..49f1d844d7 100644
--- a/src/gmp/commands/performance.js
+++ b/src/gmp/commands/performance.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isArray} from 'gmp/utils/identity';
import HttpCommand from './http';
diff --git a/src/gmp/commands/permissions.js b/src/gmp/commands/permissions.js
index 7d0574f99e..7a5ad9c4b9 100644
--- a/src/gmp/commands/permissions.js
+++ b/src/gmp/commands/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/policies.js b/src/gmp/commands/policies.js
index c18260a626..4f10ab08f9 100644
--- a/src/gmp/commands/policies.js
+++ b/src/gmp/commands/policies.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/portlists.js b/src/gmp/commands/portlists.js
index 093b9d83df..fd271c8b89 100644
--- a/src/gmp/commands/portlists.js
+++ b/src/gmp/commands/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reportconfigs.js b/src/gmp/commands/reportconfigs.js
index d6c0695223..0982e7b924 100644
--- a/src/gmp/commands/reportconfigs.js
+++ b/src/gmp/commands/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reportformats.js b/src/gmp/commands/reportformats.js
index 034ec893f5..b234092a96 100644
--- a/src/gmp/commands/reportformats.js
+++ b/src/gmp/commands/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/reports.js b/src/gmp/commands/reports.js
index 12b3cef8ee..a1027e9160 100644
--- a/src/gmp/commands/reports.js
+++ b/src/gmp/commands/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/resourcenames.js b/src/gmp/commands/resourcenames.js
index 5c3676eefa..9bc2f959e6 100644
--- a/src/gmp/commands/resourcenames.js
+++ b/src/gmp/commands/resourcenames.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/results.js b/src/gmp/commands/results.js
index 2478d7c063..0b347f5094 100644
--- a/src/gmp/commands/results.js
+++ b/src/gmp/commands/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import Result from 'gmp/models/result';
diff --git a/src/gmp/commands/roles.js b/src/gmp/commands/roles.js
index 79d8464908..8301a3a0ff 100644
--- a/src/gmp/commands/roles.js
+++ b/src/gmp/commands/roles.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/scanconfigs.js b/src/gmp/commands/scanconfigs.js
index 75e00aee46..03424cc99a 100644
--- a/src/gmp/commands/scanconfigs.js
+++ b/src/gmp/commands/scanconfigs.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import logger from 'gmp/log';
diff --git a/src/gmp/commands/scanners.js b/src/gmp/commands/scanners.js
index f08dca971b..32ab7030e9 100644
--- a/src/gmp/commands/scanners.js
+++ b/src/gmp/commands/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/schedules.js b/src/gmp/commands/schedules.js
index 7dfac634a5..b71de1c445 100644
--- a/src/gmp/commands/schedules.js
+++ b/src/gmp/commands/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/tags.js b/src/gmp/commands/tags.js
index a363ff63cb..cde2719ab6 100644
--- a/src/gmp/commands/tags.js
+++ b/src/gmp/commands/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/targets.js b/src/gmp/commands/targets.js
index 68b688cfa7..7fc429bcc1 100644
--- a/src/gmp/commands/targets.js
+++ b/src/gmp/commands/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isString} from 'gmp/utils/identity';
diff --git a/src/gmp/commands/tasks.js b/src/gmp/commands/tasks.js
index bbc1cf5440..73339a464a 100644
--- a/src/gmp/commands/tasks.js
+++ b/src/gmp/commands/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/testing.js b/src/gmp/commands/testing.js
index 2ed114a026..88aef23f09 100644
--- a/src/gmp/commands/testing.js
+++ b/src/gmp/commands/testing.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {testing} from '@gsa/testing';
diff --git a/src/gmp/commands/tickets.js b/src/gmp/commands/tickets.js
index 988a8650d6..fa525a78e5 100644
--- a/src/gmp/commands/tickets.js
+++ b/src/gmp/commands/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Ticket from 'gmp/models/ticket';
import EntitiesCommand from './entities';
diff --git a/src/gmp/commands/tlscertificates.js b/src/gmp/commands/tlscertificates.js
index 493c9dbb2a..6e926ba949 100644
--- a/src/gmp/commands/tlscertificates.js
+++ b/src/gmp/commands/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import TlsCertificate from 'gmp/models/tlscertificate';
diff --git a/src/gmp/commands/trashcan.js b/src/gmp/commands/trashcan.js
index 1b9eeaf59d..3b4fb6739f 100644
--- a/src/gmp/commands/trashcan.js
+++ b/src/gmp/commands/trashcan.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {apiType} from 'gmp/utils/entitytype';
diff --git a/src/gmp/commands/users.js b/src/gmp/commands/users.js
index 2870879216..65dcc9ab98 100644
--- a/src/gmp/commands/users.js
+++ b/src/gmp/commands/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import registerCommand from 'gmp/command';
diff --git a/src/gmp/commands/vulns.js b/src/gmp/commands/vulns.js
index 5aa9c7a180..d1f359fe1f 100644
--- a/src/gmp/commands/vulns.js
+++ b/src/gmp/commands/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import Vulnerability from 'gmp/models/vulnerability';
diff --git a/src/gmp/commands/wizard.js b/src/gmp/commands/wizard.js
index ab1f887fda..2943bfb577 100644
--- a/src/gmp/commands/wizard.js
+++ b/src/gmp/commands/wizard.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import registerCommand from 'gmp/command';
import {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/gmp.js b/src/gmp/gmp.js
index bdf0e0ba97..463afccb7f 100644
--- a/src/gmp/gmp.js
+++ b/src/gmp/gmp.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/gmpsettings.js b/src/gmp/gmpsettings.js
index 7ce5fea16d..d870404312 100644
--- a/src/gmp/gmpsettings.js
+++ b/src/gmp/gmpsettings.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from './utils/identity';
diff --git a/src/gmp/http/__tests__/rejection.js b/src/gmp/http/__tests__/rejection.js
index 723f05ecf9..9faf6a1426 100644
--- a/src/gmp/http/__tests__/rejection.js
+++ b/src/gmp/http/__tests__/rejection.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Rejection from '../rejection';
diff --git a/src/gmp/http/__tests__/response.js b/src/gmp/http/__tests__/response.js
index 796a28e453..2144145551 100644
--- a/src/gmp/http/__tests__/response.js
+++ b/src/gmp/http/__tests__/response.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Response from '../response';
diff --git a/src/gmp/http/gmp.js b/src/gmp/http/gmp.js
index 39325d2380..caeb5f4c9e 100644
--- a/src/gmp/http/gmp.js
+++ b/src/gmp/http/gmp.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Http from './http';
import {buildServerUrl} from './utils';
diff --git a/src/gmp/http/http.js b/src/gmp/http/http.js
index 07186c6ce2..1be2a22080 100644
--- a/src/gmp/http/http.js
+++ b/src/gmp/http/http.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import _ from 'gmp/locale';
diff --git a/src/gmp/http/rejection.js b/src/gmp/http/rejection.js
index 145512be3b..be585947dd 100644
--- a/src/gmp/http/rejection.js
+++ b/src/gmp/http/rejection.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import _ from 'gmp/locale';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/http/response.js b/src/gmp/http/response.js
index 0756de557b..239a7b8332 100644
--- a/src/gmp/http/response.js
+++ b/src/gmp/http/response.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
class Response {
constructor(xhr, data, meta = {}) {
this._xhr = xhr;
diff --git a/src/gmp/http/transform/__tests__/fastxml.js b/src/gmp/http/transform/__tests__/fastxml.js
index f222c5308a..0a6581fee4 100644
--- a/src/gmp/http/transform/__tests__/fastxml.js
+++ b/src/gmp/http/transform/__tests__/fastxml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import transform from '../fastxml';
diff --git a/src/gmp/http/transform/__tests__/xml.js b/src/gmp/http/transform/__tests__/xml.js
index b0c79aa943..87635205db 100644
--- a/src/gmp/http/transform/__tests__/xml.js
+++ b/src/gmp/http/transform/__tests__/xml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {success, rejection} from '../xml';
diff --git a/src/gmp/http/transform/default.js b/src/gmp/http/transform/default.js
index 5e048f892f..acdd35041b 100644
--- a/src/gmp/http/transform/default.js
+++ b/src/gmp/http/transform/default.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const noop = arg => arg;
diff --git a/src/gmp/http/transform/fastxml.js b/src/gmp/http/transform/fastxml.js
index 8403d0b9fe..d5c873fa1d 100644
--- a/src/gmp/http/transform/fastxml.js
+++ b/src/gmp/http/transform/fastxml.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {XMLParser} from 'fast-xml-parser';
import {parseEnvelopeMeta, parseXmlEncodedString} from 'gmp/parser';
diff --git a/src/gmp/http/transform/xml.js b/src/gmp/http/transform/xml.js
index f92777661d..5ad4f218c8 100644
--- a/src/gmp/http/transform/xml.js
+++ b/src/gmp/http/transform/xml.js
@@ -1,42 +1,32 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
import Rejection from 'gmp/http//rejection';
-export const success = transform => (response, options = {}) => {
- try {
- return transform(response);
- } catch (error) {
- throw new Rejection(
- response.xhr,
- Rejection.REASON_ERROR,
- _(
- 'An error occurred while converting gmp response to js for ' +
- 'url {{- url}}',
- {url: options.url},
- ),
- error,
- );
- }
-};
+export const success =
+ transform =>
+ (response, options = {}) => {
+ try {
+ return transform(response);
+ } catch (error) {
+ throw new Rejection(
+ response.xhr,
+ Rejection.REASON_ERROR,
+ _(
+ 'An error occurred while converting gmp response to js for ' +
+ 'url {{- url}}',
+ {url: options.url},
+ ),
+ error,
+ );
+ }
+ };
export const rejection = transform => (rej, options) => {
if (rej.isError && rej.isError()) {
diff --git a/src/gmp/http/utils.js b/src/gmp/http/utils.js
index 08f93ddb7d..0d9517252b 100644
--- a/src/gmp/http/utils.js
+++ b/src/gmp/http/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/index.js b/src/gmp/index.js
index 4ebc21a5a4..9f07539914 100644
--- a/src/gmp/index.js
+++ b/src/gmp/index.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Gmp from 'gmp/gmp';
diff --git a/src/gmp/locale/__tests__/date.js b/src/gmp/locale/__tests__/date.js
index 5e192f9731..c7ab574391 100644
--- a/src/gmp/locale/__tests__/date.js
+++ b/src/gmp/locale/__tests__/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date, {setLocale as locale} from '../../models/date';
diff --git a/src/gmp/locale/__tests__/detector.js b/src/gmp/locale/__tests__/detector.js
index 062680da3f..7e8545b2e1 100644
--- a/src/gmp/locale/__tests__/detector.js
+++ b/src/gmp/locale/__tests__/detector.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from '../../utils/identity';
diff --git a/src/gmp/locale/__tests__/lang.js b/src/gmp/locale/__tests__/lang.js
index ace391aaf8..242f58980f 100644
--- a/src/gmp/locale/__tests__/lang.js
+++ b/src/gmp/locale/__tests__/lang.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/gmp/locale/__tests__/languages.js b/src/gmp/locale/__tests__/languages.js
index 305db992b1..235e02e65a 100644
--- a/src/gmp/locale/__tests__/languages.js
+++ b/src/gmp/locale/__tests__/languages.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/locale/date.js b/src/gmp/locale/date.js
index 273bab06f0..253a60b3a3 100644
--- a/src/gmp/locale/date.js
+++ b/src/gmp/locale/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined, isString, isJsDate} from 'gmp/utils/identity';
diff --git a/src/gmp/locale/detector.js b/src/gmp/locale/detector.js
index efcd367858..20ffec1c8a 100644
--- a/src/gmp/locale/detector.js
+++ b/src/gmp/locale/detector.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {BROWSER_LANGUAGE} from './languages';
import logger from 'gmp/log';
diff --git a/src/gmp/locale/index.js b/src/gmp/locale/index.js
index 33ab014347..ab9089478f 100644
--- a/src/gmp/locale/index.js
+++ b/src/gmp/locale/index.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from './lang';
export default _;
diff --git a/src/gmp/locale/lang.js b/src/gmp/locale/lang.js
index 7ab9ad263e..8ba2b07226 100644
--- a/src/gmp/locale/lang.js
+++ b/src/gmp/locale/lang.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import i18next from 'i18next';
diff --git a/src/gmp/locale/languages.js b/src/gmp/locale/languages.js
index 654a38e815..37777a0c6a 100644
--- a/src/gmp/locale/languages.js
+++ b/src/gmp/locale/languages.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const BROWSER_LANGUAGE = 'Browser Language';
@@ -29,8 +16,8 @@ const Languages = {
name: 'English',
native_name: 'English',
},
- zh_TW: {
- name: 'Traditional Chinese',
+ zh_TW: {
+ name: 'Traditional Chinese',
native_name: '繁體中文',
},
};
diff --git a/src/gmp/log.js b/src/gmp/log.js
index ee383a6cd3..49105df4f1 100644
--- a/src/gmp/log.js
+++ b/src/gmp/log.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/model.js b/src/gmp/model.js
index 7abe0064e3..caf0594b8b 100644
--- a/src/gmp/model.js
+++ b/src/gmp/model.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/__tests__/alert.js b/src/gmp/models/__tests__/alert.js
index d6fe044aaa..cde2afcc88 100644
--- a/src/gmp/models/__tests__/alert.js
+++ b/src/gmp/models/__tests__/alert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/asset.js b/src/gmp/models/__tests__/asset.js
index 5ea402907d..215a42d523 100644
--- a/src/gmp/models/__tests__/asset.js
+++ b/src/gmp/models/__tests__/asset.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/audit.js b/src/gmp/models/__tests__/audit.js
index 6dbcac6ec5..ee51713505 100644
--- a/src/gmp/models/__tests__/audit.js
+++ b/src/gmp/models/__tests__/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Audit, {
diff --git a/src/gmp/models/__tests__/certbund.js b/src/gmp/models/__tests__/certbund.js
index 5985da25bb..a97e4fc8c3 100644
--- a/src/gmp/models/__tests__/certbund.js
+++ b/src/gmp/models/__tests__/certbund.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/cpe.js b/src/gmp/models/__tests__/cpe.js
index 7feeab293d..15ba18bf73 100644
--- a/src/gmp/models/__tests__/cpe.js
+++ b/src/gmp/models/__tests__/cpe.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/credential.js b/src/gmp/models/__tests__/credential.js
index 7658022a6f..c45dc4961d 100644
--- a/src/gmp/models/__tests__/credential.js
+++ b/src/gmp/models/__tests__/credential.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/cve.js b/src/gmp/models/__tests__/cve.js
index 8c361b9dbe..20bad7cfd6 100644
--- a/src/gmp/models/__tests__/cve.js
+++ b/src/gmp/models/__tests__/cve.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/dfncert.js b/src/gmp/models/__tests__/dfncert.js
index 01d3472b78..80db18c103 100644
--- a/src/gmp/models/__tests__/dfncert.js
+++ b/src/gmp/models/__tests__/dfncert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/event.js b/src/gmp/models/__tests__/event.js
index b85f5cf52b..7fa5d96b21 100644
--- a/src/gmp/models/__tests__/event.js
+++ b/src/gmp/models/__tests__/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date from '../date';
diff --git a/src/gmp/models/__tests__/filter.js b/src/gmp/models/__tests__/filter.js
index a9c5d84b19..9d9699417d 100644
--- a/src/gmp/models/__tests__/filter.js
+++ b/src/gmp/models/__tests__/filter.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isArray} from '../../utils/identity';
diff --git a/src/gmp/models/__tests__/group.js b/src/gmp/models/__tests__/group.js
index 4d01656450..5f14863f4b 100644
--- a/src/gmp/models/__tests__/group.js
+++ b/src/gmp/models/__tests__/group.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Group from '../group';
diff --git a/src/gmp/models/__tests__/host.js b/src/gmp/models/__tests__/host.js
index 38241bb347..ab6996f57d 100644
--- a/src/gmp/models/__tests__/host.js
+++ b/src/gmp/models/__tests__/host.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/info.js b/src/gmp/models/__tests__/info.js
index 1bd7d02bd0..339dc99b61 100644
--- a/src/gmp/models/__tests__/info.js
+++ b/src/gmp/models/__tests__/info.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Info from 'gmp/models/info';
diff --git a/src/gmp/models/__tests__/license.js b/src/gmp/models/__tests__/license.js
index 43af8ef9d5..074cdf63da 100644
--- a/src/gmp/models/__tests__/license.js
+++ b/src/gmp/models/__tests__/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/login.js b/src/gmp/models/__tests__/login.js
index a8a7f7a1ad..5bfa3c6993 100644
--- a/src/gmp/models/__tests__/login.js
+++ b/src/gmp/models/__tests__/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isDate} from 'gmp/models/date';
diff --git a/src/gmp/models/__tests__/note.js b/src/gmp/models/__tests__/note.js
index 26f8ecd5d7..7508c56876 100644
--- a/src/gmp/models/__tests__/note.js
+++ b/src/gmp/models/__tests__/note.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/nvt.js b/src/gmp/models/__tests__/nvt.js
index 2b80865b58..e02740d905 100644
--- a/src/gmp/models/__tests__/nvt.js
+++ b/src/gmp/models/__tests__/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/os.js b/src/gmp/models/__tests__/os.js
index 798ed5059b..919dfbdb8d 100644
--- a/src/gmp/models/__tests__/os.js
+++ b/src/gmp/models/__tests__/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Asset from 'gmp/models/asset';
diff --git a/src/gmp/models/__tests__/override.js b/src/gmp/models/__tests__/override.js
index 7883a8380d..5257046094 100644
--- a/src/gmp/models/__tests__/override.js
+++ b/src/gmp/models/__tests__/override.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/permission.js b/src/gmp/models/__tests__/permission.js
index 4c8ce68fe4..d71f51418b 100644
--- a/src/gmp/models/__tests__/permission.js
+++ b/src/gmp/models/__tests__/permission.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/policy.js b/src/gmp/models/__tests__/policy.js
index 30855973b2..66f9b6a18e 100644
--- a/src/gmp/models/__tests__/policy.js
+++ b/src/gmp/models/__tests__/policy.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/portlist.js b/src/gmp/models/__tests__/portlist.js
index d15e8486fd..105ad1c3c7 100644
--- a/src/gmp/models/__tests__/portlist.js
+++ b/src/gmp/models/__tests__/portlist.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/reportconfig.js b/src/gmp/models/__tests__/reportconfig.js
index 588591fca4..107a2c9a43 100644
--- a/src/gmp/models/__tests__/reportconfig.js
+++ b/src/gmp/models/__tests__/reportconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/reportformat.js b/src/gmp/models/__tests__/reportformat.js
index fd772bfc9a..8d9aea3eed 100644
--- a/src/gmp/models/__tests__/reportformat.js
+++ b/src/gmp/models/__tests__/reportformat.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/resourcename.js b/src/gmp/models/__tests__/resourcename.js
index 8ecddadf03..d8ef304722 100644
--- a/src/gmp/models/__tests__/resourcename.js
+++ b/src/gmp/models/__tests__/resourcename.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/result.js b/src/gmp/models/__tests__/result.js
index da1e5ddb9e..d7a6018e29 100644
--- a/src/gmp/models/__tests__/result.js
+++ b/src/gmp/models/__tests__/result.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/role.js b/src/gmp/models/__tests__/role.js
index 74eff56d76..d7f8c57c8c 100644
--- a/src/gmp/models/__tests__/role.js
+++ b/src/gmp/models/__tests__/role.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/scanconfig.js b/src/gmp/models/__tests__/scanconfig.js
index de6d79f2af..7088043cc4 100644
--- a/src/gmp/models/__tests__/scanconfig.js
+++ b/src/gmp/models/__tests__/scanconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/scanner.js b/src/gmp/models/__tests__/scanner.js
index 1e6fefff3c..1512d532dc 100644
--- a/src/gmp/models/__tests__/scanner.js
+++ b/src/gmp/models/__tests__/scanner.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/schedule.js b/src/gmp/models/__tests__/schedule.js
index d4b201a802..87e02aba4d 100644
--- a/src/gmp/models/__tests__/schedule.js
+++ b/src/gmp/models/__tests__/schedule.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/gmp/models/__tests__/secinfo.js b/src/gmp/models/__tests__/secinfo.js
index f9a4dce785..5846d7787d 100644
--- a/src/gmp/models/__tests__/secinfo.js
+++ b/src/gmp/models/__tests__/secinfo.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Info from 'gmp/models/info';
diff --git a/src/gmp/models/__tests__/setting.js b/src/gmp/models/__tests__/setting.js
index 3ea9847a27..de6ace053f 100644
--- a/src/gmp/models/__tests__/setting.js
+++ b/src/gmp/models/__tests__/setting.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Setting from '../setting';
diff --git a/src/gmp/models/__tests__/settings.js b/src/gmp/models/__tests__/settings.js
index 3f671b552c..1d4bcee408 100644
--- a/src/gmp/models/__tests__/settings.js
+++ b/src/gmp/models/__tests__/settings.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Settings from 'gmp/models/settings';
diff --git a/src/gmp/models/__tests__/tag.js b/src/gmp/models/__tests__/tag.js
index 4684bd7f7a..1e5196ebe0 100644
--- a/src/gmp/models/__tests__/tag.js
+++ b/src/gmp/models/__tests__/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Tag from 'gmp/models/tag';
diff --git a/src/gmp/models/__tests__/target.js b/src/gmp/models/__tests__/target.js
index 0e59783f1d..4a68e93e9f 100644
--- a/src/gmp/models/__tests__/target.js
+++ b/src/gmp/models/__tests__/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/task.js b/src/gmp/models/__tests__/task.js
index 7e54dbfa82..b7d47ed7e9 100644
--- a/src/gmp/models/__tests__/task.js
+++ b/src/gmp/models/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/ticket.js b/src/gmp/models/__tests__/ticket.js
index 6e065ffcf5..34dbee5073 100644
--- a/src/gmp/models/__tests__/ticket.js
+++ b/src/gmp/models/__tests__/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Ticket from '../ticket';
diff --git a/src/gmp/models/__tests__/tlscertificate.js b/src/gmp/models/__tests__/tlscertificate.js
index 3013a50417..3b15042c7c 100644
--- a/src/gmp/models/__tests__/tlscertificate.js
+++ b/src/gmp/models/__tests__/tlscertificate.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import TlsCertificate, {TIME_STATUS} from '../tlscertificate';
diff --git a/src/gmp/models/__tests__/user.js b/src/gmp/models/__tests__/user.js
index e524050211..0fdd44a1dd 100644
--- a/src/gmp/models/__tests__/user.js
+++ b/src/gmp/models/__tests__/user.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/gmp/models/__tests__/vulnerability.js b/src/gmp/models/__tests__/vulnerability.js
index a5dbc0fa3c..7f9404d42f 100644
--- a/src/gmp/models/__tests__/vulnerability.js
+++ b/src/gmp/models/__tests__/vulnerability.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import Vulnerability from 'gmp/models/vulnerability';
diff --git a/src/gmp/models/actionresult.js b/src/gmp/models/actionresult.js
index eb4b66fb8e..73375a3282 100644
--- a/src/gmp/models/actionresult.js
+++ b/src/gmp/models/actionresult.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setProperties} from 'gmp/parser';
class ActionResult {
diff --git a/src/gmp/models/alert.js b/src/gmp/models/alert.js
index 35041709d3..fbf3eef5b6 100644
--- a/src/gmp/models/alert.js
+++ b/src/gmp/models/alert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isObject} from 'gmp/utils/identity';
diff --git a/src/gmp/models/asset.js b/src/gmp/models/asset.js
index 1d5d85c26b..58e7f1ebd1 100644
--- a/src/gmp/models/asset.js
+++ b/src/gmp/models/asset.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model from 'gmp/model';
class Asset extends Model {
diff --git a/src/gmp/models/audit.js b/src/gmp/models/audit.js
index 5c4c953c26..ecf64c67de 100644
--- a/src/gmp/models/audit.js
+++ b/src/gmp/models/audit.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isArray, isString} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/certbund.js b/src/gmp/models/certbund.js
index 4f80a49ce4..ac71191623 100644
--- a/src/gmp/models/certbund.js
+++ b/src/gmp/models/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/cpe.js b/src/gmp/models/cpe.js
index e93c3c4576..5f4d343a12 100644
--- a/src/gmp/models/cpe.js
+++ b/src/gmp/models/cpe.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/credential.js b/src/gmp/models/credential.js
index 738a8ed44b..36a78c58eb 100644
--- a/src/gmp/models/credential.js
+++ b/src/gmp/models/credential.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model, {parseModelFromElement} from 'gmp/model';
import {_l} from 'gmp/locale/lang';
diff --git a/src/gmp/models/cve.js b/src/gmp/models/cve.js
index 0ca36203a6..b068a58c69 100644
--- a/src/gmp/models/cve.js
+++ b/src/gmp/models/cve.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/date.js b/src/gmp/models/date.js
index 4b65d953bd..a0288710d6 100644
--- a/src/gmp/models/date.js
+++ b/src/gmp/models/date.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import moment from 'moment-timezone';
import 'moment/locale/ar';
diff --git a/src/gmp/models/dfncert.js b/src/gmp/models/dfncert.js
index 8f6ea427ee..de63103e5f 100644
--- a/src/gmp/models/dfncert.js
+++ b/src/gmp/models/dfncert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/event.js b/src/gmp/models/event.js
index 80f97ac658..a413fcb494 100644
--- a/src/gmp/models/event.js
+++ b/src/gmp/models/event.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import ical from 'ical.js';
diff --git a/src/gmp/models/filter.js b/src/gmp/models/filter.js
index b884ceec00..630f12939d 100644
--- a/src/gmp/models/filter.js
+++ b/src/gmp/models/filter.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString, isArray, hasValue} from 'gmp/utils/identity';
diff --git a/src/gmp/models/filter/__tests__/convert.js b/src/gmp/models/filter/__tests__/convert.js
index f7d740b88d..3c2a9b71be 100644
--- a/src/gmp/models/filter/__tests__/convert.js
+++ b/src/gmp/models/filter/__tests__/convert.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import convert from '../convert';
diff --git a/src/gmp/models/filter/__tests__/filterterm.js b/src/gmp/models/filter/__tests__/filterterm.js
index 78d15e443e..d7376fe088 100644
--- a/src/gmp/models/filter/__tests__/filterterm.js
+++ b/src/gmp/models/filter/__tests__/filterterm.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import FilterTerm from '../filterterm.js';
diff --git a/src/gmp/models/filter/__tests__/utils.js b/src/gmp/models/filter/__tests__/utils.js
index 21047adf48..6e7607ccfc 100644
--- a/src/gmp/models/filter/__tests__/utils.js
+++ b/src/gmp/models/filter/__tests__/utils.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {filter_string} from '../utils';
diff --git a/src/gmp/models/filter/convert.js b/src/gmp/models/filter/convert.js
index 37962e0022..bb18026ded 100644
--- a/src/gmp/models/filter/convert.js
+++ b/src/gmp/models/filter/convert.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isNumberOrNumberString} from '../../utils/identity';
diff --git a/src/gmp/models/filter/filterterm.js b/src/gmp/models/filter/filterterm.js
index 4f06cc4b59..c63dbd3f41 100644
--- a/src/gmp/models/filter/filterterm.js
+++ b/src/gmp/models/filter/filterterm.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/filter/keywords.js b/src/gmp/models/filter/keywords.js
index 0568285b18..bbc4e8d305 100644
--- a/src/gmp/models/filter/keywords.js
+++ b/src/gmp/models/filter/keywords.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const EXTRA_KEYWORDS = [
diff --git a/src/gmp/models/filter/utils.js b/src/gmp/models/filter/utils.js
index 25ed2976a6..675cb687cb 100644
--- a/src/gmp/models/filter/utils.js
+++ b/src/gmp/models/filter/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/group.js b/src/gmp/models/group.js
index a12bd850d4..c6d4d59c0c 100644
--- a/src/gmp/models/group.js
+++ b/src/gmp/models/group.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseCsv} from 'gmp/parser';
import Model from 'gmp/model';
diff --git a/src/gmp/models/host.js b/src/gmp/models/host.js
index 62b23e01b0..f9f218068f 100644
--- a/src/gmp/models/host.js
+++ b/src/gmp/models/host.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/info.js b/src/gmp/models/info.js
index 1c24a12525..25df19ccaf 100644
--- a/src/gmp/models/info.js
+++ b/src/gmp/models/info.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/license.js b/src/gmp/models/license.js
index b9c38979b7..82e9b70687 100644
--- a/src/gmp/models/license.js
+++ b/src/gmp/models/license.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import _ from 'gmp/locale';
diff --git a/src/gmp/models/login.js b/src/gmp/models/login.js
index 6c13374d79..3b401a69ab 100644
--- a/src/gmp/models/login.js
+++ b/src/gmp/models/login.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt} from 'gmp/parser';
import moment from 'gmp/models/date';
diff --git a/src/gmp/models/note.js b/src/gmp/models/note.js
index c3857a7104..583eceb6ed 100644
--- a/src/gmp/models/note.js
+++ b/src/gmp/models/note.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isModelElement} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/nvt.js b/src/gmp/models/nvt.js
index ab1d06c585..dc86177851 100644
--- a/src/gmp/models/nvt.js
+++ b/src/gmp/models/nvt.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isArray, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/os.js b/src/gmp/models/os.js
index 19d0bac911..347c1ce31b 100644
--- a/src/gmp/models/os.js
+++ b/src/gmp/models/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Asset from './asset';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/gmp/models/override.js b/src/gmp/models/override.js
index e3989da9cb..1be5f6894e 100644
--- a/src/gmp/models/override.js
+++ b/src/gmp/models/override.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isModelElement} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/permission.js b/src/gmp/models/permission.js
index f013361743..8912a4d0d5 100644
--- a/src/gmp/models/permission.js
+++ b/src/gmp/models/permission.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/policy.js b/src/gmp/models/policy.js
index 5d71bdfc23..9d0f81d41a 100644
--- a/src/gmp/models/policy.js
+++ b/src/gmp/models/policy.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/portlist.js b/src/gmp/models/portlist.js
index 83c2f19de1..aa3397e9f5 100644
--- a/src/gmp/models/portlist.js
+++ b/src/gmp/models/portlist.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/report.js b/src/gmp/models/report.js
index 293d084846..d97fd8c6d0 100644
--- a/src/gmp/models/report.js
+++ b/src/gmp/models/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, parseDate} from 'gmp/parser';
diff --git a/src/gmp/models/report/__tests__/app.js b/src/gmp/models/report/__tests__/app.js
index eb1374a7b5..d3a72d8f72 100644
--- a/src/gmp/models/report/__tests__/app.js
+++ b/src/gmp/models/report/__tests__/app.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import App from '../app';
diff --git a/src/gmp/models/report/__tests__/cve.js b/src/gmp/models/report/__tests__/cve.js
index c7e68a05bd..59949c9778 100644
--- a/src/gmp/models/report/__tests__/cve.js
+++ b/src/gmp/models/report/__tests__/cve.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportCve from '../cve';
diff --git a/src/gmp/models/report/__tests__/host.js b/src/gmp/models/report/__tests__/host.js
index 5985f3e663..a98bb10c46 100644
--- a/src/gmp/models/report/__tests__/host.js
+++ b/src/gmp/models/report/__tests__/host.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportHost from '../host';
diff --git a/src/gmp/models/report/__tests__/os.js b/src/gmp/models/report/__tests__/os.js
index 2bfd382d05..1a7daa4cef 100644
--- a/src/gmp/models/report/__tests__/os.js
+++ b/src/gmp/models/report/__tests__/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportOperatingSystem from '../os';
diff --git a/src/gmp/models/report/__tests__/parser.js b/src/gmp/models/report/__tests__/parser.js
index c3888e9f6e..32948845cd 100644
--- a/src/gmp/models/report/__tests__/parser.js
+++ b/src/gmp/models/report/__tests__/parser.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/models/report/__tests__/port.js b/src/gmp/models/report/__tests__/port.js
index 0cb412f854..cc925feb7d 100644
--- a/src/gmp/models/report/__tests__/port.js
+++ b/src/gmp/models/report/__tests__/port.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportPort from '../port';
diff --git a/src/gmp/models/report/__tests__/task.js b/src/gmp/models/report/__tests__/task.js
index 2924fd0155..75e2eeea9d 100644
--- a/src/gmp/models/report/__tests__/task.js
+++ b/src/gmp/models/report/__tests__/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportTask from '../task';
diff --git a/src/gmp/models/report/__tests__/tlscertificate.js b/src/gmp/models/report/__tests__/tlscertificate.js
index 651dc0e47b..29fd7fe0d8 100644
--- a/src/gmp/models/report/__tests__/tlscertificate.js
+++ b/src/gmp/models/report/__tests__/tlscertificate.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import ReportTlsCertificate from '../tlscertificate';
diff --git a/src/gmp/models/report/app.js b/src/gmp/models/report/app.js
index 64a6eadc7d..7a715a3729 100644
--- a/src/gmp/models/report/app.js
+++ b/src/gmp/models/report/app.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, setProperties} from 'gmp/parser';
diff --git a/src/gmp/models/report/cve.js b/src/gmp/models/report/cve.js
index c80f21cab2..3a04353d4b 100644
--- a/src/gmp/models/report/cve.js
+++ b/src/gmp/models/report/cve.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {setProperties, parseSeverity} from '../../parser';
diff --git a/src/gmp/models/report/host.js b/src/gmp/models/report/host.js
index 26148755e9..a892d6d567 100644
--- a/src/gmp/models/report/host.js
+++ b/src/gmp/models/report/host.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isArray, isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/report/os.js b/src/gmp/models/report/os.js
index 04e86dd2db..e90ed54b94 100644
--- a/src/gmp/models/report/os.js
+++ b/src/gmp/models/report/os.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {setProperties} from 'gmp/parser';
diff --git a/src/gmp/models/report/parser.js b/src/gmp/models/report/parser.js
index 6adf55208c..5895286acb 100644
--- a/src/gmp/models/report/parser.js
+++ b/src/gmp/models/report/parser.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/report/port.js b/src/gmp/models/report/port.js
index e6c364dcda..ef39cef5bc 100644
--- a/src/gmp/models/report/port.js
+++ b/src/gmp/models/report/port.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from '../../utils/identity';
diff --git a/src/gmp/models/report/report.js b/src/gmp/models/report/report.js
index 28c1599cb7..e12aec9f49 100644
--- a/src/gmp/models/report/report.js
+++ b/src/gmp/models/report/report.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {isEmpty} from '../../utils/string';
@@ -48,15 +36,8 @@ class ReportReport extends Model {
static parseElement(element) {
const copy = super.parseElement(element);
- const {
- delta,
- severity,
- scan_start,
- scan_end,
- task,
- scan,
- timestamp,
- } = element;
+ const {delta, severity, scan_start, scan_end, task, scan, timestamp} =
+ element;
const filter = parseFilter(element);
diff --git a/src/gmp/models/report/task.js b/src/gmp/models/report/task.js
index 5e31329895..67116e5977 100644
--- a/src/gmp/models/report/task.js
+++ b/src/gmp/models/report/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from '../../utils/identity';
import {isEmpty} from '../../utils/string';
diff --git a/src/gmp/models/report/tlscertificate.js b/src/gmp/models/report/tlscertificate.js
index 9886c1e321..30b67d9304 100644
--- a/src/gmp/models/report/tlscertificate.js
+++ b/src/gmp/models/report/tlscertificate.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/reportconfig.js b/src/gmp/models/reportconfig.js
index 100d9c8e73..fbdb115f85 100644
--- a/src/gmp/models/reportconfig.js
+++ b/src/gmp/models/reportconfig.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isObject} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/reportformat.js b/src/gmp/models/reportformat.js
index bc9eb2f321..6891eeea28 100644
--- a/src/gmp/models/reportformat.js
+++ b/src/gmp/models/reportformat.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isObject} from 'gmp/utils/identity';
import {forEach, map} from 'gmp/utils/array';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/resourcename.js b/src/gmp/models/resourcename.js
index 2e9793392c..299f4591ac 100644
--- a/src/gmp/models/resourcename.js
+++ b/src/gmp/models/resourcename.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export class ResourceName {
diff --git a/src/gmp/models/result.js b/src/gmp/models/result.js
index 81cf0e932c..480420797f 100644
--- a/src/gmp/models/result.js
+++ b/src/gmp/models/result.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {forEach, map} from 'gmp/utils/array';
diff --git a/src/gmp/models/role.js b/src/gmp/models/role.js
index 369d483066..f9cf8c1e3e 100644
--- a/src/gmp/models/role.js
+++ b/src/gmp/models/role.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseCsv} from 'gmp/parser';
import Model from 'gmp/model';
diff --git a/src/gmp/models/scanconfig.js b/src/gmp/models/scanconfig.js
index 1561b67a76..59ba4266d8 100644
--- a/src/gmp/models/scanconfig.js
+++ b/src/gmp/models/scanconfig.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/scanner.js b/src/gmp/models/scanner.js
index b26e0beef2..6ec5ed59cc 100644
--- a/src/gmp/models/scanner.js
+++ b/src/gmp/models/scanner.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/schedule.js b/src/gmp/models/schedule.js
index 578b7507c5..5973edd811 100644
--- a/src/gmp/models/schedule.js
+++ b/src/gmp/models/schedule.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
import {map} from 'gmp/utils/array';
diff --git a/src/gmp/models/secinfo.js b/src/gmp/models/secinfo.js
index 472ec46d00..3160b1cedf 100644
--- a/src/gmp/models/secinfo.js
+++ b/src/gmp/models/secinfo.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/setting.js b/src/gmp/models/setting.js
index 3339ca63f7..ef287de507 100644
--- a/src/gmp/models/setting.js
+++ b/src/gmp/models/setting.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isEmpty} from 'gmp/utils/string';
class Setting {
diff --git a/src/gmp/models/settings.js b/src/gmp/models/settings.js
index 40e9405af1..929cace9e9 100644
--- a/src/gmp/models/settings.js
+++ b/src/gmp/models/settings.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/tag.js b/src/gmp/models/tag.js
index 99d9ea81ca..575548364e 100644
--- a/src/gmp/models/tag.js
+++ b/src/gmp/models/tag.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {normalizeType} from 'gmp/utils/entitytype';
import {isDefined} from 'gmp/utils/identity';
import {isEmpty} from 'gmp/utils/string';
diff --git a/src/gmp/models/target.js b/src/gmp/models/target.js
index 1be3d3d2d7..c907f32a3e 100644
--- a/src/gmp/models/target.js
+++ b/src/gmp/models/target.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model, {parseModelFromElement} from 'gmp/model';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/task.js b/src/gmp/models/task.js
index c52cb8dcdb..74ca27e6ad 100644
--- a/src/gmp/models/task.js
+++ b/src/gmp/models/task.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined, isArray, isString} from 'gmp/utils/identity';
diff --git a/src/gmp/models/testing.js b/src/gmp/models/testing.js
index 05b11ca28b..13ff097fd0 100644
--- a/src/gmp/models/testing.js
+++ b/src/gmp/models/testing.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {test, expect} from '@gsa/testing';
diff --git a/src/gmp/models/ticket.js b/src/gmp/models/ticket.js
index 85376ace67..5c0447d497 100644
--- a/src/gmp/models/ticket.js
+++ b/src/gmp/models/ticket.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {parseSeverity, parseDate, parseText} from 'gmp/parser';
diff --git a/src/gmp/models/tlscertificate.js b/src/gmp/models/tlscertificate.js
index ff592ce5b9..6e3f89132a 100644
--- a/src/gmp/models/tlscertificate.js
+++ b/src/gmp/models/tlscertificate.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {_l} from 'gmp/locale/lang';
diff --git a/src/gmp/models/user.js b/src/gmp/models/user.js
index ff8bd0c119..073b2f4bd5 100644
--- a/src/gmp/models/user.js
+++ b/src/gmp/models/user.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/models/vulnerability.js b/src/gmp/models/vulnerability.js
index e0522c8e20..d7afd687ae 100644
--- a/src/gmp/models/vulnerability.js
+++ b/src/gmp/models/vulnerability.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Model from 'gmp/model';
import {isDefined} from 'gmp/utils/identity';
import {parseDate} from 'gmp/parser';
diff --git a/src/gmp/parser.js b/src/gmp/parser.js
index b8672c945f..375c075404 100644
--- a/src/gmp/parser.js
+++ b/src/gmp/parser.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined, isString, isNumber, isArray} from 'gmp/utils/identity';
diff --git a/src/gmp/parser/cvss.js b/src/gmp/parser/cvss.js
index 74fbdedd82..d83005ed86 100644
--- a/src/gmp/parser/cvss.js
+++ b/src/gmp/parser/cvss.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/gmp/timezones.js b/src/gmp/timezones.js
index 278ca4769b..eec5a8266c 100644
--- a/src/gmp/timezones.js
+++ b/src/gmp/timezones.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const timezones = [
diff --git a/src/gmp/utils/__tests__/array.js b/src/gmp/utils/__tests__/array.js
index 4e38194ee2..619cab1dcb 100644
--- a/src/gmp/utils/__tests__/array.js
+++ b/src/gmp/utils/__tests__/array.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {arraysEqual, map, forEach, filter, first} from '../array';
diff --git a/src/gmp/utils/__tests__/entitytype.js b/src/gmp/utils/__tests__/entitytype.js
index 8ee8f63246..ba3f6bedb9 100644
--- a/src/gmp/utils/__tests__/entitytype.js
+++ b/src/gmp/utils/__tests__/entitytype.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {parseModelFromElement} from 'gmp/model';
diff --git a/src/gmp/utils/__tests__/event.js b/src/gmp/utils/__tests__/event.js
index 305525936e..67724f8910 100644
--- a/src/gmp/utils/__tests__/event.js
+++ b/src/gmp/utils/__tests__/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {debounce, throttleAnimation} from '../event';
diff --git a/src/gmp/utils/__tests__/id.js b/src/gmp/utils/__tests__/id.js
index 93ed129474..24d196701c 100644
--- a/src/gmp/utils/__tests__/id.js
+++ b/src/gmp/utils/__tests__/id.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {includesId, selectSaveId, hasId} from '../id';
diff --git a/src/gmp/utils/__tests__/identity.js b/src/gmp/utils/__tests__/identity.js
index 7d1f0a85a5..713c504ca1 100644
--- a/src/gmp/utils/__tests__/identity.js
+++ b/src/gmp/utils/__tests__/identity.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/gmp/utils/__tests__/number.js b/src/gmp/utils/__tests__/number.js
index 04988909b3..3725cfa520 100644
--- a/src/gmp/utils/__tests__/number.js
+++ b/src/gmp/utils/__tests__/number.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {severityValue, fixedValue} from 'gmp/utils/number';
diff --git a/src/gmp/utils/__tests__/object.js b/src/gmp/utils/__tests__/object.js
index 84b99641dd..24e8f5b7db 100644
--- a/src/gmp/utils/__tests__/object.js
+++ b/src/gmp/utils/__tests__/object.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {exclude, excludeObjectProps} from '../object';
diff --git a/src/gmp/utils/__tests__/string.js b/src/gmp/utils/__tests__/string.js
index 747e8f31ad..a0a720c534 100644
--- a/src/gmp/utils/__tests__/string.js
+++ b/src/gmp/utils/__tests__/string.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {split, capitalizeFirstLetter, shorten, isEmpty} from '../string';
diff --git a/src/gmp/utils/array.js b/src/gmp/utils/array.js
index 1854474914..c0ea6b3921 100644
--- a/src/gmp/utils/array.js
+++ b/src/gmp/utils/array.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {hasValue, isDefined, isArray} from './identity';
diff --git a/src/gmp/utils/entitytype.js b/src/gmp/utils/entitytype.js
index 09aba22f6b..6938a59eb1 100644
--- a/src/gmp/utils/entitytype.js
+++ b/src/gmp/utils/entitytype.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined} from './identity';
diff --git a/src/gmp/utils/event.js b/src/gmp/utils/event.js
index e779d438ef..5334082bc3 100644
--- a/src/gmp/utils/event.js
+++ b/src/gmp/utils/event.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const KeyCode = {
ESC: 27,
BACKSPACE: 8,
@@ -48,7 +36,7 @@ export const KeyCode = {
*/
export const debounce = (func, wait, immediate = false) => {
let timeout;
- return function(...args) {
+ return function (...args) {
const context = this;
const later = () => {
timeout = undefined;
diff --git a/src/gmp/utils/id.js b/src/gmp/utils/id.js
index d47f3c339a..19b60f6533 100644
--- a/src/gmp/utils/id.js
+++ b/src/gmp/utils/id.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {first} from './array';
import {isDefined, isString} from './identity';
diff --git a/src/gmp/utils/identity.js b/src/gmp/utils/identity.js
index f7d392881b..0bd9b9aa6e 100644
--- a/src/gmp/utils/identity.js
+++ b/src/gmp/utils/identity.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const {isArray} = global.Array;
diff --git a/src/gmp/utils/number.js b/src/gmp/utils/number.js
index d49a560bc5..03986fa617 100644
--- a/src/gmp/utils/number.js
+++ b/src/gmp/utils/number.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from './identity';
/**
diff --git a/src/gmp/utils/object.js b/src/gmp/utils/object.js
index adc724417e..41b1626904 100644
--- a/src/gmp/utils/object.js
+++ b/src/gmp/utils/object.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const exclude = (object, func) =>
diff --git a/src/gmp/utils/string.js b/src/gmp/utils/string.js
index a3b5a23ffb..6b5b51f39d 100644
--- a/src/gmp/utils/string.js
+++ b/src/gmp/utils/string.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined, isString} from './identity';
export const capitalizeFirstLetter = string =>
diff --git a/src/gmp/utils/trace.js b/src/gmp/utils/trace.js
index e7b8d190bf..1550e59aa2 100644
--- a/src/gmp/utils/trace.js
+++ b/src/gmp/utils/trace.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
/** Return the current stack trace a string */
diff --git a/src/index.jsx b/src/index.jsx
index bd39ff90d8..41942e3372 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {createRoot} from 'react-dom/client';
diff --git a/src/version.js b/src/version.js
index f7c1998fbd..84513958f9 100644
--- a/src/version.js
+++ b/src/version.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
const getMajorMinorVersion = () => {
diff --git a/src/web/app.jsx b/src/web/app.jsx
index a9f6bde540..d82caee741 100644
--- a/src/web/app.jsx
+++ b/src/web/app.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Provider as StoreProvider} from 'react-redux';
diff --git a/src/web/authorized.jsx b/src/web/authorized.jsx
index 52d862a898..687ac32046 100644
--- a/src/web/authorized.jsx
+++ b/src/web/authorized.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/badge/__tests__/badge.jsx b/src/web/components/badge/__tests__/badge.jsx
index 13b1c04006..e45775f487 100644
--- a/src/web/components/badge/__tests__/badge.jsx
+++ b/src/web/components/badge/__tests__/badge.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/badge/badge.jsx b/src/web/components/badge/badge.jsx
index 5b1b629ca8..5adcda4037 100644
--- a/src/web/components/badge/badge.jsx
+++ b/src/web/components/badge/badge.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useRef, useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/__tests__/compliancestatusbar.jsx b/src/web/components/bar/__tests__/compliancestatusbar.jsx
index 82da9c9fd5..0c5d51b4f6 100644
--- a/src/web/components/bar/__tests__/compliancestatusbar.jsx
+++ b/src/web/components/bar/__tests__/compliancestatusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/progressbar.jsx b/src/web/components/bar/__tests__/progressbar.jsx
index 1f1bc3c2a9..08862103db 100644
--- a/src/web/components/bar/__tests__/progressbar.jsx
+++ b/src/web/components/bar/__tests__/progressbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/severitybar.jsx b/src/web/components/bar/__tests__/severitybar.jsx
index 8c3f332a23..7497c0ee3e 100644
--- a/src/web/components/bar/__tests__/severitybar.jsx
+++ b/src/web/components/bar/__tests__/severitybar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/statusbar.jsx b/src/web/components/bar/__tests__/statusbar.jsx
index d5518cfbb6..0ac50858f7 100644
--- a/src/web/components/bar/__tests__/statusbar.jsx
+++ b/src/web/components/bar/__tests__/statusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/__tests__/toolbar.jsx b/src/web/components/bar/__tests__/toolbar.jsx
index 50f73feebc..31cdbcdb5a 100644
--- a/src/web/components/bar/__tests__/toolbar.jsx
+++ b/src/web/components/bar/__tests__/toolbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/bar/compliancestatusbar.jsx b/src/web/components/bar/compliancestatusbar.jsx
index b20470e687..a3fbe98afe 100644
--- a/src/web/components/bar/compliancestatusbar.jsx
+++ b/src/web/components/bar/compliancestatusbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/bar/progressbar.jsx b/src/web/components/bar/progressbar.jsx
index 5312393e6f..badfccbce8 100644
--- a/src/web/components/bar/progressbar.jsx
+++ b/src/web/components/bar/progressbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/severitybar.jsx b/src/web/components/bar/severitybar.jsx
index 31740b200e..3fa6dca090 100644
--- a/src/web/components/bar/severitybar.jsx
+++ b/src/web/components/bar/severitybar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/bar/statusbar.jsx b/src/web/components/bar/statusbar.jsx
index 8ecaff03ce..fe8371e8bc 100644
--- a/src/web/components/bar/statusbar.jsx
+++ b/src/web/components/bar/statusbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/bar/toolbar.jsx b/src/web/components/bar/toolbar.jsx
index 0884897aa7..eb439147eb 100644
--- a/src/web/components/bar/toolbar.jsx
+++ b/src/web/components/bar/toolbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/certinfo/certinfo.jsx b/src/web/components/certinfo/certinfo.jsx
index aaa756bc45..85ab6fa4ed 100644
--- a/src/web/components/certinfo/certinfo.jsx
+++ b/src/web/components/certinfo/certinfo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/chart/axis.jsx b/src/web/components/chart/axis.jsx
index 4b7a443b17..faa892f77e 100644
--- a/src/web/components/chart/axis.jsx
+++ b/src/web/components/chart/axis.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Axis as VxAxis} from '@visx/axis';
diff --git a/src/web/components/chart/bar.jsx b/src/web/components/chart/bar.jsx
index a58ce29bf4..a86c06873e 100644
--- a/src/web/components/chart/bar.jsx
+++ b/src/web/components/chart/bar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/bubble.jsx b/src/web/components/chart/bubble.jsx
index fc217d9875..19be25bab0 100644
--- a/src/web/components/chart/bubble.jsx
+++ b/src/web/components/chart/bubble.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {pack, hierarchy} from 'd3-hierarchy';
diff --git a/src/web/components/chart/donut.jsx b/src/web/components/chart/donut.jsx
index 4b0a95bcc2..25325dfe02 100644
--- a/src/web/components/chart/donut.jsx
+++ b/src/web/components/chart/donut.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/donut/arc2d.jsx b/src/web/components/chart/donut/arc2d.jsx
index 3d4d293c8f..6dfdd81566 100644
--- a/src/web/components/chart/donut/arc2d.jsx
+++ b/src/web/components/chart/donut/arc2d.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/chart/donut/arc3d.jsx b/src/web/components/chart/donut/arc3d.jsx
index 2d1d115a6f..980e03fbb7 100644
--- a/src/web/components/chart/donut/arc3d.jsx
+++ b/src/web/components/chart/donut/arc3d.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {color as d3color} from 'd3-color';
diff --git a/src/web/components/chart/donut/labels.jsx b/src/web/components/chart/donut/labels.jsx
index bbb3de7499..edf95068c9 100644
--- a/src/web/components/chart/donut/labels.jsx
+++ b/src/web/components/chart/donut/labels.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/chart/donut/paths.jsx b/src/web/components/chart/donut/paths.jsx
index 89ac06d15e..9023fb35ad 100644
--- a/src/web/components/chart/donut/paths.jsx
+++ b/src/web/components/chart/donut/paths.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/chart/donut/pie.jsx b/src/web/components/chart/donut/pie.jsx
index 149e7896ed..8341040d91 100644
--- a/src/web/components/chart/donut/pie.jsx
+++ b/src/web/components/chart/donut/pie.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {pie as d3pie} from 'd3-shape';
diff --git a/src/web/components/chart/donut/proptypes.jsx b/src/web/components/chart/donut/proptypes.jsx
index 5c8d4bc5f8..f5c20d2dd0 100644
--- a/src/web/components/chart/donut/proptypes.jsx
+++ b/src/web/components/chart/donut/proptypes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
export const ArcDataPropType = PropTypes.shape({
diff --git a/src/web/components/chart/group.jsx b/src/web/components/chart/group.jsx
index 4ce4851a60..0d2fe0cad1 100644
--- a/src/web/components/chart/group.jsx
+++ b/src/web/components/chart/group.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/label.jsx b/src/web/components/chart/label.jsx
index 855cfbf84a..373fdeddb0 100644
--- a/src/web/components/chart/label.jsx
+++ b/src/web/components/chart/label.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/chart/legend.jsx b/src/web/components/chart/legend.jsx
index 0e45f3f73d..79158210e9 100644
--- a/src/web/components/chart/legend.jsx
+++ b/src/web/components/chart/legend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/line.jsx b/src/web/components/chart/line.jsx
index efa73c27a9..90a5661196 100644
--- a/src/web/components/chart/line.jsx
+++ b/src/web/components/chart/line.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import memoize from 'memoize-one';
import React from 'react';
diff --git a/src/web/components/chart/schedule.jsx b/src/web/components/chart/schedule.jsx
index 403a7c7c2d..7422279f34 100644
--- a/src/web/components/chart/schedule.jsx
+++ b/src/web/components/chart/schedule.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {LinearGradient} from '@visx/gradient';
diff --git a/src/web/components/chart/svg.jsx b/src/web/components/chart/svg.jsx
index 115aeb761b..08d1719273 100644
--- a/src/web/components/chart/svg.jsx
+++ b/src/web/components/chart/svg.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const Svg = styled.svg`
diff --git a/src/web/components/chart/tooltip.jsx b/src/web/components/chart/tooltip.jsx
index 52326aefdf..1f54383349 100644
--- a/src/web/components/chart/tooltip.jsx
+++ b/src/web/components/chart/tooltip.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/topology.jsx b/src/web/components/chart/topology.jsx
index b861213d98..51365b7471 100644
--- a/src/web/components/chart/topology.jsx
+++ b/src/web/components/chart/topology.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/chart/utils/__tests__/arc.jsx b/src/web/components/chart/utils/__tests__/arc.jsx
index 5651d633c7..59aceb2253 100644
--- a/src/web/components/chart/utils/__tests__/arc.jsx
+++ b/src/web/components/chart/utils/__tests__/arc.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import arc from '../arc';
diff --git a/src/web/components/chart/utils/__tests__/path.jsx b/src/web/components/chart/utils/__tests__/path.jsx
index 677b1cd856..3ac1d503e4 100644
--- a/src/web/components/chart/utils/__tests__/path.jsx
+++ b/src/web/components/chart/utils/__tests__/path.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import path from '../path';
diff --git a/src/web/components/chart/utils/__tests__/update.jsx b/src/web/components/chart/utils/__tests__/update.jsx
index 213b9c54c0..1ddb9ec861 100644
--- a/src/web/components/chart/utils/__tests__/update.jsx
+++ b/src/web/components/chart/utils/__tests__/update.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {shouldUpdate} from '../update';
diff --git a/src/web/components/chart/utils/arc.jsx b/src/web/components/chart/utils/arc.jsx
index 0c0473967b..3873521499 100644
--- a/src/web/components/chart/utils/arc.jsx
+++ b/src/web/components/chart/utils/arc.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import path from './path';
diff --git a/src/web/components/chart/utils/constants.jsx b/src/web/components/chart/utils/constants.jsx
index c1a7a112f7..73ccbdcafe 100644
--- a/src/web/components/chart/utils/constants.jsx
+++ b/src/web/components/chart/utils/constants.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const MENU_PLACEHOLDER_WIDTH = 26;
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/components/chart/utils/path.jsx b/src/web/components/chart/utils/path.jsx
index 446c0aa8dc..358b53eb1e 100644
--- a/src/web/components/chart/utils/path.jsx
+++ b/src/web/components/chart/utils/path.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
class Path {
constructor() {
this.paths = [];
diff --git a/src/web/components/chart/utils/update.jsx b/src/web/components/chart/utils/update.jsx
index 924cfd00b0..67fa86b1ea 100644
--- a/src/web/components/chart/utils/update.jsx
+++ b/src/web/components/chart/utils/update.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/**
* Default implementation for checking if a chart component must be updated
*
diff --git a/src/web/components/chart/wordcloud.jsx b/src/web/components/chart/wordcloud.jsx
index bc04fb261d..f50cdc6cc3 100644
--- a/src/web/components/chart/wordcloud.jsx
+++ b/src/web/components/chart/wordcloud.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {scaleLinear} from 'd3-scale';
diff --git a/src/web/components/comment/__tests__/comment.jsx b/src/web/components/comment/__tests__/comment.jsx
index ba7b4363d8..66dda5b7b0 100644
--- a/src/web/components/comment/__tests__/comment.jsx
+++ b/src/web/components/comment/__tests__/comment.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/comment/comment.jsx b/src/web/components/comment/comment.jsx
index 8d672cdaa1..45b69547d9 100644
--- a/src/web/components/comment/comment.jsx
+++ b/src/web/components/comment/comment.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/__tests__/utils.jsx b/src/web/components/dashboard/__tests__/utils.jsx
index 8461ff7e6c..e9f5f07d41 100644
--- a/src/web/components/dashboard/__tests__/utils.jsx
+++ b/src/web/components/dashboard/__tests__/utils.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_ROW_HEIGHT} from 'gmp/commands/dashboards';
diff --git a/src/web/components/dashboard/controls.jsx b/src/web/components/dashboard/controls.jsx
index 29f2ecf29d..72ff0f9eb5 100644
--- a/src/web/components/dashboard/controls.jsx
+++ b/src/web/components/dashboard/controls.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/dashboard/dashboard.jsx b/src/web/components/dashboard/dashboard.jsx
index 81bb19cf34..1309a620f8 100644
--- a/src/web/components/dashboard/dashboard.jsx
+++ b/src/web/components/dashboard/dashboard.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import memoize from 'memoize-one';
import React from 'react';
diff --git a/src/web/components/dashboard/display/createDisplay.jsx b/src/web/components/dashboard/display/createDisplay.jsx
index ad54163fd6..b6b43b1b29 100644
--- a/src/web/components/dashboard/display/createDisplay.jsx
+++ b/src/web/components/dashboard/display/createDisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/created/createddisplay.jsx b/src/web/components/dashboard/display/created/createddisplay.jsx
index 2a523f19a4..c6c32d7000 100644
--- a/src/web/components/dashboard/display/created/createddisplay.jsx
+++ b/src/web/components/dashboard/display/created/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/created/createdtransform.jsx b/src/web/components/dashboard/display/created/createdtransform.jsx
index 8a79a808bf..53d52cdf9b 100644
--- a/src/web/components/dashboard/display/created/createdtransform.jsx
+++ b/src/web/components/dashboard/display/created/createdtransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {shortDate} from 'gmp/locale/date';
import {parseInt, parseDate} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/cvss/cvssdisplay.jsx b/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
index 08a98d1935..d36a990fda 100644
--- a/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
+++ b/src/web/components/dashboard/display/cvss/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx b/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
index ddbc8d4d84..ed1bcdcc12 100644
--- a/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
+++ b/src/web/components/dashboard/display/cvss/cvsstabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DataTableDisplay from '../datatabledisplay';
diff --git a/src/web/components/dashboard/display/cvss/cvsstransform.jsx b/src/web/components/dashboard/display/cvss/cvsstransform.jsx
index c7d5f7ef35..5dadd51cd5 100644
--- a/src/web/components/dashboard/display/cvss/cvsstransform.jsx
+++ b/src/web/components/dashboard/display/cvss/cvsstransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseInt, parseFloat, parseSeverity} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/datadisplay.jsx b/src/web/components/dashboard/display/datadisplay.jsx
index fa625a834a..d8e13bed77 100644
--- a/src/web/components/dashboard/display/datadisplay.jsx
+++ b/src/web/components/dashboard/display/datadisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/datadisplayicons.jsx b/src/web/components/dashboard/display/datadisplayicons.jsx
index 320e373968..45de76975c 100644
--- a/src/web/components/dashboard/display/datadisplayicons.jsx
+++ b/src/web/components/dashboard/display/datadisplayicons.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/components/dashboard/display/datatable.jsx b/src/web/components/dashboard/display/datatable.jsx
index fba8450863..dd9f83962d 100644
--- a/src/web/components/dashboard/display/datatable.jsx
+++ b/src/web/components/dashboard/display/datatable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/datatabledisplay.jsx b/src/web/components/dashboard/display/datatabledisplay.jsx
index 7190500b14..9f31d6b596 100644
--- a/src/web/components/dashboard/display/datatabledisplay.jsx
+++ b/src/web/components/dashboard/display/datatabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/display.jsx b/src/web/components/dashboard/display/display.jsx
index ca7ae3be6a..4052d492b6 100644
--- a/src/web/components/dashboard/display/display.jsx
+++ b/src/web/components/dashboard/display/display.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dashboard/display/filterselection.jsx b/src/web/components/dashboard/display/filterselection.jsx
index b9f6675336..d91ba7d936 100644
--- a/src/web/components/dashboard/display/filterselection.jsx
+++ b/src/web/components/dashboard/display/filterselection.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/dashboard/display/severity/severityclassdisplay.jsx b/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
index 0a1ecf12b0..9ab720843a 100644
--- a/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
+++ b/src/web/components/dashboard/display/severity/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx b/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
index ebff555ea1..63aef901d0 100644
--- a/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
+++ b/src/web/components/dashboard/display/severity/severityclasstabledisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DataTableDisplay from '../datatabledisplay';
diff --git a/src/web/components/dashboard/display/severity/severityclasstransform.jsx b/src/web/components/dashboard/display/severity/severityclasstransform.jsx
index a87452a86f..7320fc9aca 100644
--- a/src/web/components/dashboard/display/severity/severityclasstransform.jsx
+++ b/src/web/components/dashboard/display/severity/severityclasstransform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseSeverity, parseInt} from 'gmp/parser';
diff --git a/src/web/components/dashboard/display/status/statusdisplay.jsx b/src/web/components/dashboard/display/status/statusdisplay.jsx
index 4a53ff7d09..b33a15d872 100644
--- a/src/web/components/dashboard/display/status/statusdisplay.jsx
+++ b/src/web/components/dashboard/display/status/statusdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/dashboard/display/utils.jsx b/src/web/components/dashboard/display/utils.jsx
index 3d3e8809e2..60a8e98838 100644
--- a/src/web/components/dashboard/display/utils.jsx
+++ b/src/web/components/dashboard/display/utils.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {scaleOrdinal, scaleLinear} from 'd3-scale';
diff --git a/src/web/components/dashboard/display/withFilterSelection.jsx b/src/web/components/dashboard/display/withFilterSelection.jsx
index 2aa253c03b..5bd80402ea 100644
--- a/src/web/components/dashboard/display/withFilterSelection.jsx
+++ b/src/web/components/dashboard/display/withFilterSelection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/components/dashboard/registry.jsx b/src/web/components/dashboard/registry.jsx
index 829535b386..dba8da9555 100644
--- a/src/web/components/dashboard/registry.jsx
+++ b/src/web/components/dashboard/registry.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Logger from 'gmp/log';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/dashboard/utils.jsx b/src/web/components/dashboard/utils.jsx
index a02420dca2..0bfcaa56fc 100644
--- a/src/web/components/dashboard/utils.jsx
+++ b/src/web/components/dashboard/utils.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import {createDisplay, createRow} from 'gmp/commands/dashboards';
diff --git a/src/web/components/date/__tests__/datetime.jsx b/src/web/components/date/__tests__/datetime.jsx
index fee850403c..edcf0bfaeb 100644
--- a/src/web/components/date/__tests__/datetime.jsx
+++ b/src/web/components/date/__tests__/datetime.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/date/datetime.jsx b/src/web/components/date/datetime.jsx
index be2bbf3365..21b27e5bfd 100644
--- a/src/web/components/date/datetime.jsx
+++ b/src/web/components/date/datetime.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {dateTimeWithTimeZone, ensureDate} from 'gmp/locale/date';
import {isDefined, hasValue} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/__tests__/closebutton.jsx b/src/web/components/dialog/__tests__/closebutton.jsx
index af2d4aa862..295809ead5 100644
--- a/src/web/components/dialog/__tests__/closebutton.jsx
+++ b/src/web/components/dialog/__tests__/closebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/confirmationdialog.jsx b/src/web/components/dialog/__tests__/confirmationdialog.jsx
index f19de51546..77e9e03605 100644
--- a/src/web/components/dialog/__tests__/confirmationdialog.jsx
+++ b/src/web/components/dialog/__tests__/confirmationdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/dialog/__tests__/dialog.jsx b/src/web/components/dialog/__tests__/dialog.jsx
index 5bb09d892b..ea8f3d308d 100644
--- a/src/web/components/dialog/__tests__/dialog.jsx
+++ b/src/web/components/dialog/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/__tests__/error.jsx b/src/web/components/dialog/__tests__/error.jsx
index 77b2b1689d..4e445954dc 100644
--- a/src/web/components/dialog/__tests__/error.jsx
+++ b/src/web/components/dialog/__tests__/error.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/multistepfooter.jsx b/src/web/components/dialog/__tests__/multistepfooter.jsx
index 4c48edb883..2df4c94dea 100644
--- a/src/web/components/dialog/__tests__/multistepfooter.jsx
+++ b/src/web/components/dialog/__tests__/multistepfooter.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/__tests__/twobuttonfooter.jsx b/src/web/components/dialog/__tests__/twobuttonfooter.jsx
index 716fa8eafe..f5a1d7daac 100644
--- a/src/web/components/dialog/__tests__/twobuttonfooter.jsx
+++ b/src/web/components/dialog/__tests__/twobuttonfooter.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/dialog/closebutton.jsx b/src/web/components/dialog/closebutton.jsx
index 3d9e5c4daa..d25b8db3e7 100644
--- a/src/web/components/dialog/closebutton.jsx
+++ b/src/web/components/dialog/closebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/composercontent.jsx b/src/web/components/dialog/composercontent.jsx
index e5401b04e1..453394c137 100644
--- a/src/web/components/dialog/composercontent.jsx
+++ b/src/web/components/dialog/composercontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/confirmationdialog.jsx b/src/web/components/dialog/confirmationdialog.jsx
index 3cfda6bd16..0dffc77cb6 100644
--- a/src/web/components/dialog/confirmationdialog.jsx
+++ b/src/web/components/dialog/confirmationdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/dialog/container.jsx b/src/web/components/dialog/container.jsx
index 692f4761a0..ba5aa6d2d0 100644
--- a/src/web/components/dialog/container.jsx
+++ b/src/web/components/dialog/container.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/content.jsx b/src/web/components/dialog/content.jsx
index 2aee0ca829..88f2948afc 100644
--- a/src/web/components/dialog/content.jsx
+++ b/src/web/components/dialog/content.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const DialogContent = styled.div`
diff --git a/src/web/components/dialog/dialog.jsx b/src/web/components/dialog/dialog.jsx
index 0da1cab1f4..dbbf875942 100644
--- a/src/web/components/dialog/dialog.jsx
+++ b/src/web/components/dialog/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {Modal} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/dialog/dialoginlinenotification.jsx b/src/web/components/dialog/dialoginlinenotification.jsx
index 75ea41422d..36b377bb5c 100644
--- a/src/web/components/dialog/dialoginlinenotification.jsx
+++ b/src/web/components/dialog/dialoginlinenotification.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const DialogInlineNotification = styled.div`
diff --git a/src/web/components/dialog/error.jsx b/src/web/components/dialog/error.jsx
index 09b0363142..dee7bf888c 100644
--- a/src/web/components/dialog/error.jsx
+++ b/src/web/components/dialog/error.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/footer.jsx b/src/web/components/dialog/footer.jsx
index c88de05581..09515e0f32 100644
--- a/src/web/components/dialog/footer.jsx
+++ b/src/web/components/dialog/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/multistepfooter.jsx b/src/web/components/dialog/multistepfooter.jsx
index e11f1ec825..cfdd377482 100644
--- a/src/web/components/dialog/multistepfooter.jsx
+++ b/src/web/components/dialog/multistepfooter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/dialog/savedialog.jsx b/src/web/components/dialog/savedialog.jsx
index 067c65270e..12f524ad6a 100644
--- a/src/web/components/dialog/savedialog.jsx
+++ b/src/web/components/dialog/savedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined, isFunction} from 'gmp/utils/identity';
diff --git a/src/web/components/dialog/twobuttonfooter.jsx b/src/web/components/dialog/twobuttonfooter.jsx
index ac82665b6c..54ce7ccac5 100644
--- a/src/web/components/dialog/twobuttonfooter.jsx
+++ b/src/web/components/dialog/twobuttonfooter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/error/__tests__/errorboundary.jsx b/src/web/components/error/__tests__/errorboundary.jsx
index a7be3c128e..12a087f09a 100644
--- a/src/web/components/error/__tests__/errorboundary.jsx
+++ b/src/web/components/error/__tests__/errorboundary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/error/__tests__/errorcontainer.jsx b/src/web/components/error/__tests__/errorcontainer.jsx
index cfb3cc10ab..737a19455d 100644
--- a/src/web/components/error/__tests__/errorcontainer.jsx
+++ b/src/web/components/error/__tests__/errorcontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/error/__tests__/errormessage.jsx b/src/web/components/error/__tests__/errormessage.jsx
index 13ee9076eb..8d92891020 100644
--- a/src/web/components/error/__tests__/errormessage.jsx
+++ b/src/web/components/error/__tests__/errormessage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/error/__tests__/errorpanel.jsx b/src/web/components/error/__tests__/errorpanel.jsx
index 913fae0fed..78489d83c1 100644
--- a/src/web/components/error/__tests__/errorpanel.jsx
+++ b/src/web/components/error/__tests__/errorpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/error/errorboundary.jsx b/src/web/components/error/errorboundary.jsx
index d8c35d857f..a19a3cffc9 100644
--- a/src/web/components/error/errorboundary.jsx
+++ b/src/web/components/error/errorboundary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import * as Sentry from '@sentry/react';
diff --git a/src/web/components/error/errorcontainer.jsx b/src/web/components/error/errorcontainer.jsx
index cf5d554800..9de59f78b4 100644
--- a/src/web/components/error/errorcontainer.jsx
+++ b/src/web/components/error/errorcontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/error/errormessage.jsx b/src/web/components/error/errormessage.jsx
index ac52504bbf..ef9b07e665 100644
--- a/src/web/components/error/errormessage.jsx
+++ b/src/web/components/error/errormessage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/error/errorpanel.jsx b/src/web/components/error/errorpanel.jsx
index eb155a8365..4ccc8a0f6a 100644
--- a/src/web/components/error/errorpanel.jsx
+++ b/src/web/components/error/errorpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/error/message.jsx b/src/web/components/error/message.jsx
index 7690ce1bca..398c9b0145 100644
--- a/src/web/components/error/message.jsx
+++ b/src/web/components/error/message.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/error/messagecontainer.jsx b/src/web/components/error/messagecontainer.jsx
index 0295ec7cfd..992dcbfbea 100644
--- a/src/web/components/error/messagecontainer.jsx
+++ b/src/web/components/error/messagecontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/folding/folding.jsx b/src/web/components/folding/folding.jsx
index 6f7d00e0ee..23557087f8 100644
--- a/src/web/components/folding/folding.jsx
+++ b/src/web/components/folding/folding.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes, css} from 'styled-components';
diff --git a/src/web/components/footnote/__tests__/footnote.jsx b/src/web/components/footnote/__tests__/footnote.jsx
index a930962950..88cfee510b 100644
--- a/src/web/components/footnote/__tests__/footnote.jsx
+++ b/src/web/components/footnote/__tests__/footnote.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/footnote/footnote.jsx b/src/web/components/footnote/footnote.jsx
index 21470d0724..60b468507e 100644
--- a/src/web/components/footnote/footnote.jsx
+++ b/src/web/components/footnote/footnote.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/form/DatePicker.jsx b/src/web/components/form/DatePicker.jsx
index fa4e7e3837..780a38fa93 100644
--- a/src/web/components/form/DatePicker.jsx
+++ b/src/web/components/form/DatePicker.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {DatePickerOnly} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/__tests__/button.jsx b/src/web/components/form/__tests__/button.jsx
index 19ab065e2b..6afd9a6a0a 100644
--- a/src/web/components/form/__tests__/button.jsx
+++ b/src/web/components/form/__tests__/button.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/checkbox.jsx b/src/web/components/form/__tests__/checkbox.jsx
index 9f99084be1..d170d20491 100644
--- a/src/web/components/form/__tests__/checkbox.jsx
+++ b/src/web/components/form/__tests__/checkbox.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/download.jsx b/src/web/components/form/__tests__/download.jsx
index 8a3b01e80a..dd6f9db51d 100644
--- a/src/web/components/form/__tests__/download.jsx
+++ b/src/web/components/form/__tests__/download.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/filefield.jsx b/src/web/components/form/__tests__/filefield.jsx
index 7bbfd27c50..6e9cc9b85a 100644
--- a/src/web/components/form/__tests__/filefield.jsx
+++ b/src/web/components/form/__tests__/filefield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/formgroup.jsx b/src/web/components/form/__tests__/formgroup.jsx
index 154d822257..35ca786520 100644
--- a/src/web/components/form/__tests__/formgroup.jsx
+++ b/src/web/components/form/__tests__/formgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/multiselect.jsx b/src/web/components/form/__tests__/multiselect.jsx
index 59df248e71..9c357f9b2a 100644
--- a/src/web/components/form/__tests__/multiselect.jsx
+++ b/src/web/components/form/__tests__/multiselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/numberfield.jsx b/src/web/components/form/__tests__/numberfield.jsx
index 50432413f9..768d280d85 100644
--- a/src/web/components/form/__tests__/numberfield.jsx
+++ b/src/web/components/form/__tests__/numberfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/passwordfield.jsx b/src/web/components/form/__tests__/passwordfield.jsx
index 8f89cb84b0..84865e612c 100644
--- a/src/web/components/form/__tests__/passwordfield.jsx
+++ b/src/web/components/form/__tests__/passwordfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/radio.jsx b/src/web/components/form/__tests__/radio.jsx
index 6b59464de2..527de74e48 100644
--- a/src/web/components/form/__tests__/radio.jsx
+++ b/src/web/components/form/__tests__/radio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/select.jsx b/src/web/components/form/__tests__/select.jsx
index 67a201a0eb..7327a3a9d0 100644
--- a/src/web/components/form/__tests__/select.jsx
+++ b/src/web/components/form/__tests__/select.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/spinner.jsx b/src/web/components/form/__tests__/spinner.jsx
index 6865a9dee5..5bd9176297 100644
--- a/src/web/components/form/__tests__/spinner.jsx
+++ b/src/web/components/form/__tests__/spinner.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {KeyCode} from 'gmp/utils/event';
diff --git a/src/web/components/form/__tests__/textarea.jsx b/src/web/components/form/__tests__/textarea.jsx
index cf2bb60516..244af3a74b 100644
--- a/src/web/components/form/__tests__/textarea.jsx
+++ b/src/web/components/form/__tests__/textarea.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/textfield.jsx b/src/web/components/form/__tests__/textfield.jsx
index ed8e2c934d..7e888b94a0 100644
--- a/src/web/components/form/__tests__/textfield.jsx
+++ b/src/web/components/form/__tests__/textfield.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/timezoneselect.jsx b/src/web/components/form/__tests__/timezoneselect.jsx
index 1a0a837f54..79e1fc2080 100644
--- a/src/web/components/form/__tests__/timezoneselect.jsx
+++ b/src/web/components/form/__tests__/timezoneselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import timezones from 'gmp/timezones';
diff --git a/src/web/components/form/__tests__/togglebutton.jsx b/src/web/components/form/__tests__/togglebutton.jsx
index 825dfafbed..2b71eef0d4 100644
--- a/src/web/components/form/__tests__/togglebutton.jsx
+++ b/src/web/components/form/__tests__/togglebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/form/__tests__/useFormValidation.jsx b/src/web/components/form/__tests__/useFormValidation.jsx
index 33e8c40687..dc09a5674d 100644
--- a/src/web/components/form/__tests__/useFormValidation.jsx
+++ b/src/web/components/form/__tests__/useFormValidation.jsx
@@ -1,22 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
/* eslint-disable react/prop-types */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/form/__tests__/useFormValues.jsx b/src/web/components/form/__tests__/useFormValues.jsx
index a2e5522b49..b11fc9da02 100644
--- a/src/web/components/form/__tests__/useFormValues.jsx
+++ b/src/web/components/form/__tests__/useFormValues.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useRef} from 'react';
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/components/form/__tests__/useValueChange.jsx b/src/web/components/form/__tests__/useValueChange.jsx
index e14e381c19..becbc0712e 100644
--- a/src/web/components/form/__tests__/useValueChange.jsx
+++ b/src/web/components/form/__tests__/useValueChange.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, screen, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/withClickHandler.jsx b/src/web/components/form/__tests__/withClickHandler.jsx
index b31b4ece78..a4a0adcf1c 100644
--- a/src/web/components/form/__tests__/withClickHandler.jsx
+++ b/src/web/components/form/__tests__/withClickHandler.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/withDownload.jsx b/src/web/components/form/__tests__/withDownload.jsx
index 73a45fe5d2..dc9e0920e3 100644
--- a/src/web/components/form/__tests__/withDownload.jsx
+++ b/src/web/components/form/__tests__/withDownload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/form/__tests__/yesnoradio.jsx b/src/web/components/form/__tests__/yesnoradio.jsx
index 5876a9453f..abb9188a6c 100644
--- a/src/web/components/form/__tests__/yesnoradio.jsx
+++ b/src/web/components/form/__tests__/yesnoradio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/components/form/button.jsx b/src/web/components/form/button.jsx
index 453f0cdf2e..2b70fe9e99 100644
--- a/src/web/components/form/button.jsx
+++ b/src/web/components/form/button.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Button as OpenSightButton} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/checkbox.jsx b/src/web/components/form/checkbox.jsx
index d1d863eb59..743977e052 100644
--- a/src/web/components/form/checkbox.jsx
+++ b/src/web/components/form/checkbox.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {Checkbox as OpenSightCheckbox} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/download.jsx b/src/web/components/form/download.jsx
index f600aa32a4..6c7c6addd0 100644
--- a/src/web/components/form/download.jsx
+++ b/src/web/components/form/download.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/filefield.jsx b/src/web/components/form/filefield.jsx
index 6f1896d937..b57235271c 100644
--- a/src/web/components/form/filefield.jsx
+++ b/src/web/components/form/filefield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {FileInput} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/formgroup.jsx b/src/web/components/form/formgroup.jsx
index a33830b284..4e676bfd0b 100644
--- a/src/web/components/form/formgroup.jsx
+++ b/src/web/components/form/formgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {LabelWithIcon as Label} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/multiselect.jsx b/src/web/components/form/multiselect.jsx
index 99a22ab8bf..1b378eb75f 100644
--- a/src/web/components/form/multiselect.jsx
+++ b/src/web/components/form/multiselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {
diff --git a/src/web/components/form/numberfield.jsx b/src/web/components/form/numberfield.jsx
index 27f20781bd..d9ef22bf90 100644
--- a/src/web/components/form/numberfield.jsx
+++ b/src/web/components/form/numberfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {NumberInput} from '@mantine/core';
diff --git a/src/web/components/form/passwordfield.jsx b/src/web/components/form/passwordfield.jsx
index ab36601b79..4394580c80 100644
--- a/src/web/components/form/passwordfield.jsx
+++ b/src/web/components/form/passwordfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PasswordInput} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/radio.jsx b/src/web/components/form/radio.jsx
index 00df0ab8ca..c8ebfd2802 100644
--- a/src/web/components/form/radio.jsx
+++ b/src/web/components/form/radio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {RadioButton as GreenboneRadio} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/select.jsx b/src/web/components/form/select.jsx
index 6dfd749b09..e62946126f 100644
--- a/src/web/components/form/select.jsx
+++ b/src/web/components/form/select.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback, forwardRef} from 'react';
import {Loader} from '@mantine/core';
diff --git a/src/web/components/form/spinner.jsx b/src/web/components/form/spinner.jsx
index e7b757e876..2099eb73bf 100644
--- a/src/web/components/form/spinner.jsx
+++ b/src/web/components/form/spinner.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import NumberField from './numberfield';
diff --git a/src/web/components/form/textarea.jsx b/src/web/components/form/textarea.jsx
index 2133f530ba..4ae340cfe2 100644
--- a/src/web/components/form/textarea.jsx
+++ b/src/web/components/form/textarea.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Textarea as GreenboneTextArea} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/textfield.jsx b/src/web/components/form/textfield.jsx
index 7206c55675..0954894f12 100644
--- a/src/web/components/form/textfield.jsx
+++ b/src/web/components/form/textfield.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Input} from '@greenbone/opensight-ui-components';
diff --git a/src/web/components/form/timezoneselect.jsx b/src/web/components/form/timezoneselect.jsx
index 4fb65990c5..281002d107 100644
--- a/src/web/components/form/timezoneselect.jsx
+++ b/src/web/components/form/timezoneselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useMemo} from 'react';
import {map} from 'gmp/utils/array';
diff --git a/src/web/components/form/togglebutton.jsx b/src/web/components/form/togglebutton.jsx
index 95f13478e2..806a624b42 100644
--- a/src/web/components/form/togglebutton.jsx
+++ b/src/web/components/form/togglebutton.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/useFormValidation.jsx b/src/web/components/form/useFormValidation.jsx
index 3a7309f3b7..8d83457a07 100644
--- a/src/web/components/form/useFormValidation.jsx
+++ b/src/web/components/form/useFormValidation.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect, useCallback} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/form/useFormValues.jsx b/src/web/components/form/useFormValues.jsx
index 4f6280d278..be67074002 100644
--- a/src/web/components/form/useFormValues.jsx
+++ b/src/web/components/form/useFormValues.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback, useState} from 'react';
const useFormValues = (initialValues = {}) => {
diff --git a/src/web/components/form/withClickHandler.jsx b/src/web/components/form/withClickHandler.jsx
index bfd8c36008..3da4672551 100644
--- a/src/web/components/form/withClickHandler.jsx
+++ b/src/web/components/form/withClickHandler.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/form/withDownload.jsx b/src/web/components/form/withDownload.jsx
index 507c54ae1e..68c9fad5f2 100644
--- a/src/web/components/form/withDownload.jsx
+++ b/src/web/components/form/withDownload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Download from './download';
diff --git a/src/web/components/form/yesnoradio.jsx b/src/web/components/form/yesnoradio.jsx
index e1c6110351..dc6f7497ee 100644
--- a/src/web/components/form/yesnoradio.jsx
+++ b/src/web/components/form/yesnoradio.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/__tests__/addtoassetsicon.jsx b/src/web/components/icon/__tests__/addtoassetsicon.jsx
index 3356428dbc..144161f95f 100644
--- a/src/web/components/icon/__tests__/addtoassetsicon.jsx
+++ b/src/web/components/icon/__tests__/addtoassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/alerticon.jsx b/src/web/components/icon/__tests__/alerticon.jsx
index aacea666a6..44853c52ea 100644
--- a/src/web/components/icon/__tests__/alerticon.jsx
+++ b/src/web/components/icon/__tests__/alerticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/alterableicon.jsx b/src/web/components/icon/__tests__/alterableicon.jsx
index 72817ea6cc..5c385f83b0 100644
--- a/src/web/components/icon/__tests__/alterableicon.jsx
+++ b/src/web/components/icon/__tests__/alterableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/arrowicon.jsx b/src/web/components/icon/__tests__/arrowicon.jsx
index e3a90d3080..1339b91847 100644
--- a/src/web/components/icon/__tests__/arrowicon.jsx
+++ b/src/web/components/icon/__tests__/arrowicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/icon/__tests__/auditicon.jsx b/src/web/components/icon/__tests__/auditicon.jsx
index 5d61696b9a..b693780e85 100644
--- a/src/web/components/icon/__tests__/auditicon.jsx
+++ b/src/web/components/icon/__tests__/auditicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/calendaricon.jsx b/src/web/components/icon/__tests__/calendaricon.jsx
index 379b6cecb2..6d06f982bf 100644
--- a/src/web/components/icon/__tests__/calendaricon.jsx
+++ b/src/web/components/icon/__tests__/calendaricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/certbundadvicon.jsx b/src/web/components/icon/__tests__/certbundadvicon.jsx
index 14ad54e5da..a096926e4a 100644
--- a/src/web/components/icon/__tests__/certbundadvicon.jsx
+++ b/src/web/components/icon/__tests__/certbundadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cloneicon.jsx b/src/web/components/icon/__tests__/cloneicon.jsx
index 7bdeb5d767..ab0e602c13 100644
--- a/src/web/components/icon/__tests__/cloneicon.jsx
+++ b/src/web/components/icon/__tests__/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cpelogoicon.jsx b/src/web/components/icon/__tests__/cpelogoicon.jsx
index bdca373871..59b374451c 100644
--- a/src/web/components/icon/__tests__/cpelogoicon.jsx
+++ b/src/web/components/icon/__tests__/cpelogoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/credentialicon.jsx b/src/web/components/icon/__tests__/credentialicon.jsx
index 665e64aa78..d650bdf7dc 100644
--- a/src/web/components/icon/__tests__/credentialicon.jsx
+++ b/src/web/components/icon/__tests__/credentialicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cveicon.jsx b/src/web/components/icon/__tests__/cveicon.jsx
index d80373cf23..bc36315b64 100644
--- a/src/web/components/icon/__tests__/cveicon.jsx
+++ b/src/web/components/icon/__tests__/cveicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/cvssicon.jsx b/src/web/components/icon/__tests__/cvssicon.jsx
index ac08db8a74..44a2f27d98 100644
--- a/src/web/components/icon/__tests__/cvssicon.jsx
+++ b/src/web/components/icon/__tests__/cvssicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/dashboardicon.jsx b/src/web/components/icon/__tests__/dashboardicon.jsx
index dc0c7afa3f..157ae84931 100644
--- a/src/web/components/icon/__tests__/dashboardicon.jsx
+++ b/src/web/components/icon/__tests__/dashboardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deleteicon.jsx b/src/web/components/icon/__tests__/deleteicon.jsx
index fad969b93a..3bd3f2b07f 100644
--- a/src/web/components/icon/__tests__/deleteicon.jsx
+++ b/src/web/components/icon/__tests__/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deltaicon.jsx b/src/web/components/icon/__tests__/deltaicon.jsx
index cec390db5c..36828369fa 100644
--- a/src/web/components/icon/__tests__/deltaicon.jsx
+++ b/src/web/components/icon/__tests__/deltaicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/deltasecondicon.jsx b/src/web/components/icon/__tests__/deltasecondicon.jsx
index cc04c5d3f3..78f4102b67 100644
--- a/src/web/components/icon/__tests__/deltasecondicon.jsx
+++ b/src/web/components/icon/__tests__/deltasecondicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/dfncertadvicon.jsx b/src/web/components/icon/__tests__/dfncertadvicon.jsx
index 898b9a4e98..9082a3a4c3 100644
--- a/src/web/components/icon/__tests__/dfncertadvicon.jsx
+++ b/src/web/components/icon/__tests__/dfncertadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/disableicon.jsx b/src/web/components/icon/__tests__/disableicon.jsx
index e7df10be2b..bc88ce2ff5 100644
--- a/src/web/components/icon/__tests__/disableicon.jsx
+++ b/src/web/components/icon/__tests__/disableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadcsvicon.jsx b/src/web/components/icon/__tests__/downloadcsvicon.jsx
index 41fa397dda..3416331901 100644
--- a/src/web/components/icon/__tests__/downloadcsvicon.jsx
+++ b/src/web/components/icon/__tests__/downloadcsvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloaddebicon.jsx b/src/web/components/icon/__tests__/downloaddebicon.jsx
index 59a675e239..3348a19219 100644
--- a/src/web/components/icon/__tests__/downloaddebicon.jsx
+++ b/src/web/components/icon/__tests__/downloaddebicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadexeicon.jsx b/src/web/components/icon/__tests__/downloadexeicon.jsx
index c3e7186225..02c186cc49 100644
--- a/src/web/components/icon/__tests__/downloadexeicon.jsx
+++ b/src/web/components/icon/__tests__/downloadexeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadicon.jsx b/src/web/components/icon/__tests__/downloadicon.jsx
index 2aa83d0d95..1f64b8bb00 100644
--- a/src/web/components/icon/__tests__/downloadicon.jsx
+++ b/src/web/components/icon/__tests__/downloadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadkeyicon.jsx b/src/web/components/icon/__tests__/downloadkeyicon.jsx
index b125aa5578..bd0c3737ac 100644
--- a/src/web/components/icon/__tests__/downloadkeyicon.jsx
+++ b/src/web/components/icon/__tests__/downloadkeyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadrpmicon.jsx b/src/web/components/icon/__tests__/downloadrpmicon.jsx
index 8e9316a7bf..e623916cbe 100644
--- a/src/web/components/icon/__tests__/downloadrpmicon.jsx
+++ b/src/web/components/icon/__tests__/downloadrpmicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/downloadsvgicon.jsx b/src/web/components/icon/__tests__/downloadsvgicon.jsx
index c150c4680d..86c0044196 100644
--- a/src/web/components/icon/__tests__/downloadsvgicon.jsx
+++ b/src/web/components/icon/__tests__/downloadsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/editicon.jsx b/src/web/components/icon/__tests__/editicon.jsx
index c12502d530..a07efb2404 100644
--- a/src/web/components/icon/__tests__/editicon.jsx
+++ b/src/web/components/icon/__tests__/editicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/enableicon.jsx b/src/web/components/icon/__tests__/enableicon.jsx
index ba5394337a..ce293b53c8 100644
--- a/src/web/components/icon/__tests__/enableicon.jsx
+++ b/src/web/components/icon/__tests__/enableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/exporticon.jsx b/src/web/components/icon/__tests__/exporticon.jsx
index 67aeb70ad0..36d8e895d0 100644
--- a/src/web/components/icon/__tests__/exporticon.jsx
+++ b/src/web/components/icon/__tests__/exporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/feedicon.jsx b/src/web/components/icon/__tests__/feedicon.jsx
index e3fe75905b..ac6371a7d3 100644
--- a/src/web/components/icon/__tests__/feedicon.jsx
+++ b/src/web/components/icon/__tests__/feedicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/filtericon.jsx b/src/web/components/icon/__tests__/filtericon.jsx
index cb796ffea4..c8d6a0883b 100644
--- a/src/web/components/icon/__tests__/filtericon.jsx
+++ b/src/web/components/icon/__tests__/filtericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/firsticon.jsx b/src/web/components/icon/__tests__/firsticon.jsx
index c8860c02cb..99c486e72b 100644
--- a/src/web/components/icon/__tests__/firsticon.jsx
+++ b/src/web/components/icon/__tests__/firsticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/foldicon.jsx b/src/web/components/icon/__tests__/foldicon.jsx
index 4f5b0181f5..88bfa2a639 100644
--- a/src/web/components/icon/__tests__/foldicon.jsx
+++ b/src/web/components/icon/__tests__/foldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/groupicon.jsx b/src/web/components/icon/__tests__/groupicon.jsx
index 400e3bfc61..9b089ca443 100644
--- a/src/web/components/icon/__tests__/groupicon.jsx
+++ b/src/web/components/icon/__tests__/groupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/helpicon.jsx b/src/web/components/icon/__tests__/helpicon.jsx
index cf05bb3da5..1abc69581f 100644
--- a/src/web/components/icon/__tests__/helpicon.jsx
+++ b/src/web/components/icon/__tests__/helpicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/hosticon.jsx b/src/web/components/icon/__tests__/hosticon.jsx
index d432dc7bff..6171066c99 100644
--- a/src/web/components/icon/__tests__/hosticon.jsx
+++ b/src/web/components/icon/__tests__/hosticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/importicon.jsx b/src/web/components/icon/__tests__/importicon.jsx
index 9903c6e013..27203438e4 100644
--- a/src/web/components/icon/__tests__/importicon.jsx
+++ b/src/web/components/icon/__tests__/importicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/infoicon.jsx b/src/web/components/icon/__tests__/infoicon.jsx
index 0961dd1518..5b00ccea9f 100644
--- a/src/web/components/icon/__tests__/infoicon.jsx
+++ b/src/web/components/icon/__tests__/infoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/keyicon.jsx b/src/web/components/icon/__tests__/keyicon.jsx
index 2cc7e5f040..61a4489636 100644
--- a/src/web/components/icon/__tests__/keyicon.jsx
+++ b/src/web/components/icon/__tests__/keyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/lasticon.jsx b/src/web/components/icon/__tests__/lasticon.jsx
index fc4a2addfc..836b469338 100644
--- a/src/web/components/icon/__tests__/lasticon.jsx
+++ b/src/web/components/icon/__tests__/lasticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/ldapicon.jsx b/src/web/components/icon/__tests__/ldapicon.jsx
index 0c09898260..0e329203ae 100644
--- a/src/web/components/icon/__tests__/ldapicon.jsx
+++ b/src/web/components/icon/__tests__/ldapicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/legendicon.jsx b/src/web/components/icon/__tests__/legendicon.jsx
index f52a1c546e..4ae8bc708b 100644
--- a/src/web/components/icon/__tests__/legendicon.jsx
+++ b/src/web/components/icon/__tests__/legendicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/licenseicon.jsx b/src/web/components/icon/__tests__/licenseicon.jsx
index 09534446ea..a4ccfe4851 100644
--- a/src/web/components/icon/__tests__/licenseicon.jsx
+++ b/src/web/components/icon/__tests__/licenseicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/listsvgicon.jsx b/src/web/components/icon/__tests__/listsvgicon.jsx
index 3805152d5e..210d0d1ac0 100644
--- a/src/web/components/icon/__tests__/listsvgicon.jsx
+++ b/src/web/components/icon/__tests__/listsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/logouticon.jsx b/src/web/components/icon/__tests__/logouticon.jsx
index 44b5e7ee39..947f712f25 100644
--- a/src/web/components/icon/__tests__/logouticon.jsx
+++ b/src/web/components/icon/__tests__/logouticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/mysettingsicon.jsx b/src/web/components/icon/__tests__/mysettingsicon.jsx
index a5268cfeee..a5e9fd1e6e 100644
--- a/src/web/components/icon/__tests__/mysettingsicon.jsx
+++ b/src/web/components/icon/__tests__/mysettingsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newicon.jsx b/src/web/components/icon/__tests__/newicon.jsx
index 10a317354e..bd6ca080f1 100644
--- a/src/web/components/icon/__tests__/newicon.jsx
+++ b/src/web/components/icon/__tests__/newicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newnoteicon.jsx b/src/web/components/icon/__tests__/newnoteicon.jsx
index 023f2c4dc5..3aa4fad17e 100644
--- a/src/web/components/icon/__tests__/newnoteicon.jsx
+++ b/src/web/components/icon/__tests__/newnoteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/newoverrideicon.jsx b/src/web/components/icon/__tests__/newoverrideicon.jsx
index e1ea8454f6..32565f3316 100644
--- a/src/web/components/icon/__tests__/newoverrideicon.jsx
+++ b/src/web/components/icon/__tests__/newoverrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/nexticon.jsx b/src/web/components/icon/__tests__/nexticon.jsx
index fa6fdd7837..c2361a0b9e 100644
--- a/src/web/components/icon/__tests__/nexticon.jsx
+++ b/src/web/components/icon/__tests__/nexticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/noteicon.jsx b/src/web/components/icon/__tests__/noteicon.jsx
index b5aef3fee4..bc0c04c15f 100644
--- a/src/web/components/icon/__tests__/noteicon.jsx
+++ b/src/web/components/icon/__tests__/noteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/nvticon.jsx b/src/web/components/icon/__tests__/nvticon.jsx
index 175fc3ce43..c52560e963 100644
--- a/src/web/components/icon/__tests__/nvticon.jsx
+++ b/src/web/components/icon/__tests__/nvticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/ossvgicon.jsx b/src/web/components/icon/__tests__/ossvgicon.jsx
index f03160c242..f8a40fd70f 100644
--- a/src/web/components/icon/__tests__/ossvgicon.jsx
+++ b/src/web/components/icon/__tests__/ossvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/overrideicon.jsx b/src/web/components/icon/__tests__/overrideicon.jsx
index c024bd3076..bbc27ffa69 100644
--- a/src/web/components/icon/__tests__/overrideicon.jsx
+++ b/src/web/components/icon/__tests__/overrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/performanceicon.jsx b/src/web/components/icon/__tests__/performanceicon.jsx
index 10c0fbddba..07c745d1d8 100644
--- a/src/web/components/icon/__tests__/performanceicon.jsx
+++ b/src/web/components/icon/__tests__/performanceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/permissionicon.jsx b/src/web/components/icon/__tests__/permissionicon.jsx
index af9d07736e..dc035a172a 100644
--- a/src/web/components/icon/__tests__/permissionicon.jsx
+++ b/src/web/components/icon/__tests__/permissionicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/policyicon.jsx b/src/web/components/icon/__tests__/policyicon.jsx
index 49b3313f3c..d45832cfde 100644
--- a/src/web/components/icon/__tests__/policyicon.jsx
+++ b/src/web/components/icon/__tests__/policyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/portlisticon.jsx b/src/web/components/icon/__tests__/portlisticon.jsx
index 271d326d1d..05e0d4ef5b 100644
--- a/src/web/components/icon/__tests__/portlisticon.jsx
+++ b/src/web/components/icon/__tests__/portlisticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/previousicon.jsx b/src/web/components/icon/__tests__/previousicon.jsx
index 3c697be78c..df89e2b85f 100644
--- a/src/web/components/icon/__tests__/previousicon.jsx
+++ b/src/web/components/icon/__tests__/previousicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/provideviewicon.jsx b/src/web/components/icon/__tests__/provideviewicon.jsx
index 3dbb9d103c..22942de072 100644
--- a/src/web/components/icon/__tests__/provideviewicon.jsx
+++ b/src/web/components/icon/__tests__/provideviewicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/radiusicon.jsx b/src/web/components/icon/__tests__/radiusicon.jsx
index e224b5b213..2bb3cdac1c 100644
--- a/src/web/components/icon/__tests__/radiusicon.jsx
+++ b/src/web/components/icon/__tests__/radiusicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/refreshicon.jsx b/src/web/components/icon/__tests__/refreshicon.jsx
index 71975be04d..45974962b0 100644
--- a/src/web/components/icon/__tests__/refreshicon.jsx
+++ b/src/web/components/icon/__tests__/refreshicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/removefromassetsicon.jsx b/src/web/components/icon/__tests__/removefromassetsicon.jsx
index e2103964f5..400799945b 100644
--- a/src/web/components/icon/__tests__/removefromassetsicon.jsx
+++ b/src/web/components/icon/__tests__/removefromassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reportformaticon.jsx b/src/web/components/icon/__tests__/reportformaticon.jsx
index 6d5fec6d0c..9ac3616918 100644
--- a/src/web/components/icon/__tests__/reportformaticon.jsx
+++ b/src/web/components/icon/__tests__/reportformaticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reporticon.jsx b/src/web/components/icon/__tests__/reporticon.jsx
index 2f3073769d..86fe6c0087 100644
--- a/src/web/components/icon/__tests__/reporticon.jsx
+++ b/src/web/components/icon/__tests__/reporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/reseticon.jsx b/src/web/components/icon/__tests__/reseticon.jsx
index 25aa0325bc..891f9d47bc 100644
--- a/src/web/components/icon/__tests__/reseticon.jsx
+++ b/src/web/components/icon/__tests__/reseticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/restoreicon.jsx b/src/web/components/icon/__tests__/restoreicon.jsx
index 8b5b82c7f7..0c6cd9a7fd 100644
--- a/src/web/components/icon/__tests__/restoreicon.jsx
+++ b/src/web/components/icon/__tests__/restoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/resumeicon.jsx b/src/web/components/icon/__tests__/resumeicon.jsx
index ceb3f55804..d5a092474f 100644
--- a/src/web/components/icon/__tests__/resumeicon.jsx
+++ b/src/web/components/icon/__tests__/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/roleicon.jsx b/src/web/components/icon/__tests__/roleicon.jsx
index 6db2054e2a..c9490627b2 100644
--- a/src/web/components/icon/__tests__/roleicon.jsx
+++ b/src/web/components/icon/__tests__/roleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scanconfigicon.jsx b/src/web/components/icon/__tests__/scanconfigicon.jsx
index 1ec8e39b3e..32d2141ad6 100644
--- a/src/web/components/icon/__tests__/scanconfigicon.jsx
+++ b/src/web/components/icon/__tests__/scanconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scannericon.jsx b/src/web/components/icon/__tests__/scannericon.jsx
index 3baa5e992e..0c4b26233e 100644
--- a/src/web/components/icon/__tests__/scannericon.jsx
+++ b/src/web/components/icon/__tests__/scannericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/scheduleicon.jsx b/src/web/components/icon/__tests__/scheduleicon.jsx
index 3efbd27972..e42ba10496 100644
--- a/src/web/components/icon/__tests__/scheduleicon.jsx
+++ b/src/web/components/icon/__tests__/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/sensoricon.jsx b/src/web/components/icon/__tests__/sensoricon.jsx
index 7ec4ca34b9..e59ba19cfe 100644
--- a/src/web/components/icon/__tests__/sensoricon.jsx
+++ b/src/web/components/icon/__tests__/sensoricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/solutiontypeicon.jsx b/src/web/components/icon/__tests__/solutiontypeicon.jsx
index 205bf0fdd4..d657f0d7ba 100644
--- a/src/web/components/icon/__tests__/solutiontypeicon.jsx
+++ b/src/web/components/icon/__tests__/solutiontypeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/icon/__tests__/solutiontypesvgicon.jsx b/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
index d089ec4517..f29a489dcd 100644
--- a/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
+++ b/src/web/components/icon/__tests__/solutiontypesvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/starticon.jsx b/src/web/components/icon/__tests__/starticon.jsx
index e591b995ff..aa400bef15 100644
--- a/src/web/components/icon/__tests__/starticon.jsx
+++ b/src/web/components/icon/__tests__/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stmitigateicon.jsx b/src/web/components/icon/__tests__/stmitigateicon.jsx
index bad1b477ba..61b08106cc 100644
--- a/src/web/components/icon/__tests__/stmitigateicon.jsx
+++ b/src/web/components/icon/__tests__/stmitigateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stnonavailableicon.jsx b/src/web/components/icon/__tests__/stnonavailableicon.jsx
index 6065f20c49..2020c81e7b 100644
--- a/src/web/components/icon/__tests__/stnonavailableicon.jsx
+++ b/src/web/components/icon/__tests__/stnonavailableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stopicon.jsx b/src/web/components/icon/__tests__/stopicon.jsx
index 5be61e1676..85ce156f3a 100644
--- a/src/web/components/icon/__tests__/stopicon.jsx
+++ b/src/web/components/icon/__tests__/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stunknownicon.jsx b/src/web/components/icon/__tests__/stunknownicon.jsx
index 1a158d9dbb..cc6fabaf7c 100644
--- a/src/web/components/icon/__tests__/stunknownicon.jsx
+++ b/src/web/components/icon/__tests__/stunknownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stvendorfixicon.jsx b/src/web/components/icon/__tests__/stvendorfixicon.jsx
index f644c37254..442db2d353 100644
--- a/src/web/components/icon/__tests__/stvendorfixicon.jsx
+++ b/src/web/components/icon/__tests__/stvendorfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stwillnotfixicon.jsx b/src/web/components/icon/__tests__/stwillnotfixicon.jsx
index a93debf5cb..e541cd5fc3 100644
--- a/src/web/components/icon/__tests__/stwillnotfixicon.jsx
+++ b/src/web/components/icon/__tests__/stwillnotfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/stworkaroundicon.jsx b/src/web/components/icon/__tests__/stworkaroundicon.jsx
index cd8dde1e3c..8608d09f1c 100644
--- a/src/web/components/icon/__tests__/stworkaroundicon.jsx
+++ b/src/web/components/icon/__tests__/stworkaroundicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/svgicon.jsx b/src/web/components/icon/__tests__/svgicon.jsx
index d65f2e1ef8..5a5fcb92f1 100644
--- a/src/web/components/icon/__tests__/svgicon.jsx
+++ b/src/web/components/icon/__tests__/svgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect} from 'react';
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/components/icon/__tests__/tagicon.jsx b/src/web/components/icon/__tests__/tagicon.jsx
index 7c2d1ed493..cae442376c 100644
--- a/src/web/components/icon/__tests__/tagicon.jsx
+++ b/src/web/components/icon/__tests__/tagicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/tagssvgicon.jsx b/src/web/components/icon/__tests__/tagssvgicon.jsx
index b64d34e153..aa2a40f3c2 100644
--- a/src/web/components/icon/__tests__/tagssvgicon.jsx
+++ b/src/web/components/icon/__tests__/tagssvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/taskicon.jsx b/src/web/components/icon/__tests__/taskicon.jsx
index 1962cea250..825806add8 100644
--- a/src/web/components/icon/__tests__/taskicon.jsx
+++ b/src/web/components/icon/__tests__/taskicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/tlscertificateicon.jsx b/src/web/components/icon/__tests__/tlscertificateicon.jsx
index 021fec6ee3..9d7f8142fb 100644
--- a/src/web/components/icon/__tests__/tlscertificateicon.jsx
+++ b/src/web/components/icon/__tests__/tlscertificateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/toggle3dicon.jsx b/src/web/components/icon/__tests__/toggle3dicon.jsx
index 3e205083c6..d4773bda5a 100644
--- a/src/web/components/icon/__tests__/toggle3dicon.jsx
+++ b/src/web/components/icon/__tests__/toggle3dicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashcanicon.jsx b/src/web/components/icon/__tests__/trashcanicon.jsx
index acdfd8c24c..33c875c9fd 100644
--- a/src/web/components/icon/__tests__/trashcanicon.jsx
+++ b/src/web/components/icon/__tests__/trashcanicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashdeleteicon.jsx b/src/web/components/icon/__tests__/trashdeleteicon.jsx
index f6fa9ea341..bb99a0bbb6 100644
--- a/src/web/components/icon/__tests__/trashdeleteicon.jsx
+++ b/src/web/components/icon/__tests__/trashdeleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trashicon.jsx b/src/web/components/icon/__tests__/trashicon.jsx
index d1963adf6f..2491908589 100644
--- a/src/web/components/icon/__tests__/trashicon.jsx
+++ b/src/web/components/icon/__tests__/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trenddownicon.jsx b/src/web/components/icon/__tests__/trenddownicon.jsx
index da0290e8af..a57a10eb35 100644
--- a/src/web/components/icon/__tests__/trenddownicon.jsx
+++ b/src/web/components/icon/__tests__/trenddownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendlessicon.jsx b/src/web/components/icon/__tests__/trendlessicon.jsx
index 909a3582dd..44e814bcaf 100644
--- a/src/web/components/icon/__tests__/trendlessicon.jsx
+++ b/src/web/components/icon/__tests__/trendlessicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendmoreicon.jsx b/src/web/components/icon/__tests__/trendmoreicon.jsx
index 8b8fee429e..398dc34dfb 100644
--- a/src/web/components/icon/__tests__/trendmoreicon.jsx
+++ b/src/web/components/icon/__tests__/trendmoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendnochangeicon.jsx b/src/web/components/icon/__tests__/trendnochangeicon.jsx
index 380ddf620b..dd735e1b43 100644
--- a/src/web/components/icon/__tests__/trendnochangeicon.jsx
+++ b/src/web/components/icon/__tests__/trendnochangeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/trendupicon.jsx b/src/web/components/icon/__tests__/trendupicon.jsx
index 16fbaeb0ea..a6e4159640 100644
--- a/src/web/components/icon/__tests__/trendupicon.jsx
+++ b/src/web/components/icon/__tests__/trendupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/unfoldicon.jsx b/src/web/components/icon/__tests__/unfoldicon.jsx
index 82869b8fe2..21fbf6bed7 100644
--- a/src/web/components/icon/__tests__/unfoldicon.jsx
+++ b/src/web/components/icon/__tests__/unfoldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/uploadicon.jsx b/src/web/components/icon/__tests__/uploadicon.jsx
index 2ae3c667af..13af8444d5 100644
--- a/src/web/components/icon/__tests__/uploadicon.jsx
+++ b/src/web/components/icon/__tests__/uploadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/usericon.jsx b/src/web/components/icon/__tests__/usericon.jsx
index 493cc8f2b1..25c4567e11 100644
--- a/src/web/components/icon/__tests__/usericon.jsx
+++ b/src/web/components/icon/__tests__/usericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/verifyicon.jsx b/src/web/components/icon/__tests__/verifyicon.jsx
index 4622cab67f..a9a1db738c 100644
--- a/src/web/components/icon/__tests__/verifyicon.jsx
+++ b/src/web/components/icon/__tests__/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/verifynoicon.jsx b/src/web/components/icon/__tests__/verifynoicon.jsx
index f45b3bdc54..1ba108be6b 100644
--- a/src/web/components/icon/__tests__/verifynoicon.jsx
+++ b/src/web/components/icon/__tests__/verifynoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/viewothericon.jsx b/src/web/components/icon/__tests__/viewothericon.jsx
index c04a9a12de..50551db572 100644
--- a/src/web/components/icon/__tests__/viewothericon.jsx
+++ b/src/web/components/icon/__tests__/viewothericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/vulnerabilityicon.jsx b/src/web/components/icon/__tests__/vulnerabilityicon.jsx
index 1aedd2352b..b8d6a84d48 100644
--- a/src/web/components/icon/__tests__/vulnerabilityicon.jsx
+++ b/src/web/components/icon/__tests__/vulnerabilityicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/__tests__/wizardicon.jsx b/src/web/components/icon/__tests__/wizardicon.jsx
index 8b746b9517..76d99fba3b 100644
--- a/src/web/components/icon/__tests__/wizardicon.jsx
+++ b/src/web/components/icon/__tests__/wizardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe} from '@gsa/testing';
import {testIcon} from 'web/components/icon/testing';
diff --git a/src/web/components/icon/addtoassetsicon.jsx b/src/web/components/icon/addtoassetsicon.jsx
index d425d7f406..52c9191e09 100644
--- a/src/web/components/icon/addtoassetsicon.jsx
+++ b/src/web/components/icon/addtoassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/add_to_assets.svg';
diff --git a/src/web/components/icon/alerticon.jsx b/src/web/components/icon/alerticon.jsx
index b120e7debf..4cff4dd8b4 100644
--- a/src/web/components/icon/alerticon.jsx
+++ b/src/web/components/icon/alerticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/alert.svg';
diff --git a/src/web/components/icon/alterableicon.jsx b/src/web/components/icon/alterableicon.jsx
index e8bd815969..71b0a12698 100644
--- a/src/web/components/icon/alterableicon.jsx
+++ b/src/web/components/icon/alterableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/alterable.svg';
diff --git a/src/web/components/icon/arrowicon.jsx b/src/web/components/icon/arrowicon.jsx
index fb3cfb73ec..f0f4164cda 100644
--- a/src/web/components/icon/arrowicon.jsx
+++ b/src/web/components/icon/arrowicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/auditicon.jsx b/src/web/components/icon/auditicon.jsx
index a19b9fbbfc..fecd82bed0 100644
--- a/src/web/components/icon/auditicon.jsx
+++ b/src/web/components/icon/auditicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/audit.svg';
diff --git a/src/web/components/icon/calendaricon.jsx b/src/web/components/icon/calendaricon.jsx
index 4c3a4589da..7abe9b1730 100644
--- a/src/web/components/icon/calendaricon.jsx
+++ b/src/web/components/icon/calendaricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/calendar.svg';
diff --git a/src/web/components/icon/certbundadvicon.jsx b/src/web/components/icon/certbundadvicon.jsx
index d2af1f158f..3ee9e3e936 100644
--- a/src/web/components/icon/certbundadvicon.jsx
+++ b/src/web/components/icon/certbundadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cert_bund_adv.svg';
diff --git a/src/web/components/icon/cloneicon.jsx b/src/web/components/icon/cloneicon.jsx
index db2b6ad761..ade92827c7 100644
--- a/src/web/components/icon/cloneicon.jsx
+++ b/src/web/components/icon/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/clone.svg';
diff --git a/src/web/components/icon/cpeicon.jsx b/src/web/components/icon/cpeicon.jsx
index 0c74e7598b..0685c45fb3 100644
--- a/src/web/components/icon/cpeicon.jsx
+++ b/src/web/components/icon/cpeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/icon/cpelogoicon.jsx b/src/web/components/icon/cpelogoicon.jsx
index 318a94fb36..e62566a68d 100644
--- a/src/web/components/icon/cpelogoicon.jsx
+++ b/src/web/components/icon/cpelogoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cpe.svg';
diff --git a/src/web/components/icon/credentialicon.jsx b/src/web/components/icon/credentialicon.jsx
index 5cd7106b4c..307838b75c 100644
--- a/src/web/components/icon/credentialicon.jsx
+++ b/src/web/components/icon/credentialicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/credential.svg';
diff --git a/src/web/components/icon/cveicon.jsx b/src/web/components/icon/cveicon.jsx
index ff7af3622d..c9b468bce5 100644
--- a/src/web/components/icon/cveicon.jsx
+++ b/src/web/components/icon/cveicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cve.svg';
diff --git a/src/web/components/icon/cvssicon.jsx b/src/web/components/icon/cvssicon.jsx
index 21b489db9a..50ea4a936c 100644
--- a/src/web/components/icon/cvssicon.jsx
+++ b/src/web/components/icon/cvssicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/cvss_calculator.svg';
diff --git a/src/web/components/icon/dashboardicon.jsx b/src/web/components/icon/dashboardicon.jsx
index 6809846b07..f5ff16a803 100644
--- a/src/web/components/icon/dashboardicon.jsx
+++ b/src/web/components/icon/dashboardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dashboard.svg';
diff --git a/src/web/components/icon/deleteicon.jsx b/src/web/components/icon/deleteicon.jsx
index 3f7782c2be..3075a22362 100644
--- a/src/web/components/icon/deleteicon.jsx
+++ b/src/web/components/icon/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/deltadifferenceicon.jsx b/src/web/components/icon/deltadifferenceicon.jsx
index 6b4db48498..5ba13f0d03 100644
--- a/src/web/components/icon/deltadifferenceicon.jsx
+++ b/src/web/components/icon/deltadifferenceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta_second.svg';
diff --git a/src/web/components/icon/deltaicon.jsx b/src/web/components/icon/deltaicon.jsx
index d201fd453a..a9ed003fa5 100644
--- a/src/web/components/icon/deltaicon.jsx
+++ b/src/web/components/icon/deltaicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta.svg';
diff --git a/src/web/components/icon/deltasecondicon.jsx b/src/web/components/icon/deltasecondicon.jsx
index a584becd4f..952f8d7520 100644
--- a/src/web/components/icon/deltasecondicon.jsx
+++ b/src/web/components/icon/deltasecondicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/delta_second.svg';
diff --git a/src/web/components/icon/detailsicon.jsx b/src/web/components/icon/detailsicon.jsx
index d7fb47152a..415cba00b2 100644
--- a/src/web/components/icon/detailsicon.jsx
+++ b/src/web/components/icon/detailsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/dfncertadvicon.jsx b/src/web/components/icon/dfncertadvicon.jsx
index 63d35adb5f..15293b1a0f 100644
--- a/src/web/components/icon/dfncertadvicon.jsx
+++ b/src/web/components/icon/dfncertadvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dfn_cert_adv.svg';
diff --git a/src/web/components/icon/disableicon.jsx b/src/web/components/icon/disableicon.jsx
index 2ed6b134c2..5537d6efa8 100644
--- a/src/web/components/icon/disableicon.jsx
+++ b/src/web/components/icon/disableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/disable.svg';
diff --git a/src/web/components/icon/downloadcsvicon.jsx b/src/web/components/icon/downloadcsvicon.jsx
index 61a7e9ed0e..44eb7eae3c 100644
--- a/src/web/components/icon/downloadcsvicon.jsx
+++ b/src/web/components/icon/downloadcsvicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/downloaddebicon.jsx b/src/web/components/icon/downloaddebicon.jsx
index 0535c25d4b..6300bc48d8 100644
--- a/src/web/components/icon/downloaddebicon.jsx
+++ b/src/web/components/icon/downloaddebicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Icon from './svg/dl_deb.svg';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/downloadexeicon.jsx b/src/web/components/icon/downloadexeicon.jsx
index dbe2a87574..3c350a1814 100644
--- a/src/web/components/icon/downloadexeicon.jsx
+++ b/src/web/components/icon/downloadexeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_exe.svg';
diff --git a/src/web/components/icon/downloadicon.jsx b/src/web/components/icon/downloadicon.jsx
index 4ecba19e1d..c4ebb65c90 100644
--- a/src/web/components/icon/downloadicon.jsx
+++ b/src/web/components/icon/downloadicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/download.svg';
diff --git a/src/web/components/icon/downloadkeyicon.jsx b/src/web/components/icon/downloadkeyicon.jsx
index 5cfacb8a3d..977059c6c5 100644
--- a/src/web/components/icon/downloadkeyicon.jsx
+++ b/src/web/components/icon/downloadkeyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_key.svg';
diff --git a/src/web/components/icon/downloadrpmicon.jsx b/src/web/components/icon/downloadrpmicon.jsx
index a865012b5e..31e857f9b3 100644
--- a/src/web/components/icon/downloadrpmicon.jsx
+++ b/src/web/components/icon/downloadrpmicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/dl_rpm.svg';
diff --git a/src/web/components/icon/downloadsvgicon.jsx b/src/web/components/icon/downloadsvgicon.jsx
index 6c35f45b53..655dad079f 100644
--- a/src/web/components/icon/downloadsvgicon.jsx
+++ b/src/web/components/icon/downloadsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import withSvgIcon from './withSvgIcon';
diff --git a/src/web/components/icon/editicon.jsx b/src/web/components/icon/editicon.jsx
index a2be8bef0c..a8b99d3381 100644
--- a/src/web/components/icon/editicon.jsx
+++ b/src/web/components/icon/editicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/edit.svg';
diff --git a/src/web/components/icon/enableicon.jsx b/src/web/components/icon/enableicon.jsx
index 2b353eeeeb..caca9ef298 100644
--- a/src/web/components/icon/enableicon.jsx
+++ b/src/web/components/icon/enableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/enable.svg';
diff --git a/src/web/components/icon/exporticon.jsx b/src/web/components/icon/exporticon.jsx
index 765be54183..00ac016660 100644
--- a/src/web/components/icon/exporticon.jsx
+++ b/src/web/components/icon/exporticon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/feedicon.jsx b/src/web/components/icon/feedicon.jsx
index 6a98ef0525..30cfcfa137 100644
--- a/src/web/components/icon/feedicon.jsx
+++ b/src/web/components/icon/feedicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/feed.svg';
diff --git a/src/web/components/icon/filtericon.jsx b/src/web/components/icon/filtericon.jsx
index f6bdae4d72..3c7726f548 100644
--- a/src/web/components/icon/filtericon.jsx
+++ b/src/web/components/icon/filtericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/filter.svg';
diff --git a/src/web/components/icon/firsticon.jsx b/src/web/components/icon/firsticon.jsx
index 79be331ad5..b77a6e1aef 100644
--- a/src/web/components/icon/firsticon.jsx
+++ b/src/web/components/icon/firsticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/first.svg';
diff --git a/src/web/components/icon/foldicon.jsx b/src/web/components/icon/foldicon.jsx
index 45b1f7918a..f6459c568b 100644
--- a/src/web/components/icon/foldicon.jsx
+++ b/src/web/components/icon/foldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import FoldSvg from './svg/fold.svg';
diff --git a/src/web/components/icon/foldstateicon.jsx b/src/web/components/icon/foldstateicon.jsx
index 44ea2c66d5..0fef7314d0 100644
--- a/src/web/components/icon/foldstateicon.jsx
+++ b/src/web/components/icon/foldstateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/groupicon.jsx b/src/web/components/icon/groupicon.jsx
index cbbc6465ff..4c932ac3bc 100644
--- a/src/web/components/icon/groupicon.jsx
+++ b/src/web/components/icon/groupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/group.svg';
diff --git a/src/web/components/icon/helpicon.jsx b/src/web/components/icon/helpicon.jsx
index 4fe0692a55..175c48b13a 100644
--- a/src/web/components/icon/helpicon.jsx
+++ b/src/web/components/icon/helpicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/help.svg';
diff --git a/src/web/components/icon/hosticon.jsx b/src/web/components/icon/hosticon.jsx
index 67b43cb32b..a6e154192f 100644
--- a/src/web/components/icon/hosticon.jsx
+++ b/src/web/components/icon/hosticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/host.svg';
diff --git a/src/web/components/icon/icon.jsx b/src/web/components/icon/icon.jsx
index 7bed457514..5cf6d8c885 100644
--- a/src/web/components/icon/icon.jsx
+++ b/src/web/components/icon/icon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import 'whatwg-fetch';
diff --git a/src/web/components/icon/importicon.jsx b/src/web/components/icon/importicon.jsx
index bd0fe0ccc9..5f35a6d6ae 100644
--- a/src/web/components/icon/importicon.jsx
+++ b/src/web/components/icon/importicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/import.svg';
diff --git a/src/web/components/icon/infoicon.jsx b/src/web/components/icon/infoicon.jsx
index 94bf0374ba..6e4a310deb 100644
--- a/src/web/components/icon/infoicon.jsx
+++ b/src/web/components/icon/infoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/info.svg';
diff --git a/src/web/components/icon/keyicon.jsx b/src/web/components/icon/keyicon.jsx
index 820d32ad08..2d5c71ffac 100644
--- a/src/web/components/icon/keyicon.jsx
+++ b/src/web/components/icon/keyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/key.svg';
diff --git a/src/web/components/icon/lasticon.jsx b/src/web/components/icon/lasticon.jsx
index 756ea0c864..3375e48e66 100644
--- a/src/web/components/icon/lasticon.jsx
+++ b/src/web/components/icon/lasticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/last.svg';
diff --git a/src/web/components/icon/ldapicon.jsx b/src/web/components/icon/ldapicon.jsx
index 04537699c8..f736266587 100644
--- a/src/web/components/icon/ldapicon.jsx
+++ b/src/web/components/icon/ldapicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/ldap.svg';
diff --git a/src/web/components/icon/legendicon.jsx b/src/web/components/icon/legendicon.jsx
index 659e9d0d02..70784257ad 100644
--- a/src/web/components/icon/legendicon.jsx
+++ b/src/web/components/icon/legendicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/legend.svg';
diff --git a/src/web/components/icon/licenseicon.jsx b/src/web/components/icon/licenseicon.jsx
index 916927559d..f2f244a992 100644
--- a/src/web/components/icon/licenseicon.jsx
+++ b/src/web/components/icon/licenseicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/license.svg';
diff --git a/src/web/components/icon/listicon.jsx b/src/web/components/icon/listicon.jsx
index 6e0326ab77..bf7f499d19 100644
--- a/src/web/components/icon/listicon.jsx
+++ b/src/web/components/icon/listicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/icon/listsvgicon.jsx b/src/web/components/icon/listsvgicon.jsx
index b4bb506a89..18a93ddff4 100644
--- a/src/web/components/icon/listsvgicon.jsx
+++ b/src/web/components/icon/listsvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/list.svg';
diff --git a/src/web/components/icon/logouticon.jsx b/src/web/components/icon/logouticon.jsx
index 3ff9bb211e..3de765e2b6 100644
--- a/src/web/components/icon/logouticon.jsx
+++ b/src/web/components/icon/logouticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/logout.svg';
diff --git a/src/web/components/icon/manualicon.jsx b/src/web/components/icon/manualicon.jsx
index 2ac3f43f2e..705bb2cf64 100644
--- a/src/web/components/icon/manualicon.jsx
+++ b/src/web/components/icon/manualicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/icon/mysettingsicon.jsx b/src/web/components/icon/mysettingsicon.jsx
index 76c741b7af..411bd2c056 100644
--- a/src/web/components/icon/mysettingsicon.jsx
+++ b/src/web/components/icon/mysettingsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/my_setting.svg';
diff --git a/src/web/components/icon/newicon.jsx b/src/web/components/icon/newicon.jsx
index d017a73e09..b89f44914f 100644
--- a/src/web/components/icon/newicon.jsx
+++ b/src/web/components/icon/newicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new.svg';
diff --git a/src/web/components/icon/newnoteicon.jsx b/src/web/components/icon/newnoteicon.jsx
index 02bc1dc303..9445a5e3dc 100644
--- a/src/web/components/icon/newnoteicon.jsx
+++ b/src/web/components/icon/newnoteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new_note.svg';
diff --git a/src/web/components/icon/newoverrideicon.jsx b/src/web/components/icon/newoverrideicon.jsx
index 69bb529d37..ab5cecc7d4 100644
--- a/src/web/components/icon/newoverrideicon.jsx
+++ b/src/web/components/icon/newoverrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/new_override.svg';
diff --git a/src/web/components/icon/newticketicon.jsx b/src/web/components/icon/newticketicon.jsx
index 031515f89d..7a83e06b17 100644
--- a/src/web/components/icon/newticketicon.jsx
+++ b/src/web/components/icon/newticketicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/nexticon.jsx b/src/web/components/icon/nexticon.jsx
index e7a5c73199..68da9455af 100644
--- a/src/web/components/icon/nexticon.jsx
+++ b/src/web/components/icon/nexticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/next.svg';
diff --git a/src/web/components/icon/noteicon.jsx b/src/web/components/icon/noteicon.jsx
index c0eef067c3..9d75147cf6 100644
--- a/src/web/components/icon/noteicon.jsx
+++ b/src/web/components/icon/noteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/note.svg';
diff --git a/src/web/components/icon/nvticon.jsx b/src/web/components/icon/nvticon.jsx
index c041e3c43e..00f3cc268b 100644
--- a/src/web/components/icon/nvticon.jsx
+++ b/src/web/components/icon/nvticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/nvt.svg';
diff --git a/src/web/components/icon/osicon.jsx b/src/web/components/icon/osicon.jsx
index 7bc8d4f428..3ad80e3e32 100644
--- a/src/web/components/icon/osicon.jsx
+++ b/src/web/components/icon/osicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/ossvgicon.jsx b/src/web/components/icon/ossvgicon.jsx
index c25c4031da..e8dd8f9945 100644
--- a/src/web/components/icon/ossvgicon.jsx
+++ b/src/web/components/icon/ossvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/os.svg';
diff --git a/src/web/components/icon/overrideicon.jsx b/src/web/components/icon/overrideicon.jsx
index bfbe622c42..5f987c49e0 100644
--- a/src/web/components/icon/overrideicon.jsx
+++ b/src/web/components/icon/overrideicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/override.svg';
diff --git a/src/web/components/icon/performanceicon.jsx b/src/web/components/icon/performanceicon.jsx
index beaea5a73f..bfd4e23655 100644
--- a/src/web/components/icon/performanceicon.jsx
+++ b/src/web/components/icon/performanceicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/performance.svg';
diff --git a/src/web/components/icon/permissionicon.jsx b/src/web/components/icon/permissionicon.jsx
index cf1e2b4e54..cd14d4e23d 100644
--- a/src/web/components/icon/permissionicon.jsx
+++ b/src/web/components/icon/permissionicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/permission.svg';
diff --git a/src/web/components/icon/policyicon.jsx b/src/web/components/icon/policyicon.jsx
index fa71872de9..d11f3b8e08 100644
--- a/src/web/components/icon/policyicon.jsx
+++ b/src/web/components/icon/policyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/policy.svg';
diff --git a/src/web/components/icon/portlisticon.jsx b/src/web/components/icon/portlisticon.jsx
index ebe16b22d1..02e39f3b57 100644
--- a/src/web/components/icon/portlisticon.jsx
+++ b/src/web/components/icon/portlisticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/port_list.svg';
diff --git a/src/web/components/icon/previousicon.jsx b/src/web/components/icon/previousicon.jsx
index de9d19a906..ba9f42f233 100644
--- a/src/web/components/icon/previousicon.jsx
+++ b/src/web/components/icon/previousicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/previous.svg';
diff --git a/src/web/components/icon/provideviewicon.jsx b/src/web/components/icon/provideviewicon.jsx
index fa5ce93cca..37e4ace3fd 100644
--- a/src/web/components/icon/provideviewicon.jsx
+++ b/src/web/components/icon/provideviewicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/provide_view.svg';
diff --git a/src/web/components/icon/radiusicon.jsx b/src/web/components/icon/radiusicon.jsx
index 019d7714a5..a9f80ee9bb 100644
--- a/src/web/components/icon/radiusicon.jsx
+++ b/src/web/components/icon/radiusicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/radius.svg';
diff --git a/src/web/components/icon/refreshicon.jsx b/src/web/components/icon/refreshicon.jsx
index c3b1160f6d..8bf433ebc1 100644
--- a/src/web/components/icon/refreshicon.jsx
+++ b/src/web/components/icon/refreshicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/refresh.svg';
diff --git a/src/web/components/icon/removefromassetsicon.jsx b/src/web/components/icon/removefromassetsicon.jsx
index e28cf69603..d6fc7b7633 100644
--- a/src/web/components/icon/removefromassetsicon.jsx
+++ b/src/web/components/icon/removefromassetsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/remove_from_assets.svg';
diff --git a/src/web/components/icon/reportconfigicon.jsx b/src/web/components/icon/reportconfigicon.jsx
index d43468780d..b39e5c241a 100644
--- a/src/web/components/icon/reportconfigicon.jsx
+++ b/src/web/components/icon/reportconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report_format.svg';
diff --git a/src/web/components/icon/reportformaticon.jsx b/src/web/components/icon/reportformaticon.jsx
index 7ecd5319ff..95f5392fc6 100644
--- a/src/web/components/icon/reportformaticon.jsx
+++ b/src/web/components/icon/reportformaticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report_format.svg';
diff --git a/src/web/components/icon/reporticon.jsx b/src/web/components/icon/reporticon.jsx
index 0dddcd1f65..49938725d7 100644
--- a/src/web/components/icon/reporticon.jsx
+++ b/src/web/components/icon/reporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/report.svg';
diff --git a/src/web/components/icon/reseticon.jsx b/src/web/components/icon/reseticon.jsx
index 6b9f65ff0d..8f69c2da4d 100644
--- a/src/web/components/icon/reseticon.jsx
+++ b/src/web/components/icon/reseticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/reset.svg';
diff --git a/src/web/components/icon/restoreicon.jsx b/src/web/components/icon/restoreicon.jsx
index 3e8a05b1ad..b8f05cb101 100644
--- a/src/web/components/icon/restoreicon.jsx
+++ b/src/web/components/icon/restoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/restore.svg';
diff --git a/src/web/components/icon/resulticon.jsx b/src/web/components/icon/resulticon.jsx
index 562be8a675..bc255cda0f 100644
--- a/src/web/components/icon/resulticon.jsx
+++ b/src/web/components/icon/resulticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/result.svg';
diff --git a/src/web/components/icon/resumeicon.jsx b/src/web/components/icon/resumeicon.jsx
index 91e954db05..abafe653a4 100644
--- a/src/web/components/icon/resumeicon.jsx
+++ b/src/web/components/icon/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/resume.svg';
diff --git a/src/web/components/icon/roleicon.jsx b/src/web/components/icon/roleicon.jsx
index 642ad688c3..d6b8df8ca7 100644
--- a/src/web/components/icon/roleicon.jsx
+++ b/src/web/components/icon/roleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/role.svg';
diff --git a/src/web/components/icon/scanconfigicon.jsx b/src/web/components/icon/scanconfigicon.jsx
index e21a18a0c0..a9c67eb8c2 100644
--- a/src/web/components/icon/scanconfigicon.jsx
+++ b/src/web/components/icon/scanconfigicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/config.svg';
diff --git a/src/web/components/icon/scannericon.jsx b/src/web/components/icon/scannericon.jsx
index ab8f8258f3..92a7e93cdd 100644
--- a/src/web/components/icon/scannericon.jsx
+++ b/src/web/components/icon/scannericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/scanner.svg';
diff --git a/src/web/components/icon/scheduleicon.jsx b/src/web/components/icon/scheduleicon.jsx
index 177daec451..5cfb98a09e 100644
--- a/src/web/components/icon/scheduleicon.jsx
+++ b/src/web/components/icon/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/schedule.svg';
diff --git a/src/web/components/icon/sensoricon.jsx b/src/web/components/icon/sensoricon.jsx
index 4a0fd94993..470c158b5f 100644
--- a/src/web/components/icon/sensoricon.jsx
+++ b/src/web/components/icon/sensoricon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/sensor.svg';
diff --git a/src/web/components/icon/solutiontypeicon.jsx b/src/web/components/icon/solutiontypeicon.jsx
index 63d2a15b04..7639f1fb94 100644
--- a/src/web/components/icon/solutiontypeicon.jsx
+++ b/src/web/components/icon/solutiontypeicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/solutiontypesvgicon.jsx b/src/web/components/icon/solutiontypesvgicon.jsx
index 4b5387f8a9..b2401b4fa1 100644
--- a/src/web/components/icon/solutiontypesvgicon.jsx
+++ b/src/web/components/icon/solutiontypesvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/solution_type.svg';
diff --git a/src/web/components/icon/starticon.jsx b/src/web/components/icon/starticon.jsx
index 9189fc795e..11c559d0ce 100644
--- a/src/web/components/icon/starticon.jsx
+++ b/src/web/components/icon/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/start.svg';
diff --git a/src/web/components/icon/stmitigateicon.jsx b/src/web/components/icon/stmitigateicon.jsx
index ad70083c21..8eb288409c 100644
--- a/src/web/components/icon/stmitigateicon.jsx
+++ b/src/web/components/icon/stmitigateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_mitigate.svg';
diff --git a/src/web/components/icon/stnonavailableicon.jsx b/src/web/components/icon/stnonavailableicon.jsx
index d1fef1589c..5c9181a1d7 100644
--- a/src/web/components/icon/stnonavailableicon.jsx
+++ b/src/web/components/icon/stnonavailableicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_nonavailable.svg';
diff --git a/src/web/components/icon/stopicon.jsx b/src/web/components/icon/stopicon.jsx
index 6145f12f5b..b7a625fb4e 100644
--- a/src/web/components/icon/stopicon.jsx
+++ b/src/web/components/icon/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/stop.svg';
diff --git a/src/web/components/icon/stunknownicon.jsx b/src/web/components/icon/stunknownicon.jsx
index 42ce79d674..b27ac56d49 100644
--- a/src/web/components/icon/stunknownicon.jsx
+++ b/src/web/components/icon/stunknownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_unknown.svg';
diff --git a/src/web/components/icon/stvendorfixicon.jsx b/src/web/components/icon/stvendorfixicon.jsx
index 0ba7788537..5cb739b5d4 100644
--- a/src/web/components/icon/stvendorfixicon.jsx
+++ b/src/web/components/icon/stvendorfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_vendorfix.svg';
diff --git a/src/web/components/icon/stwillnotfixicon.jsx b/src/web/components/icon/stwillnotfixicon.jsx
index 1c1366735a..5625132e5b 100644
--- a/src/web/components/icon/stwillnotfixicon.jsx
+++ b/src/web/components/icon/stwillnotfixicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_willnotfix.svg';
diff --git a/src/web/components/icon/stworkaroundicon.jsx b/src/web/components/icon/stworkaroundicon.jsx
index c66d02838f..d3ec84acbf 100644
--- a/src/web/components/icon/stworkaroundicon.jsx
+++ b/src/web/components/icon/stworkaroundicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/st_workaround.svg';
diff --git a/src/web/components/icon/svgicon.jsx b/src/web/components/icon/svgicon.jsx
index 4637120782..ce0a8824fa 100644
--- a/src/web/components/icon/svgicon.jsx
+++ b/src/web/components/icon/svgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState, useRef} from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/tagicon.jsx b/src/web/components/icon/tagicon.jsx
index 0daa6dd479..3c34f3df63 100644
--- a/src/web/components/icon/tagicon.jsx
+++ b/src/web/components/icon/tagicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tag.svg';
diff --git a/src/web/components/icon/tagsicon.jsx b/src/web/components/icon/tagsicon.jsx
index 199384cae6..15e4ef529b 100644
--- a/src/web/components/icon/tagsicon.jsx
+++ b/src/web/components/icon/tagsicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/tagssvgicon.jsx b/src/web/components/icon/tagssvgicon.jsx
index 8d796395d7..873c378055 100644
--- a/src/web/components/icon/tagssvgicon.jsx
+++ b/src/web/components/icon/tagssvgicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tags.svg';
diff --git a/src/web/components/icon/targeticon.jsx b/src/web/components/icon/targeticon.jsx
index 3bac0ef29a..84d91d905b 100644
--- a/src/web/components/icon/targeticon.jsx
+++ b/src/web/components/icon/targeticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/target.svg';
diff --git a/src/web/components/icon/taskicon.jsx b/src/web/components/icon/taskicon.jsx
index a2f63e70d7..4a0287caed 100644
--- a/src/web/components/icon/taskicon.jsx
+++ b/src/web/components/icon/taskicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/task.svg';
diff --git a/src/web/components/icon/testing.jsx b/src/web/components/icon/testing.jsx
index d389d9b4ea..3837d546ff 100644
--- a/src/web/components/icon/testing.jsx
+++ b/src/web/components/icon/testing.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {test, expect, testing} from '@gsa/testing';
import {render, fireEvent, act} from 'web/utils/testing';
diff --git a/src/web/components/icon/ticketicon.jsx b/src/web/components/icon/ticketicon.jsx
index 9dbb5f525f..3f37770f6a 100644
--- a/src/web/components/icon/ticketicon.jsx
+++ b/src/web/components/icon/ticketicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SvgIcon from './svgicon';
diff --git a/src/web/components/icon/tlscertificateicon.jsx b/src/web/components/icon/tlscertificateicon.jsx
index 0eb180b3d5..2b20bc4252 100644
--- a/src/web/components/icon/tlscertificateicon.jsx
+++ b/src/web/components/icon/tlscertificateicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/tlscertificate.svg';
diff --git a/src/web/components/icon/toggle3dicon.jsx b/src/web/components/icon/toggle3dicon.jsx
index 0caacf390e..2168bdd18e 100644
--- a/src/web/components/icon/toggle3dicon.jsx
+++ b/src/web/components/icon/toggle3dicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/toggle3d.svg';
diff --git a/src/web/components/icon/trashcanicon.jsx b/src/web/components/icon/trashcanicon.jsx
index 5be9944a11..c7c69added 100644
--- a/src/web/components/icon/trashcanicon.jsx
+++ b/src/web/components/icon/trashcanicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trashcan.svg';
diff --git a/src/web/components/icon/trashdeleteicon.jsx b/src/web/components/icon/trashdeleteicon.jsx
index 3e2e6f49b1..c16db5ca63 100644
--- a/src/web/components/icon/trashdeleteicon.jsx
+++ b/src/web/components/icon/trashdeleteicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/icon/trashicon.jsx b/src/web/components/icon/trashicon.jsx
index 589bb283ef..71cfde96f9 100644
--- a/src/web/components/icon/trashicon.jsx
+++ b/src/web/components/icon/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/icon/trenddownicon.jsx b/src/web/components/icon/trenddownicon.jsx
index fcf7833292..8dc975b76b 100644
--- a/src/web/components/icon/trenddownicon.jsx
+++ b/src/web/components/icon/trenddownicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_down.svg';
diff --git a/src/web/components/icon/trendlessicon.jsx b/src/web/components/icon/trendlessicon.jsx
index 8050f6ea63..4c6d0448d8 100644
--- a/src/web/components/icon/trendlessicon.jsx
+++ b/src/web/components/icon/trendlessicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_less.svg';
diff --git a/src/web/components/icon/trendmoreicon.jsx b/src/web/components/icon/trendmoreicon.jsx
index 9c642d9ef6..49388c0dfb 100644
--- a/src/web/components/icon/trendmoreicon.jsx
+++ b/src/web/components/icon/trendmoreicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_more.svg';
diff --git a/src/web/components/icon/trendnochangeicon.jsx b/src/web/components/icon/trendnochangeicon.jsx
index 74a0349540..64cc2f3774 100644
--- a/src/web/components/icon/trendnochangeicon.jsx
+++ b/src/web/components/icon/trendnochangeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_nochange.svg';
diff --git a/src/web/components/icon/trendupicon.jsx b/src/web/components/icon/trendupicon.jsx
index a898fd36bc..bf0fba5321 100644
--- a/src/web/components/icon/trendupicon.jsx
+++ b/src/web/components/icon/trendupicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/trend_up.svg';
diff --git a/src/web/components/icon/unfoldicon.jsx b/src/web/components/icon/unfoldicon.jsx
index f0a3cec811..e4dd5f3974 100644
--- a/src/web/components/icon/unfoldicon.jsx
+++ b/src/web/components/icon/unfoldicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/unfold.svg';
diff --git a/src/web/components/icon/uploadicon.jsx b/src/web/components/icon/uploadicon.jsx
index 79075446c9..6ac84681fe 100644
--- a/src/web/components/icon/uploadicon.jsx
+++ b/src/web/components/icon/uploadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/upload.svg';
diff --git a/src/web/components/icon/usericon.jsx b/src/web/components/icon/usericon.jsx
index 635a90a8e1..004f8c8d52 100644
--- a/src/web/components/icon/usericon.jsx
+++ b/src/web/components/icon/usericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/user.svg';
diff --git a/src/web/components/icon/verifyicon.jsx b/src/web/components/icon/verifyicon.jsx
index 01e14239df..fb8b7b8a49 100644
--- a/src/web/components/icon/verifyicon.jsx
+++ b/src/web/components/icon/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/verify.svg';
diff --git a/src/web/components/icon/verifynoicon.jsx b/src/web/components/icon/verifynoicon.jsx
index d2bd2be1e7..148a36b027 100644
--- a/src/web/components/icon/verifynoicon.jsx
+++ b/src/web/components/icon/verifynoicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/verify_no.svg';
diff --git a/src/web/components/icon/viewothericon.jsx b/src/web/components/icon/viewothericon.jsx
index dbc22f0391..c913f53722 100644
--- a/src/web/components/icon/viewothericon.jsx
+++ b/src/web/components/icon/viewothericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/view_other.svg';
diff --git a/src/web/components/icon/vulnerabilityicon.jsx b/src/web/components/icon/vulnerabilityicon.jsx
index 7d8c9288bb..9c531e1537 100644
--- a/src/web/components/icon/vulnerabilityicon.jsx
+++ b/src/web/components/icon/vulnerabilityicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/vulnerability.svg';
diff --git a/src/web/components/icon/withIconSize.jsx b/src/web/components/icon/withIconSize.jsx
index a6b0907e06..276120b6a6 100644
--- a/src/web/components/icon/withIconSize.jsx
+++ b/src/web/components/icon/withIconSize.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/icon/withSvgIcon.jsx b/src/web/components/icon/withSvgIcon.jsx
index bc58bbb0ff..d859c458f5 100644
--- a/src/web/components/icon/withSvgIcon.jsx
+++ b/src/web/components/icon/withSvgIcon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/components/icon/wizardicon.jsx b/src/web/components/icon/wizardicon.jsx
index 5fa5b0b086..f2b9e8af4d 100644
--- a/src/web/components/icon/wizardicon.jsx
+++ b/src/web/components/icon/wizardicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withSvgIcon from './withSvgIcon';
import Icon from './svg/wizard.svg';
diff --git a/src/web/components/img/__tests__/greenbone.jsx b/src/web/components/img/__tests__/greenbone.jsx
index afdfdb84a8..1e13cc6a47 100644
--- a/src/web/components/img/__tests__/greenbone.jsx
+++ b/src/web/components/img/__tests__/greenbone.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/greenboneloginlogo.jsx b/src/web/components/img/__tests__/greenboneloginlogo.jsx
index fd24afccd3..d886b94a32 100644
--- a/src/web/components/img/__tests__/greenboneloginlogo.jsx
+++ b/src/web/components/img/__tests__/greenboneloginlogo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/img.jsx b/src/web/components/img/__tests__/img.jsx
index 6fe3b8cf82..4f722f46d2 100644
--- a/src/web/components/img/__tests__/img.jsx
+++ b/src/web/components/img/__tests__/img.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/img/__tests__/product.jsx b/src/web/components/img/__tests__/product.jsx
index 9e3f8c9db6..5c739c046b 100644
--- a/src/web/components/img/__tests__/product.jsx
+++ b/src/web/components/img/__tests__/product.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/img/greenbone.jsx b/src/web/components/img/greenbone.jsx
index afff626d96..b1f5c84dfb 100644
--- a/src/web/components/img/greenbone.jsx
+++ b/src/web/components/img/greenbone.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import GbLogo from 'web/components/icon/svg/greenbone.svg?url';
diff --git a/src/web/components/img/greenboneloginlogo.jsx b/src/web/components/img/greenboneloginlogo.jsx
index 508d1f683e..b21b1cd076 100644
--- a/src/web/components/img/greenboneloginlogo.jsx
+++ b/src/web/components/img/greenboneloginlogo.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/img/img.jsx b/src/web/components/img/img.jsx
index 8bbdb3c8f7..7aa566e8b3 100644
--- a/src/web/components/img/img.jsx
+++ b/src/web/components/img/img.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/img/product.jsx b/src/web/components/img/product.jsx
index 7411fd976e..e684a73a42 100644
--- a/src/web/components/img/product.jsx
+++ b/src/web/components/img/product.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/label/__tests__/severityclass.jsx b/src/web/components/label/__tests__/severityclass.jsx
index eed68e2313..5a020bcf58 100644
--- a/src/web/components/label/__tests__/severityclass.jsx
+++ b/src/web/components/label/__tests__/severityclass.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/label/severityclass.jsx b/src/web/components/label/severityclass.jsx
index 84ef917929..094c4bcdf6 100644
--- a/src/web/components/label/severityclass.jsx
+++ b/src/web/components/label/severityclass.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/__tests__/Layout.jsx b/src/web/components/layout/__tests__/Layout.jsx
index 38e6d10fd6..adbccbe388 100644
--- a/src/web/components/layout/__tests__/Layout.jsx
+++ b/src/web/components/layout/__tests__/Layout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/components/layout/__tests__/horizontalsep.jsx b/src/web/components/layout/__tests__/horizontalsep.jsx
index 0a87889dfb..a7885e7eb2 100644
--- a/src/web/components/layout/__tests__/horizontalsep.jsx
+++ b/src/web/components/layout/__tests__/horizontalsep.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import HorizontalSep from 'web/components/layout/horizontalsep';
diff --git a/src/web/components/layout/__tests__/pagetitle.jsx b/src/web/components/layout/__tests__/pagetitle.jsx
index b160897e23..3c9fc0419d 100644
--- a/src/web/components/layout/__tests__/pagetitle.jsx
+++ b/src/web/components/layout/__tests__/pagetitle.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import PageTitle from 'web/components/layout/pagetitle';
diff --git a/src/web/components/layout/__tests__/withLayout.jsx b/src/web/components/layout/__tests__/withLayout.jsx
index 22c57ce47c..97dc103aaa 100644
--- a/src/web/components/layout/__tests__/withLayout.jsx
+++ b/src/web/components/layout/__tests__/withLayout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import withLayout from 'web/components/layout/withLayout';
diff --git a/src/web/components/layout/autosize.jsx b/src/web/components/layout/autosize.jsx
index a9f409eadf..3da8c95d6d 100644
--- a/src/web/components/layout/autosize.jsx
+++ b/src/web/components/layout/autosize.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/divider.jsx b/src/web/components/layout/divider.jsx
index 24ecb7e44a..18205cc03b 100644
--- a/src/web/components/layout/divider.jsx
+++ b/src/web/components/layout/divider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/layout/globalstyles.jsx b/src/web/components/layout/globalstyles.jsx
index e1da2d940a..93999990d8 100644
--- a/src/web/components/layout/globalstyles.jsx
+++ b/src/web/components/layout/globalstyles.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createGlobalStyle} from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/layout/horizontalsep.jsx b/src/web/components/layout/horizontalsep.jsx
index 3f4a346f31..44aeb6790d 100644
--- a/src/web/components/layout/horizontalsep.jsx
+++ b/src/web/components/layout/horizontalsep.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/layout/icondivider.jsx b/src/web/components/layout/icondivider.jsx
index fae7649038..9362ceff36 100644
--- a/src/web/components/layout/icondivider.jsx
+++ b/src/web/components/layout/icondivider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withComponentDefaults from 'web/utils/withComponentDefaults';
import Divider from './divider';
diff --git a/src/web/components/layout/layout.jsx b/src/web/components/layout/layout.jsx
index f025a561a7..c6282d3a80 100644
--- a/src/web/components/layout/layout.jsx
+++ b/src/web/components/layout/layout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import withLayout from './withLayout';
const Layout = withLayout()('div');
diff --git a/src/web/components/layout/pagetitle.jsx b/src/web/components/layout/pagetitle.jsx
index 95dbe3392f..b1382eacd0 100644
--- a/src/web/components/layout/pagetitle.jsx
+++ b/src/web/components/layout/pagetitle.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/layout/withLayout.jsx b/src/web/components/layout/withLayout.jsx
index 424c4e53a7..f6ef1338e2 100644
--- a/src/web/components/layout/withLayout.jsx
+++ b/src/web/components/layout/withLayout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/link/__tests__/blanklink.jsx b/src/web/components/link/__tests__/blanklink.jsx
index d9d9d1db9f..37b2791551 100644
--- a/src/web/components/link/__tests__/blanklink.jsx
+++ b/src/web/components/link/__tests__/blanklink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/certlink.jsx b/src/web/components/link/__tests__/certlink.jsx
index 97893096b6..65dc8d5ff2 100644
--- a/src/web/components/link/__tests__/certlink.jsx
+++ b/src/web/components/link/__tests__/certlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/cvelink.jsx b/src/web/components/link/__tests__/cvelink.jsx
index 0e46aece46..6b74d62342 100644
--- a/src/web/components/link/__tests__/cvelink.jsx
+++ b/src/web/components/link/__tests__/cvelink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/detailslink.jsx b/src/web/components/link/__tests__/detailslink.jsx
index 56cd1e155c..fd78aced37 100644
--- a/src/web/components/link/__tests__/detailslink.jsx
+++ b/src/web/components/link/__tests__/detailslink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/components/link/__tests__/externallink.jsx b/src/web/components/link/__tests__/externallink.jsx
index c9d5ed190b..dbb20bbb19 100644
--- a/src/web/components/link/__tests__/externallink.jsx
+++ b/src/web/components/link/__tests__/externallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/components/link/__tests__/innerlink.jsx b/src/web/components/link/__tests__/innerlink.jsx
index e4eae29c96..bd484bd2ab 100644
--- a/src/web/components/link/__tests__/innerlink.jsx
+++ b/src/web/components/link/__tests__/innerlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/link.jsx b/src/web/components/link/__tests__/link.jsx
index 9d4575eb8b..2282d3b976 100644
--- a/src/web/components/link/__tests__/link.jsx
+++ b/src/web/components/link/__tests__/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/manuallink.jsx b/src/web/components/link/__tests__/manuallink.jsx
index 3796b66454..c48314a3d8 100644
--- a/src/web/components/link/__tests__/manuallink.jsx
+++ b/src/web/components/link/__tests__/manuallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/link/__tests__/protocoldoclink.jsx b/src/web/components/link/__tests__/protocoldoclink.jsx
index 939b559be2..f746f7466e 100644
--- a/src/web/components/link/__tests__/protocoldoclink.jsx
+++ b/src/web/components/link/__tests__/protocoldoclink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/link/__tests__/target.jsx b/src/web/components/link/__tests__/target.jsx
index 02e3db4a44..ef7e4834ed 100644
--- a/src/web/components/link/__tests__/target.jsx
+++ b/src/web/components/link/__tests__/target.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/link/blanklink.jsx b/src/web/components/link/blanklink.jsx
index a59da17efe..20fea30586 100644
--- a/src/web/components/link/blanklink.jsx
+++ b/src/web/components/link/blanklink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/certlink.jsx b/src/web/components/link/certlink.jsx
index 864c7750fc..3b6dc46c87 100644
--- a/src/web/components/link/certlink.jsx
+++ b/src/web/components/link/certlink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/link/cvelink.jsx b/src/web/components/link/cvelink.jsx
index 8b6c0f0133..f01622f420 100644
--- a/src/web/components/link/cvelink.jsx
+++ b/src/web/components/link/cvelink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/detailslink.jsx b/src/web/components/link/detailslink.jsx
index 1a266a1319..b5dfa24121 100644
--- a/src/web/components/link/detailslink.jsx
+++ b/src/web/components/link/detailslink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/externallink.jsx b/src/web/components/link/externallink.jsx
index bcd9309f04..846ebb4760 100644
--- a/src/web/components/link/externallink.jsx
+++ b/src/web/components/link/externallink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/link/innerlink.jsx b/src/web/components/link/innerlink.jsx
index 5a7c5532d8..27ea303e9f 100644
--- a/src/web/components/link/innerlink.jsx
+++ b/src/web/components/link/innerlink.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/link.jsx b/src/web/components/link/link.jsx
index 44fd9711a1..a06340f7e3 100644
--- a/src/web/components/link/link.jsx
+++ b/src/web/components/link/link.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/link/manuallink.jsx b/src/web/components/link/manuallink.jsx
index 6a6bf07495..38977d8325 100644
--- a/src/web/components/link/manuallink.jsx
+++ b/src/web/components/link/manuallink.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {getLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/link/protocoldoclink.jsx b/src/web/components/link/protocoldoclink.jsx
index 0b6a17da8b..2b7c6cf508 100644
--- a/src/web/components/link/protocoldoclink.jsx
+++ b/src/web/components/link/protocoldoclink.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/link/target.jsx b/src/web/components/link/target.jsx
index 17a1a4a8c2..f8fdb622a8 100644
--- a/src/web/components/link/target.jsx
+++ b/src/web/components/link/target.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/loading/__tests__/loading.jsx b/src/web/components/loading/__tests__/loading.jsx
index 56abe4d131..4ce327f2a5 100644
--- a/src/web/components/loading/__tests__/loading.jsx
+++ b/src/web/components/loading/__tests__/loading.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/loading/__tests__/reload.jsx b/src/web/components/loading/__tests__/reload.jsx
index c803c1f2b7..908a201feb 100644
--- a/src/web/components/loading/__tests__/reload.jsx
+++ b/src/web/components/loading/__tests__/reload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {act, fireEvent, rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/loading/loading.jsx b/src/web/components/loading/loading.jsx
index 93cf74f14d..3e353ee9a6 100644
--- a/src/web/components/loading/loading.jsx
+++ b/src/web/components/loading/loading.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes} from 'styled-components';
diff --git a/src/web/components/loading/reload.jsx b/src/web/components/loading/reload.jsx
index bd94982ee7..b23c2f104a 100644
--- a/src/web/components/loading/reload.jsx
+++ b/src/web/components/loading/reload.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import logger from 'gmp/log';
diff --git a/src/web/components/menu/__tests__/usermenu.jsx b/src/web/components/menu/__tests__/usermenu.jsx
index d2a69a58a8..c49ff8da9b 100644
--- a/src/web/components/menu/__tests__/usermenu.jsx
+++ b/src/web/components/menu/__tests__/usermenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/components/menu/iconmenu.jsx b/src/web/components/menu/iconmenu.jsx
index 39f984d44f..111fb33bd0 100644
--- a/src/web/components/menu/iconmenu.jsx
+++ b/src/web/components/menu/iconmenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menuentry.jsx b/src/web/components/menu/menuentry.jsx
index 9e7e70a376..831ff0b8cc 100644
--- a/src/web/components/menu/menuentry.jsx
+++ b/src/web/components/menu/menuentry.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menuhelpentry.jsx b/src/web/components/menu/menuhelpentry.jsx
index 3e322fe153..403ee7b6ee 100644
--- a/src/web/components/menu/menuhelpentry.jsx
+++ b/src/web/components/menu/menuhelpentry.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/menusection.jsx b/src/web/components/menu/menusection.jsx
index e9305305a6..a5e18828c6 100644
--- a/src/web/components/menu/menusection.jsx
+++ b/src/web/components/menu/menusection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/menu/usermenu.jsx b/src/web/components/menu/usermenu.jsx
index fbd580ff70..9dfe3298da 100644
--- a/src/web/components/menu/usermenu.jsx
+++ b/src/web/components/menu/usermenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useHistory} from 'react-router-dom';
diff --git a/src/web/components/notification/__tests__/licensenotification.jsx b/src/web/components/notification/__tests__/licensenotification.jsx
index 73b071d166..dc652840ed 100644
--- a/src/web/components/notification/__tests__/licensenotification.jsx
+++ b/src/web/components/notification/__tests__/licensenotification.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/components/notification/dialognotification.jsx b/src/web/components/notification/dialognotification.jsx
index 96b42753be..8d80555794 100644
--- a/src/web/components/notification/dialognotification.jsx
+++ b/src/web/components/notification/dialognotification.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {hasValue} from 'gmp/utils/identity';
diff --git a/src/web/components/notification/licensenotification.jsx b/src/web/components/notification/licensenotification.jsx
index b3fe45ffe7..31e65c0b19 100644
--- a/src/web/components/notification/licensenotification.jsx
+++ b/src/web/components/notification/licensenotification.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/components/notification/withDialogNotifiaction.jsx b/src/web/components/notification/withDialogNotifiaction.jsx
index a50ab6b425..4aa362eccf 100644
--- a/src/web/components/notification/withDialogNotifiaction.jsx
+++ b/src/web/components/notification/withDialogNotifiaction.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DialogNotification from './dialognotification';
diff --git a/src/web/components/observer/localeobserver.jsx b/src/web/components/observer/localeobserver.jsx
index 0d0e37deca..b0779e200a 100644
--- a/src/web/components/observer/localeobserver.jsx
+++ b/src/web/components/observer/localeobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect} from 'react';
import {onLanguageChange, getLocale} from 'gmp/locale/lang';
diff --git a/src/web/components/observer/locationobserver.jsx b/src/web/components/observer/locationobserver.jsx
index 9eeb0f1c71..c43c990d96 100644
--- a/src/web/components/observer/locationobserver.jsx
+++ b/src/web/components/observer/locationobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/observer/sessionobserver.jsx b/src/web/components/observer/sessionobserver.jsx
index 0398b2062f..b9d29b9f09 100644
--- a/src/web/components/observer/sessionobserver.jsx
+++ b/src/web/components/observer/sessionobserver.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/components/pagination/pagination.jsx b/src/web/components/pagination/pagination.jsx
index 802a320b8b..913f6d6430 100644
--- a/src/web/components/pagination/pagination.jsx
+++ b/src/web/components/pagination/pagination.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/panel/__tests__/button.jsx b/src/web/components/panel/__tests__/button.jsx
index 9f4bce6d00..bb5dcea14c 100644
--- a/src/web/components/panel/__tests__/button.jsx
+++ b/src/web/components/panel/__tests__/button.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/panel/__tests__/infopanel.jsx b/src/web/components/panel/__tests__/infopanel.jsx
index c2132cab53..5e5cf2fc11 100644
--- a/src/web/components/panel/__tests__/infopanel.jsx
+++ b/src/web/components/panel/__tests__/infopanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, userEvent} from 'web/utils/testing';
diff --git a/src/web/components/panel/button.jsx b/src/web/components/panel/button.jsx
index 424b7389e7..b638a26a70 100644
--- a/src/web/components/panel/button.jsx
+++ b/src/web/components/panel/button.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/panel/infopanel.jsx b/src/web/components/panel/infopanel.jsx
index 033180b804..60a664694d 100644
--- a/src/web/components/panel/infopanel.jsx
+++ b/src/web/components/panel/infopanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/portal/__tests__/portal.jsx b/src/web/components/portal/__tests__/portal.jsx
index 985e8ed647..520944fc9b 100644
--- a/src/web/components/portal/__tests__/portal.jsx
+++ b/src/web/components/portal/__tests__/portal.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/portal/portal.jsx b/src/web/components/portal/portal.jsx
index e29ab22ce4..6ac2e4d5bf 100644
--- a/src/web/components/portal/portal.jsx
+++ b/src/web/components/portal/portal.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ReactDOM from 'react-dom';
diff --git a/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx b/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
index 9907b5e956..98b1c19488 100644
--- a/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/applyoverridesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx b/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
index fa074ae676..513eb5c4b9 100644
--- a/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
+++ b/src/web/components/powerfilter/__tests__/booleanfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx b/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
index 1db3a7678e..332c9b468e 100644
--- a/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
+++ b/src/web/components/powerfilter/__tests__/createnamedfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx b/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
index b56c1e3391..d486075cb5 100644
--- a/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/filtersearchgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/filterstringgroup.jsx b/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
index 0fc4876b09..9f37b0a96f 100644
--- a/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/filterstringgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/firstresultgroup.jsx b/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
index 449bd0a7a1..9b506c1618 100644
--- a/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/firstresultgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/minqodgroup.jsx b/src/web/components/powerfilter/__tests__/minqodgroup.jsx
index 734d710272..2263778116 100644
--- a/src/web/components/powerfilter/__tests__/minqodgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/minqodgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/relationselector.jsx b/src/web/components/powerfilter/__tests__/relationselector.jsx
index 25057a6c88..437e486c79 100644
--- a/src/web/components/powerfilter/__tests__/relationselector.jsx
+++ b/src/web/components/powerfilter/__tests__/relationselector.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx b/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
index e35b9b4bc7..110f3cac01 100644
--- a/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
+++ b/src/web/components/powerfilter/__tests__/resultsperpagegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx b/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
index e85e28ca12..e657af68ce 100644
--- a/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/severitylevelsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx b/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
index 7ae9c8f475..c55f446580 100644
--- a/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/severityvaluesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx b/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
index 5c4d1041e7..40736d2bbb 100644
--- a/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
+++ b/src/web/components/powerfilter/__tests__/solutiontypegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/sortbygroup.jsx b/src/web/components/powerfilter/__tests__/sortbygroup.jsx
index 2caccaf049..5ec8bb2b79 100644
--- a/src/web/components/powerfilter/__tests__/sortbygroup.jsx
+++ b/src/web/components/powerfilter/__tests__/sortbygroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx b/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
index ffd220dcb3..456b5bc7ef 100644
--- a/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/tasktrendgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx b/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
index f616126c2c..2831f536da 100644
--- a/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
+++ b/src/web/components/powerfilter/__tests__/ticketstatusgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/components/powerfilter/applyoverridesgroup.jsx b/src/web/components/powerfilter/applyoverridesgroup.jsx
index eb451c5d69..4f52a66854 100644
--- a/src/web/components/powerfilter/applyoverridesgroup.jsx
+++ b/src/web/components/powerfilter/applyoverridesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/booleanfiltergroup.jsx b/src/web/components/powerfilter/booleanfiltergroup.jsx
index 62217860fb..13d58a4b4b 100644
--- a/src/web/components/powerfilter/booleanfiltergroup.jsx
+++ b/src/web/components/powerfilter/booleanfiltergroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/createnamedfiltergroup.jsx b/src/web/components/powerfilter/createnamedfiltergroup.jsx
index 296b0764bd..3653aeedea 100644
--- a/src/web/components/powerfilter/createnamedfiltergroup.jsx
+++ b/src/web/components/powerfilter/createnamedfiltergroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/powerfilter/dialog.jsx b/src/web/components/powerfilter/dialog.jsx
index 93998c555c..6f40e725c8 100644
--- a/src/web/components/powerfilter/dialog.jsx
+++ b/src/web/components/powerfilter/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import withFilterDialog from 'web/components/powerfilter/withFilterDialog';
diff --git a/src/web/components/powerfilter/dialogproptypes.jsx b/src/web/components/powerfilter/dialogproptypes.jsx
index 2bb39bd2c2..3eff513f78 100644
--- a/src/web/components/powerfilter/dialogproptypes.jsx
+++ b/src/web/components/powerfilter/dialogproptypes.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
const dialogPropType = {
diff --git a/src/web/components/powerfilter/filterdialog.jsx b/src/web/components/powerfilter/filterdialog.jsx
index 81bceea4a3..0bf650fd77 100644
--- a/src/web/components/powerfilter/filterdialog.jsx
+++ b/src/web/components/powerfilter/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/powerfilter/filtersearchgroup.jsx b/src/web/components/powerfilter/filtersearchgroup.jsx
index 70e03a5bc9..a0be5b4af5 100644
--- a/src/web/components/powerfilter/filtersearchgroup.jsx
+++ b/src/web/components/powerfilter/filtersearchgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* this is experimental. trying to consolidate all filter terms whose
* method should be ~'value' into one. */
diff --git a/src/web/components/powerfilter/filterstringgroup.jsx b/src/web/components/powerfilter/filterstringgroup.jsx
index ed05b22edb..1d2b432c22 100644
--- a/src/web/components/powerfilter/filterstringgroup.jsx
+++ b/src/web/components/powerfilter/filterstringgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isString} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/firstresultgroup.jsx b/src/web/components/powerfilter/firstresultgroup.jsx
index 4684dca549..96ab8ccb42 100644
--- a/src/web/components/powerfilter/firstresultgroup.jsx
+++ b/src/web/components/powerfilter/firstresultgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/minqodgroup.jsx b/src/web/components/powerfilter/minqodgroup.jsx
index a6f21f3389..7d6b574f0a 100644
--- a/src/web/components/powerfilter/minqodgroup.jsx
+++ b/src/web/components/powerfilter/minqodgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/powerfilter.jsx b/src/web/components/powerfilter/powerfilter.jsx
index 06d2ebd618..b20f315e09 100644
--- a/src/web/components/powerfilter/powerfilter.jsx
+++ b/src/web/components/powerfilter/powerfilter.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/powerfilter/relationselector.jsx b/src/web/components/powerfilter/relationselector.jsx
index ce8cccd2e6..77dd65a993 100644
--- a/src/web/components/powerfilter/relationselector.jsx
+++ b/src/web/components/powerfilter/relationselector.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import React from 'react';
diff --git a/src/web/components/powerfilter/resultsperpagegroup.jsx b/src/web/components/powerfilter/resultsperpagegroup.jsx
index d7c5c0d651..c84b2c10eb 100644
--- a/src/web/components/powerfilter/resultsperpagegroup.jsx
+++ b/src/web/components/powerfilter/resultsperpagegroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/severitylevelsgroup.jsx b/src/web/components/powerfilter/severitylevelsgroup.jsx
index 3e3b500ff4..c8a2d8005f 100644
--- a/src/web/components/powerfilter/severitylevelsgroup.jsx
+++ b/src/web/components/powerfilter/severitylevelsgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/severityvaluesgroup.jsx b/src/web/components/powerfilter/severityvaluesgroup.jsx
index 033365c94f..b340718a88 100644
--- a/src/web/components/powerfilter/severityvaluesgroup.jsx
+++ b/src/web/components/powerfilter/severityvaluesgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {parseSeverity} from 'gmp/parser';
diff --git a/src/web/components/powerfilter/solutiontypegroup.jsx b/src/web/components/powerfilter/solutiontypegroup.jsx
index 8822f9414e..a821160ea9 100644
--- a/src/web/components/powerfilter/solutiontypegroup.jsx
+++ b/src/web/components/powerfilter/solutiontypegroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/powerfilter/sortbygroup.jsx b/src/web/components/powerfilter/sortbygroup.jsx
index ea39c268e9..33196118ac 100644
--- a/src/web/components/powerfilter/sortbygroup.jsx
+++ b/src/web/components/powerfilter/sortbygroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/tasktrendgroup.jsx b/src/web/components/powerfilter/tasktrendgroup.jsx
index b0222088bd..f575fdc42b 100644
--- a/src/web/components/powerfilter/tasktrendgroup.jsx
+++ b/src/web/components/powerfilter/tasktrendgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import React from 'react';
diff --git a/src/web/components/powerfilter/ticketstatusgroup.jsx b/src/web/components/powerfilter/ticketstatusgroup.jsx
index 72f9ed738b..e24d8e2ba9 100644
--- a/src/web/components/powerfilter/ticketstatusgroup.jsx
+++ b/src/web/components/powerfilter/ticketstatusgroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/powerfilter/withFilterDialog.jsx b/src/web/components/powerfilter/withFilterDialog.jsx
index d2efae972a..74c49c781c 100644
--- a/src/web/components/powerfilter/withFilterDialog.jsx
+++ b/src/web/components/powerfilter/withFilterDialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/provider/capabilitiesprovider.jsx b/src/web/components/provider/capabilitiesprovider.jsx
index a3e3fbe537..9902adaec5 100644
--- a/src/web/components/provider/capabilitiesprovider.jsx
+++ b/src/web/components/provider/capabilitiesprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const CapabilitiesContext = React.createContext();
diff --git a/src/web/components/provider/gmpprovider.jsx b/src/web/components/provider/gmpprovider.jsx
index be7558de07..e7e80662e4 100644
--- a/src/web/components/provider/gmpprovider.jsx
+++ b/src/web/components/provider/gmpprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const GmpContext = React.createContext();
diff --git a/src/web/components/provider/iconsizeprovider.jsx b/src/web/components/provider/iconsizeprovider.jsx
index b2ca4dc156..b4191f23f6 100644
--- a/src/web/components/provider/iconsizeprovider.jsx
+++ b/src/web/components/provider/iconsizeprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/provider/licenseprovider.jsx b/src/web/components/provider/licenseprovider.jsx
index 32f1156c37..3b4c2eab62 100644
--- a/src/web/components/provider/licenseprovider.jsx
+++ b/src/web/components/provider/licenseprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import useGmp from 'web/utils/useGmp';
diff --git a/src/web/components/provider/subscriptionprovider.jsx b/src/web/components/provider/subscriptionprovider.jsx
index 7b7a24c6fd..c042d3830c 100644
--- a/src/web/components/provider/subscriptionprovider.jsx
+++ b/src/web/components/provider/subscriptionprovider.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/qod/__tests__/qod.jsx b/src/web/components/qod/__tests__/qod.jsx
index 02fb34c839..ef3017aa4d 100644
--- a/src/web/components/qod/__tests__/qod.jsx
+++ b/src/web/components/qod/__tests__/qod.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Qod from 'web/components/qod/qod';
diff --git a/src/web/components/qod/qod.jsx b/src/web/components/qod/qod.jsx
index 380c97e48b..07a328b8ca 100644
--- a/src/web/components/qod/qod.jsx
+++ b/src/web/components/qod/qod.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/section/header.jsx b/src/web/components/section/header.jsx
index 5befdf9c3d..9d217752e4 100644
--- a/src/web/components/section/header.jsx
+++ b/src/web/components/section/header.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/section/section.jsx b/src/web/components/section/section.jsx
index 6019bb86f3..1b161b6b76 100644
--- a/src/web/components/section/section.jsx
+++ b/src/web/components/section/section.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sessionTimer/SessionTimer.jsx b/src/web/components/sessionTimer/SessionTimer.jsx
index 6af1f28fb0..8de5f7e254 100644
--- a/src/web/components/sessionTimer/SessionTimer.jsx
+++ b/src/web/components/sessionTimer/SessionTimer.jsx
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
import {useEffect, useState} from 'react';
import useUserSessionTimeout from 'web/utils/useUserSessionTimeout';
diff --git a/src/web/components/snackbar/__tests__/snackbar.jsx b/src/web/components/snackbar/__tests__/snackbar.jsx
index 8f138fe3b3..dd60f0340a 100644
--- a/src/web/components/snackbar/__tests__/snackbar.jsx
+++ b/src/web/components/snackbar/__tests__/snackbar.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/snackbar/snackbar.jsx b/src/web/components/snackbar/snackbar.jsx
index 34c4e2ffa2..be8ab5a7a6 100644
--- a/src/web/components/snackbar/snackbar.jsx
+++ b/src/web/components/snackbar/snackbar.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled, {keyframes} from 'styled-components';
diff --git a/src/web/components/sortable/emptyrow.jsx b/src/web/components/sortable/emptyrow.jsx
index 1ee9481f7b..6b0d71ec15 100644
--- a/src/web/components/sortable/emptyrow.jsx
+++ b/src/web/components/sortable/emptyrow.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/grid.jsx b/src/web/components/sortable/grid.jsx
index c85b8f19be..8f585f4ab1 100644
--- a/src/web/components/sortable/grid.jsx
+++ b/src/web/components/sortable/grid.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {v4 as uuid} from 'uuid';
import React from 'react';
diff --git a/src/web/components/sortable/item.jsx b/src/web/components/sortable/item.jsx
index e674f5a33c..07735a9f4a 100644
--- a/src/web/components/sortable/item.jsx
+++ b/src/web/components/sortable/item.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/resizer.jsx b/src/web/components/sortable/resizer.jsx
index 16826836f7..78b7b83b14 100644
--- a/src/web/components/sortable/resizer.jsx
+++ b/src/web/components/sortable/resizer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortable/row.jsx b/src/web/components/sortable/row.jsx
index c8740d5e38..aaac70ad25 100644
--- a/src/web/components/sortable/row.jsx
+++ b/src/web/components/sortable/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/sortby/sortby.jsx b/src/web/components/sortby/sortby.jsx
index 575c59dedb..a15c6daf8c 100644
--- a/src/web/components/sortby/sortby.jsx
+++ b/src/web/components/sortby/sortby.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/structure/__tests__/footer.jsx b/src/web/components/structure/__tests__/footer.jsx
index 4978c0fbe7..069fbb8eb5 100644
--- a/src/web/components/structure/__tests__/footer.jsx
+++ b/src/web/components/structure/__tests__/footer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/components/structure/__tests__/header.jsx b/src/web/components/structure/__tests__/header.jsx
index 3a8284a9ae..75bf997575 100644
--- a/src/web/components/structure/__tests__/header.jsx
+++ b/src/web/components/structure/__tests__/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/components/structure/__tests__/main.jsx b/src/web/components/structure/__tests__/main.jsx
index 8665b57af2..c398bd9b4d 100644
--- a/src/web/components/structure/__tests__/main.jsx
+++ b/src/web/components/structure/__tests__/main.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/structure/footer.jsx b/src/web/components/structure/footer.jsx
index 9456ae1d6b..6794f34704 100644
--- a/src/web/components/structure/footer.jsx
+++ b/src/web/components/structure/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/structure/header.jsx b/src/web/components/structure/header.jsx
index c56f272874..43bfdbe4c4 100644
--- a/src/web/components/structure/header.jsx
+++ b/src/web/components/structure/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useCallback} from 'react';
import {useHistory} from 'react-router-dom';
diff --git a/src/web/components/structure/main.jsx b/src/web/components/structure/main.jsx
index 169e353d4e..475bf68b48 100644
--- a/src/web/components/structure/main.jsx
+++ b/src/web/components/structure/main.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const Main = styled.main`
diff --git a/src/web/components/tab/tab.jsx b/src/web/components/tab/tab.jsx
index e1bb95ba5c..35ffc2a580 100644
--- a/src/web/components/tab/tab.jsx
+++ b/src/web/components/tab/tab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/tab/tablayout.jsx b/src/web/components/tab/tablayout.jsx
index 7decabdc27..bc26f53278 100644
--- a/src/web/components/tab/tablayout.jsx
+++ b/src/web/components/tab/tablayout.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from '../../utils/theme';
diff --git a/src/web/components/tab/tablist.jsx b/src/web/components/tab/tablist.jsx
index 341f726f5b..a2d5ee8eb6 100644
--- a/src/web/components/tab/tablist.jsx
+++ b/src/web/components/tab/tablist.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from '../../utils/proptypes';
diff --git a/src/web/components/tab/tabpanel.jsx b/src/web/components/tab/tabpanel.jsx
index c622979b1c..553e77eaaf 100644
--- a/src/web/components/tab/tabpanel.jsx
+++ b/src/web/components/tab/tabpanel.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const TabPanel = ({children}) => {
diff --git a/src/web/components/tab/tabpanels.jsx b/src/web/components/tab/tabpanels.jsx
index 281ba8cbf0..f35b4a1c58 100644
--- a/src/web/components/tab/tabpanels.jsx
+++ b/src/web/components/tab/tabpanels.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/tab/tabs.jsx b/src/web/components/tab/tabs.jsx
index c76e1f4059..355af24a49 100644
--- a/src/web/components/tab/tabs.jsx
+++ b/src/web/components/tab/tabs.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/components/table/__tests__/detailstable.jsx b/src/web/components/table/__tests__/detailstable.jsx
index 1fafdd2929..0435536355 100644
--- a/src/web/components/table/__tests__/detailstable.jsx
+++ b/src/web/components/table/__tests__/detailstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/components/table/body.jsx b/src/web/components/table/body.jsx
index b46eb99ad2..2932828206 100644
--- a/src/web/components/table/body.jsx
+++ b/src/web/components/table/body.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
const TableBody = styled.tbody``;
diff --git a/src/web/components/table/data.jsx b/src/web/components/table/data.jsx
index 123a4c2fa1..17c9456db2 100644
--- a/src/web/components/table/data.jsx
+++ b/src/web/components/table/data.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/table/detailstable.jsx b/src/web/components/table/detailstable.jsx
index ee58d66ad6..cbdc573ef9 100644
--- a/src/web/components/table/detailstable.jsx
+++ b/src/web/components/table/detailstable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Col} from 'web/entity/page';
diff --git a/src/web/components/table/footer.jsx b/src/web/components/table/footer.jsx
index c199fb563d..61d3bdbd6b 100644
--- a/src/web/components/table/footer.jsx
+++ b/src/web/components/table/footer.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
const TableFooter = props =>
;
diff --git a/src/web/components/table/head.jsx b/src/web/components/table/head.jsx
index 65fa73eb66..8ef86b9840 100644
--- a/src/web/components/table/head.jsx
+++ b/src/web/components/table/head.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/components/table/header.jsx b/src/web/components/table/header.jsx
index 0a128f52de..559c0d3413 100644
--- a/src/web/components/table/header.jsx
+++ b/src/web/components/table/header.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import Theme from 'web/utils/theme';
diff --git a/src/web/components/table/infotable.jsx b/src/web/components/table/infotable.jsx
index 13241b274f..e2f55b57bd 100644
--- a/src/web/components/table/infotable.jsx
+++ b/src/web/components/table/infotable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import SimpleTable from './simpletable';
diff --git a/src/web/components/table/row.jsx b/src/web/components/table/row.jsx
index 06e5b822aa..733ed7bc13 100644
--- a/src/web/components/table/row.jsx
+++ b/src/web/components/table/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from '../../utils/proptypes';
diff --git a/src/web/components/table/simpletable.jsx b/src/web/components/table/simpletable.jsx
index e3fafc9289..0c4da4578e 100644
--- a/src/web/components/table/simpletable.jsx
+++ b/src/web/components/table/simpletable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/components/table/stripedtable.jsx b/src/web/components/table/stripedtable.jsx
index fc42ea69ce..2eb2e3faee 100644
--- a/src/web/components/table/stripedtable.jsx
+++ b/src/web/components/table/stripedtable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Theme from 'web/utils/theme';
import Table from './table';
diff --git a/src/web/components/table/table.jsx b/src/web/components/table/table.jsx
index f5afbd2b25..d5f74e498b 100644
--- a/src/web/components/table/table.jsx
+++ b/src/web/components/table/table.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/__tests__/filterprovider.jsx b/src/web/entities/__tests__/filterprovider.jsx
index 40a2486476..d6d3b6a778 100644
--- a/src/web/entities/__tests__/filterprovider.jsx
+++ b/src/web/entities/__tests__/filterprovider.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter, {DEFAULT_FALLBACK_FILTER} from 'gmp/models/filter';
diff --git a/src/web/entities/__tests__/tagsdialog.jsx b/src/web/entities/__tests__/tagsdialog.jsx
index 95246f0f27..b46e300162 100644
--- a/src/web/entities/__tests__/tagsdialog.jsx
+++ b/src/web/entities/__tests__/tagsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/entities/actions.jsx b/src/web/entities/actions.jsx
index 4174b8a5f8..f951bbb67f 100644
--- a/src/web/entities/actions.jsx
+++ b/src/web/entities/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/entities/container.jsx b/src/web/entities/container.jsx
index 500b3ff584..a29c90f3a2 100644
--- a/src/web/entities/container.jsx
+++ b/src/web/entities/container.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/entities/entitynametabledata.jsx b/src/web/entities/entitynametabledata.jsx
index afec3896a7..5f6ef8cb9d 100644
--- a/src/web/entities/entitynametabledata.jsx
+++ b/src/web/entities/entitynametabledata.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entities/filterprovider.jsx b/src/web/entities/filterprovider.jsx
index bebae70ff0..b2319b05f6 100644
--- a/src/web/entities/filterprovider.jsx
+++ b/src/web/entities/filterprovider.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useState} from 'react';
import {useSelector, useDispatch, shallowEqual} from 'react-redux';
diff --git a/src/web/entities/footer.jsx b/src/web/entities/footer.jsx
index ee2397fef8..0fbc899a8d 100644
--- a/src/web/entities/footer.jsx
+++ b/src/web/entities/footer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entities/header.jsx b/src/web/entities/header.jsx
index 192640296d..b1b04acdba 100644
--- a/src/web/entities/header.jsx
+++ b/src/web/entities/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/entities/page.jsx b/src/web/entities/page.jsx
index ddb3fac05a..274bf54cbc 100644
--- a/src/web/entities/page.jsx
+++ b/src/web/entities/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/entities/row.jsx b/src/web/entities/row.jsx
index 882d9ad27c..f33959de4a 100644
--- a/src/web/entities/row.jsx
+++ b/src/web/entities/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
import withClickHandler from 'web/components/form/withClickHandler';
diff --git a/src/web/entities/selection.jsx b/src/web/entities/selection.jsx
index be31a8cec9..eb7389b99b 100644
--- a/src/web/entities/selection.jsx
+++ b/src/web/entities/selection.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/entities/table.jsx b/src/web/entities/table.jsx
index dddbabec92..90f32fb0fb 100644
--- a/src/web/entities/table.jsx
+++ b/src/web/entities/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/tagsdialog.jsx b/src/web/entities/tagsdialog.jsx
index 5179d5395d..abf3f69a31 100644
--- a/src/web/entities/tagsdialog.jsx
+++ b/src/web/entities/tagsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entities/withEntitiesActions.jsx b/src/web/entities/withEntitiesActions.jsx
index 39dd4a3192..51daf7956f 100644
--- a/src/web/entities/withEntitiesActions.jsx
+++ b/src/web/entities/withEntitiesActions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import EntitiesActions from './actions';
diff --git a/src/web/entities/withEntitiesContainer.jsx b/src/web/entities/withEntitiesContainer.jsx
index 2eab6be0e5..0db78be131 100644
--- a/src/web/entities/withEntitiesContainer.jsx
+++ b/src/web/entities/withEntitiesContainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useLocation} from 'react-router-dom';
diff --git a/src/web/entities/withRowDetails.jsx b/src/web/entities/withRowDetails.jsx
index fae9e992f1..b4998e88a2 100644
--- a/src/web/entities/withRowDetails.jsx
+++ b/src/web/entities/withRowDetails.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/__tests__/block.jsx b/src/web/entity/__tests__/block.jsx
index 0f5b1dfe5e..7e2753c10b 100644
--- a/src/web/entity/__tests__/block.jsx
+++ b/src/web/entity/__tests__/block.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/entity/__tests__/box.jsx b/src/web/entity/__tests__/box.jsx
index bbc9ce7134..3cb4e8d510 100644
--- a/src/web/entity/__tests__/box.jsx
+++ b/src/web/entity/__tests__/box.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Date from 'gmp/models/date';
diff --git a/src/web/entity/__tests__/info.jsx b/src/web/entity/__tests__/info.jsx
index 14212e97d5..5836ff2734 100644
--- a/src/web/entity/__tests__/info.jsx
+++ b/src/web/entity/__tests__/info.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Model from 'gmp/model';
diff --git a/src/web/entity/__tests__/link.jsx b/src/web/entity/__tests__/link.jsx
index 0fa086d22e..2e4485e7cf 100644
--- a/src/web/entity/__tests__/link.jsx
+++ b/src/web/entity/__tests__/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/__tests__/note.jsx b/src/web/entity/__tests__/note.jsx
index caeb955a87..98bdfad1ed 100644
--- a/src/web/entity/__tests__/note.jsx
+++ b/src/web/entity/__tests__/note.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/__tests__/override.jsx b/src/web/entity/__tests__/override.jsx
index f5f82b17eb..237efaa7da 100644
--- a/src/web/entity/__tests__/override.jsx
+++ b/src/web/entity/__tests__/override.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/block.jsx b/src/web/entity/block.jsx
index 1a67b675de..f628aa7e85 100644
--- a/src/web/entity/block.jsx
+++ b/src/web/entity/block.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Layout from 'web/components/layout/layout';
diff --git a/src/web/entity/box.jsx b/src/web/entity/box.jsx
index 757026e782..7fc5db756e 100644
--- a/src/web/entity/box.jsx
+++ b/src/web/entity/box.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/component.jsx b/src/web/entity/component.jsx
index 475f27c6b5..662e4ac833 100644
--- a/src/web/entity/component.jsx
+++ b/src/web/entity/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/entity/container.jsx b/src/web/entity/container.jsx
index a1bac3cbbd..6451f30f25 100644
--- a/src/web/entity/container.jsx
+++ b/src/web/entity/container.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import logger from 'gmp/log';
diff --git a/src/web/entity/icon/__tests__/cloneicon.jsx b/src/web/entity/icon/__tests__/cloneicon.jsx
index 67e8c58f5a..ffd024d69a 100644
--- a/src/web/entity/icon/__tests__/cloneicon.jsx
+++ b/src/web/entity/icon/__tests__/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/createicon.jsx b/src/web/entity/icon/__tests__/createicon.jsx
index 8a645d40d5..fa4c130318 100644
--- a/src/web/entity/icon/__tests__/createicon.jsx
+++ b/src/web/entity/icon/__tests__/createicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/deleteicon.jsx b/src/web/entity/icon/__tests__/deleteicon.jsx
index 5cb4cc4f4d..d3b86f359e 100644
--- a/src/web/entity/icon/__tests__/deleteicon.jsx
+++ b/src/web/entity/icon/__tests__/deleteicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/editicon.jsx b/src/web/entity/icon/__tests__/editicon.jsx
index f6edf5ebb2..0a27496e70 100644
--- a/src/web/entity/icon/__tests__/editicon.jsx
+++ b/src/web/entity/icon/__tests__/editicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/observericon.jsx b/src/web/entity/icon/__tests__/observericon.jsx
index 8959d1b47f..631ec8d9bf 100644
--- a/src/web/entity/icon/__tests__/observericon.jsx
+++ b/src/web/entity/icon/__tests__/observericon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Task from 'gmp/models/task';
diff --git a/src/web/entity/icon/__tests__/trashicon.jsx b/src/web/entity/icon/__tests__/trashicon.jsx
index d2f6ea7723..ef136b5539 100644
--- a/src/web/entity/icon/__tests__/trashicon.jsx
+++ b/src/web/entity/icon/__tests__/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/__tests__/verifyicon.jsx b/src/web/entity/icon/__tests__/verifyicon.jsx
index 958b3e59c4..b17248daad 100644
--- a/src/web/entity/icon/__tests__/verifyicon.jsx
+++ b/src/web/entity/icon/__tests__/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/entity/icon/cloneicon.jsx b/src/web/entity/icon/cloneicon.jsx
index 0c1f8fd5c3..c702424e39 100644
--- a/src/web/entity/icon/cloneicon.jsx
+++ b/src/web/entity/icon/cloneicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/createicon.jsx b/src/web/entity/icon/createicon.jsx
index 09a83f7e95..cefa950716 100644
--- a/src/web/entity/icon/createicon.jsx
+++ b/src/web/entity/icon/createicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/deleteicon.jsx b/src/web/entity/icon/deleteicon.jsx
index 6b74f0e3dd..7165ea6f85 100644
--- a/src/web/entity/icon/deleteicon.jsx
+++ b/src/web/entity/icon/deleteicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/editicon.jsx b/src/web/entity/icon/editicon.jsx
index ffec8dd4b2..732cf28cdf 100644
--- a/src/web/entity/icon/editicon.jsx
+++ b/src/web/entity/icon/editicon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/observericon.jsx b/src/web/entity/icon/observericon.jsx
index 86e0b85714..5952313052 100644
--- a/src/web/entity/icon/observericon.jsx
+++ b/src/web/entity/icon/observericon.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/trashicon.jsx b/src/web/entity/icon/trashicon.jsx
index 0ff3cdcce0..889545785e 100644
--- a/src/web/entity/icon/trashicon.jsx
+++ b/src/web/entity/icon/trashicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/icon/verifyicon.jsx b/src/web/entity/icon/verifyicon.jsx
index 50707a3996..1ff50cc9ef 100644
--- a/src/web/entity/icon/verifyicon.jsx
+++ b/src/web/entity/icon/verifyicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/info.jsx b/src/web/entity/info.jsx
index a9ee3f2bc9..c82b6af78f 100644
--- a/src/web/entity/info.jsx
+++ b/src/web/entity/info.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/link.jsx b/src/web/entity/link.jsx
index 327b85b789..adf482aa76 100644
--- a/src/web/entity/link.jsx
+++ b/src/web/entity/link.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/note.jsx b/src/web/entity/note.jsx
index d5759e7965..3901edab8b 100644
--- a/src/web/entity/note.jsx
+++ b/src/web/entity/note.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/override.jsx b/src/web/entity/override.jsx
index 234802e08e..4bfe31bc25 100644
--- a/src/web/entity/override.jsx
+++ b/src/web/entity/override.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/page.jsx b/src/web/entity/page.jsx
index 31ab0e6f27..fed6083974 100644
--- a/src/web/entity/page.jsx
+++ b/src/web/entity/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/entity/permissions.jsx b/src/web/entity/permissions.jsx
index d2141f0f50..bff8547421 100644
--- a/src/web/entity/permissions.jsx
+++ b/src/web/entity/permissions.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/tab.jsx b/src/web/entity/tab.jsx
index 7965730430..5fd5eddd64 100644
--- a/src/web/entity/tab.jsx
+++ b/src/web/entity/tab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/tags.jsx b/src/web/entity/tags.jsx
index cd96226d55..d0448bc584 100644
--- a/src/web/entity/tags.jsx
+++ b/src/web/entity/tags.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/entity/withEntityContainer.jsx b/src/web/entity/withEntityContainer.jsx
index 26b4dbc5e3..e0b1ebbf1e 100644
--- a/src/web/entity/withEntityContainer.jsx
+++ b/src/web/entity/withEntityContainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/hooks/__tests__/useTranslation.jsx b/src/web/hooks/__tests__/useTranslation.jsx
index ef1c3de091..fcc1b05289 100644
--- a/src/web/hooks/__tests__/useTranslation.jsx
+++ b/src/web/hooks/__tests__/useTranslation.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect} from '@gsa/testing';
import {fireEvent, rendererWith, screen} from 'web/utils/testing';
diff --git a/src/web/pages/alerts/__tests__/detailspage.jsx b/src/web/pages/alerts/__tests__/detailspage.jsx
index 47902aded9..845d41dfa0 100644
--- a/src/web/pages/alerts/__tests__/detailspage.jsx
+++ b/src/web/pages/alerts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/alerts/__tests__/listpage.jsx b/src/web/pages/alerts/__tests__/listpage.jsx
index 243a955e24..0b2b2c3079 100644
--- a/src/web/pages/alerts/__tests__/listpage.jsx
+++ b/src/web/pages/alerts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/alerts/alembavfiremethodpart.jsx b/src/web/pages/alerts/alembavfiremethodpart.jsx
index 8d13fb7ad5..126d139794 100644
--- a/src/web/pages/alerts/alembavfiremethodpart.jsx
+++ b/src/web/pages/alerts/alembavfiremethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {USERNAME_PASSWORD_CREDENTIAL_TYPE} from 'gmp/models/credential';
diff --git a/src/web/pages/alerts/component.jsx b/src/web/pages/alerts/component.jsx
index c735593264..7167a09e9d 100644
--- a/src/web/pages/alerts/component.jsx
+++ b/src/web/pages/alerts/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/alerts/condition.jsx b/src/web/pages/alerts/condition.jsx
index dbf431302b..b007150700 100644
--- a/src/web/pages/alerts/condition.jsx
+++ b/src/web/pages/alerts/condition.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/alerts/contentcomposerdialog.jsx b/src/web/pages/alerts/contentcomposerdialog.jsx
index 63306e204f..963a223fb2 100644
--- a/src/web/pages/alerts/contentcomposerdialog.jsx
+++ b/src/web/pages/alerts/contentcomposerdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/alerts/details.jsx b/src/web/pages/alerts/details.jsx
index 62468eee2e..ce054a5822 100644
--- a/src/web/pages/alerts/details.jsx
+++ b/src/web/pages/alerts/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/detailspage.jsx b/src/web/pages/alerts/detailspage.jsx
index 3463b9e1b0..d88040d06f 100644
--- a/src/web/pages/alerts/detailspage.jsx
+++ b/src/web/pages/alerts/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/dialog.jsx b/src/web/pages/alerts/dialog.jsx
index 5fa7e550ff..6394d60e01 100644
--- a/src/web/pages/alerts/dialog.jsx
+++ b/src/web/pages/alerts/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/alerts/emailmethodpart.jsx b/src/web/pages/alerts/emailmethodpart.jsx
index b53e781c0b..15e258a0e0 100644
--- a/src/web/pages/alerts/emailmethodpart.jsx
+++ b/src/web/pages/alerts/emailmethodpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/event.jsx b/src/web/pages/alerts/event.jsx
index c02127771f..1d4969d78e 100644
--- a/src/web/pages/alerts/event.jsx
+++ b/src/web/pages/alerts/event.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {secInfoTypeName} from 'gmp/models/secinfo';
diff --git a/src/web/pages/alerts/filtercountchangedconditionpart.jsx b/src/web/pages/alerts/filtercountchangedconditionpart.jsx
index c1c0a6a313..43b2e0fbfd 100644
--- a/src/web/pages/alerts/filtercountchangedconditionpart.jsx
+++ b/src/web/pages/alerts/filtercountchangedconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/filtercountleastconditionpart.jsx b/src/web/pages/alerts/filtercountleastconditionpart.jsx
index 95d850a118..898008bdb4 100644
--- a/src/web/pages/alerts/filtercountleastconditionpart.jsx
+++ b/src/web/pages/alerts/filtercountleastconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/httpmethodpart.jsx b/src/web/pages/alerts/httpmethodpart.jsx
index 1e2e4cd0cb..ea87446dc9 100644
--- a/src/web/pages/alerts/httpmethodpart.jsx
+++ b/src/web/pages/alerts/httpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/listpage.jsx b/src/web/pages/alerts/listpage.jsx
index 24a73dac49..8319ebb2a6 100644
--- a/src/web/pages/alerts/listpage.jsx
+++ b/src/web/pages/alerts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/method.jsx b/src/web/pages/alerts/method.jsx
index b3cefdf897..eb88dcfcb0 100644
--- a/src/web/pages/alerts/method.jsx
+++ b/src/web/pages/alerts/method.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/alerts/row.jsx b/src/web/pages/alerts/row.jsx
index 2a008a4cb6..b5e0cfeb32 100644
--- a/src/web/pages/alerts/row.jsx
+++ b/src/web/pages/alerts/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/alerts/scpmethodpart.jsx b/src/web/pages/alerts/scpmethodpart.jsx
index e7403f75f1..0bdf4ab9e7 100644
--- a/src/web/pages/alerts/scpmethodpart.jsx
+++ b/src/web/pages/alerts/scpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/secinfoeventpart.jsx b/src/web/pages/alerts/secinfoeventpart.jsx
index 6e83c47cde..64b205c0d9 100644
--- a/src/web/pages/alerts/secinfoeventpart.jsx
+++ b/src/web/pages/alerts/secinfoeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {EVENT_TYPE_NEW_SECINFO, isSecinfoEvent} from 'gmp/models/alert';
diff --git a/src/web/pages/alerts/sendmethodpart.jsx b/src/web/pages/alerts/sendmethodpart.jsx
index 061cc18e15..e90184464e 100644
--- a/src/web/pages/alerts/sendmethodpart.jsx
+++ b/src/web/pages/alerts/sendmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
import {renderSelectItems, UNSET_VALUE} from '../../utils/render';
diff --git a/src/web/pages/alerts/severitychangedconditionpart.jsx b/src/web/pages/alerts/severitychangedconditionpart.jsx
index 9b4f5a405c..4e984b1b72 100644
--- a/src/web/pages/alerts/severitychangedconditionpart.jsx
+++ b/src/web/pages/alerts/severitychangedconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/severityleastconditionpart.jsx b/src/web/pages/alerts/severityleastconditionpart.jsx
index da858d11cb..a52fe9d4b6 100644
--- a/src/web/pages/alerts/severityleastconditionpart.jsx
+++ b/src/web/pages/alerts/severityleastconditionpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Row from 'web/components/layout/row';
diff --git a/src/web/pages/alerts/smbmethodpart.jsx b/src/web/pages/alerts/smbmethodpart.jsx
index 9a5b43a1a2..fb30872c88 100644
--- a/src/web/pages/alerts/smbmethodpart.jsx
+++ b/src/web/pages/alerts/smbmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/alerts/snmpmethodpart.jsx b/src/web/pages/alerts/snmpmethodpart.jsx
index 7fae5c48c9..27eb36aad7 100644
--- a/src/web/pages/alerts/snmpmethodpart.jsx
+++ b/src/web/pages/alerts/snmpmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/sourcefiremethodpart.jsx b/src/web/pages/alerts/sourcefiremethodpart.jsx
index 3135a80569..053e966674 100644
--- a/src/web/pages/alerts/sourcefiremethodpart.jsx
+++ b/src/web/pages/alerts/sourcefiremethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/starttaskmethodpart.jsx b/src/web/pages/alerts/starttaskmethodpart.jsx
index 5908bbfe25..a3c2db9d62 100644
--- a/src/web/pages/alerts/starttaskmethodpart.jsx
+++ b/src/web/pages/alerts/starttaskmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/alerts/table.jsx b/src/web/pages/alerts/table.jsx
index a4a2a2d06e..97b3a34ae6 100644
--- a/src/web/pages/alerts/table.jsx
+++ b/src/web/pages/alerts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/alerts/taskeventpart.jsx b/src/web/pages/alerts/taskeventpart.jsx
index bee003c287..ef73f85bf2 100644
--- a/src/web/pages/alerts/taskeventpart.jsx
+++ b/src/web/pages/alerts/taskeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/ticketeventpart.jsx b/src/web/pages/alerts/ticketeventpart.jsx
index 26dc1afd65..a083cc0e2a 100644
--- a/src/web/pages/alerts/ticketeventpart.jsx
+++ b/src/web/pages/alerts/ticketeventpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/alerts/tippingpointmethodpart.jsx b/src/web/pages/alerts/tippingpointmethodpart.jsx
index 20faab50fb..c76510d248 100644
--- a/src/web/pages/alerts/tippingpointmethodpart.jsx
+++ b/src/web/pages/alerts/tippingpointmethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {USERNAME_PASSWORD_CREDENTIAL_TYPE} from 'gmp/models/credential';
diff --git a/src/web/pages/alerts/verinicemethodpart.jsx b/src/web/pages/alerts/verinicemethodpart.jsx
index e7066afa0f..f1bea5d2ec 100644
--- a/src/web/pages/alerts/verinicemethodpart.jsx
+++ b/src/web/pages/alerts/verinicemethodpart.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {selectSaveId} from 'gmp/utils/id';
diff --git a/src/web/pages/audits/__tests__/actions.jsx b/src/web/pages/audits/__tests__/actions.jsx
index 22a90c5fc7..44a1aee8f1 100644
--- a/src/web/pages/audits/__tests__/actions.jsx
+++ b/src/web/pages/audits/__tests__/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/audits/__tests__/details.jsx b/src/web/pages/audits/__tests__/details.jsx
index db295050bb..4ebd03bb13 100644
--- a/src/web/pages/audits/__tests__/details.jsx
+++ b/src/web/pages/audits/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/detailspage.jsx b/src/web/pages/audits/__tests__/detailspage.jsx
index a4c2aa2a56..7bd5bded3c 100644
--- a/src/web/pages/audits/__tests__/detailspage.jsx
+++ b/src/web/pages/audits/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/listpage.jsx b/src/web/pages/audits/__tests__/listpage.jsx
index 2d54a0bd8c..5986f0ef07 100644
--- a/src/web/pages/audits/__tests__/listpage.jsx
+++ b/src/web/pages/audits/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/__tests__/row.jsx b/src/web/pages/audits/__tests__/row.jsx
index cf3a04df12..437830dce5 100644
--- a/src/web/pages/audits/__tests__/row.jsx
+++ b/src/web/pages/audits/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/audits/__tests__/table.jsx b/src/web/pages/audits/__tests__/table.jsx
index 2da8109bd1..23e9ab303b 100644
--- a/src/web/pages/audits/__tests__/table.jsx
+++ b/src/web/pages/audits/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/audits/actions.jsx b/src/web/pages/audits/actions.jsx
index fbb4632d70..1ae341a24c 100644
--- a/src/web/pages/audits/actions.jsx
+++ b/src/web/pages/audits/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/component.jsx b/src/web/pages/audits/component.jsx
index f2671b5c04..a3deda1916 100644
--- a/src/web/pages/audits/component.jsx
+++ b/src/web/pages/audits/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/audits/details.jsx b/src/web/pages/audits/details.jsx
index 7253860962..8571eae930 100644
--- a/src/web/pages/audits/details.jsx
+++ b/src/web/pages/audits/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/audits/detailspage.jsx b/src/web/pages/audits/detailspage.jsx
index b6352f300f..d76a7c685b 100644
--- a/src/web/pages/audits/detailspage.jsx
+++ b/src/web/pages/audits/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/dialog.jsx b/src/web/pages/audits/dialog.jsx
index 6dd82bd07e..8fea590341 100644
--- a/src/web/pages/audits/dialog.jsx
+++ b/src/web/pages/audits/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/audits/listpage.jsx b/src/web/pages/audits/listpage.jsx
index 68f4d8aed4..51dae989c8 100644
--- a/src/web/pages/audits/listpage.jsx
+++ b/src/web/pages/audits/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/row.jsx b/src/web/pages/audits/row.jsx
index cb67410c70..7eca63a339 100644
--- a/src/web/pages/audits/row.jsx
+++ b/src/web/pages/audits/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/audits/table.jsx b/src/web/pages/audits/table.jsx
index 80a6dab80f..85621bffdd 100644
--- a/src/web/pages/audits/table.jsx
+++ b/src/web/pages/audits/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/certbund/dashboard/createddisplay.jsx b/src/web/pages/certbund/dashboard/createddisplay.jsx
index 2f3516c2d0..9e9e81905b 100644
--- a/src/web/pages/certbund/dashboard/createddisplay.jsx
+++ b/src/web/pages/certbund/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/dashboard/cvssdisplay.jsx b/src/web/pages/certbund/dashboard/cvssdisplay.jsx
index 01c0828a19..44eea3d03a 100644
--- a/src/web/pages/certbund/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/certbund/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/dashboard/index.jsx b/src/web/pages/certbund/dashboard/index.jsx
index f9dafdbdc9..f36ea49792 100644
--- a/src/web/pages/certbund/dashboard/index.jsx
+++ b/src/web/pages/certbund/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/certbund/dashboard/loaders.jsx b/src/web/pages/certbund/dashboard/loaders.jsx
index 549b989efb..1222d4a819 100644
--- a/src/web/pages/certbund/dashboard/loaders.jsx
+++ b/src/web/pages/certbund/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/certbund/dashboard/severityclassdisplay.jsx b/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
index 050dca4433..8d945966d1 100644
--- a/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/certbund/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CERTBUND_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/certbund/details.jsx b/src/web/pages/certbund/details.jsx
index cef14e0f5e..46bffe04ae 100644
--- a/src/web/pages/certbund/details.jsx
+++ b/src/web/pages/certbund/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/detailspage.jsx b/src/web/pages/certbund/detailspage.jsx
index 81159c9b8b..fb4bd604f0 100644
--- a/src/web/pages/certbund/detailspage.jsx
+++ b/src/web/pages/certbund/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/filterdialog.jsx b/src/web/pages/certbund/filterdialog.jsx
index 988470bfbb..349e8b1988 100644
--- a/src/web/pages/certbund/filterdialog.jsx
+++ b/src/web/pages/certbund/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/certbund/listpage.jsx b/src/web/pages/certbund/listpage.jsx
index 8c05e93c51..ea84fdc2f9 100644
--- a/src/web/pages/certbund/listpage.jsx
+++ b/src/web/pages/certbund/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/certbund/row.jsx b/src/web/pages/certbund/row.jsx
index 6ddc153bf0..e6ff5978a9 100644
--- a/src/web/pages/certbund/row.jsx
+++ b/src/web/pages/certbund/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/certbund/table.jsx b/src/web/pages/certbund/table.jsx
index 5991dccd5d..5fba423468 100644
--- a/src/web/pages/certbund/table.jsx
+++ b/src/web/pages/certbund/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/cpes/__tests__/detailspage.jsx b/src/web/pages/cpes/__tests__/detailspage.jsx
index a58baa3c3b..6663de3d20 100644
--- a/src/web/pages/cpes/__tests__/detailspage.jsx
+++ b/src/web/pages/cpes/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cpes/__tests__/listpage.jsx b/src/web/pages/cpes/__tests__/listpage.jsx
index b9e5c62a2b..88c19ca4a6 100644
--- a/src/web/pages/cpes/__tests__/listpage.jsx
+++ b/src/web/pages/cpes/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/cpes/dashboard/createddisplay.jsx b/src/web/pages/cpes/dashboard/createddisplay.jsx
index 564f10f961..4a7f755b58 100644
--- a/src/web/pages/cpes/dashboard/createddisplay.jsx
+++ b/src/web/pages/cpes/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/dashboard/cvssdisplay.jsx b/src/web/pages/cpes/dashboard/cvssdisplay.jsx
index 2414e770af..4980b693fb 100644
--- a/src/web/pages/cpes/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/cpes/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/dashboard/index.jsx b/src/web/pages/cpes/dashboard/index.jsx
index 6c5cda9e8d..488534745b 100644
--- a/src/web/pages/cpes/dashboard/index.jsx
+++ b/src/web/pages/cpes/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/cpes/dashboard/loaders.jsx b/src/web/pages/cpes/dashboard/loaders.jsx
index 1ae9d10bbb..6981aa3f15 100644
--- a/src/web/pages/cpes/dashboard/loaders.jsx
+++ b/src/web/pages/cpes/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/cpes/dashboard/severityclassdisplay.jsx b/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
index dc58ed686e..06878b6da0 100644
--- a/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/cpes/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CPES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cpes/details.jsx b/src/web/pages/cpes/details.jsx
index 69cb4e8e5b..2cc02d6e73 100644
--- a/src/web/pages/cpes/details.jsx
+++ b/src/web/pages/cpes/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/detailspage.jsx b/src/web/pages/cpes/detailspage.jsx
index 3b145a7bb2..280abb67bd 100644
--- a/src/web/pages/cpes/detailspage.jsx
+++ b/src/web/pages/cpes/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/filterdialog.jsx b/src/web/pages/cpes/filterdialog.jsx
index 84a1ff07f6..e95234c122 100644
--- a/src/web/pages/cpes/filterdialog.jsx
+++ b/src/web/pages/cpes/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/cpes/listpage.jsx b/src/web/pages/cpes/listpage.jsx
index 84f4192b0c..47bafc134c 100644
--- a/src/web/pages/cpes/listpage.jsx
+++ b/src/web/pages/cpes/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cpes/row.jsx b/src/web/pages/cpes/row.jsx
index dce9f0b4a6..be37fa276d 100644
--- a/src/web/pages/cpes/row.jsx
+++ b/src/web/pages/cpes/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/cpes/table.jsx b/src/web/pages/cpes/table.jsx
index 25c83044e8..c82d607c1e 100644
--- a/src/web/pages/cpes/table.jsx
+++ b/src/web/pages/cpes/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/credentials/__tests__/detailspage.jsx b/src/web/pages/credentials/__tests__/detailspage.jsx
index d8df170a38..c196610d12 100644
--- a/src/web/pages/credentials/__tests__/detailspage.jsx
+++ b/src/web/pages/credentials/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/credentials/__tests__/dialog.jsx b/src/web/pages/credentials/__tests__/dialog.jsx
index cb3c7a385d..29b123af0f 100644
--- a/src/web/pages/credentials/__tests__/dialog.jsx
+++ b/src/web/pages/credentials/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {ALL_CREDENTIAL_TYPES} from 'gmp/models/credential';
diff --git a/src/web/pages/credentials/__tests__/listpage.jsx b/src/web/pages/credentials/__tests__/listpage.jsx
index 883d993f1a..549cba3e9f 100644
--- a/src/web/pages/credentials/__tests__/listpage.jsx
+++ b/src/web/pages/credentials/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/credentials/component.jsx b/src/web/pages/credentials/component.jsx
index d84a6b9cc1..cc62f91520 100644
--- a/src/web/pages/credentials/component.jsx
+++ b/src/web/pages/credentials/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/credentials/details.jsx b/src/web/pages/credentials/details.jsx
index 37fcd82fe5..1361c19975 100644
--- a/src/web/pages/credentials/details.jsx
+++ b/src/web/pages/credentials/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/detailspage.jsx b/src/web/pages/credentials/detailspage.jsx
index 7a88d8989b..cf7d7fbf18 100644
--- a/src/web/pages/credentials/detailspage.jsx
+++ b/src/web/pages/credentials/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/dialog.jsx b/src/web/pages/credentials/dialog.jsx
index 11fd7360ee..122c18687f 100644
--- a/src/web/pages/credentials/dialog.jsx
+++ b/src/web/pages/credentials/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/pages/credentials/downloadicon.jsx b/src/web/pages/credentials/downloadicon.jsx
index 59c93c127f..0dd54ab1a2 100644
--- a/src/web/pages/credentials/downloadicon.jsx
+++ b/src/web/pages/credentials/downloadicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/listpage.jsx b/src/web/pages/credentials/listpage.jsx
index 4fa01ccfd3..2f0e6c77bc 100644
--- a/src/web/pages/credentials/listpage.jsx
+++ b/src/web/pages/credentials/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {CREDENTIALS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/credentials/row.jsx b/src/web/pages/credentials/row.jsx
index 6cd4aa0692..e4bdda71aa 100644
--- a/src/web/pages/credentials/row.jsx
+++ b/src/web/pages/credentials/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/credentials/table.jsx b/src/web/pages/credentials/table.jsx
index adf6f1760c..ec5f395612 100644
--- a/src/web/pages/credentials/table.jsx
+++ b/src/web/pages/credentials/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/cves/__tests__/detailspage.jsx b/src/web/pages/cves/__tests__/detailspage.jsx
index e0858ec2ca..230a8a51a6 100644
--- a/src/web/pages/cves/__tests__/detailspage.jsx
+++ b/src/web/pages/cves/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cves/__tests__/listpage.jsx b/src/web/pages/cves/__tests__/listpage.jsx
index 6ce783c94a..cc8fbb7625 100644
--- a/src/web/pages/cves/__tests__/listpage.jsx
+++ b/src/web/pages/cves/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/cves/__tests__/row.jsx b/src/web/pages/cves/__tests__/row.jsx
index f1426e0c98..035747e4d3 100644
--- a/src/web/pages/cves/__tests__/row.jsx
+++ b/src/web/pages/cves/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/cves/__tests__/table.jsx b/src/web/pages/cves/__tests__/table.jsx
index 799c5c3830..1f7d04c30a 100644
--- a/src/web/pages/cves/__tests__/table.jsx
+++ b/src/web/pages/cves/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/cves/dashboard/createddisplay.jsx b/src/web/pages/cves/dashboard/createddisplay.jsx
index 4a0e9688b9..f20d6d5c1e 100644
--- a/src/web/pages/cves/dashboard/createddisplay.jsx
+++ b/src/web/pages/cves/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/dashboard/cvssdisplay.jsx b/src/web/pages/cves/dashboard/cvssdisplay.jsx
index 861bd19176..83c1fd56a8 100644
--- a/src/web/pages/cves/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/cves/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/dashboard/index.jsx b/src/web/pages/cves/dashboard/index.jsx
index 772a8d57bb..96c5c4897c 100644
--- a/src/web/pages/cves/dashboard/index.jsx
+++ b/src/web/pages/cves/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/cves/dashboard/loaders.jsx b/src/web/pages/cves/dashboard/loaders.jsx
index dcb7a11e82..d3218877c6 100644
--- a/src/web/pages/cves/dashboard/loaders.jsx
+++ b/src/web/pages/cves/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/cves/dashboard/severityclassdisplay.jsx b/src/web/pages/cves/dashboard/severityclassdisplay.jsx
index 7cabb6b642..504b0e928e 100644
--- a/src/web/pages/cves/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/cves/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {CVES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/cves/details.jsx b/src/web/pages/cves/details.jsx
index 2898564d5e..1bab1b535f 100644
--- a/src/web/pages/cves/details.jsx
+++ b/src/web/pages/cves/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/cves/detailspage.jsx b/src/web/pages/cves/detailspage.jsx
index de1a173fb3..41e19ec14d 100644
--- a/src/web/pages/cves/detailspage.jsx
+++ b/src/web/pages/cves/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cves/filterdialog.jsx b/src/web/pages/cves/filterdialog.jsx
index 6a10a2fc00..4c55a0e036 100644
--- a/src/web/pages/cves/filterdialog.jsx
+++ b/src/web/pages/cves/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/cves/listpage.jsx b/src/web/pages/cves/listpage.jsx
index 26a456c393..0b52422de5 100644
--- a/src/web/pages/cves/listpage.jsx
+++ b/src/web/pages/cves/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/cves/row.jsx b/src/web/pages/cves/row.jsx
index 696f7f9879..7d9bdfc183 100644
--- a/src/web/pages/cves/row.jsx
+++ b/src/web/pages/cves/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_} from 'gmp/locale/lang';
diff --git a/src/web/pages/cves/table.jsx b/src/web/pages/cves/table.jsx
index d19695baf9..bdc87d581f 100644
--- a/src/web/pages/cves/table.jsx
+++ b/src/web/pages/cves/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/dfncert/dashboard/createddisplay.jsx b/src/web/pages/dfncert/dashboard/createddisplay.jsx
index da7554c2a1..9ce23def79 100644
--- a/src/web/pages/dfncert/dashboard/createddisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/dashboard/cvssdisplay.jsx b/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
index 29bbd9a431..144055a639 100644
--- a/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/dashboard/index.jsx b/src/web/pages/dfncert/dashboard/index.jsx
index 1a04925d9c..a388f194fe 100644
--- a/src/web/pages/dfncert/dashboard/index.jsx
+++ b/src/web/pages/dfncert/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/dfncert/dashboard/loaders.jsx b/src/web/pages/dfncert/dashboard/loaders.jsx
index 2adbca26ab..8a22a756c5 100644
--- a/src/web/pages/dfncert/dashboard/loaders.jsx
+++ b/src/web/pages/dfncert/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx b/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
index d2c648a6a0..e0110310ac 100644
--- a/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/dfncert/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {DFNCERT_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/dfncert/details.jsx b/src/web/pages/dfncert/details.jsx
index 38914635ac..41c1fbdc81 100644
--- a/src/web/pages/dfncert/details.jsx
+++ b/src/web/pages/dfncert/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/detailspage.jsx b/src/web/pages/dfncert/detailspage.jsx
index 72b59bc937..febf5c588e 100644
--- a/src/web/pages/dfncert/detailspage.jsx
+++ b/src/web/pages/dfncert/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/listpage.jsx b/src/web/pages/dfncert/listpage.jsx
index 406cdda6d5..871c7fc2c3 100644
--- a/src/web/pages/dfncert/listpage.jsx
+++ b/src/web/pages/dfncert/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/dfncert/row.jsx b/src/web/pages/dfncert/row.jsx
index 6ddc153bf0..e6ff5978a9 100644
--- a/src/web/pages/dfncert/row.jsx
+++ b/src/web/pages/dfncert/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SeverityBar from 'web/components/bar/severitybar';
diff --git a/src/web/pages/dfncert/table.jsx b/src/web/pages/dfncert/table.jsx
index 47efd72cee..c30a556140 100644
--- a/src/web/pages/dfncert/table.jsx
+++ b/src/web/pages/dfncert/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx b/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
index 4446e2cd52..38a6bef0e3 100644
--- a/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
+++ b/src/web/pages/extras/__tests__/cvsscalculatorpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, wait} from 'web/utils/testing';
diff --git a/src/web/pages/extras/__tests__/feedstatuspage.jsx b/src/web/pages/extras/__tests__/feedstatuspage.jsx
index 53d5ad300e..ab50f2df89 100644
--- a/src/web/pages/extras/__tests__/feedstatuspage.jsx
+++ b/src/web/pages/extras/__tests__/feedstatuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, waitFor} from 'web/utils/testing';
diff --git a/src/web/pages/extras/cvsscalculatorpage.jsx b/src/web/pages/extras/cvsscalculatorpage.jsx
index 071bebfeb5..f65ea3bd0a 100644
--- a/src/web/pages/extras/cvsscalculatorpage.jsx
+++ b/src/web/pages/extras/cvsscalculatorpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/extras/feedstatuspage.jsx b/src/web/pages/extras/feedstatuspage.jsx
index 0c274ed4fa..5c1adacd47 100644
--- a/src/web/pages/extras/feedstatuspage.jsx
+++ b/src/web/pages/extras/feedstatuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/extras/trashactions.jsx b/src/web/pages/extras/trashactions.jsx
index 980be99fa0..3773c2fa00 100644
--- a/src/web/pages/extras/trashactions.jsx
+++ b/src/web/pages/extras/trashactions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/extras/trashcanpage.jsx b/src/web/pages/extras/trashcanpage.jsx
index 1de9669045..65202184ed 100644
--- a/src/web/pages/extras/trashcanpage.jsx
+++ b/src/web/pages/extras/trashcanpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback, useEffect, useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/filters/component.jsx b/src/web/pages/filters/component.jsx
index 7e78ce894e..3b473ab82e 100644
--- a/src/web/pages/filters/component.jsx
+++ b/src/web/pages/filters/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/filters/details.jsx b/src/web/pages/filters/details.jsx
index 2727ec9185..2a6b4c9dc3 100644
--- a/src/web/pages/filters/details.jsx
+++ b/src/web/pages/filters/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/detailspage.jsx b/src/web/pages/filters/detailspage.jsx
index 8a103f0a6d..117fe40a22 100644
--- a/src/web/pages/filters/detailspage.jsx
+++ b/src/web/pages/filters/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/dialog.jsx b/src/web/pages/filters/dialog.jsx
index 55b6ab063e..1734228e94 100644
--- a/src/web/pages/filters/dialog.jsx
+++ b/src/web/pages/filters/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/filters/filterdialog.jsx b/src/web/pages/filters/filterdialog.jsx
index 1302dc692a..ac48209a10 100644
--- a/src/web/pages/filters/filterdialog.jsx
+++ b/src/web/pages/filters/filterdialog.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/filters/listpage.jsx b/src/web/pages/filters/listpage.jsx
index 24a529e58c..b90245b0ed 100644
--- a/src/web/pages/filters/listpage.jsx
+++ b/src/web/pages/filters/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {FILTERS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/filters/row.jsx b/src/web/pages/filters/row.jsx
index d7a8335cf9..4f176e689e 100644
--- a/src/web/pages/filters/row.jsx
+++ b/src/web/pages/filters/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/filters/table.jsx b/src/web/pages/filters/table.jsx
index 0747490ad3..1afa621d85 100644
--- a/src/web/pages/filters/table.jsx
+++ b/src/web/pages/filters/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/groups/component.jsx b/src/web/pages/groups/component.jsx
index 7a220c437e..aed3b8d8d7 100644
--- a/src/web/pages/groups/component.jsx
+++ b/src/web/pages/groups/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/details.jsx b/src/web/pages/groups/details.jsx
index d68655ada4..060778c5b6 100644
--- a/src/web/pages/groups/details.jsx
+++ b/src/web/pages/groups/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/detailspage.jsx b/src/web/pages/groups/detailspage.jsx
index 0a3dddb9ea..6078797ca4 100644
--- a/src/web/pages/groups/detailspage.jsx
+++ b/src/web/pages/groups/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/dialog.jsx b/src/web/pages/groups/dialog.jsx
index 78094fc277..d11172994c 100644
--- a/src/web/pages/groups/dialog.jsx
+++ b/src/web/pages/groups/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/groups/header.jsx b/src/web/pages/groups/header.jsx
index ff89a4aecc..169658c490 100644
--- a/src/web/pages/groups/header.jsx
+++ b/src/web/pages/groups/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/listpage.jsx b/src/web/pages/groups/listpage.jsx
index d4ae9da0ee..c623736f7d 100644
--- a/src/web/pages/groups/listpage.jsx
+++ b/src/web/pages/groups/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {GROUPS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/groups/row.jsx b/src/web/pages/groups/row.jsx
index f9eb5028da..73b3c02ea0 100644
--- a/src/web/pages/groups/row.jsx
+++ b/src/web/pages/groups/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/groups/table.jsx b/src/web/pages/groups/table.jsx
index 50549a3a19..2b0e393e75 100644
--- a/src/web/pages/groups/table.jsx
+++ b/src/web/pages/groups/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from '../../entities/footer';
diff --git a/src/web/pages/help/__tests__/about.jsx b/src/web/pages/help/__tests__/about.jsx
index 97178c381a..cb3151e9ef 100644
--- a/src/web/pages/help/__tests__/about.jsx
+++ b/src/web/pages/help/__tests__/about.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {rendererWith} from 'web/utils/testing';
diff --git a/src/web/pages/help/about.jsx b/src/web/pages/help/about.jsx
index 28a77409c8..40a1d9432a 100644
--- a/src/web/pages/help/about.jsx
+++ b/src/web/pages/help/about.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/hosts/__tests__/detailspage.jsx b/src/web/pages/hosts/__tests__/detailspage.jsx
index e4a9222193..decd12a3bc 100644
--- a/src/web/pages/hosts/__tests__/detailspage.jsx
+++ b/src/web/pages/hosts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/hosts/__tests__/listpage.jsx b/src/web/pages/hosts/__tests__/listpage.jsx
index a605930626..7909d2981b 100644
--- a/src/web/pages/hosts/__tests__/listpage.jsx
+++ b/src/web/pages/hosts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/hosts/component.jsx b/src/web/pages/hosts/component.jsx
index 5d07106f74..7f6a19a4c8 100644
--- a/src/web/pages/hosts/component.jsx
+++ b/src/web/pages/hosts/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/dashboard/cvssdisplay.jsx b/src/web/pages/hosts/dashboard/cvssdisplay.jsx
index d9b52af991..b4b494278a 100644
--- a/src/web/pages/hosts/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {HOSTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/hosts/dashboard/index.jsx b/src/web/pages/hosts/dashboard/index.jsx
index b760c2d0a6..664623be68 100644
--- a/src/web/pages/hosts/dashboard/index.jsx
+++ b/src/web/pages/hosts/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/hosts/dashboard/loaders.jsx b/src/web/pages/hosts/dashboard/loaders.jsx
index c8aef3cd9e..f4f2faf128 100644
--- a/src/web/pages/hosts/dashboard/loaders.jsx
+++ b/src/web/pages/hosts/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/dashboard/modifieddisplay.jsx b/src/web/pages/hosts/dashboard/modifieddisplay.jsx
index b41913ed33..45032fc24b 100644
--- a/src/web/pages/hosts/dashboard/modifieddisplay.jsx
+++ b/src/web/pages/hosts/dashboard/modifieddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx b/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
index 653493d476..402b47f962 100644
--- a/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/modifiedhighdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/hosts/dashboard/severityclassdisplay.jsx b/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
index ffe90d0e9a..dabd847536 100644
--- a/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/hosts/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {HOSTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/hosts/dashboard/topologydisplay.jsx b/src/web/pages/hosts/dashboard/topologydisplay.jsx
index 4b8833e671..f2c0e3dad1 100644
--- a/src/web/pages/hosts/dashboard/topologydisplay.jsx
+++ b/src/web/pages/hosts/dashboard/topologydisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx b/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
index db4857364c..370944562c 100644
--- a/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
+++ b/src/web/pages/hosts/dashboard/vulnscoredisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/hosts/details.jsx b/src/web/pages/hosts/details.jsx
index 1f9ee197bd..049b750e74 100644
--- a/src/web/pages/hosts/details.jsx
+++ b/src/web/pages/hosts/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/hosts/detailspage.jsx b/src/web/pages/hosts/detailspage.jsx
index ce419d3ecd..c55de16142 100644
--- a/src/web/pages/hosts/detailspage.jsx
+++ b/src/web/pages/hosts/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/hosts/dialog.jsx b/src/web/pages/hosts/dialog.jsx
index e130856cd0..0c85b2a9cf 100644
--- a/src/web/pages/hosts/dialog.jsx
+++ b/src/web/pages/hosts/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/filterdialog.jsx b/src/web/pages/hosts/filterdialog.jsx
index 5094cbd995..5affe47dac 100644
--- a/src/web/pages/hosts/filterdialog.jsx
+++ b/src/web/pages/hosts/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/hosts/identifiers.jsx b/src/web/pages/hosts/identifiers.jsx
index c3482ff88e..43facefdea 100644
--- a/src/web/pages/hosts/identifiers.jsx
+++ b/src/web/pages/hosts/identifiers.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/hosts/listpage.jsx b/src/web/pages/hosts/listpage.jsx
index e86e62ed92..10453b4f56 100644
--- a/src/web/pages/hosts/listpage.jsx
+++ b/src/web/pages/hosts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/row.jsx b/src/web/pages/hosts/row.jsx
index 3853892a24..865504ce50 100644
--- a/src/web/pages/hosts/row.jsx
+++ b/src/web/pages/hosts/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/hosts/table.jsx b/src/web/pages/hosts/table.jsx
index eb9d1b1a7c..697aeebf64 100644
--- a/src/web/pages/hosts/table.jsx
+++ b/src/web/pages/hosts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/ldap/__tests__/dialog.jsx b/src/web/pages/ldap/__tests__/dialog.jsx
index 09ecd2faff..be913aaf52 100644
--- a/src/web/pages/ldap/__tests__/dialog.jsx
+++ b/src/web/pages/ldap/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/ldap/dialog.jsx b/src/web/pages/ldap/dialog.jsx
index e13b001350..29465b9bdb 100644
--- a/src/web/pages/ldap/dialog.jsx
+++ b/src/web/pages/ldap/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/ldap/ldappage.jsx b/src/web/pages/ldap/ldappage.jsx
index 48031409bf..4c2419218b 100644
--- a/src/web/pages/ldap/ldappage.jsx
+++ b/src/web/pages/ldap/ldappage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/login/__tests__/loginform.jsx b/src/web/pages/login/__tests__/loginform.jsx
index 36862a56c1..544c42c250 100644
--- a/src/web/pages/login/__tests__/loginform.jsx
+++ b/src/web/pages/login/__tests__/loginform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith, fireEvent, screen} from 'web/utils/testing';
diff --git a/src/web/pages/login/__tests__/loginpage.jsx b/src/web/pages/login/__tests__/loginpage.jsx
index 1ebdc94e26..757563f632 100644
--- a/src/web/pages/login/__tests__/loginpage.jsx
+++ b/src/web/pages/login/__tests__/loginpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Logger from 'gmp/log';
diff --git a/src/web/pages/login/loginform.jsx b/src/web/pages/login/loginform.jsx
index 5b78743d1e..5b36460428 100644
--- a/src/web/pages/login/loginform.jsx
+++ b/src/web/pages/login/loginform.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/login/loginpage.jsx b/src/web/pages/login/loginpage.jsx
index 41f026e9bd..1745152e28 100644
--- a/src/web/pages/login/loginpage.jsx
+++ b/src/web/pages/login/loginpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/notes/__tests__/detailspage.jsx b/src/web/pages/notes/__tests__/detailspage.jsx
index 7654f7aef7..2a94d62c7d 100644
--- a/src/web/pages/notes/__tests__/detailspage.jsx
+++ b/src/web/pages/notes/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/notes/__tests__/listpage.jsx b/src/web/pages/notes/__tests__/listpage.jsx
index 88256b4722..f87bc14f76 100644
--- a/src/web/pages/notes/__tests__/listpage.jsx
+++ b/src/web/pages/notes/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/notes/component.jsx b/src/web/pages/notes/component.jsx
index 54a1433575..3dded6d082 100644
--- a/src/web/pages/notes/component.jsx
+++ b/src/web/pages/notes/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/dashboard/activedaysdisplay.jsx b/src/web/pages/notes/dashboard/activedaysdisplay.jsx
index a8f3f7b2ba..4f4748c5d4 100644
--- a/src/web/pages/notes/dashboard/activedaysdisplay.jsx
+++ b/src/web/pages/notes/dashboard/activedaysdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notes/dashboard/createddisplay.jsx b/src/web/pages/notes/dashboard/createddisplay.jsx
index c54591033e..e9814ffb86 100644
--- a/src/web/pages/notes/dashboard/createddisplay.jsx
+++ b/src/web/pages/notes/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NOTES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/notes/dashboard/index.jsx b/src/web/pages/notes/dashboard/index.jsx
index e315c79429..e1fa182106 100644
--- a/src/web/pages/notes/dashboard/index.jsx
+++ b/src/web/pages/notes/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/notes/dashboard/loaders.jsx b/src/web/pages/notes/dashboard/loaders.jsx
index bf5400c27b..eeab6f5019 100644
--- a/src/web/pages/notes/dashboard/loaders.jsx
+++ b/src/web/pages/notes/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/notes/dashboard/wordclouddisplay.jsx b/src/web/pages/notes/dashboard/wordclouddisplay.jsx
index 638de2c0d0..a3ab2a90b5 100644
--- a/src/web/pages/notes/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/notes/dashboard/wordclouddisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notes/details.jsx b/src/web/pages/notes/details.jsx
index 652ea9d8c9..f4cf064e56 100644
--- a/src/web/pages/notes/details.jsx
+++ b/src/web/pages/notes/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/detailspage.jsx b/src/web/pages/notes/detailspage.jsx
index 130cbc2795..18c559a7d7 100644
--- a/src/web/pages/notes/detailspage.jsx
+++ b/src/web/pages/notes/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/notes/dialog.jsx b/src/web/pages/notes/dialog.jsx
index 684eeb6fbe..fb934126c0 100644
--- a/src/web/pages/notes/dialog.jsx
+++ b/src/web/pages/notes/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/notes/filterdialog.jsx b/src/web/pages/notes/filterdialog.jsx
index 6402a93d63..c4dadefd87 100644
--- a/src/web/pages/notes/filterdialog.jsx
+++ b/src/web/pages/notes/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/notes/listpage.jsx b/src/web/pages/notes/listpage.jsx
index c9479c7986..a32654e607 100644
--- a/src/web/pages/notes/listpage.jsx
+++ b/src/web/pages/notes/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/row.jsx b/src/web/pages/notes/row.jsx
index b6f42c7c4f..4404fe702e 100644
--- a/src/web/pages/notes/row.jsx
+++ b/src/web/pages/notes/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/notes/table.jsx b/src/web/pages/notes/table.jsx
index 7183cad7c9..6ea9ec11b8 100644
--- a/src/web/pages/notes/table.jsx
+++ b/src/web/pages/notes/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/notfoundpage.jsx b/src/web/pages/notfoundpage.jsx
index bc0da628de..9ccb275770 100644
--- a/src/web/pages/notfoundpage.jsx
+++ b/src/web/pages/notfoundpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/nvts/__tests__/detailspage.jsx b/src/web/pages/nvts/__tests__/detailspage.jsx
index d99519502c..1f2397b105 100644
--- a/src/web/pages/nvts/__tests__/detailspage.jsx
+++ b/src/web/pages/nvts/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/nvts/__tests__/listpage.jsx b/src/web/pages/nvts/__tests__/listpage.jsx
index ad292da65e..dbfc86a2a5 100644
--- a/src/web/pages/nvts/__tests__/listpage.jsx
+++ b/src/web/pages/nvts/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/nvts/__tests__/row.jsx b/src/web/pages/nvts/__tests__/row.jsx
index 75be014716..3f5c3324c5 100644
--- a/src/web/pages/nvts/__tests__/row.jsx
+++ b/src/web/pages/nvts/__tests__/row.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/nvts/component.jsx b/src/web/pages/nvts/component.jsx
index 4876c4f8a7..b1db0b1566 100644
--- a/src/web/pages/nvts/component.jsx
+++ b/src/web/pages/nvts/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/nvts/dashboard/createddisplay.jsx b/src/web/pages/nvts/dashboard/createddisplay.jsx
index a8c335a88c..4ec15f6df4 100644
--- a/src/web/pages/nvts/dashboard/createddisplay.jsx
+++ b/src/web/pages/nvts/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/dashboard/cvssdisplay.jsx b/src/web/pages/nvts/dashboard/cvssdisplay.jsx
index 6e2e2d9f24..8c54040065 100644
--- a/src/web/pages/nvts/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/nvts/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/dashboard/familydisplay.jsx b/src/web/pages/nvts/dashboard/familydisplay.jsx
index 57d8cdb7e1..ddc7c5b97f 100644
--- a/src/web/pages/nvts/dashboard/familydisplay.jsx
+++ b/src/web/pages/nvts/dashboard/familydisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/index.jsx b/src/web/pages/nvts/dashboard/index.jsx
index 5b3232cf0e..eaef6a5030 100644
--- a/src/web/pages/nvts/dashboard/index.jsx
+++ b/src/web/pages/nvts/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/nvts/dashboard/loaders.jsx b/src/web/pages/nvts/dashboard/loaders.jsx
index 8b6aba71e9..03b1889dc7 100644
--- a/src/web/pages/nvts/dashboard/loaders.jsx
+++ b/src/web/pages/nvts/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/nvts/dashboard/qoddisplay.jsx b/src/web/pages/nvts/dashboard/qoddisplay.jsx
index c37ffe92b1..aa83cbdd07 100644
--- a/src/web/pages/nvts/dashboard/qoddisplay.jsx
+++ b/src/web/pages/nvts/dashboard/qoddisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/qodtypedisplay.jsx b/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
index b56685125c..115484dd07 100644
--- a/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
+++ b/src/web/pages/nvts/dashboard/qodtypedisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/nvts/dashboard/severityclassdisplay.jsx b/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
index 04166dc16c..1424428bc1 100644
--- a/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/nvts/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {NVTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/nvts/details.jsx b/src/web/pages/nvts/details.jsx
index 0355a4db93..719b3ab998 100644
--- a/src/web/pages/nvts/details.jsx
+++ b/src/web/pages/nvts/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/detailspage.jsx b/src/web/pages/nvts/detailspage.jsx
index ee07516158..1c1cc526b7 100644
--- a/src/web/pages/nvts/detailspage.jsx
+++ b/src/web/pages/nvts/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/filterdialog.jsx b/src/web/pages/nvts/filterdialog.jsx
index 586bb99047..ca75e89806 100644
--- a/src/web/pages/nvts/filterdialog.jsx
+++ b/src/web/pages/nvts/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/nvts/listpage.jsx b/src/web/pages/nvts/listpage.jsx
index 47e2a0a0e5..efd95f9526 100644
--- a/src/web/pages/nvts/listpage.jsx
+++ b/src/web/pages/nvts/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/nvtpreference.jsx b/src/web/pages/nvts/nvtpreference.jsx
index fba2f41723..30b331524b 100644
--- a/src/web/pages/nvts/nvtpreference.jsx
+++ b/src/web/pages/nvts/nvtpreference.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/preferences.jsx b/src/web/pages/nvts/preferences.jsx
index 341d7c151f..a5674987c4 100644
--- a/src/web/pages/nvts/preferences.jsx
+++ b/src/web/pages/nvts/preferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/preformatted.jsx b/src/web/pages/nvts/preformatted.jsx
index be5c88787e..f9407737c5 100644
--- a/src/web/pages/nvts/preformatted.jsx
+++ b/src/web/pages/nvts/preformatted.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import styled from 'styled-components';
/*
diff --git a/src/web/pages/nvts/references.jsx b/src/web/pages/nvts/references.jsx
index 2bfafb9224..1a90464b5f 100644
--- a/src/web/pages/nvts/references.jsx
+++ b/src/web/pages/nvts/references.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/row.jsx b/src/web/pages/nvts/row.jsx
index 7955065258..3f5e3e5c34 100644
--- a/src/web/pages/nvts/row.jsx
+++ b/src/web/pages/nvts/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter.js';
diff --git a/src/web/pages/nvts/solution.jsx b/src/web/pages/nvts/solution.jsx
index a886010e38..2eb45d9437 100644
--- a/src/web/pages/nvts/solution.jsx
+++ b/src/web/pages/nvts/solution.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/nvts/table.jsx b/src/web/pages/nvts/table.jsx
index c4e10bff3e..c8e5de6133 100644
--- a/src/web/pages/nvts/table.jsx
+++ b/src/web/pages/nvts/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/omp.jsx b/src/web/pages/omp.jsx
index 7f38a7d5b8..485264a5bf 100644
--- a/src/web/pages/omp.jsx
+++ b/src/web/pages/omp.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/operatingsystems/component.jsx b/src/web/pages/operatingsystems/component.jsx
index fd4d452f93..07a8f8494f 100644
--- a/src/web/pages/operatingsystems/component.jsx
+++ b/src/web/pages/operatingsystems/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import EntityComponent from 'web/entity/component';
diff --git a/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx b/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
index 54eae63b55..7b0cec782f 100644
--- a/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/operatingsystems/dashboard/index.jsx b/src/web/pages/operatingsystems/dashboard/index.jsx
index 89e5442592..a6a9c77f52 100644
--- a/src/web/pages/operatingsystems/dashboard/index.jsx
+++ b/src/web/pages/operatingsystems/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/operatingsystems/dashboard/loaders.jsx b/src/web/pages/operatingsystems/dashboard/loaders.jsx
index 383e518b69..9f8a1a7b38 100644
--- a/src/web/pages/operatingsystems/dashboard/loaders.jsx
+++ b/src/web/pages/operatingsystems/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx b/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
index 2d19bedee9..8608a98f64 100644
--- a/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx b/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
index 237ace6b92..729a3e8a54 100644
--- a/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
+++ b/src/web/pages/operatingsystems/dashboard/vulnscoredisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/operatingsystems/detailspage.jsx b/src/web/pages/operatingsystems/detailspage.jsx
index 853a40194b..325e5ccbff 100644
--- a/src/web/pages/operatingsystems/detailspage.jsx
+++ b/src/web/pages/operatingsystems/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/filterdialog.jsx b/src/web/pages/operatingsystems/filterdialog.jsx
index c21d70632d..e799ad4850 100644
--- a/src/web/pages/operatingsystems/filterdialog.jsx
+++ b/src/web/pages/operatingsystems/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/operatingsystems/listpage.jsx b/src/web/pages/operatingsystems/listpage.jsx
index 1a75eb43a7..76dcf4e217 100644
--- a/src/web/pages/operatingsystems/listpage.jsx
+++ b/src/web/pages/operatingsystems/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/row.jsx b/src/web/pages/operatingsystems/row.jsx
index 4af29a1f0b..74ef925ab7 100644
--- a/src/web/pages/operatingsystems/row.jsx
+++ b/src/web/pages/operatingsystems/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/operatingsystems/table.jsx b/src/web/pages/operatingsystems/table.jsx
index 0783c0a6be..bd7886dd7e 100644
--- a/src/web/pages/operatingsystems/table.jsx
+++ b/src/web/pages/operatingsystems/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/__tests__/detailspage.jsx b/src/web/pages/overrides/__tests__/detailspage.jsx
index 1f3a907795..567e3b2d26 100644
--- a/src/web/pages/overrides/__tests__/detailspage.jsx
+++ b/src/web/pages/overrides/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/overrides/__tests__/listpage.jsx b/src/web/pages/overrides/__tests__/listpage.jsx
index db762d788d..d61355f405 100644
--- a/src/web/pages/overrides/__tests__/listpage.jsx
+++ b/src/web/pages/overrides/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/overrides/component.jsx b/src/web/pages/overrides/component.jsx
index 9b91d793fc..e407be94c9 100644
--- a/src/web/pages/overrides/component.jsx
+++ b/src/web/pages/overrides/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/dashboard/activedaysdisplay.jsx b/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
index 2a5d3eec01..c672d54ced 100644
--- a/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
+++ b/src/web/pages/overrides/dashboard/activedaysdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/dashboard/createddisplay.jsx b/src/web/pages/overrides/dashboard/createddisplay.jsx
index f7acadd007..2845c1da89 100644
--- a/src/web/pages/overrides/dashboard/createddisplay.jsx
+++ b/src/web/pages/overrides/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {OVERRIDES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/overrides/dashboard/index.jsx b/src/web/pages/overrides/dashboard/index.jsx
index 91eff19893..9ab7436ab6 100644
--- a/src/web/pages/overrides/dashboard/index.jsx
+++ b/src/web/pages/overrides/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/overrides/dashboard/loaders.jsx b/src/web/pages/overrides/dashboard/loaders.jsx
index e4875f045e..c2c2a92a7d 100644
--- a/src/web/pages/overrides/dashboard/loaders.jsx
+++ b/src/web/pages/overrides/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/overrides/dashboard/wordclouddisplay.jsx b/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
index 957613e5b9..e98a36cebf 100644
--- a/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/overrides/dashboard/wordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/overrides/details.jsx b/src/web/pages/overrides/details.jsx
index f9a9d7c3ce..1f99d366a7 100644
--- a/src/web/pages/overrides/details.jsx
+++ b/src/web/pages/overrides/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/detailspage.jsx b/src/web/pages/overrides/detailspage.jsx
index 887dcebafb..a081378351 100644
--- a/src/web/pages/overrides/detailspage.jsx
+++ b/src/web/pages/overrides/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/overrides/dialog.jsx b/src/web/pages/overrides/dialog.jsx
index 672a52b174..f798e6d6c6 100644
--- a/src/web/pages/overrides/dialog.jsx
+++ b/src/web/pages/overrides/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/overrides/filterdialog.jsx b/src/web/pages/overrides/filterdialog.jsx
index ba7ae2e83b..2ed4860503 100644
--- a/src/web/pages/overrides/filterdialog.jsx
+++ b/src/web/pages/overrides/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/overrides/listpage.jsx b/src/web/pages/overrides/listpage.jsx
index 4af3d17041..6d138228fb 100644
--- a/src/web/pages/overrides/listpage.jsx
+++ b/src/web/pages/overrides/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/row.jsx b/src/web/pages/overrides/row.jsx
index c7511093f4..5525bded05 100644
--- a/src/web/pages/overrides/row.jsx
+++ b/src/web/pages/overrides/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/overrides/table.jsx b/src/web/pages/overrides/table.jsx
index c586069fab..8038f8e27f 100644
--- a/src/web/pages/overrides/table.jsx
+++ b/src/web/pages/overrides/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/page.jsx b/src/web/pages/page.jsx
index 0f3fd01f60..977077de72 100644
--- a/src/web/pages/page.jsx
+++ b/src/web/pages/page.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {useLocation} from 'react-router-dom';
diff --git a/src/web/pages/performance/__tests__/startendtimeselection.jsx b/src/web/pages/performance/__tests__/startendtimeselection.jsx
index 1a22a45534..c402b2fca7 100644
--- a/src/web/pages/performance/__tests__/startendtimeselection.jsx
+++ b/src/web/pages/performance/__tests__/startendtimeselection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import MomentDate from 'gmp/models/date';
diff --git a/src/web/pages/performance/performancepage.jsx b/src/web/pages/performance/performancepage.jsx
index ffb74a60a1..eb42ffd460 100644
--- a/src/web/pages/performance/performancepage.jsx
+++ b/src/web/pages/performance/performancepage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/performance/startendtimeselection.jsx b/src/web/pages/performance/startendtimeselection.jsx
index 4862e16302..6330ebf588 100644
--- a/src/web/pages/performance/startendtimeselection.jsx
+++ b/src/web/pages/performance/startendtimeselection.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState, useEffect} from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/component.jsx b/src/web/pages/permissions/component.jsx
index 69fd64dcbb..76b8669c5a 100644
--- a/src/web/pages/permissions/component.jsx
+++ b/src/web/pages/permissions/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/details.jsx b/src/web/pages/permissions/details.jsx
index a35979b186..35e39179da 100644
--- a/src/web/pages/permissions/details.jsx
+++ b/src/web/pages/permissions/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/detailspage.jsx b/src/web/pages/permissions/detailspage.jsx
index dc3c1dd537..7044d4ef46 100644
--- a/src/web/pages/permissions/detailspage.jsx
+++ b/src/web/pages/permissions/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/dialog.jsx b/src/web/pages/permissions/dialog.jsx
index 9e73036e6d..b64b6bc597 100644
--- a/src/web/pages/permissions/dialog.jsx
+++ b/src/web/pages/permissions/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Model from 'gmp/model';
diff --git a/src/web/pages/permissions/listpage.jsx b/src/web/pages/permissions/listpage.jsx
index 2277bfb090..e938ff85e7 100644
--- a/src/web/pages/permissions/listpage.jsx
+++ b/src/web/pages/permissions/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PERMISSIONS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/permissions/multipledialog.jsx b/src/web/pages/permissions/multipledialog.jsx
index bd32fac8a9..484c360116 100644
--- a/src/web/pages/permissions/multipledialog.jsx
+++ b/src/web/pages/permissions/multipledialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/permissions/row.jsx b/src/web/pages/permissions/row.jsx
index b83cec4e9a..54a2cd588c 100644
--- a/src/web/pages/permissions/row.jsx
+++ b/src/web/pages/permissions/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/permissions/table.jsx b/src/web/pages/permissions/table.jsx
index c71d94892c..15b23e8b66 100644
--- a/src/web/pages/permissions/table.jsx
+++ b/src/web/pages/permissions/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/policies/__tests__/details.jsx b/src/web/pages/policies/__tests__/details.jsx
index 13fa63e5f0..b64652ce3a 100644
--- a/src/web/pages/policies/__tests__/details.jsx
+++ b/src/web/pages/policies/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/detailspage.jsx b/src/web/pages/policies/__tests__/detailspage.jsx
index f1e9a151cb..929f788fcb 100644
--- a/src/web/pages/policies/__tests__/detailspage.jsx
+++ b/src/web/pages/policies/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/dialog.jsx b/src/web/pages/policies/__tests__/dialog.jsx
index 4ed898724b..7fbd4bc90e 100644
--- a/src/web/pages/policies/__tests__/dialog.jsx
+++ b/src/web/pages/policies/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/policies/__tests__/listpage.jsx b/src/web/pages/policies/__tests__/listpage.jsx
index 75d6b02fb3..9fb4423a6e 100644
--- a/src/web/pages/policies/__tests__/listpage.jsx
+++ b/src/web/pages/policies/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/policies/__tests__/row.jsx b/src/web/pages/policies/__tests__/row.jsx
index 75c9619c05..6b5c89e018 100644
--- a/src/web/pages/policies/__tests__/row.jsx
+++ b/src/web/pages/policies/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/policies/__tests__/table.jsx b/src/web/pages/policies/__tests__/table.jsx
index 7a5a103ece..be7b0afb0b 100644
--- a/src/web/pages/policies/__tests__/table.jsx
+++ b/src/web/pages/policies/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/policies/component.jsx b/src/web/pages/policies/component.jsx
index 78dc2bdb9d..9cdd992be9 100644
--- a/src/web/pages/policies/component.jsx
+++ b/src/web/pages/policies/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/policies/details.jsx b/src/web/pages/policies/details.jsx
index 41431fa56f..498e8cc0c8 100644
--- a/src/web/pages/policies/details.jsx
+++ b/src/web/pages/policies/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/detailspage.jsx b/src/web/pages/policies/detailspage.jsx
index df7e370b62..de1a004afd 100644
--- a/src/web/pages/policies/detailspage.jsx
+++ b/src/web/pages/policies/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/dialog.jsx b/src/web/pages/policies/dialog.jsx
index c410b3fef4..c83045be85 100644
--- a/src/web/pages/policies/dialog.jsx
+++ b/src/web/pages/policies/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/policies/header.jsx b/src/web/pages/policies/header.jsx
index 952f2372eb..48fe675172 100644
--- a/src/web/pages/policies/header.jsx
+++ b/src/web/pages/policies/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/listpage.jsx b/src/web/pages/policies/listpage.jsx
index 969c16842b..6e236957da 100644
--- a/src/web/pages/policies/listpage.jsx
+++ b/src/web/pages/policies/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {RESET_FILTER, SCANCONFIGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/policies/row.jsx b/src/web/pages/policies/row.jsx
index 8d59f2e0dd..6635a03807 100644
--- a/src/web/pages/policies/row.jsx
+++ b/src/web/pages/policies/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/policies/table.jsx b/src/web/pages/policies/table.jsx
index 187f174722..d1611fafea 100644
--- a/src/web/pages/policies/table.jsx
+++ b/src/web/pages/policies/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/portlists/component.jsx b/src/web/pages/portlists/component.jsx
index 1f3e8ba61c..01afc7ff4a 100644
--- a/src/web/pages/portlists/component.jsx
+++ b/src/web/pages/portlists/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/details.jsx b/src/web/pages/portlists/details.jsx
index ac77ac53b1..704208a7f6 100644
--- a/src/web/pages/portlists/details.jsx
+++ b/src/web/pages/portlists/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/detailspage.jsx b/src/web/pages/portlists/detailspage.jsx
index 628c8e87fb..229cd43b8b 100644
--- a/src/web/pages/portlists/detailspage.jsx
+++ b/src/web/pages/portlists/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/dialog.jsx b/src/web/pages/portlists/dialog.jsx
index 1ff318f68c..85f011acf1 100644
--- a/src/web/pages/portlists/dialog.jsx
+++ b/src/web/pages/portlists/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE, parseYesNo} from 'gmp/parser';
diff --git a/src/web/pages/portlists/filterdialog.jsx b/src/web/pages/portlists/filterdialog.jsx
index 0eb4ed74b5..33054637ed 100644
--- a/src/web/pages/portlists/filterdialog.jsx
+++ b/src/web/pages/portlists/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/portlists/importdialog.jsx b/src/web/pages/portlists/importdialog.jsx
index c6cc66916a..e074c66b14 100644
--- a/src/web/pages/portlists/importdialog.jsx
+++ b/src/web/pages/portlists/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/portlists/listpage.jsx b/src/web/pages/portlists/listpage.jsx
index 327ae66fa8..f437b4273a 100644
--- a/src/web/pages/portlists/listpage.jsx
+++ b/src/web/pages/portlists/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {PORTLISTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/portlists/portrangedialog.jsx b/src/web/pages/portlists/portrangedialog.jsx
index 2ccf9c09d6..5ed65feb05 100644
--- a/src/web/pages/portlists/portrangedialog.jsx
+++ b/src/web/pages/portlists/portrangedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/portlists/portrangestable.jsx b/src/web/pages/portlists/portrangestable.jsx
index 1a9a033c4d..cf1785e250 100644
--- a/src/web/pages/portlists/portrangestable.jsx
+++ b/src/web/pages/portlists/portrangestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/portlists/row.jsx b/src/web/pages/portlists/row.jsx
index 9801dfbd74..656a8bce6f 100644
--- a/src/web/pages/portlists/row.jsx
+++ b/src/web/pages/portlists/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/portlists/table.jsx b/src/web/pages/portlists/table.jsx
index acaa57eea4..1ea78ce481 100644
--- a/src/web/pages/portlists/table.jsx
+++ b/src/web/pages/portlists/table.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/radius/__tests__/dialog.jsx b/src/web/pages/radius/__tests__/dialog.jsx
index b36eb5b4e7..b2b399bb2f 100644
--- a/src/web/pages/radius/__tests__/dialog.jsx
+++ b/src/web/pages/radius/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/radius/__tests__/radiuspage.jsx b/src/web/pages/radius/__tests__/radiuspage.jsx
index 620f2d7db4..ae87c5081d 100644
--- a/src/web/pages/radius/__tests__/radiuspage.jsx
+++ b/src/web/pages/radius/__tests__/radiuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Settings from 'gmp/models/settings';
diff --git a/src/web/pages/radius/dialog.jsx b/src/web/pages/radius/dialog.jsx
index 6505087869..c10b279336 100644
--- a/src/web/pages/radius/dialog.jsx
+++ b/src/web/pages/radius/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/radius/radiuspage.jsx b/src/web/pages/radius/radiuspage.jsx
index aec40f79b3..7471310fb0 100644
--- a/src/web/pages/radius/radiuspage.jsx
+++ b/src/web/pages/radius/radiuspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx b/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
index 4d8d2fb208..c252f5ede5 100644
--- a/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
+++ b/src/web/pages/reportconfigs/__mocks__/mockreportconfig.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const mockReportConfig = {
_id: '12345',
name: 'foo',
diff --git a/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx b/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
index 3040d62c63..dc30aa7ac3 100644
--- a/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
+++ b/src/web/pages/reportconfigs/__mocks__/mockreportformats.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const mockReportFormats = [
{
id: '123456',
diff --git a/src/web/pages/reportconfigs/__tests__/component.jsx b/src/web/pages/reportconfigs/__tests__/component.jsx
index 65fe5a00cc..7ca19fb944 100644
--- a/src/web/pages/reportconfigs/__tests__/component.jsx
+++ b/src/web/pages/reportconfigs/__tests__/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import ReportConfig from 'gmp/models/reportconfig';
diff --git a/src/web/pages/reportconfigs/__tests__/details.jsx b/src/web/pages/reportconfigs/__tests__/details.jsx
index c69d39738b..de37597ae3 100644
--- a/src/web/pages/reportconfigs/__tests__/details.jsx
+++ b/src/web/pages/reportconfigs/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/detailspage.jsx b/src/web/pages/reportconfigs/__tests__/detailspage.jsx
index e9283d8c56..9c600c197d 100644
--- a/src/web/pages/reportconfigs/__tests__/detailspage.jsx
+++ b/src/web/pages/reportconfigs/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/dialog.jsx b/src/web/pages/reportconfigs/__tests__/dialog.jsx
index 6ec615a39b..89dd2b8131 100644
--- a/src/web/pages/reportconfigs/__tests__/dialog.jsx
+++ b/src/web/pages/reportconfigs/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import ReportConfig from 'gmp/models/reportconfig';
diff --git a/src/web/pages/reportconfigs/__tests__/listpage.jsx b/src/web/pages/reportconfigs/__tests__/listpage.jsx
index 64f26f68fe..4886892896 100644
--- a/src/web/pages/reportconfigs/__tests__/listpage.jsx
+++ b/src/web/pages/reportconfigs/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reportconfigs/__tests__/row.jsx b/src/web/pages/reportconfigs/__tests__/row.jsx
index ac6c203aea..37af81158c 100644
--- a/src/web/pages/reportconfigs/__tests__/row.jsx
+++ b/src/web/pages/reportconfigs/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/reportconfigs/__tests__/table.jsx b/src/web/pages/reportconfigs/__tests__/table.jsx
index b7c6e995f6..ee41eaa857 100644
--- a/src/web/pages/reportconfigs/__tests__/table.jsx
+++ b/src/web/pages/reportconfigs/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/reportconfigs/component.jsx b/src/web/pages/reportconfigs/component.jsx
index f97e91e90c..107a04b7ec 100644
--- a/src/web/pages/reportconfigs/component.jsx
+++ b/src/web/pages/reportconfigs/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/details.jsx b/src/web/pages/reportconfigs/details.jsx
index 415b6c30c8..06659c57f9 100644
--- a/src/web/pages/reportconfigs/details.jsx
+++ b/src/web/pages/reportconfigs/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/detailspage.jsx b/src/web/pages/reportconfigs/detailspage.jsx
index 5a36fa8fd1..500f9c0504 100644
--- a/src/web/pages/reportconfigs/detailspage.jsx
+++ b/src/web/pages/reportconfigs/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/dialog.jsx b/src/web/pages/reportconfigs/dialog.jsx
index 5d1761b9b7..7de28077d6 100644
--- a/src/web/pages/reportconfigs/dialog.jsx
+++ b/src/web/pages/reportconfigs/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/listpage.jsx b/src/web/pages/reportconfigs/listpage.jsx
index 8958d4b335..b1bdf27e79 100644
--- a/src/web/pages/reportconfigs/listpage.jsx
+++ b/src/web/pages/reportconfigs/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {REPORT_CONFIGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reportconfigs/row.jsx b/src/web/pages/reportconfigs/row.jsx
index 6ccbc900ee..58c982b8a9 100644
--- a/src/web/pages/reportconfigs/row.jsx
+++ b/src/web/pages/reportconfigs/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportconfigs/table.jsx b/src/web/pages/reportconfigs/table.jsx
index 6b5dbc1e12..005750dc2e 100644
--- a/src/web/pages/reportconfigs/table.jsx
+++ b/src/web/pages/reportconfigs/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/reportformats/component.jsx b/src/web/pages/reportformats/component.jsx
index a58127f771..485589c47f 100644
--- a/src/web/pages/reportformats/component.jsx
+++ b/src/web/pages/reportformats/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/details.jsx b/src/web/pages/reportformats/details.jsx
index 5c26781ee8..d2d4664270 100644
--- a/src/web/pages/reportformats/details.jsx
+++ b/src/web/pages/reportformats/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/detailspage.jsx b/src/web/pages/reportformats/detailspage.jsx
index 97523a35ce..e006b3df01 100644
--- a/src/web/pages/reportformats/detailspage.jsx
+++ b/src/web/pages/reportformats/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/dialog.jsx b/src/web/pages/reportformats/dialog.jsx
index 0dd2529a40..faa4a42771 100644
--- a/src/web/pages/reportformats/dialog.jsx
+++ b/src/web/pages/reportformats/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined, isArray, hasValue} from 'gmp/utils/identity';
diff --git a/src/web/pages/reportformats/listpage.jsx b/src/web/pages/reportformats/listpage.jsx
index b2bcd51f25..278e347890 100644
--- a/src/web/pages/reportformats/listpage.jsx
+++ b/src/web/pages/reportformats/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {REPORT_FORMATS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reportformats/row.jsx b/src/web/pages/reportformats/row.jsx
index 41aed7e9c1..fdf57d2083 100644
--- a/src/web/pages/reportformats/row.jsx
+++ b/src/web/pages/reportformats/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reportformats/table.jsx b/src/web/pages/reportformats/table.jsx
index ada798ec59..da3d7aa167 100644
--- a/src/web/pages/reportformats/table.jsx
+++ b/src/web/pages/reportformats/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/reports/__mocks__/mockdeltareport.jsx b/src/web/pages/reports/__mocks__/mockdeltareport.jsx
index 706dc2df68..e02f3c1d67 100644
--- a/src/web/pages/reports/__mocks__/mockdeltareport.jsx
+++ b/src/web/pages/reports/__mocks__/mockdeltareport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setLocale} from 'gmp/locale/lang';
import Report from 'gmp/models/report';
diff --git a/src/web/pages/reports/__mocks__/mockreport.jsx b/src/web/pages/reports/__mocks__/mockreport.jsx
index 05df5ba85a..2fb8b5ed3f 100644
--- a/src/web/pages/reports/__mocks__/mockreport.jsx
+++ b/src/web/pages/reports/__mocks__/mockreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {setLocale} from 'gmp/locale/lang';
import Report from 'gmp/models/report';
diff --git a/src/web/pages/reports/__tests__/deltadetailscontent.jsx b/src/web/pages/reports/__tests__/deltadetailscontent.jsx
index c97be59762..e1044768c7 100644
--- a/src/web/pages/reports/__tests__/deltadetailscontent.jsx
+++ b/src/web/pages/reports/__tests__/deltadetailscontent.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/__tests__/detailscontent.jsx b/src/web/pages/reports/__tests__/detailscontent.jsx
index d0478892a0..1314138291 100644
--- a/src/web/pages/reports/__tests__/detailscontent.jsx
+++ b/src/web/pages/reports/__tests__/detailscontent.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/dashboard/cvssdisplay.jsx b/src/web/pages/reports/dashboard/cvssdisplay.jsx
index 771efb561d..bceaf6876c 100644
--- a/src/web/pages/reports/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/reports/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {REPORTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reports/dashboard/highresultsdisplay.jsx b/src/web/pages/reports/dashboard/highresultsdisplay.jsx
index 45af20dcf2..79beaafcf3 100644
--- a/src/web/pages/reports/dashboard/highresultsdisplay.jsx
+++ b/src/web/pages/reports/dashboard/highresultsdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/dashboard/index.jsx b/src/web/pages/reports/dashboard/index.jsx
index e658912ba9..a80aa83ca8 100644
--- a/src/web/pages/reports/dashboard/index.jsx
+++ b/src/web/pages/reports/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/reports/dashboard/loaders.jsx b/src/web/pages/reports/dashboard/loaders.jsx
index db4e3ddd9c..243d91a669 100644
--- a/src/web/pages/reports/dashboard/loaders.jsx
+++ b/src/web/pages/reports/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/reports/dashboard/severityclassdisplay.jsx b/src/web/pages/reports/dashboard/severityclassdisplay.jsx
index e7f9286f28..9d2a2729a4 100644
--- a/src/web/pages/reports/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/reports/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {REPORTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/reports/deltadetailscontent.jsx b/src/web/pages/reports/deltadetailscontent.jsx
index ad8041d259..97141d8c48 100644
--- a/src/web/pages/reports/deltadetailscontent.jsx
+++ b/src/web/pages/reports/deltadetailscontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/deltadetailspage.jsx b/src/web/pages/reports/deltadetailspage.jsx
index ed381a7be6..0b9c74be7b 100644
--- a/src/web/pages/reports/deltadetailspage.jsx
+++ b/src/web/pages/reports/deltadetailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/deltaresultsfiltergroup.jsx b/src/web/pages/reports/deltaresultsfiltergroup.jsx
index 0054cfb5f3..e3c0cfce44 100644
--- a/src/web/pages/reports/deltaresultsfiltergroup.jsx
+++ b/src/web/pages/reports/deltaresultsfiltergroup.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/details/__tests__/applicationstab.jsx b/src/web/pages/reports/details/__tests__/applicationstab.jsx
index 354e4ca0f9..8737e6eddd 100644
--- a/src/web/pages/reports/details/__tests__/applicationstab.jsx
+++ b/src/web/pages/reports/details/__tests__/applicationstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/closedcvestab.jsx b/src/web/pages/reports/details/__tests__/closedcvestab.jsx
index bf784bd3bc..532970f114 100644
--- a/src/web/pages/reports/details/__tests__/closedcvestab.jsx
+++ b/src/web/pages/reports/details/__tests__/closedcvestab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/cvestab.jsx b/src/web/pages/reports/details/__tests__/cvestab.jsx
index e97b448043..60da8c1b6a 100644
--- a/src/web/pages/reports/details/__tests__/cvestab.jsx
+++ b/src/web/pages/reports/details/__tests__/cvestab.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/deltaresultstab.jsx b/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
index f67adec103..0675d1cf23 100644
--- a/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
+++ b/src/web/pages/reports/details/__tests__/deltaresultstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/emptyreport.jsx b/src/web/pages/reports/details/__tests__/emptyreport.jsx
index 0f3c573951..4d2fe589c8 100644
--- a/src/web/pages/reports/details/__tests__/emptyreport.jsx
+++ b/src/web/pages/reports/details/__tests__/emptyreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx b/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
index 8e678e9c02..e3fa8ef837 100644
--- a/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
+++ b/src/web/pages/reports/details/__tests__/emptyresultsreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/errorstab.jsx b/src/web/pages/reports/details/__tests__/errorstab.jsx
index f4292e3db1..6e5eb045af 100644
--- a/src/web/pages/reports/details/__tests__/errorstab.jsx
+++ b/src/web/pages/reports/details/__tests__/errorstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/hoststab.jsx b/src/web/pages/reports/details/__tests__/hoststab.jsx
index f2e25d4e16..f96cd8716c 100644
--- a/src/web/pages/reports/details/__tests__/hoststab.jsx
+++ b/src/web/pages/reports/details/__tests__/hoststab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx b/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
index 2ce6173421..cb382d0b38 100644
--- a/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
+++ b/src/web/pages/reports/details/__tests__/operatingsystemstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/portstab.jsx b/src/web/pages/reports/details/__tests__/portstab.jsx
index 0d007c987f..012d870060 100644
--- a/src/web/pages/reports/details/__tests__/portstab.jsx
+++ b/src/web/pages/reports/details/__tests__/portstab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/summary.jsx b/src/web/pages/reports/details/__tests__/summary.jsx
index 05694ed48b..2398109e02 100644
--- a/src/web/pages/reports/details/__tests__/summary.jsx
+++ b/src/web/pages/reports/details/__tests__/summary.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/__tests__/thresholdpanel.jsx b/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
index cd2618bab7..097b1270b1 100644
--- a/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
+++ b/src/web/pages/reports/details/__tests__/thresholdpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx b/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
index 5899845680..cd5aa519ca 100644
--- a/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
+++ b/src/web/pages/reports/details/__tests__/tlscertificatestab.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/reports/details/__tests__/toolbaricons.jsx b/src/web/pages/reports/details/__tests__/toolbaricons.jsx
index e9a34cd022..980eae28e1 100644
--- a/src/web/pages/reports/details/__tests__/toolbaricons.jsx
+++ b/src/web/pages/reports/details/__tests__/toolbaricons.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/reports/details/alertactions.jsx b/src/web/pages/reports/details/alertactions.jsx
index 0403c891b2..a4e2b5ffb6 100644
--- a/src/web/pages/reports/details/alertactions.jsx
+++ b/src/web/pages/reports/details/alertactions.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/details/applicationstab.jsx b/src/web/pages/reports/details/applicationstab.jsx
index a719c002ab..68a709452e 100644
--- a/src/web/pages/reports/details/applicationstab.jsx
+++ b/src/web/pages/reports/details/applicationstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ApplicationsTable from './applicationstable';
diff --git a/src/web/pages/reports/details/applicationstable.jsx b/src/web/pages/reports/details/applicationstable.jsx
index baec0dd4d7..86eed34745 100644
--- a/src/web/pages/reports/details/applicationstable.jsx
+++ b/src/web/pages/reports/details/applicationstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/closedcvestab.jsx b/src/web/pages/reports/details/closedcvestab.jsx
index 0195223132..231716813d 100644
--- a/src/web/pages/reports/details/closedcvestab.jsx
+++ b/src/web/pages/reports/details/closedcvestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ClosedCvesTable from './closedcvestable';
diff --git a/src/web/pages/reports/details/closedcvestable.jsx b/src/web/pages/reports/details/closedcvestable.jsx
index ef464eca67..0225f4ccb1 100644
--- a/src/web/pages/reports/details/closedcvestable.jsx
+++ b/src/web/pages/reports/details/closedcvestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/cvestab.jsx b/src/web/pages/reports/details/cvestab.jsx
index d735fd3a3c..6e23e15b48 100644
--- a/src/web/pages/reports/details/cvestab.jsx
+++ b/src/web/pages/reports/details/cvestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import CvesTable from './cvestable';
diff --git a/src/web/pages/reports/details/cvestable.jsx b/src/web/pages/reports/details/cvestable.jsx
index f9654c11e6..ff5e951b0f 100644
--- a/src/web/pages/reports/details/cvestable.jsx
+++ b/src/web/pages/reports/details/cvestable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/deltaresultstab.jsx b/src/web/pages/reports/details/deltaresultstab.jsx
index db697745bd..4b3a52a4ba 100644
--- a/src/web/pages/reports/details/deltaresultstab.jsx
+++ b/src/web/pages/reports/details/deltaresultstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/details/emptyreport.jsx b/src/web/pages/reports/details/emptyreport.jsx
index c9ba6d6f96..7e880c9af0 100644
--- a/src/web/pages/reports/details/emptyreport.jsx
+++ b/src/web/pages/reports/details/emptyreport.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/details/emptyresultsreport.jsx b/src/web/pages/reports/details/emptyresultsreport.jsx
index 0d44c9bd6c..f16368a556 100644
--- a/src/web/pages/reports/details/emptyresultsreport.jsx
+++ b/src/web/pages/reports/details/emptyresultsreport.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/errorstab.jsx b/src/web/pages/reports/details/errorstab.jsx
index 1dd519bcee..3135bd5bbb 100644
--- a/src/web/pages/reports/details/errorstab.jsx
+++ b/src/web/pages/reports/details/errorstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import ErrorsTable from './errorstable';
diff --git a/src/web/pages/reports/details/errorstable.jsx b/src/web/pages/reports/details/errorstable.jsx
index df41075cbd..42938c48f7 100644
--- a/src/web/pages/reports/details/errorstable.jsx
+++ b/src/web/pages/reports/details/errorstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/hoststab.jsx b/src/web/pages/reports/details/hoststab.jsx
index 3192aceb19..5da00be099 100644
--- a/src/web/pages/reports/details/hoststab.jsx
+++ b/src/web/pages/reports/details/hoststab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/details/hoststable.jsx b/src/web/pages/reports/details/hoststable.jsx
index f8a0b8f7e8..7fa6990cbc 100644
--- a/src/web/pages/reports/details/hoststable.jsx
+++ b/src/web/pages/reports/details/hoststable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/operatingsystemstab.jsx b/src/web/pages/reports/details/operatingsystemstab.jsx
index 491faa0e0b..66dca4b897 100644
--- a/src/web/pages/reports/details/operatingsystemstab.jsx
+++ b/src/web/pages/reports/details/operatingsystemstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import OperatingSystemsTable from './operatingsystemstable';
diff --git a/src/web/pages/reports/details/operatingsystemstable.jsx b/src/web/pages/reports/details/operatingsystemstable.jsx
index fd4a00aef7..eb29fb3262 100644
--- a/src/web/pages/reports/details/operatingsystemstable.jsx
+++ b/src/web/pages/reports/details/operatingsystemstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/portstab.jsx b/src/web/pages/reports/details/portstab.jsx
index 14e4d5b2ab..311b5cbaf4 100644
--- a/src/web/pages/reports/details/portstab.jsx
+++ b/src/web/pages/reports/details/portstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PortsTable from './portstable';
diff --git a/src/web/pages/reports/details/portstable.jsx b/src/web/pages/reports/details/portstable.jsx
index fd9164ad3e..79ae774460 100644
--- a/src/web/pages/reports/details/portstable.jsx
+++ b/src/web/pages/reports/details/portstable.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/details/reportentitiescontainer.jsx b/src/web/pages/reports/details/reportentitiescontainer.jsx
index 172b9fc746..01aacea010 100644
--- a/src/web/pages/reports/details/reportentitiescontainer.jsx
+++ b/src/web/pages/reports/details/reportentitiescontainer.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/reports/details/reportpanel.jsx b/src/web/pages/reports/details/reportpanel.jsx
index 7c4c2e054c..ce1f33b3a4 100644
--- a/src/web/pages/reports/details/reportpanel.jsx
+++ b/src/web/pages/reports/details/reportpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/resultstab.jsx b/src/web/pages/reports/details/resultstab.jsx
index cb60757c03..37371e83b5 100644
--- a/src/web/pages/reports/details/resultstab.jsx
+++ b/src/web/pages/reports/details/resultstab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/details/summary.jsx b/src/web/pages/reports/details/summary.jsx
index e3c9747ea1..62154f5fcf 100644
--- a/src/web/pages/reports/details/summary.jsx
+++ b/src/web/pages/reports/details/summary.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/tabtitle.jsx b/src/web/pages/reports/details/tabtitle.jsx
index 84596b81da..ea445ceb0b 100644
--- a/src/web/pages/reports/details/tabtitle.jsx
+++ b/src/web/pages/reports/details/tabtitle.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/thresholdpanel.jsx b/src/web/pages/reports/details/thresholdpanel.jsx
index 292d3dcbb4..636efd327c 100644
--- a/src/web/pages/reports/details/thresholdpanel.jsx
+++ b/src/web/pages/reports/details/thresholdpanel.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/tlscertificatestab.jsx b/src/web/pages/reports/details/tlscertificatestab.jsx
index 800f30d17b..f236b2e08c 100644
--- a/src/web/pages/reports/details/tlscertificatestab.jsx
+++ b/src/web/pages/reports/details/tlscertificatestab.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import TLSCertificatesTable from './tlscertificatestable';
diff --git a/src/web/pages/reports/details/tlscertificatestable.jsx b/src/web/pages/reports/details/tlscertificatestable.jsx
index 8dff8562ef..87d2b2d10b 100644
--- a/src/web/pages/reports/details/tlscertificatestable.jsx
+++ b/src/web/pages/reports/details/tlscertificatestable.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/details/toolbaricons.jsx b/src/web/pages/reports/details/toolbaricons.jsx
index 5b693fd5e9..3caadaef46 100644
--- a/src/web/pages/reports/details/toolbaricons.jsx
+++ b/src/web/pages/reports/details/toolbaricons.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/detailscontent.jsx b/src/web/pages/reports/detailscontent.jsx
index 42e9f5b180..19de6219a1 100644
--- a/src/web/pages/reports/detailscontent.jsx
+++ b/src/web/pages/reports/detailscontent.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/reports/detailsfilterdialog.jsx b/src/web/pages/reports/detailsfilterdialog.jsx
index 89813ecb75..00d50790cb 100644
--- a/src/web/pages/reports/detailsfilterdialog.jsx
+++ b/src/web/pages/reports/detailsfilterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/detailspage.jsx b/src/web/pages/reports/detailspage.jsx
index 45ca84f83a..bfe1ffc340 100644
--- a/src/web/pages/reports/detailspage.jsx
+++ b/src/web/pages/reports/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/downloadreportdialog.jsx b/src/web/pages/reports/downloadreportdialog.jsx
index 91c21bd3ef..0c33d7161a 100644
--- a/src/web/pages/reports/downloadreportdialog.jsx
+++ b/src/web/pages/reports/downloadreportdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/reports/filterdialog.jsx b/src/web/pages/reports/filterdialog.jsx
index afa14c820f..7ea008e269 100644
--- a/src/web/pages/reports/filterdialog.jsx
+++ b/src/web/pages/reports/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/reports/importdialog.jsx b/src/web/pages/reports/importdialog.jsx
index ff38c87606..3a4421b878 100644
--- a/src/web/pages/reports/importdialog.jsx
+++ b/src/web/pages/reports/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/reports/listpage.jsx b/src/web/pages/reports/listpage.jsx
index 332bd452e7..946f2a0966 100644
--- a/src/web/pages/reports/listpage.jsx
+++ b/src/web/pages/reports/listpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/reports/row.jsx b/src/web/pages/reports/row.jsx
index 12ccfa0e8d..ebb17ffabc 100644
--- a/src/web/pages/reports/row.jsx
+++ b/src/web/pages/reports/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/table.jsx b/src/web/pages/reports/table.jsx
index 5306953966..ecccbea9f1 100644
--- a/src/web/pages/reports/table.jsx
+++ b/src/web/pages/reports/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/reports/thresholdmessage.jsx b/src/web/pages/reports/thresholdmessage.jsx
index 3b49b2e5af..ef762ae0c5 100644
--- a/src/web/pages/reports/thresholdmessage.jsx
+++ b/src/web/pages/reports/thresholdmessage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/reports/triggeralertdialog.jsx b/src/web/pages/reports/triggeralertdialog.jsx
index 1aafacb4d5..185b480b7c 100644
--- a/src/web/pages/reports/triggeralertdialog.jsx
+++ b/src/web/pages/reports/triggeralertdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/results/__tests__/detailspage.jsx b/src/web/pages/results/__tests__/detailspage.jsx
index d204e76467..e04a93aad9 100644
--- a/src/web/pages/results/__tests__/detailspage.jsx
+++ b/src/web/pages/results/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/results/__tests__/diff.jsx b/src/web/pages/results/__tests__/diff.jsx
index f03c7d74e2..a3a2dbabaf 100644
--- a/src/web/pages/results/__tests__/diff.jsx
+++ b/src/web/pages/results/__tests__/diff.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/pages/results/__tests__/listpage.jsx b/src/web/pages/results/__tests__/listpage.jsx
index 2cb724b1cb..f1f50b59b5 100644
--- a/src/web/pages/results/__tests__/listpage.jsx
+++ b/src/web/pages/results/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/results/__tests__/row.jsx b/src/web/pages/results/__tests__/row.jsx
index 7e12bd9376..e71724102b 100644
--- a/src/web/pages/results/__tests__/row.jsx
+++ b/src/web/pages/results/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Result from 'gmp/models/result';
diff --git a/src/web/pages/results/dashboard/cvssdisplay.jsx b/src/web/pages/results/dashboard/cvssdisplay.jsx
index ec330f1097..c877bffaaa 100644
--- a/src/web/pages/results/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/results/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {RESULTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx b/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
index 8fdbf3ae08..9c92802051 100644
--- a/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
+++ b/src/web/pages/results/dashboard/descriptionwordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/results/dashboard/index.jsx b/src/web/pages/results/dashboard/index.jsx
index dd8c3e4258..15ae2baf86 100644
--- a/src/web/pages/results/dashboard/index.jsx
+++ b/src/web/pages/results/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/results/dashboard/loaders.jsx b/src/web/pages/results/dashboard/loaders.jsx
index cceb92881f..96d6fdd196 100644
--- a/src/web/pages/results/dashboard/loaders.jsx
+++ b/src/web/pages/results/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/results/dashboard/severityclassdisplay.jsx b/src/web/pages/results/dashboard/severityclassdisplay.jsx
index 8f1c3a515f..9b5cf3359d 100644
--- a/src/web/pages/results/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/results/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {RESULTS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/results/dashboard/wordclouddisplay.jsx b/src/web/pages/results/dashboard/wordclouddisplay.jsx
index b55cabe7e6..83a42bcfeb 100644
--- a/src/web/pages/results/dashboard/wordclouddisplay.jsx
+++ b/src/web/pages/results/dashboard/wordclouddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/results/delta.jsx b/src/web/pages/results/delta.jsx
index a11f720080..0c3201543a 100644
--- a/src/web/pages/results/delta.jsx
+++ b/src/web/pages/results/delta.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/details.jsx b/src/web/pages/results/details.jsx
index fded4a22da..72eb6d1d6c 100644
--- a/src/web/pages/results/details.jsx
+++ b/src/web/pages/results/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/results/detailspage.jsx b/src/web/pages/results/detailspage.jsx
index 14ebe5fcfa..b08526539d 100644
--- a/src/web/pages/results/detailspage.jsx
+++ b/src/web/pages/results/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/results/diff.jsx b/src/web/pages/results/diff.jsx
index f7c56c23fa..435ba9b257 100644
--- a/src/web/pages/results/diff.jsx
+++ b/src/web/pages/results/diff.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/results/filterdialog.jsx b/src/web/pages/results/filterdialog.jsx
index bbcfff0dfb..33233aa446 100644
--- a/src/web/pages/results/filterdialog.jsx
+++ b/src/web/pages/results/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/results/listpage.jsx b/src/web/pages/results/listpage.jsx
index 5b14d6f44c..57961f137c 100644
--- a/src/web/pages/results/listpage.jsx
+++ b/src/web/pages/results/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/row.jsx b/src/web/pages/results/row.jsx
index c2b94835bf..64d72d7333 100644
--- a/src/web/pages/results/row.jsx
+++ b/src/web/pages/results/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/results/table.jsx b/src/web/pages/results/table.jsx
index d28592b7d8..ff9a20dcc0 100644
--- a/src/web/pages/results/table.jsx
+++ b/src/web/pages/results/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/roles/component.jsx b/src/web/pages/roles/component.jsx
index 5b2b18def8..6e5aa30fd5 100644
--- a/src/web/pages/roles/component.jsx
+++ b/src/web/pages/roles/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/roles/details.jsx b/src/web/pages/roles/details.jsx
index 3e14814fb0..9ff252ab96 100644
--- a/src/web/pages/roles/details.jsx
+++ b/src/web/pages/roles/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/detailspage.jsx b/src/web/pages/roles/detailspage.jsx
index d0d893397a..43b6dfe760 100644
--- a/src/web/pages/roles/detailspage.jsx
+++ b/src/web/pages/roles/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/dialog.jsx b/src/web/pages/roles/dialog.jsx
index 9fa7bf2aa9..6a6f89b013 100644
--- a/src/web/pages/roles/dialog.jsx
+++ b/src/web/pages/roles/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/roles/listpage.jsx b/src/web/pages/roles/listpage.jsx
index 2bea23bbb0..d934655b6f 100644
--- a/src/web/pages/roles/listpage.jsx
+++ b/src/web/pages/roles/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {ROLES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/roles/row.jsx b/src/web/pages/roles/row.jsx
index 6f21a10bf3..b0a49e676d 100644
--- a/src/web/pages/roles/row.jsx
+++ b/src/web/pages/roles/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/roles/table.jsx b/src/web/pages/roles/table.jsx
index dbe42eb644..9ab8a79012 100644
--- a/src/web/pages/roles/table.jsx
+++ b/src/web/pages/roles/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/scanconfigs/__tests__/details.jsx b/src/web/pages/scanconfigs/__tests__/details.jsx
index 9cee73f4de..0205fed1c2 100644
--- a/src/web/pages/scanconfigs/__tests__/details.jsx
+++ b/src/web/pages/scanconfigs/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/detailspage.jsx b/src/web/pages/scanconfigs/__tests__/detailspage.jsx
index 48ebd3482b..5771c6e53d 100644
--- a/src/web/pages/scanconfigs/__tests__/detailspage.jsx
+++ b/src/web/pages/scanconfigs/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/dialog.jsx b/src/web/pages/scanconfigs/__tests__/dialog.jsx
index b3ac545d32..b707ffe519 100644
--- a/src/web/pages/scanconfigs/__tests__/dialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx b/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
index b40e983851..1acb76737c 100644
--- a/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editconfigfamilydialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Nvt from 'gmp/models/nvt';
diff --git a/src/web/pages/scanconfigs/__tests__/editdialog.jsx b/src/web/pages/scanconfigs/__tests__/editdialog.jsx
index 235324adaf..a2b33409a0 100644
--- a/src/web/pages/scanconfigs/__tests__/editdialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx b/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
index 0ccaf67335..9f205f5a7f 100644
--- a/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
+++ b/src/web/pages/scanconfigs/__tests__/editnvtdetailsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import date from 'gmp/models/date';
diff --git a/src/web/pages/scanconfigs/__tests__/listpage.jsx b/src/web/pages/scanconfigs/__tests__/listpage.jsx
index 874b40ff97..d6cad5cf03 100644
--- a/src/web/pages/scanconfigs/__tests__/listpage.jsx
+++ b/src/web/pages/scanconfigs/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/scanconfigs/__tests__/row.jsx b/src/web/pages/scanconfigs/__tests__/row.jsx
index 7e12428d6f..628dfe073a 100644
--- a/src/web/pages/scanconfigs/__tests__/row.jsx
+++ b/src/web/pages/scanconfigs/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/scanconfigs/__tests__/table.jsx b/src/web/pages/scanconfigs/__tests__/table.jsx
index 7468eadf53..1fb0b62875 100644
--- a/src/web/pages/scanconfigs/__tests__/table.jsx
+++ b/src/web/pages/scanconfigs/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/scanconfigs/__tests__/trend.jsx b/src/web/pages/scanconfigs/__tests__/trend.jsx
index 593b290fae..7ebaa893dc 100644
--- a/src/web/pages/scanconfigs/__tests__/trend.jsx
+++ b/src/web/pages/scanconfigs/__tests__/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/pages/scanconfigs/component.jsx b/src/web/pages/scanconfigs/component.jsx
index 8771a1236e..89a053d585 100644
--- a/src/web/pages/scanconfigs/component.jsx
+++ b/src/web/pages/scanconfigs/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/details.jsx b/src/web/pages/scanconfigs/details.jsx
index 7dc1b22cbe..c275ae9e54 100644
--- a/src/web/pages/scanconfigs/details.jsx
+++ b/src/web/pages/scanconfigs/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/detailspage.jsx b/src/web/pages/scanconfigs/detailspage.jsx
index 33e99b6b97..e613e2a6c7 100644
--- a/src/web/pages/scanconfigs/detailspage.jsx
+++ b/src/web/pages/scanconfigs/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/dialog.jsx b/src/web/pages/scanconfigs/dialog.jsx
index e9f76b599e..7cc2066fb0 100644
--- a/src/web/pages/scanconfigs/dialog.jsx
+++ b/src/web/pages/scanconfigs/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/scanconfigs/editconfigfamilydialog.jsx b/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
index 3f63cc3ce4..2e435fe1b6 100644
--- a/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
+++ b/src/web/pages/scanconfigs/editconfigfamilydialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState, useEffect} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/scanconfigs/editdialog.jsx b/src/web/pages/scanconfigs/editdialog.jsx
index 4d4f41add2..daa9014296 100644
--- a/src/web/pages/scanconfigs/editdialog.jsx
+++ b/src/web/pages/scanconfigs/editdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useReducer, useState, useEffect} from 'react';
import {SCANCONFIG_TREND_STATIC} from 'gmp/models/scanconfig';
diff --git a/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx b/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
index fc092c632d..99ae9a7556 100644
--- a/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
+++ b/src/web/pages/scanconfigs/editnvtdetailsdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useEffect, useReducer, useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/scanconfigs/header.jsx b/src/web/pages/scanconfigs/header.jsx
index e0771a3bf4..daea24a52c 100644
--- a/src/web/pages/scanconfigs/header.jsx
+++ b/src/web/pages/scanconfigs/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/importdialog.jsx b/src/web/pages/scanconfigs/importdialog.jsx
index 7cd3cc7e27..5bc35bd6fa 100644
--- a/src/web/pages/scanconfigs/importdialog.jsx
+++ b/src/web/pages/scanconfigs/importdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/scanconfigs/listpage.jsx b/src/web/pages/scanconfigs/listpage.jsx
index 097b00aeee..cc8a3c7fb2 100644
--- a/src/web/pages/scanconfigs/listpage.jsx
+++ b/src/web/pages/scanconfigs/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/nvtfamilies.jsx b/src/web/pages/scanconfigs/nvtfamilies.jsx
index 24b2f6626c..c778c1d639 100644
--- a/src/web/pages/scanconfigs/nvtfamilies.jsx
+++ b/src/web/pages/scanconfigs/nvtfamilies.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {
diff --git a/src/web/pages/scanconfigs/nvtpreferences.jsx b/src/web/pages/scanconfigs/nvtpreferences.jsx
index d6d9a5b105..0bb01afc61 100644
--- a/src/web/pages/scanconfigs/nvtpreferences.jsx
+++ b/src/web/pages/scanconfigs/nvtpreferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/scanconfigs/row.jsx b/src/web/pages/scanconfigs/row.jsx
index d4fbd47a8c..49c4af1809 100644
--- a/src/web/pages/scanconfigs/row.jsx
+++ b/src/web/pages/scanconfigs/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanconfigs/scannerpreferences.jsx b/src/web/pages/scanconfigs/scannerpreferences.jsx
index 2061b0a493..7b42ad12d7 100644
--- a/src/web/pages/scanconfigs/scannerpreferences.jsx
+++ b/src/web/pages/scanconfigs/scannerpreferences.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {parseInt} from 'gmp/parser';
diff --git a/src/web/pages/scanconfigs/table.jsx b/src/web/pages/scanconfigs/table.jsx
index e1dd50586b..8fc6ea2c70 100644
--- a/src/web/pages/scanconfigs/table.jsx
+++ b/src/web/pages/scanconfigs/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/scanconfigs/trend.jsx b/src/web/pages/scanconfigs/trend.jsx
index 4810ba7842..0eaa6b585f 100644
--- a/src/web/pages/scanconfigs/trend.jsx
+++ b/src/web/pages/scanconfigs/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/__tests__/dialog.jsx b/src/web/pages/scanners/__tests__/dialog.jsx
index bca75f19df..a4a030a716 100644
--- a/src/web/pages/scanners/__tests__/dialog.jsx
+++ b/src/web/pages/scanners/__tests__/dialog.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {
diff --git a/src/web/pages/scanners/component.jsx b/src/web/pages/scanners/component.jsx
index 4ef7c37770..6a92f339d5 100644
--- a/src/web/pages/scanners/component.jsx
+++ b/src/web/pages/scanners/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/scanners/details.jsx b/src/web/pages/scanners/details.jsx
index b83b2e0ba2..ec6658fd76 100644
--- a/src/web/pages/scanners/details.jsx
+++ b/src/web/pages/scanners/details.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/detailspage.jsx b/src/web/pages/scanners/detailspage.jsx
index 70ef4500e3..1dd432c191 100644
--- a/src/web/pages/scanners/detailspage.jsx
+++ b/src/web/pages/scanners/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/dialog.jsx b/src/web/pages/scanners/dialog.jsx
index fae0de8e2f..cfa3f132a6 100644
--- a/src/web/pages/scanners/dialog.jsx
+++ b/src/web/pages/scanners/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {filter, map} from 'gmp/utils/array';
diff --git a/src/web/pages/scanners/listpage.jsx b/src/web/pages/scanners/listpage.jsx
index b935cc1fc9..01a439e503 100644
--- a/src/web/pages/scanners/listpage.jsx
+++ b/src/web/pages/scanners/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SCANNERS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/scanners/row.jsx b/src/web/pages/scanners/row.jsx
index ea73a57e13..01cf5e7fa7 100644
--- a/src/web/pages/scanners/row.jsx
+++ b/src/web/pages/scanners/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/scanners/table.jsx b/src/web/pages/scanners/table.jsx
index 26341bf3d1..51dc15f00d 100644
--- a/src/web/pages/scanners/table.jsx
+++ b/src/web/pages/scanners/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/schedules/__tests__/detailspage.jsx b/src/web/pages/schedules/__tests__/detailspage.jsx
index 48c4e41697..3a328397f6 100644
--- a/src/web/pages/schedules/__tests__/detailspage.jsx
+++ b/src/web/pages/schedules/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/schedules/__tests__/dialog.jsx b/src/web/pages/schedules/__tests__/dialog.jsx
index 89068c6729..55ff4d95f5 100644
--- a/src/web/pages/schedules/__tests__/dialog.jsx
+++ b/src/web/pages/schedules/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Schedule from 'gmp/models/schedule';
diff --git a/src/web/pages/schedules/__tests__/listpage.jsx b/src/web/pages/schedules/__tests__/listpage.jsx
index 3b5400175b..dd677264fb 100644
--- a/src/web/pages/schedules/__tests__/listpage.jsx
+++ b/src/web/pages/schedules/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/schedules/component.jsx b/src/web/pages/schedules/component.jsx
index 0859c34764..e9b72899ff 100644
--- a/src/web/pages/schedules/component.jsx
+++ b/src/web/pages/schedules/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/schedules/dayselect.jsx b/src/web/pages/schedules/dayselect.jsx
index 035beccdb6..e74061674a 100644
--- a/src/web/pages/schedules/dayselect.jsx
+++ b/src/web/pages/schedules/dayselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/schedules/details.jsx b/src/web/pages/schedules/details.jsx
index 0dc6617442..9954e516d6 100644
--- a/src/web/pages/schedules/details.jsx
+++ b/src/web/pages/schedules/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/detailspage.jsx b/src/web/pages/schedules/detailspage.jsx
index 6a98197349..db683d5c45 100644
--- a/src/web/pages/schedules/detailspage.jsx
+++ b/src/web/pages/schedules/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/dialog.jsx b/src/web/pages/schedules/dialog.jsx
index 6e858a2480..bf00f9574b 100644
--- a/src/web/pages/schedules/dialog.jsx
+++ b/src/web/pages/schedules/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/listpage.jsx b/src/web/pages/schedules/listpage.jsx
index 169b711f86..0ad275c384 100644
--- a/src/web/pages/schedules/listpage.jsx
+++ b/src/web/pages/schedules/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SCHEDULES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/schedules/monthdaysselect.jsx b/src/web/pages/schedules/monthdaysselect.jsx
index 1b9e5ebb7c..a10b213f5c 100644
--- a/src/web/pages/schedules/monthdaysselect.jsx
+++ b/src/web/pages/schedules/monthdaysselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/render.jsx b/src/web/pages/schedules/render.jsx
index 4ebc40ba2c..b80af91359 100644
--- a/src/web/pages/schedules/render.jsx
+++ b/src/web/pages/schedules/render.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/schedules/row.jsx b/src/web/pages/schedules/row.jsx
index 511c9e20cd..29dcc9659f 100644
--- a/src/web/pages/schedules/row.jsx
+++ b/src/web/pages/schedules/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/schedules/table.jsx b/src/web/pages/schedules/table.jsx
index aae71914db..2d88c320c5 100644
--- a/src/web/pages/schedules/table.jsx
+++ b/src/web/pages/schedules/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/schedules/timeunitselect.jsx b/src/web/pages/schedules/timeunitselect.jsx
index bafc5530d5..2939928867 100644
--- a/src/web/pages/schedules/timeunitselect.jsx
+++ b/src/web/pages/schedules/timeunitselect.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {ReccurenceFrequency} from 'gmp/models/event';
diff --git a/src/web/pages/schedules/weekdayselect.jsx b/src/web/pages/schedules/weekdayselect.jsx
index 265d203031..6f625843d7 100644
--- a/src/web/pages/schedules/weekdayselect.jsx
+++ b/src/web/pages/schedules/weekdayselect.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/start/__tests__/page.jsx b/src/web/pages/start/__tests__/page.jsx
index 31031de709..849630c3be 100644
--- a/src/web/pages/start/__tests__/page.jsx
+++ b/src/web/pages/start/__tests__/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/start/confirmremovedialog.jsx b/src/web/pages/start/confirmremovedialog.jsx
index df6bfd8c87..5d185d5331 100644
--- a/src/web/pages/start/confirmremovedialog.jsx
+++ b/src/web/pages/start/confirmremovedialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/start/dashboard.jsx b/src/web/pages/start/dashboard.jsx
index d982e99abf..b5895bfc66 100644
--- a/src/web/pages/start/dashboard.jsx
+++ b/src/web/pages/start/dashboard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/start/editdashboarddialog.jsx b/src/web/pages/start/editdashboarddialog.jsx
index 1c18902ac7..a82eb32533 100644
--- a/src/web/pages/start/editdashboarddialog.jsx
+++ b/src/web/pages/start/editdashboarddialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import SaveDialog from 'web/components/dialog/savedialog';
diff --git a/src/web/pages/start/newdashboarddialog.jsx b/src/web/pages/start/newdashboarddialog.jsx
index da1ec12e4e..294fc211d2 100644
--- a/src/web/pages/start/newdashboarddialog.jsx
+++ b/src/web/pages/start/newdashboarddialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/start/page.jsx b/src/web/pages/start/page.jsx
index f911bf940a..a6d5324fc9 100644
--- a/src/web/pages/start/page.jsx
+++ b/src/web/pages/start/page.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {v4 as uuid} from 'uuid';
diff --git a/src/web/pages/tags/component.jsx b/src/web/pages/tags/component.jsx
index 9d36a84882..870f8eaf47 100644
--- a/src/web/pages/tags/component.jsx
+++ b/src/web/pages/tags/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/details.jsx b/src/web/pages/tags/details.jsx
index ece7bf3191..bc6e02e87e 100644
--- a/src/web/pages/tags/details.jsx
+++ b/src/web/pages/tags/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/detailspage.jsx b/src/web/pages/tags/detailspage.jsx
index 3bf4e52ea8..91473a3f26 100644
--- a/src/web/pages/tags/detailspage.jsx
+++ b/src/web/pages/tags/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/dialog.jsx b/src/web/pages/tags/dialog.jsx
index 66517b5534..6b46478046 100644
--- a/src/web/pages/tags/dialog.jsx
+++ b/src/web/pages/tags/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tags/listpage.jsx b/src/web/pages/tags/listpage.jsx
index 5b0449175b..a70e716fa3 100644
--- a/src/web/pages/tags/listpage.jsx
+++ b/src/web/pages/tags/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TAGS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tags/resourcelist.jsx b/src/web/pages/tags/resourcelist.jsx
index 178534bcf9..9f9f4bba66 100644
--- a/src/web/pages/tags/resourcelist.jsx
+++ b/src/web/pages/tags/resourcelist.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/row.jsx b/src/web/pages/tags/row.jsx
index ce4ffc958c..49d5a20626 100644
--- a/src/web/pages/tags/row.jsx
+++ b/src/web/pages/tags/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tags/table.jsx b/src/web/pages/tags/table.jsx
index 7a67a443b7..13873acd22 100644
--- a/src/web/pages/tags/table.jsx
+++ b/src/web/pages/tags/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/targets/__tests__/details.jsx b/src/web/pages/targets/__tests__/details.jsx
index 08fd096339..9c4ed94021 100644
--- a/src/web/pages/targets/__tests__/details.jsx
+++ b/src/web/pages/targets/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/detailspage.jsx b/src/web/pages/targets/__tests__/detailspage.jsx
index 1699353417..2915d1ec63 100644
--- a/src/web/pages/targets/__tests__/detailspage.jsx
+++ b/src/web/pages/targets/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/dialog.jsx b/src/web/pages/targets/__tests__/dialog.jsx
index ed40096a8c..4d693a8452 100644
--- a/src/web/pages/targets/__tests__/dialog.jsx
+++ b/src/web/pages/targets/__tests__/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Credential, {
diff --git a/src/web/pages/targets/__tests__/listpage.jsx b/src/web/pages/targets/__tests__/listpage.jsx
index 500bd8f81b..84af90ad77 100644
--- a/src/web/pages/targets/__tests__/listpage.jsx
+++ b/src/web/pages/targets/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/targets/__tests__/row.jsx b/src/web/pages/targets/__tests__/row.jsx
index 2106a5aa96..b78c8df0be 100644
--- a/src/web/pages/targets/__tests__/row.jsx
+++ b/src/web/pages/targets/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2021-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-unused-vars */
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/targets/component.jsx b/src/web/pages/targets/component.jsx
index ff848e05a0..a3cc36564b 100644
--- a/src/web/pages/targets/component.jsx
+++ b/src/web/pages/targets/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/details.jsx b/src/web/pages/targets/details.jsx
index 58187e1bfb..d67c5d15c9 100644
--- a/src/web/pages/targets/details.jsx
+++ b/src/web/pages/targets/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/detailspage.jsx b/src/web/pages/targets/detailspage.jsx
index 9dcc326433..47aabb2152 100644
--- a/src/web/pages/targets/detailspage.jsx
+++ b/src/web/pages/targets/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AGH
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/dialog.jsx b/src/web/pages/targets/dialog.jsx
index f7d8d5cd23..679efa5ab4 100644
--- a/src/web/pages/targets/dialog.jsx
+++ b/src/web/pages/targets/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/targets/listpage.jsx b/src/web/pages/targets/listpage.jsx
index 562fc354e7..7ed1d9da13 100644
--- a/src/web/pages/targets/listpage.jsx
+++ b/src/web/pages/targets/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TARGETS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/targets/row.jsx b/src/web/pages/targets/row.jsx
index 82e81a2799..8d2c601fc0 100644
--- a/src/web/pages/targets/row.jsx
+++ b/src/web/pages/targets/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/targets/table.jsx b/src/web/pages/targets/table.jsx
index 5589a08cec..450fc6d88a 100644
--- a/src/web/pages/targets/table.jsx
+++ b/src/web/pages/targets/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tasks/__tests__/actions.jsx b/src/web/pages/tasks/__tests__/actions.jsx
index 2eb3e0ad89..afe4c73184 100644
--- a/src/web/pages/tasks/__tests__/actions.jsx
+++ b/src/web/pages/tasks/__tests__/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx b/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
index 13560f7448..1ca0a65c4c 100644
--- a/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
+++ b/src/web/pages/tasks/__tests__/autodeletereportsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/tasks/__tests__/containerdialog.jsx b/src/web/pages/tasks/__tests__/containerdialog.jsx
index e6559580c5..5dd3e288be 100644
--- a/src/web/pages/tasks/__tests__/containerdialog.jsx
+++ b/src/web/pages/tasks/__tests__/containerdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Task from 'gmp/models/task';
diff --git a/src/web/pages/tasks/__tests__/details.jsx b/src/web/pages/tasks/__tests__/details.jsx
index 86294f326a..e233f037d3 100644
--- a/src/web/pages/tasks/__tests__/details.jsx
+++ b/src/web/pages/tasks/__tests__/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/detailspage.jsx b/src/web/pages/tasks/__tests__/detailspage.jsx
index ff654c7c24..7707af4cd8 100644
--- a/src/web/pages/tasks/__tests__/detailspage.jsx
+++ b/src/web/pages/tasks/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/listpage.jsx b/src/web/pages/tasks/__tests__/listpage.jsx
index 044d5745c4..5b08e75956 100644
--- a/src/web/pages/tasks/__tests__/listpage.jsx
+++ b/src/web/pages/tasks/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/row.jsx b/src/web/pages/tasks/__tests__/row.jsx
index a2d15b3cb5..44b0cbab62 100644
--- a/src/web/pages/tasks/__tests__/row.jsx
+++ b/src/web/pages/tasks/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tasks/__tests__/status.jsx b/src/web/pages/tasks/__tests__/status.jsx
index 553cf532be..09945e8af1 100644
--- a/src/web/pages/tasks/__tests__/status.jsx
+++ b/src/web/pages/tasks/__tests__/status.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/table.jsx b/src/web/pages/tasks/__tests__/table.jsx
index a0571b64e8..dc6f774de7 100644
--- a/src/web/pages/tasks/__tests__/table.jsx
+++ b/src/web/pages/tasks/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/__tests__/trend.jsx b/src/web/pages/tasks/__tests__/trend.jsx
index 7203f11ec9..9072955722 100644
--- a/src/web/pages/tasks/__tests__/trend.jsx
+++ b/src/web/pages/tasks/__tests__/trend.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {render} from 'web/utils/testing';
diff --git a/src/web/pages/tasks/actions.jsx b/src/web/pages/tasks/actions.jsx
index 00e34d8cee..6963f8e774 100644
--- a/src/web/pages/tasks/actions.jsx
+++ b/src/web/pages/tasks/actions.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/addresultstoassetsgroup.jsx b/src/web/pages/tasks/addresultstoassetsgroup.jsx
index 78b9b79444..1ec6805369 100644
--- a/src/web/pages/tasks/addresultstoassetsgroup.jsx
+++ b/src/web/pages/tasks/addresultstoassetsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/autodeletereportsgroup.jsx b/src/web/pages/tasks/autodeletereportsgroup.jsx
index d1aac10b99..1a6c6b30d7 100644
--- a/src/web/pages/tasks/autodeletereportsgroup.jsx
+++ b/src/web/pages/tasks/autodeletereportsgroup.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {AUTO_DELETE_KEEP, AUTO_DELETE_NO} from 'gmp/models/task';
diff --git a/src/web/pages/tasks/component.jsx b/src/web/pages/tasks/component.jsx
index 23125d5169..a6cfcc9bd2 100644
--- a/src/web/pages/tasks/component.jsx
+++ b/src/web/pages/tasks/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/containerdialog.jsx b/src/web/pages/tasks/containerdialog.jsx
index c5833e1dbd..3298283f6a 100644
--- a/src/web/pages/tasks/containerdialog.jsx
+++ b/src/web/pages/tasks/containerdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/tasks/dashboard/cvssdisplay.jsx b/src/web/pages/tasks/dashboard/cvssdisplay.jsx
index 4ffa12bea4..03e58640b8 100644
--- a/src/web/pages/tasks/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/dashboard/highresults.jsx b/src/web/pages/tasks/dashboard/highresults.jsx
index 625a28eb1d..34a43c8b2a 100644
--- a/src/web/pages/tasks/dashboard/highresults.jsx
+++ b/src/web/pages/tasks/dashboard/highresults.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/tasks/dashboard/index.jsx b/src/web/pages/tasks/dashboard/index.jsx
index 2b1d036aa9..d0999b88be 100644
--- a/src/web/pages/tasks/dashboard/index.jsx
+++ b/src/web/pages/tasks/dashboard/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/tasks/dashboard/loaders.jsx b/src/web/pages/tasks/dashboard/loaders.jsx
index bb078f385b..3d3dc2f3e2 100644
--- a/src/web/pages/tasks/dashboard/loaders.jsx
+++ b/src/web/pages/tasks/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/tasks/dashboard/mosthighresults.jsx b/src/web/pages/tasks/dashboard/mosthighresults.jsx
index 935f8676b3..2fbe5bf242 100644
--- a/src/web/pages/tasks/dashboard/mosthighresults.jsx
+++ b/src/web/pages/tasks/dashboard/mosthighresults.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {withRouter} from 'react-router-dom';
diff --git a/src/web/pages/tasks/dashboard/schedulesdisplay.jsx b/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
index 7dfec1c197..68219581e0 100644
--- a/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/schedulesdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {dateTimeWithTimeZone} from 'gmp/locale/date';
diff --git a/src/web/pages/tasks/dashboard/severityclassdisplay.jsx b/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
index 432a3dbd82..46eaf7085a 100644
--- a/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/dashboard/statusdisplay.jsx b/src/web/pages/tasks/dashboard/statusdisplay.jsx
index c82bacdcdf..cb8af2f76b 100644
--- a/src/web/pages/tasks/dashboard/statusdisplay.jsx
+++ b/src/web/pages/tasks/dashboard/statusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {interpolateHcl} from 'd3-interpolate';
diff --git a/src/web/pages/tasks/details.jsx b/src/web/pages/tasks/details.jsx
index a112de6c29..f3bbf8bd7e 100644
--- a/src/web/pages/tasks/details.jsx
+++ b/src/web/pages/tasks/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/detailspage.jsx b/src/web/pages/tasks/detailspage.jsx
index 9f8e1f1b9e..4cf49ebf50 100644
--- a/src/web/pages/tasks/detailspage.jsx
+++ b/src/web/pages/tasks/detailspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/dialog.jsx b/src/web/pages/tasks/dialog.jsx
index e4851a11de..f9aa843546 100644
--- a/src/web/pages/tasks/dialog.jsx
+++ b/src/web/pages/tasks/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tasks/filterdialog.jsx b/src/web/pages/tasks/filterdialog.jsx
index cec0105def..134ebd2f52 100644
--- a/src/web/pages/tasks/filterdialog.jsx
+++ b/src/web/pages/tasks/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/icons/__tests__/resumeicon.jsx b/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
index bfa8648551..ca68849f21 100644
--- a/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/__tests__/starticon.jsx b/src/web/pages/tasks/icons/__tests__/starticon.jsx
index 8d9ef08cae..8ffcd99fcf 100644
--- a/src/web/pages/tasks/icons/__tests__/starticon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/__tests__/stopicon.jsx b/src/web/pages/tasks/icons/__tests__/stopicon.jsx
index 3e9d51dce0..35922cbf5f 100644
--- a/src/web/pages/tasks/icons/__tests__/stopicon.jsx
+++ b/src/web/pages/tasks/icons/__tests__/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tasks/icons/importreporticon.jsx b/src/web/pages/tasks/icons/importreporticon.jsx
index 6489bb6e24..9c957312da 100644
--- a/src/web/pages/tasks/icons/importreporticon.jsx
+++ b/src/web/pages/tasks/icons/importreporticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/newiconmenu.jsx b/src/web/pages/tasks/icons/newiconmenu.jsx
index dd0f2d7270..fb54d4008a 100644
--- a/src/web/pages/tasks/icons/newiconmenu.jsx
+++ b/src/web/pages/tasks/icons/newiconmenu.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/resumeicon.jsx b/src/web/pages/tasks/icons/resumeicon.jsx
index c8d6418234..04cf10b43b 100644
--- a/src/web/pages/tasks/icons/resumeicon.jsx
+++ b/src/web/pages/tasks/icons/resumeicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/scheduleicon.jsx b/src/web/pages/tasks/icons/scheduleicon.jsx
index 2ad50fb66e..fd9b12fc3e 100644
--- a/src/web/pages/tasks/icons/scheduleicon.jsx
+++ b/src/web/pages/tasks/icons/scheduleicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tasks/icons/starticon.jsx b/src/web/pages/tasks/icons/starticon.jsx
index 6b1ffc2a46..41d2c00445 100644
--- a/src/web/pages/tasks/icons/starticon.jsx
+++ b/src/web/pages/tasks/icons/starticon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/icons/stopicon.jsx b/src/web/pages/tasks/icons/stopicon.jsx
index 7bd123c366..8967af8fcc 100644
--- a/src/web/pages/tasks/icons/stopicon.jsx
+++ b/src/web/pages/tasks/icons/stopicon.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/listpage.jsx b/src/web/pages/tasks/listpage.jsx
index b3123042d0..a8b2b88f39 100644
--- a/src/web/pages/tasks/listpage.jsx
+++ b/src/web/pages/tasks/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TASKS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tasks/row.jsx b/src/web/pages/tasks/row.jsx
index 842b8c7b96..bae1e56855 100644
--- a/src/web/pages/tasks/row.jsx
+++ b/src/web/pages/tasks/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tasks/status.jsx b/src/web/pages/tasks/status.jsx
index 8383f34834..03a6778574 100644
--- a/src/web/pages/tasks/status.jsx
+++ b/src/web/pages/tasks/status.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tasks/table.jsx b/src/web/pages/tasks/table.jsx
index abe385c44b..88c4d10612 100644
--- a/src/web/pages/tasks/table.jsx
+++ b/src/web/pages/tasks/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tasks/task.jsx b/src/web/pages/tasks/task.jsx
index d34239678d..8906e64d64 100644
--- a/src/web/pages/tasks/task.jsx
+++ b/src/web/pages/tasks/task.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tasks/trend.jsx b/src/web/pages/tasks/trend.jsx
index 81d1ae12cb..91c164546c 100644
--- a/src/web/pages/tasks/trend.jsx
+++ b/src/web/pages/tasks/trend.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/__tests__/createdialog.jsx b/src/web/pages/tickets/__tests__/createdialog.jsx
index 7218110376..69a7fdc4e5 100644
--- a/src/web/pages/tickets/__tests__/createdialog.jsx
+++ b/src/web/pages/tickets/__tests__/createdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import User from 'gmp/models/user';
diff --git a/src/web/pages/tickets/__tests__/editdialog.jsx b/src/web/pages/tickets/__tests__/editdialog.jsx
index 778f4148f4..68a4fa020c 100644
--- a/src/web/pages/tickets/__tests__/editdialog.jsx
+++ b/src/web/pages/tickets/__tests__/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {render, fireEvent} from 'web/utils/testing';
diff --git a/src/web/pages/tickets/component.jsx b/src/web/pages/tickets/component.jsx
index d6d3223578..f9ee109fbd 100644
--- a/src/web/pages/tickets/component.jsx
+++ b/src/web/pages/tickets/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tickets/createdialog.jsx b/src/web/pages/tickets/createdialog.jsx
index a326378c2c..0d37c7aebd 100644
--- a/src/web/pages/tickets/createdialog.jsx
+++ b/src/web/pages/tickets/createdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import SaveDialog from 'web/components/dialog/savedialog';
diff --git a/src/web/pages/tickets/dashboard/createddisplay.jsx b/src/web/pages/tickets/dashboard/createddisplay.jsx
index a53a5d68b4..c79f5266ad 100644
--- a/src/web/pages/tickets/dashboard/createddisplay.jsx
+++ b/src/web/pages/tickets/dashboard/createddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {shortDate} from 'gmp/locale/date';
diff --git a/src/web/pages/tickets/dashboard/index.jsx b/src/web/pages/tickets/dashboard/index.jsx
index ce4d715351..6123001d39 100644
--- a/src/web/pages/tickets/dashboard/index.jsx
+++ b/src/web/pages/tickets/dashboard/index.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from 'web/components/dashboard/dashboard';
diff --git a/src/web/pages/tickets/dashboard/loaders.jsx b/src/web/pages/tickets/dashboard/loaders.jsx
index 63fe0e373b..7bc6fa49b5 100644
--- a/src/web/pages/tickets/dashboard/loaders.jsx
+++ b/src/web/pages/tickets/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Filter from 'gmp/models/filter';
diff --git a/src/web/pages/tickets/dashboard/statusdisplay.jsx b/src/web/pages/tickets/dashboard/statusdisplay.jsx
index 52c0d1d99a..1f9c5597cd 100644
--- a/src/web/pages/tickets/dashboard/statusdisplay.jsx
+++ b/src/web/pages/tickets/dashboard/statusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx b/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
index 9e313ff392..0de254cb34 100644
--- a/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
+++ b/src/web/pages/tickets/dashboard/usersassigneddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleLinear} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/details.jsx b/src/web/pages/tickets/details.jsx
index d5550580d6..2c990f6979 100644
--- a/src/web/pages/tickets/details.jsx
+++ b/src/web/pages/tickets/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/detailspage.jsx b/src/web/pages/tickets/detailspage.jsx
index 81b9f7144c..9a11f190f6 100644
--- a/src/web/pages/tickets/detailspage.jsx
+++ b/src/web/pages/tickets/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/editdialog.jsx b/src/web/pages/tickets/editdialog.jsx
index 082e29e3b8..e8686c0dd3 100644
--- a/src/web/pages/tickets/editdialog.jsx
+++ b/src/web/pages/tickets/editdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {TICKET_STATUS, TICKET_STATUS_TRANSLATIONS} from 'gmp/models/ticket';
diff --git a/src/web/pages/tickets/filterdialog.jsx b/src/web/pages/tickets/filterdialog.jsx
index 1e428d2e5f..c8ba2ba18c 100644
--- a/src/web/pages/tickets/filterdialog.jsx
+++ b/src/web/pages/tickets/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/tickets/listpage.jsx b/src/web/pages/tickets/listpage.jsx
index 9d54bc721a..545a529966 100644
--- a/src/web/pages/tickets/listpage.jsx
+++ b/src/web/pages/tickets/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tickets/table.jsx b/src/web/pages/tickets/table.jsx
index 9e3dc7709a..89215410ce 100644
--- a/src/web/pages/tickets/table.jsx
+++ b/src/web/pages/tickets/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_l, _} from 'gmp/locale/lang';
diff --git a/src/web/pages/tickets/validationrules.jsx b/src/web/pages/tickets/validationrules.jsx
index 21c6729208..301237275d 100644
--- a/src/web/pages/tickets/validationrules.jsx
+++ b/src/web/pages/tickets/validationrules.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_} from 'gmp/locale/lang';
import {shouldBeNonEmpty} from 'web/components/form/useFormValidation';
diff --git a/src/web/pages/tlscertificates/__tests__/detailspage.jsx b/src/web/pages/tlscertificates/__tests__/detailspage.jsx
index a0554a3718..fb39785025 100644
--- a/src/web/pages/tlscertificates/__tests__/detailspage.jsx
+++ b/src/web/pages/tlscertificates/__tests__/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tlscertificates/__tests__/listpage.jsx b/src/web/pages/tlscertificates/__tests__/listpage.jsx
index 1467c4551d..de1b65f8de 100644
--- a/src/web/pages/tlscertificates/__tests__/listpage.jsx
+++ b/src/web/pages/tlscertificates/__tests__/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import CollectionCounts from 'gmp/collection/collectioncounts';
diff --git a/src/web/pages/tlscertificates/__tests__/row.jsx b/src/web/pages/tlscertificates/__tests__/row.jsx
index 0131875e09..3f6e354831 100644
--- a/src/web/pages/tlscertificates/__tests__/row.jsx
+++ b/src/web/pages/tlscertificates/__tests__/row.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable no-console */
import {describe, test, expect, testing} from '@gsa/testing';
diff --git a/src/web/pages/tlscertificates/__tests__/table.jsx b/src/web/pages/tlscertificates/__tests__/table.jsx
index 6c80606195..43ab01082e 100644
--- a/src/web/pages/tlscertificates/__tests__/table.jsx
+++ b/src/web/pages/tlscertificates/__tests__/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/pages/tlscertificates/component.jsx b/src/web/pages/tlscertificates/component.jsx
index 2d49176a7f..9417183e76 100644
--- a/src/web/pages/tlscertificates/component.jsx
+++ b/src/web/pages/tlscertificates/component.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tlscertificates/dashboard/index.jsx b/src/web/pages/tlscertificates/dashboard/index.jsx
index 707125692e..67626a923d 100644
--- a/src/web/pages/tlscertificates/dashboard/index.jsx
+++ b/src/web/pages/tlscertificates/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from 'web/components/dashboard/dashboard';
diff --git a/src/web/pages/tlscertificates/dashboard/loaders.jsx b/src/web/pages/tlscertificates/dashboard/loaders.jsx
index 90d1392fc5..9a03ba915c 100644
--- a/src/web/pages/tlscertificates/dashboard/loaders.jsx
+++ b/src/web/pages/tlscertificates/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx b/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
index 9640d750e7..ac11cecfa5 100644
--- a/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
+++ b/src/web/pages/tlscertificates/dashboard/modifieddisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx b/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
index 3f6dc327e9..2380469916 100644
--- a/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
+++ b/src/web/pages/tlscertificates/dashboard/timestatusdisplay.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {scaleOrdinal} from 'd3-scale';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/tlscertificates/details.jsx b/src/web/pages/tlscertificates/details.jsx
index 434b8c779a..3a9fa57fa1 100644
--- a/src/web/pages/tlscertificates/details.jsx
+++ b/src/web/pages/tlscertificates/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/tlscertificates/detailspage.jsx b/src/web/pages/tlscertificates/detailspage.jsx
index c62c44011d..cac6ab54a7 100644
--- a/src/web/pages/tlscertificates/detailspage.jsx
+++ b/src/web/pages/tlscertificates/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AGH
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/tlscertificates/filterdialog.jsx b/src/web/pages/tlscertificates/filterdialog.jsx
index f12cce66ac..f8ea18db00 100644
--- a/src/web/pages/tlscertificates/filterdialog.jsx
+++ b/src/web/pages/tlscertificates/filterdialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/tlscertificates/listpage.jsx b/src/web/pages/tlscertificates/listpage.jsx
index 093a65e17f..7c012c1fa1 100644
--- a/src/web/pages/tlscertificates/listpage.jsx
+++ b/src/web/pages/tlscertificates/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {TLS_CERTIFICATES_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/tlscertificates/row.jsx b/src/web/pages/tlscertificates/row.jsx
index 6a914a3f04..3bfd38bd83 100644
--- a/src/web/pages/tlscertificates/row.jsx
+++ b/src/web/pages/tlscertificates/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/tlscertificates/table.jsx b/src/web/pages/tlscertificates/table.jsx
index dc6eba8916..ac154406d1 100644
--- a/src/web/pages/tlscertificates/table.jsx
+++ b/src/web/pages/tlscertificates/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/pages/users/component.jsx b/src/web/pages/users/component.jsx
index 8be409a499..8ce38f8c82 100644
--- a/src/web/pages/users/component.jsx
+++ b/src/web/pages/users/component.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/confirmdeletedialog.jsx b/src/web/pages/users/confirmdeletedialog.jsx
index 8839326b4a..8941d4163a 100644
--- a/src/web/pages/users/confirmdeletedialog.jsx
+++ b/src/web/pages/users/confirmdeletedialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/users/details.jsx b/src/web/pages/users/details.jsx
index ee96c9b278..7cfc08c8d0 100644
--- a/src/web/pages/users/details.jsx
+++ b/src/web/pages/users/details.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/detailspage.jsx b/src/web/pages/users/detailspage.jsx
index 63ba884a2a..1e9519df38 100644
--- a/src/web/pages/users/detailspage.jsx
+++ b/src/web/pages/users/detailspage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/dialog.jsx b/src/web/pages/users/dialog.jsx
index cbe402c69c..3bb03723fb 100644
--- a/src/web/pages/users/dialog.jsx
+++ b/src/web/pages/users/dialog.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useState} from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/pages/users/filterdialog.jsx b/src/web/pages/users/filterdialog.jsx
index c1e7886bc6..c2f37c74bc 100644
--- a/src/web/pages/users/filterdialog.jsx
+++ b/src/web/pages/users/filterdialog.jsx
@@ -2,6 +2,7 @@
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import PropTypes from 'web/utils/proptypes';
import DefaultFilterDialog from 'web/components/powerfilter/dialog';
diff --git a/src/web/pages/users/header.jsx b/src/web/pages/users/header.jsx
index efcee2c892..4addfb24fd 100644
--- a/src/web/pages/users/header.jsx
+++ b/src/web/pages/users/header.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/listpage.jsx b/src/web/pages/users/listpage.jsx
index 53209566bc..0231034f51 100644
--- a/src/web/pages/users/listpage.jsx
+++ b/src/web/pages/users/listpage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/users/row.jsx b/src/web/pages/users/row.jsx
index 81e1ee62f7..d501f0d8a0 100644
--- a/src/web/pages/users/row.jsx
+++ b/src/web/pages/users/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/users/table.jsx b/src/web/pages/users/table.jsx
index 3f923587f9..6ecc5c1201 100644
--- a/src/web/pages/users/table.jsx
+++ b/src/web/pages/users/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {createEntitiesFooter} from 'web/entities/footer';
diff --git a/src/web/pages/usersettings/defaultspart.jsx b/src/web/pages/usersettings/defaultspart.jsx
index 2233225b0d..aaed7a73ce 100644
--- a/src/web/pages/usersettings/defaultspart.jsx
+++ b/src/web/pages/usersettings/defaultspart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import FormGroup from 'web/components/form/formgroup';
diff --git a/src/web/pages/usersettings/dialog.jsx b/src/web/pages/usersettings/dialog.jsx
index 6a5f6c236a..ed730b3345 100644
--- a/src/web/pages/usersettings/dialog.jsx
+++ b/src/web/pages/usersettings/dialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React, {useCallback, useState} from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/usersettings/filterpart.jsx b/src/web/pages/usersettings/filterpart.jsx
index 13c98f66aa..c2712c52b5 100644
--- a/src/web/pages/usersettings/filterpart.jsx
+++ b/src/web/pages/usersettings/filterpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import FormGroup from 'web/components/form/formgroup';
diff --git a/src/web/pages/usersettings/generalpart.jsx b/src/web/pages/usersettings/generalpart.jsx
index 2dc9dcc40b..c8470ae5af 100644
--- a/src/web/pages/usersettings/generalpart.jsx
+++ b/src/web/pages/usersettings/generalpart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';
diff --git a/src/web/pages/usersettings/severitypart.jsx b/src/web/pages/usersettings/severitypart.jsx
index f16e03c151..bf5fbd718a 100644
--- a/src/web/pages/usersettings/severitypart.jsx
+++ b/src/web/pages/usersettings/severitypart.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {YES_VALUE, NO_VALUE} from 'gmp/parser';
diff --git a/src/web/pages/usersettings/usersettingspage.jsx b/src/web/pages/usersettings/usersettingspage.jsx
index 96df1e00b8..4cd197574c 100644
--- a/src/web/pages/usersettings/usersettingspage.jsx
+++ b/src/web/pages/usersettings/usersettingspage.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
diff --git a/src/web/pages/usersettings/validationrules.jsx b/src/web/pages/usersettings/validationrules.jsx
index 91d029d2ec..cc3414561f 100644
--- a/src/web/pages/usersettings/validationrules.jsx
+++ b/src/web/pages/usersettings/validationrules.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
const VALID_ROWSPERPAGE_ERROR_MESSAGE = _l(
diff --git a/src/web/pages/vulns/dashboard/cvssdisplay.jsx b/src/web/pages/vulns/dashboard/cvssdisplay.jsx
index 965f61a9f5..5cf55bd7a0 100644
--- a/src/web/pages/vulns/dashboard/cvssdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/cvssdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import {VULNS_FILTER_FILTER} from 'gmp/models/filter';
diff --git a/src/web/pages/vulns/dashboard/hostsdisplay.jsx b/src/web/pages/vulns/dashboard/hostsdisplay.jsx
index 7289c2a973..0482b8c5f0 100644
--- a/src/web/pages/vulns/dashboard/hostsdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/hostsdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {format as d3format} from 'd3-format';
diff --git a/src/web/pages/vulns/dashboard/index.jsx b/src/web/pages/vulns/dashboard/index.jsx
index 0957f9c6d1..be97d6a522 100644
--- a/src/web/pages/vulns/dashboard/index.jsx
+++ b/src/web/pages/vulns/dashboard/index.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Dashboard from '../../../components/dashboard/dashboard';
diff --git a/src/web/pages/vulns/dashboard/loaders.jsx b/src/web/pages/vulns/dashboard/loaders.jsx
index 29de79304c..50f5994ea0 100644
--- a/src/web/pages/vulns/dashboard/loaders.jsx
+++ b/src/web/pages/vulns/dashboard/loaders.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import Loader, {
diff --git a/src/web/pages/vulns/dashboard/severityclassdisplay.jsx b/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
index 493bfeff8f..ac8d7d7d25 100644
--- a/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
+++ b/src/web/pages/vulns/dashboard/severityclassdisplay.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_, _l} from 'gmp/locale/lang';
import SeverityClassDisplay from 'web/components/dashboard/display/severity/severityclassdisplay'; // eslint-disable-line max-len
diff --git a/src/web/pages/vulns/filterdialog.jsx b/src/web/pages/vulns/filterdialog.jsx
index c6da4ad19c..63542d241b 100644
--- a/src/web/pages/vulns/filterdialog.jsx
+++ b/src/web/pages/vulns/filterdialog.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from 'web/utils/proptypes';
diff --git a/src/web/pages/vulns/listpage.jsx b/src/web/pages/vulns/listpage.jsx
index 93dbb368ef..f9beff1ea9 100644
--- a/src/web/pages/vulns/listpage.jsx
+++ b/src/web/pages/vulns/listpage.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import _ from 'gmp/locale';
diff --git a/src/web/pages/vulns/row.jsx b/src/web/pages/vulns/row.jsx
index f3e8587b64..8fc4154270 100644
--- a/src/web/pages/vulns/row.jsx
+++ b/src/web/pages/vulns/row.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import DateTime from 'web/components/date/datetime';
diff --git a/src/web/pages/vulns/table.jsx b/src/web/pages/vulns/table.jsx
index 4029ba5361..33b75e86a2 100644
--- a/src/web/pages/vulns/table.jsx
+++ b/src/web/pages/vulns/table.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {_, _l} from 'gmp/locale/lang';
diff --git a/src/web/routes.jsx b/src/web/routes.jsx
index 75b4c745f3..63d0825356 100644
--- a/src/web/routes.jsx
+++ b/src/web/routes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {Router, Route, Switch} from 'react-router-dom';
diff --git a/src/web/setupTests.js b/src/web/setupTests.js
index 2097175f86..79e01e2265 100644
--- a/src/web/setupTests.js
+++ b/src/web/setupTests.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {testing, beforeEach, expect} from '@gsa/testing';
diff --git a/src/web/store/__tests__/utils.js b/src/web/store/__tests__/utils.js
index b3cd8cdc2d..ebe0a7e10d 100644
--- a/src/web/store/__tests__/utils.js
+++ b/src/web/store/__tests__/utils.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/actions.js b/src/web/store/actions.js
index 8c5f15f47d..162b726016 100644
--- a/src/web/store/actions.js
+++ b/src/web/store/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const CLEAR_STORE = 'CLEAR_STORE';
const clearStoreAction = {
diff --git a/src/web/store/dashboard/data/__tests__/actions.js b/src/web/store/dashboard/data/__tests__/actions.js
index 8cbf15a083..691f80151c 100644
--- a/src/web/store/dashboard/data/__tests__/actions.js
+++ b/src/web/store/dashboard/data/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/loader.js b/src/web/store/dashboard/data/__tests__/loader.js
index e40317ea00..56a34f5a06 100644
--- a/src/web/store/dashboard/data/__tests__/loader.js
+++ b/src/web/store/dashboard/data/__tests__/loader.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/reducers.js b/src/web/store/dashboard/data/__tests__/reducers.js
index adc483889b..6343c91829 100644
--- a/src/web/store/dashboard/data/__tests__/reducers.js
+++ b/src/web/store/dashboard/data/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/__tests__/selectors.js b/src/web/store/dashboard/data/__tests__/selectors.js
index f63c24c286..6a8b036070 100644
--- a/src/web/store/dashboard/data/__tests__/selectors.js
+++ b/src/web/store/dashboard/data/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/dashboard/data/actions.js b/src/web/store/dashboard/data/actions.js
index 2fa462ff3f..45b402992b 100644
--- a/src/web/store/dashboard/data/actions.js
+++ b/src/web/store/dashboard/data/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const DASHBOARD_DATA_LOADING_SUCCESS = 'DASHBOARD_DATA_LOADING_SUCCESS';
export const DASHBOARD_DATA_LOADING_REQUEST = 'DASHBOARD_DATA_LOADING_REQUEST';
export const DASHBOARD_DATA_LOADING_ERROR = 'DASHBOARD_DATA_LOADING_ERROR';
diff --git a/src/web/store/dashboard/data/loader.js b/src/web/store/dashboard/data/loader.js
index 421fa06867..6cfa8e27a8 100644
--- a/src/web/store/dashboard/data/loader.js
+++ b/src/web/store/dashboard/data/loader.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {connect} from 'react-redux';
@@ -39,28 +27,28 @@ export const loaderPropTypes = {
filter: PropTypes.filter,
};
-export const loadFunc = (func, id) => ({dataId = id, ...props}) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = getDashboardData(rootState);
+export const loadFunc =
+ (func, id) =>
+ ({dataId = id, ...props}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = getDashboardData(rootState);
- const {filter} = props;
+ const {filter} = props;
- if (state.getIsLoading(dataId, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.getIsLoading(dataId, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(requestDashboardData(dataId, filter));
+ dispatch(requestDashboardData(dataId, filter));
- const promise = func(props);
- return promise.then(
- data => dispatch(receivedDashboardData(dataId, data, filter)),
- error => dispatch(receivedDashboardError(dataId, error, filter)),
- );
-};
+ const promise = func(props);
+ return promise.then(
+ data => dispatch(receivedDashboardData(dataId, data, filter)),
+ error => dispatch(receivedDashboardError(dataId, error, filter)),
+ );
+ };
class Loader extends React.Component {
constructor(...args) {
@@ -157,10 +145,7 @@ const mapDispatchToProps = (dispatch, {load, ...props}) => ({
export default compose(
withGmp,
withSubscription,
- connect(
- mapStateToProps,
- mapDispatchToProps,
- ),
+ connect(mapStateToProps, mapDispatchToProps),
)(Loader);
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/dashboard/data/reducers.js b/src/web/store/dashboard/data/reducers.js
index cb7704d019..f6decffa23 100644
--- a/src/web/store/dashboard/data/reducers.js
+++ b/src/web/store/dashboard/data/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {filterIdentifier} from 'web/store/utils';
diff --git a/src/web/store/dashboard/data/selectors.js b/src/web/store/dashboard/data/selectors.js
index 69bfc30c54..d88257d754 100644
--- a/src/web/store/dashboard/data/selectors.js
+++ b/src/web/store/dashboard/data/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {filterIdentifier} from 'web/store/utils';
diff --git a/src/web/store/dashboard/settings/__tests__/actions.js b/src/web/store/dashboard/settings/__tests__/actions.js
index 7d396dd0fb..2b8d60c9ef 100644
--- a/src/web/store/dashboard/settings/__tests__/actions.js
+++ b/src/web/store/dashboard/settings/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/dashboard/settings/__tests__/reducers.js b/src/web/store/dashboard/settings/__tests__/reducers.js
index 5f15797572..4116a08077 100644
--- a/src/web/store/dashboard/settings/__tests__/reducers.js
+++ b/src/web/store/dashboard/settings/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import dashboardSettings from '../reducers';
diff --git a/src/web/store/dashboard/settings/__tests__/selectors.js b/src/web/store/dashboard/settings/__tests__/selectors.js
index bf3933a043..85db8925b2 100644
--- a/src/web/store/dashboard/settings/__tests__/selectors.js
+++ b/src/web/store/dashboard/settings/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import getDashboardSettings from '../selectors';
diff --git a/src/web/store/dashboard/settings/actions.js b/src/web/store/dashboard/settings/actions.js
index ad4598d7f9..8641bbd096 100644
--- a/src/web/store/dashboard/settings/actions.js
+++ b/src/web/store/dashboard/settings/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import getDashboardSettings from './selectors';
export const DASHBOARD_SETTINGS_LOADING_SUCCESS =
@@ -123,23 +111,19 @@ export const loadSettings = gmp => (id, defaults) => (dispatch, getState) => {
dispatch(loadDashboardSettingsRequest(id));
- return gmp.dashboard
- .getSetting(id)
- .then(
- ({data}) => dispatch(loadDashboardSettingsSuccess(id, data, defaults)),
- error => dispatch(loadDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.getSetting(id).then(
+ ({data}) => dispatch(loadDashboardSettingsSuccess(id, data, defaults)),
+ error => dispatch(loadDashboardSettingsError(id, error)),
+ );
};
export const saveSettings = gmp => (id, settings) => dispatch => {
dispatch(saveDashboardSettingsRequest(id, settings));
- return gmp.dashboard
- .saveSetting(id, settings)
- .then(
- () => dispatch(saveDashboardSettingsSuccess(id)),
- error => dispatch(saveDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.saveSetting(id, settings).then(
+ () => dispatch(saveDashboardSettingsSuccess(id)),
+ error => dispatch(saveDashboardSettingsError(id, error)),
+ );
};
export const resetSettings = gmp => id => (dispatch, getState) => {
@@ -149,12 +133,10 @@ export const resetSettings = gmp => id => (dispatch, getState) => {
dispatch(resetDashboardSettingsRequest(id, defaults));
- return gmp.dashboard
- .saveSetting(id, defaults)
- .then(
- () => dispatch(resetDashboardSettingsSuccess(id)),
- error => dispatch(resetDashboardSettingsError(id, error)),
- );
+ return gmp.dashboard.saveSetting(id, defaults).then(
+ () => dispatch(resetDashboardSettingsSuccess(id)),
+ error => dispatch(resetDashboardSettingsError(id, error)),
+ );
};
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/dashboard/settings/reducers.js b/src/web/store/dashboard/settings/reducers.js
index 436b797b58..a72d9dfcd2 100644
--- a/src/web/store/dashboard/settings/reducers.js
+++ b/src/web/store/dashboard/settings/reducers.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/web/store/dashboard/settings/selectors.js b/src/web/store/dashboard/settings/selectors.js
index 85e2a3f8af..4df2db64a8 100644
--- a/src/web/store/dashboard/settings/selectors.js
+++ b/src/web/store/dashboard/settings/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export class DashboardSetting {
diff --git a/src/web/store/entities/__tests__/alerts.js b/src/web/store/entities/__tests__/alerts.js
index 70e89793fb..1322030b3d 100644
--- a/src/web/store/entities/__tests__/alerts.js
+++ b/src/web/store/entities/__tests__/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as alert from '../alerts';
diff --git a/src/web/store/entities/__tests__/audits.js b/src/web/store/entities/__tests__/audits.js
index f733ca73eb..db9653a3c6 100644
--- a/src/web/store/entities/__tests__/audits.js
+++ b/src/web/store/entities/__tests__/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as audits from '../audits';
diff --git a/src/web/store/entities/__tests__/certbund.js b/src/web/store/entities/__tests__/certbund.js
index 1d269a8a96..664660cdf7 100644
--- a/src/web/store/entities/__tests__/certbund.js
+++ b/src/web/store/entities/__tests__/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as certbund from '../certbund';
diff --git a/src/web/store/entities/__tests__/cpes.js b/src/web/store/entities/__tests__/cpes.js
index d0e7b6f4fd..c95ed86bf9 100644
--- a/src/web/store/entities/__tests__/cpes.js
+++ b/src/web/store/entities/__tests__/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as cpe from '../cpes';
diff --git a/src/web/store/entities/__tests__/credentials.js b/src/web/store/entities/__tests__/credentials.js
index c8ed634607..7e1cba8d55 100644
--- a/src/web/store/entities/__tests__/credentials.js
+++ b/src/web/store/entities/__tests__/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as credential from '../credentials';
diff --git a/src/web/store/entities/__tests__/cves.js b/src/web/store/entities/__tests__/cves.js
index dcdcc7cda5..762b8b02ee 100644
--- a/src/web/store/entities/__tests__/cves.js
+++ b/src/web/store/entities/__tests__/cves.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as cve from '../cves';
diff --git a/src/web/store/entities/__tests__/dfncerts.js b/src/web/store/entities/__tests__/dfncerts.js
index 11dfab3acc..850e5a8013 100644
--- a/src/web/store/entities/__tests__/dfncerts.js
+++ b/src/web/store/entities/__tests__/dfncerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as dfncert from '../dfncerts';
diff --git a/src/web/store/entities/__tests__/filters.js b/src/web/store/entities/__tests__/filters.js
index c5e50c283f..2a82612310 100644
--- a/src/web/store/entities/__tests__/filters.js
+++ b/src/web/store/entities/__tests__/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as filter from '../filters';
diff --git a/src/web/store/entities/__tests__/groups.js b/src/web/store/entities/__tests__/groups.js
index bc27bc427e..f0fc9ed876 100644
--- a/src/web/store/entities/__tests__/groups.js
+++ b/src/web/store/entities/__tests__/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as group from '../groups';
diff --git a/src/web/store/entities/__tests__/hosts.js b/src/web/store/entities/__tests__/hosts.js
index 6b780d5341..cf2c7fad95 100644
--- a/src/web/store/entities/__tests__/hosts.js
+++ b/src/web/store/entities/__tests__/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as host from '../hosts';
diff --git a/src/web/store/entities/__tests__/notes.js b/src/web/store/entities/__tests__/notes.js
index 8e8a7f5400..994d1e9174 100644
--- a/src/web/store/entities/__tests__/notes.js
+++ b/src/web/store/entities/__tests__/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as note from '../notes';
diff --git a/src/web/store/entities/__tests__/nvts.js b/src/web/store/entities/__tests__/nvts.js
index 663c1c2dea..a27ad2bf30 100644
--- a/src/web/store/entities/__tests__/nvts.js
+++ b/src/web/store/entities/__tests__/nvts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as nvts from '../nvts';
diff --git a/src/web/store/entities/__tests__/operatingsystems.js b/src/web/store/entities/__tests__/operatingsystems.js
index 0aeeb342d6..a5421b4e37 100644
--- a/src/web/store/entities/__tests__/operatingsystems.js
+++ b/src/web/store/entities/__tests__/operatingsystems.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../operatingsystems';
diff --git a/src/web/store/entities/__tests__/overrides.js b/src/web/store/entities/__tests__/overrides.js
index 0a396841ab..c144cf9522 100644
--- a/src/web/store/entities/__tests__/overrides.js
+++ b/src/web/store/entities/__tests__/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../overrides';
diff --git a/src/web/store/entities/__tests__/permissions.js b/src/web/store/entities/__tests__/permissions.js
index d5f423100a..46d90a3730 100644
--- a/src/web/store/entities/__tests__/permissions.js
+++ b/src/web/store/entities/__tests__/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../permissions';
diff --git a/src/web/store/entities/__tests__/policies.js b/src/web/store/entities/__tests__/policies.js
index 06f2372539..d313878556 100644
--- a/src/web/store/entities/__tests__/policies.js
+++ b/src/web/store/entities/__tests__/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as policy from '../policies';
diff --git a/src/web/store/entities/__tests__/portlists.js b/src/web/store/entities/__tests__/portlists.js
index 6b06bdfed6..fe412542e1 100644
--- a/src/web/store/entities/__tests__/portlists.js
+++ b/src/web/store/entities/__tests__/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as portlist from '../portlists';
diff --git a/src/web/store/entities/__tests__/reducers.js b/src/web/store/entities/__tests__/reducers.js
index 6026b5a65e..71e7a11e04 100644
--- a/src/web/store/entities/__tests__/reducers.js
+++ b/src/web/store/entities/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/__tests__/reportformats.js b/src/web/store/entities/__tests__/reportformats.js
index e122eda42c..f30fe5a2f6 100644
--- a/src/web/store/entities/__tests__/reportformats.js
+++ b/src/web/store/entities/__tests__/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as reportformat from '../reportformats';
diff --git a/src/web/store/entities/__tests__/reports.js b/src/web/store/entities/__tests__/reports.js
index b3a185a45c..4951fec83a 100644
--- a/src/web/store/entities/__tests__/reports.js
+++ b/src/web/store/entities/__tests__/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
testEntitiesActions,
testLoadEntities,
diff --git a/src/web/store/entities/__tests__/results.js b/src/web/store/entities/__tests__/results.js
index 18607047bc..7e0319baa6 100644
--- a/src/web/store/entities/__tests__/results.js
+++ b/src/web/store/entities/__tests__/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../results';
diff --git a/src/web/store/entities/__tests__/roles.js b/src/web/store/entities/__tests__/roles.js
index 6f7a4c855e..1cbe4915a4 100644
--- a/src/web/store/entities/__tests__/roles.js
+++ b/src/web/store/entities/__tests__/roles.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../roles';
diff --git a/src/web/store/entities/__tests__/scanconfigs.js b/src/web/store/entities/__tests__/scanconfigs.js
index 51511c3acd..4171069427 100644
--- a/src/web/store/entities/__tests__/scanconfigs.js
+++ b/src/web/store/entities/__tests__/scanconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as scanconfig from '../scanconfigs';
diff --git a/src/web/store/entities/__tests__/scanners.js b/src/web/store/entities/__tests__/scanners.js
index 32f27d6cfc..d9e2689c6e 100644
--- a/src/web/store/entities/__tests__/scanners.js
+++ b/src/web/store/entities/__tests__/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as scanner from '../scanners';
diff --git a/src/web/store/entities/__tests__/schedules.js b/src/web/store/entities/__tests__/schedules.js
index 30ef6cb3bd..f8dbba2c5c 100644
--- a/src/web/store/entities/__tests__/schedules.js
+++ b/src/web/store/entities/__tests__/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as schedule from '../schedules';
diff --git a/src/web/store/entities/__tests__/tags.js b/src/web/store/entities/__tests__/tags.js
index bd40643c51..a985962dec 100644
--- a/src/web/store/entities/__tests__/tags.js
+++ b/src/web/store/entities/__tests__/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../tags';
diff --git a/src/web/store/entities/__tests__/targets.js b/src/web/store/entities/__tests__/targets.js
index 7eef074f2e..d25afa5b82 100644
--- a/src/web/store/entities/__tests__/targets.js
+++ b/src/web/store/entities/__tests__/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as targets from '../targets';
diff --git a/src/web/store/entities/__tests__/tasks.js b/src/web/store/entities/__tests__/tasks.js
index 759c30abb9..b45e0d2fd1 100644
--- a/src/web/store/entities/__tests__/tasks.js
+++ b/src/web/store/entities/__tests__/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as tasks from '../tasks';
diff --git a/src/web/store/entities/__tests__/tickets.js b/src/web/store/entities/__tests__/tickets.js
index df649b68fa..f3144de39c 100644
--- a/src/web/store/entities/__tests__/tickets.js
+++ b/src/web/store/entities/__tests__/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as tickets from '../tickets';
diff --git a/src/web/store/entities/__tests__/users.js b/src/web/store/entities/__tests__/users.js
index 5b1f3a263b..66cf238392 100644
--- a/src/web/store/entities/__tests__/users.js
+++ b/src/web/store/entities/__tests__/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../users';
diff --git a/src/web/store/entities/__tests__/vulns.js b/src/web/store/entities/__tests__/vulns.js
index e564dbd68b..18a7c2ab4e 100644
--- a/src/web/store/entities/__tests__/vulns.js
+++ b/src/web/store/entities/__tests__/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {testAll} from '../utils/testing';
import * as funcs from '../vulns';
diff --git a/src/web/store/entities/alerts.js b/src/web/store/entities/alerts.js
index d537996e6d..fc76b1da42 100644
--- a/src/web/store/entities/alerts.js
+++ b/src/web/store/entities/alerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/audits.js b/src/web/store/entities/audits.js
index 7c244fd41f..19e861e7b5 100644
--- a/src/web/store/entities/audits.js
+++ b/src/web/store/entities/audits.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/certbund.js b/src/web/store/entities/certbund.js
index 0f955ea66f..0a44d5d130 100644
--- a/src/web/store/entities/certbund.js
+++ b/src/web/store/entities/certbund.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/cpes.js b/src/web/store/entities/cpes.js
index 2a2c2586d3..ea59c7bc06 100644
--- a/src/web/store/entities/cpes.js
+++ b/src/web/store/entities/cpes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/credentials.js b/src/web/store/entities/credentials.js
index 965a2ce352..00f45da88c 100644
--- a/src/web/store/entities/credentials.js
+++ b/src/web/store/entities/credentials.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/cves.js b/src/web/store/entities/cves.js
index 1a9568e33f..953d3af2e2 100644
--- a/src/web/store/entities/cves.js
+++ b/src/web/store/entities/cves.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/dfncerts.js b/src/web/store/entities/dfncerts.js
index 58caef9f50..4d1d4f6642 100644
--- a/src/web/store/entities/dfncerts.js
+++ b/src/web/store/entities/dfncerts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/filters.js b/src/web/store/entities/filters.js
index 14ce25c2ca..b61f76bde5 100644
--- a/src/web/store/entities/filters.js
+++ b/src/web/store/entities/filters.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/groups.js b/src/web/store/entities/groups.js
index d4eb960562..0769103f20 100644
--- a/src/web/store/entities/groups.js
+++ b/src/web/store/entities/groups.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/hosts.js b/src/web/store/entities/hosts.js
index 812ab798f6..a5c126d970 100644
--- a/src/web/store/entities/hosts.js
+++ b/src/web/store/entities/hosts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/notes.js b/src/web/store/entities/notes.js
index 413a438aeb..ce58c6b551 100644
--- a/src/web/store/entities/notes.js
+++ b/src/web/store/entities/notes.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/nvts.js b/src/web/store/entities/nvts.js
index 8b5d28b4b0..8bdd610136 100644
--- a/src/web/store/entities/nvts.js
+++ b/src/web/store/entities/nvts.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/operatingsystems.js b/src/web/store/entities/operatingsystems.js
index 2e7563d3b5..63d89f7354 100644
--- a/src/web/store/entities/operatingsystems.js
+++ b/src/web/store/entities/operatingsystems.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/overrides.js b/src/web/store/entities/overrides.js
index 3380157e6f..c07f40e431 100644
--- a/src/web/store/entities/overrides.js
+++ b/src/web/store/entities/overrides.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/permissions.js b/src/web/store/entities/permissions.js
index aea499149b..b44bb61482 100644
--- a/src/web/store/entities/permissions.js
+++ b/src/web/store/entities/permissions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/policies.js b/src/web/store/entities/policies.js
index 7e0bb90b61..775abd47b3 100644
--- a/src/web/store/entities/policies.js
+++ b/src/web/store/entities/policies.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/portlists.js b/src/web/store/entities/portlists.js
index 3853629a2d..d9100c4a75 100644
--- a/src/web/store/entities/portlists.js
+++ b/src/web/store/entities/portlists.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reducers.js b/src/web/store/entities/reducers.js
index c89056ae37..d12f11332f 100644
--- a/src/web/store/entities/reducers.js
+++ b/src/web/store/entities/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'redux';
import {reducer as alert} from './alerts';
diff --git a/src/web/store/entities/report/__tests__/actions.js b/src/web/store/entities/report/__tests__/actions.js
index 0ab3f50971..5712358259 100644
--- a/src/web/store/entities/report/__tests__/actions.js
+++ b/src/web/store/entities/report/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/__tests__/reducers.js b/src/web/store/entities/report/__tests__/reducers.js
index 93b2c5ecde..90dd59a7c2 100644
--- a/src/web/store/entities/report/__tests__/reducers.js
+++ b/src/web/store/entities/report/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/__tests__/selectors.js b/src/web/store/entities/report/__tests__/selectors.js
index e836b84849..327c66f665 100644
--- a/src/web/store/entities/report/__tests__/selectors.js
+++ b/src/web/store/entities/report/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/report/actions.js b/src/web/store/entities/report/actions.js
index 096ecc5fa1..50bf796acf 100644
--- a/src/web/store/entities/report/actions.js
+++ b/src/web/store/entities/report/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {
@@ -53,116 +41,112 @@ export const reportActions = {
}),
};
-export const loadReport = gmp => (
- id,
- {filter, details = true, force = false} = {},
-) => (dispatch, getState) => {
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (!force && state.isLoadingEntity(id, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(reportActions.request(id, filter));
-
- return gmp.report
- .get({id}, {filter, details})
- .then(
- response => response.data,
- error => {
- dispatch(reportActions.error(id, error, filter));
- return Promise.reject(error);
- },
- )
- .then(data => {
- dispatch(reportActions.success(id, data, filter));
- return data;
- });
-};
-
-export const loadReportWithThreshold = gmp => (id, {filter} = {}) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (state.isLoadingEntity(id, filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(reportActions.request(id, filter));
-
- const {reportResultsThreshold: threshold} = gmp.settings;
- return gmp.report
- .get({id}, {filter, details: false})
- .then(
- response => response.data,
- error => {
- dispatch(reportActions.error(id, error, filter));
- return Promise.reject(error);
- },
- )
- .then(report => {
- const fullReport =
- isDefined(report) &&
- isDefined(report.report) &&
- isDefined(report.report.results) &&
- report.report.results.counts.filtered < threshold;
-
- dispatch(reportActions.success(id, report, filter));
-
- if (fullReport) {
- return loadReport(gmp)(id, {filter, details: true, force: true})(
- dispatch,
- getState,
- );
- }
- });
-};
-
-export const loadReportIfNeeded = gmp => (
- id,
- {filter, details = false} = {},
-) => (dispatch, getState) => {
- // loads the small report (without details) if these information are not
- // yet in the store. resolve() otherwise
- const rootState = getState();
- const state = reportSelector(rootState);
-
- if (isDefined(state.getEntity(id, filter))) {
- // we are already loading data or have it in the store
- return Promise.resolve();
- }
- return loadReport(gmp)(id, {filter, details})(dispatch, getState);
-};
+export const loadReport =
+ gmp =>
+ (id, {filter, details = true, force = false} = {}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (!force && state.isLoadingEntity(id, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(reportActions.request(id, filter));
+
+ return gmp.report
+ .get({id}, {filter, details})
+ .then(
+ response => response.data,
+ error => {
+ dispatch(reportActions.error(id, error, filter));
+ return Promise.reject(error);
+ },
+ )
+ .then(data => {
+ dispatch(reportActions.success(id, data, filter));
+ return data;
+ });
+ };
+
+export const loadReportWithThreshold =
+ gmp =>
+ (id, {filter} = {}) =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (state.isLoadingEntity(id, filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(reportActions.request(id, filter));
+
+ const {reportResultsThreshold: threshold} = gmp.settings;
+ return gmp.report
+ .get({id}, {filter, details: false})
+ .then(
+ response => response.data,
+ error => {
+ dispatch(reportActions.error(id, error, filter));
+ return Promise.reject(error);
+ },
+ )
+ .then(report => {
+ const fullReport =
+ isDefined(report) &&
+ isDefined(report.report) &&
+ isDefined(report.report.results) &&
+ report.report.results.counts.filtered < threshold;
+
+ dispatch(reportActions.success(id, report, filter));
+
+ if (fullReport) {
+ return loadReport(gmp)(id, {filter, details: true, force: true})(
+ dispatch,
+ getState,
+ );
+ }
+ });
+ };
+
+export const loadReportIfNeeded =
+ gmp =>
+ (id, {filter, details = false} = {}) =>
+ (dispatch, getState) => {
+ // loads the small report (without details) if these information are not
+ // yet in the store. resolve() otherwise
+ const rootState = getState();
+ const state = reportSelector(rootState);
+
+ if (isDefined(state.getEntity(id, filter))) {
+ // we are already loading data or have it in the store
+ return Promise.resolve();
+ }
+ return loadReport(gmp)(id, {filter, details})(dispatch, getState);
+ };
export const deltaReportActions = createEntityLoadingActions('deltaReport');
-export const loadDeltaReport = gmp => (id, deltaId, filter) => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const state = deltaReportSelector(rootState);
+export const loadDeltaReport =
+ gmp => (id, deltaId, filter) => (dispatch, getState) => {
+ const rootState = getState();
+ const state = deltaReportSelector(rootState);
- if (state.isLoading(id, deltaId)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.isLoading(id, deltaId)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- const identifier = deltaReportIdentifier(id, deltaId);
+ const identifier = deltaReportIdentifier(id, deltaId);
- dispatch(deltaReportActions.request(identifier));
+ dispatch(deltaReportActions.request(identifier));
- return gmp.report
- .getDelta({id}, {id: deltaId}, {filter})
- .then(
+ return gmp.report.getDelta({id}, {id: deltaId}, {filter}).then(
response =>
dispatch(deltaReportActions.success(identifier, response.data)),
error => dispatch(deltaReportActions.error(identifier, error)),
);
-};
+ };
diff --git a/src/web/store/entities/report/reducers.js b/src/web/store/entities/report/reducers.js
index 452e7547f3..0166bac722 100644
--- a/src/web/store/entities/report/reducers.js
+++ b/src/web/store/entities/report/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {types} from 'web/store/entities/utils/actions';
import {isError} from 'web/store/entities/utils/reducers';
diff --git a/src/web/store/entities/report/selectors.js b/src/web/store/entities/report/selectors.js
index d422f43386..228b0d241a 100644
--- a/src/web/store/entities/report/selectors.js
+++ b/src/web/store/entities/report/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
export const simplifiedReportIdentifier = (reportId, filter) => {
diff --git a/src/web/store/entities/reportconfigs.js b/src/web/store/entities/reportconfigs.js
index 1f2161b03d..99eac55f62 100644
--- a/src/web/store/entities/reportconfigs.js
+++ b/src/web/store/entities/reportconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2024 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reportformats.js b/src/web/store/entities/reportformats.js
index fc15dec730..57e0267e72 100644
--- a/src/web/store/entities/reportformats.js
+++ b/src/web/store/entities/reportformats.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/reports.js b/src/web/store/entities/reports.js
index 39a063f496..03af38c0a5 100644
--- a/src/web/store/entities/reports.js
+++ b/src/web/store/entities/reports.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
createEntitiesLoadingActions,
createLoadAllEntities,
diff --git a/src/web/store/entities/reports/__tests__/reducers.js b/src/web/store/entities/reports/__tests__/reducers.js
index b735007b22..7c05c0ef78 100644
--- a/src/web/store/entities/reports/__tests__/reducers.js
+++ b/src/web/store/entities/reports/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/reports/reducers.js b/src/web/store/entities/reports/reducers.js
index 5e5ea2b697..cd66b54b5f 100644
--- a/src/web/store/entities/reports/reducers.js
+++ b/src/web/store/entities/reports/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {types} from 'web/store/entities/utils/actions';
import {isError} from 'web/store/entities/utils/reducers';
diff --git a/src/web/store/entities/results.js b/src/web/store/entities/results.js
index 8ed5910524..6476fcc94d 100644
--- a/src/web/store/entities/results.js
+++ b/src/web/store/entities/results.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/roles.js b/src/web/store/entities/roles.js
index e2eb257ca5..0aa9c4a3c5 100644
--- a/src/web/store/entities/roles.js
+++ b/src/web/store/entities/roles.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/scanconfigs.js b/src/web/store/entities/scanconfigs.js
index 89b13fd37f..77ae3d3c3a 100644
--- a/src/web/store/entities/scanconfigs.js
+++ b/src/web/store/entities/scanconfigs.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/scanners.js b/src/web/store/entities/scanners.js
index 6d90206381..fd162ccfe6 100644
--- a/src/web/store/entities/scanners.js
+++ b/src/web/store/entities/scanners.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/schedules.js b/src/web/store/entities/schedules.js
index 2981ebaeec..0fd60243a2 100644
--- a/src/web/store/entities/schedules.js
+++ b/src/web/store/entities/schedules.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tags.js b/src/web/store/entities/tags.js
index 4a0f34ceb3..9ef1215a22 100644
--- a/src/web/store/entities/tags.js
+++ b/src/web/store/entities/tags.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/targets.js b/src/web/store/entities/targets.js
index 40166809c2..dd20805179 100644
--- a/src/web/store/entities/targets.js
+++ b/src/web/store/entities/targets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tasks.js b/src/web/store/entities/tasks.js
index 2dc3816c75..1c597526d6 100644
--- a/src/web/store/entities/tasks.js
+++ b/src/web/store/entities/tasks.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tickets.js b/src/web/store/entities/tickets.js
index 7b238f5619..83498b5d41 100644
--- a/src/web/store/entities/tickets.js
+++ b/src/web/store/entities/tickets.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/tlscertificates.js b/src/web/store/entities/tlscertificates.js
index e0468d85ce..c79c23fbb4 100644
--- a/src/web/store/entities/tlscertificates.js
+++ b/src/web/store/entities/tlscertificates.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/users.js b/src/web/store/entities/users.js
index be0de8c33f..ee4bbbc849 100644
--- a/src/web/store/entities/users.js
+++ b/src/web/store/entities/users.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/entities/utils/__tests__/actions.js b/src/web/store/entities/utils/__tests__/actions.js
index 9f4a2a190a..d33776ac56 100644
--- a/src/web/store/entities/utils/__tests__/actions.js
+++ b/src/web/store/entities/utils/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/main.js b/src/web/store/entities/utils/__tests__/main.js
index 661160e5b6..ba1cf370b6 100644
--- a/src/web/store/entities/utils/__tests__/main.js
+++ b/src/web/store/entities/utils/__tests__/main.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/reducers.js b/src/web/store/entities/utils/__tests__/reducers.js
index 4882ae1eb9..af1a8b2c7f 100644
--- a/src/web/store/entities/utils/__tests__/reducers.js
+++ b/src/web/store/entities/utils/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/__tests__/selectors.js b/src/web/store/entities/utils/__tests__/selectors.js
index 577e3e8078..bf57628474 100644
--- a/src/web/store/entities/utils/__tests__/selectors.js
+++ b/src/web/store/entities/utils/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/entities/utils/actions.js b/src/web/store/entities/utils/actions.js
index bef6e9e03d..ea5c5a172e 100644
--- a/src/web/store/entities/utils/actions.js
+++ b/src/web/store/entities/utils/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Filter, {ALL_FILTER} from 'gmp/models/filter';
import {pluralizeType} from 'gmp/utils/entitytype';
@@ -81,88 +69,90 @@ export const entityDeleteActions = {
}),
};
-export const createLoadEntities = ({
- selector,
- actions,
- entityType,
-}) => gmp => filter => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
-
- if (state.isLoadingEntities(filter)) {
- // we are already loading data
- return Promise.resolve();
- }
-
- dispatch(actions.request(filter));
-
- return gmp[pluralizeType(entityType)].get({filter}).then(
- response => {
- const {data, meta} = response;
- const {filter: loadedFilter, counts} = meta;
- return dispatch(actions.success(data, filter, loadedFilter, counts));
- },
- error => dispatch(actions.error(error, filter)),
- );
-};
-
-export const createLoadAllEntities = ({
- selector,
- actions,
- entityType,
-}) => gmp => filter => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
-
- if (isDefined(filter)) {
- filter = isDefined(filter.toFilterString)
- ? filter.all()
- : Filter.fromString(filter).all();
- } else {
- filter = ALL_FILTER;
- }
-
- if (state.isLoadingEntities(filter)) {
- // we are already loading data
- return Promise.resolve();
- }
- dispatch(actions.request(filter));
-
- return gmp[pluralizeType(entityType)].get({filter}).then(
- response => {
- const {data, meta} = response;
- const {filter: loadedFilter, counts} = meta;
- return dispatch(actions.success(data, filter, loadedFilter, counts));
- },
- error => dispatch(actions.error(error, filter)),
- );
-};
+export const createLoadEntities =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ filter =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
+
+ if (state.isLoadingEntities(filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+
+ dispatch(actions.request(filter));
+
+ return gmp[pluralizeType(entityType)].get({filter}).then(
+ response => {
+ const {data, meta} = response;
+ const {filter: loadedFilter, counts} = meta;
+ return dispatch(actions.success(data, filter, loadedFilter, counts));
+ },
+ error => dispatch(actions.error(error, filter)),
+ );
+ };
+
+export const createLoadAllEntities =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ filter =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
+
+ if (isDefined(filter)) {
+ filter = isDefined(filter.toFilterString)
+ ? filter.all()
+ : Filter.fromString(filter).all();
+ } else {
+ filter = ALL_FILTER;
+ }
+
+ if (state.isLoadingEntities(filter)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
+ dispatch(actions.request(filter));
+
+ return gmp[pluralizeType(entityType)].get({filter}).then(
+ response => {
+ const {data, meta} = response;
+ const {filter: loadedFilter, counts} = meta;
+ return dispatch(actions.success(data, filter, loadedFilter, counts));
+ },
+ error => dispatch(actions.error(error, filter)),
+ );
+ };
-export const createLoadEntity = ({
- selector,
- actions,
- entityType,
-}) => gmp => id => (dispatch, getState) => {
- const rootState = getState();
- const state = selector(rootState);
+export const createLoadEntity =
+ ({selector, actions, entityType}) =>
+ gmp =>
+ id =>
+ (dispatch, getState) => {
+ const rootState = getState();
+ const state = selector(rootState);
- if (state.isLoadingEntity(id)) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (state.isLoadingEntity(id)) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(actions.request(id));
+ dispatch(actions.request(id));
- return gmp[entityType]
- .get({id})
- .then(
+ return gmp[entityType].get({id}).then(
response => dispatch(actions.success(id, response.data)),
error => dispatch(actions.error(id, error)),
);
-};
-
-export const createDeleteEntity = ({entityType}) => gmp => id => dispatch =>
- gmp[entityType]
- .delete({id})
- .then(() => dispatch(entityDeleteActions.success(entityType, id)));
+ };
+
+export const createDeleteEntity =
+ ({entityType}) =>
+ gmp =>
+ id =>
+ dispatch =>
+ gmp[entityType]
+ .delete({id})
+ .then(() => dispatch(entityDeleteActions.success(entityType, id)));
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/store/entities/utils/main.js b/src/web/store/entities/utils/main.js
index dfde439211..7d3b1e7efa 100644
--- a/src/web/store/entities/utils/main.js
+++ b/src/web/store/entities/utils/main.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {
createEntitiesLoadingActions,
createEntityLoadingActions,
diff --git a/src/web/store/entities/utils/reducers.js b/src/web/store/entities/utils/reducers.js
index d9229b5267..c6e9bc6810 100644
--- a/src/web/store/entities/utils/reducers.js
+++ b/src/web/store/entities/utils/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {types} from './actions';
diff --git a/src/web/store/entities/utils/selectors.js b/src/web/store/entities/utils/selectors.js
index d3f690b6f1..9e7d220d5b 100644
--- a/src/web/store/entities/utils/selectors.js
+++ b/src/web/store/entities/utils/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import Filter, {ALL_FILTER} from 'gmp/models/filter';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/utils/testing.js b/src/web/store/entities/utils/testing.js
index 45e15a446f..52dd51ec2b 100644
--- a/src/web/store/entities/utils/testing.js
+++ b/src/web/store/entities/utils/testing.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {isFunction} from 'gmp/utils/identity';
diff --git a/src/web/store/entities/vulns.js b/src/web/store/entities/vulns.js
index d4becebe03..7c3a47a234 100644
--- a/src/web/store/entities/vulns.js
+++ b/src/web/store/entities/vulns.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {createAll} from './utils/main';
const {
diff --git a/src/web/store/index.js b/src/web/store/index.js
index 81800ab8c3..d9496efebb 100644
--- a/src/web/store/index.js
+++ b/src/web/store/index.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {
diff --git a/src/web/store/pages/__tests__/actions.js b/src/web/store/pages/__tests__/actions.js
index dda4eb565d..2f989c248f 100644
--- a/src/web/store/pages/__tests__/actions.js
+++ b/src/web/store/pages/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {pageFilter, CHANGE_PAGE_FILTER} from '../actions';
diff --git a/src/web/store/pages/__tests__/reducers.js b/src/web/store/pages/__tests__/reducers.js
index 2b731412aa..d61f9d933b 100644
--- a/src/web/store/pages/__tests__/reducers.js
+++ b/src/web/store/pages/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import reducer from '../reducers';
diff --git a/src/web/store/pages/__tests__/selectors.js b/src/web/store/pages/__tests__/selectors.js
index 13a25f2666..ce1550bfff 100644
--- a/src/web/store/pages/__tests__/selectors.js
+++ b/src/web/store/pages/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import getPage from 'web/store/pages/selectors';
diff --git a/src/web/store/pages/actions.js b/src/web/store/pages/actions.js
index c472e3f1dd..27d7a528cb 100644
--- a/src/web/store/pages/actions.js
+++ b/src/web/store/pages/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const CHANGE_PAGE_FILTER = 'CHANGE_PAGE_FILTER';
export const pageFilter = (page, filter) => ({
diff --git a/src/web/store/pages/reducers.js b/src/web/store/pages/reducers.js
index 0df3e27f8c..7bd4bcb773 100644
--- a/src/web/store/pages/reducers.js
+++ b/src/web/store/pages/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {CHANGE_PAGE_FILTER} from './actions';
diff --git a/src/web/store/pages/selectors.js b/src/web/store/pages/selectors.js
index 66104a8f27..2cdbe208f1 100644
--- a/src/web/store/pages/selectors.js
+++ b/src/web/store/pages/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
class PageSelector {
diff --git a/src/web/store/reducers.js b/src/web/store/reducers.js
index 3167c5010c..7158e82c24 100644
--- a/src/web/store/reducers.js
+++ b/src/web/store/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'redux';
import dashboardData from './dashboard/data/reducers';
diff --git a/src/web/store/usersettings/__tests__/actions.js b/src/web/store/usersettings/__tests__/actions.js
index b68e6b6959..3535625a71 100644
--- a/src/web/store/usersettings/__tests__/actions.js
+++ b/src/web/store/usersettings/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import moment from 'gmp/models/date';
diff --git a/src/web/store/usersettings/__tests__/reducers.js b/src/web/store/usersettings/__tests__/reducers.js
index d80e0a100d..58bc4cb20c 100644
--- a/src/web/store/usersettings/__tests__/reducers.js
+++ b/src/web/store/usersettings/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {CLEAR_STORE} from 'web/store/actions';
diff --git a/src/web/store/usersettings/__tests__/selectors.js b/src/web/store/usersettings/__tests__/selectors.js
index 581edc8df0..9b0bd43db2 100644
--- a/src/web/store/usersettings/__tests__/selectors.js
+++ b/src/web/store/usersettings/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {
diff --git a/src/web/store/usersettings/actions.js b/src/web/store/usersettings/actions.js
index e0c5153981..c046627fd6 100644
--- a/src/web/store/usersettings/actions.js
+++ b/src/web/store/usersettings/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
export const USER_SETTINGS_LOAD_REPORT_COMPOSER_DEFAULTS_SUCCESS =
'USER_SETTINGS_LOAD_REPORT_COMPOSER_DEFAULTS_SUCCESS';
export const USER_SETTINGS_SET_TIMEZONE = 'USER_SETTINGS_SET_TIMEZONE';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/actions.js b/src/web/store/usersettings/defaultfilters/__tests__/actions.js
index 7e504f3ab3..e9c6e8c4bc 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/actions.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {DEFAULT_FILTER_SETTINGS} from 'gmp/commands/users';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/reducers.js b/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
index 4cb6942c99..6a4614075f 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {defaultFilterLoadingActions} from '../actions';
diff --git a/src/web/store/usersettings/defaultfilters/__tests__/selectors.js b/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
index 13a864bf95..9086062881 100644
--- a/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
+++ b/src/web/store/usersettings/defaultfilters/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Filter from 'gmp/models/filter';
diff --git a/src/web/store/usersettings/defaultfilters/actions.js b/src/web/store/usersettings/defaultfilters/actions.js
index 4b98550af1..8fda6778bb 100644
--- a/src/web/store/usersettings/defaultfilters/actions.js
+++ b/src/web/store/usersettings/defaultfilters/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
import {DEFAULT_FILTER_SETTINGS} from 'gmp/commands/users';
@@ -45,45 +33,43 @@ export const defaultFilterLoadingActions = {
}),
};
-export const loadUserSettingsDefaultFilter = gmp => entityType => (
- dispatch,
- getState,
-) => {
- const rootState = getState();
- const selector = getUserSettingsDefaultFilter(rootState, entityType);
+export const loadUserSettingsDefaultFilter =
+ gmp => entityType => (dispatch, getState) => {
+ const rootState = getState();
+ const selector = getUserSettingsDefaultFilter(rootState, entityType);
- if (selector.isLoading()) {
- // we are already loading data
- return Promise.resolve();
- }
+ if (selector.isLoading()) {
+ // we are already loading data
+ return Promise.resolve();
+ }
- dispatch(defaultFilterLoadingActions.request(entityType));
+ dispatch(defaultFilterLoadingActions.request(entityType));
- const settingId = DEFAULT_FILTER_SETTINGS[entityType];
+ const settingId = DEFAULT_FILTER_SETTINGS[entityType];
- return gmp.user
- .getSetting(settingId)
- .then(resp => {
- const {data: setting} = resp;
- return isDefined(setting) ? setting.value : undefined;
- })
- .then(filterId =>
- isDefined(filterId) && filterId !== 0
- ? gmp.filter.get({id: filterId})
- : null,
- )
- .then(resp => {
- if (resp === null) {
- dispatch(defaultFilterLoadingActions.success(entityType, null));
- } else {
- dispatch(defaultFilterLoadingActions.success(entityType, resp.data));
- }
- })
- .catch(err => {
- if (isDefined(err)) {
- dispatch(defaultFilterLoadingActions.error(entityType, err));
- }
- });
-};
+ return gmp.user
+ .getSetting(settingId)
+ .then(resp => {
+ const {data: setting} = resp;
+ return isDefined(setting) ? setting.value : undefined;
+ })
+ .then(filterId =>
+ isDefined(filterId) && filterId !== 0
+ ? gmp.filter.get({id: filterId})
+ : null,
+ )
+ .then(resp => {
+ if (resp === null) {
+ dispatch(defaultFilterLoadingActions.success(entityType, null));
+ } else {
+ dispatch(defaultFilterLoadingActions.success(entityType, resp.data));
+ }
+ })
+ .catch(err => {
+ if (isDefined(err)) {
+ dispatch(defaultFilterLoadingActions.error(entityType, err));
+ }
+ });
+ };
// vim: set ts=2 sw=2 two=80:
diff --git a/src/web/store/usersettings/defaultfilters/reducers.js b/src/web/store/usersettings/defaultfilters/reducers.js
index caf12961e0..84ed851ea0 100644
--- a/src/web/store/usersettings/defaultfilters/reducers.js
+++ b/src/web/store/usersettings/defaultfilters/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'web/store/utils';
import {
diff --git a/src/web/store/usersettings/defaultfilters/selectors.js b/src/web/store/usersettings/defaultfilters/selectors.js
index 486f9ee359..d9beb9427f 100644
--- a/src/web/store/usersettings/defaultfilters/selectors.js
+++ b/src/web/store/usersettings/defaultfilters/selectors.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
class UserSettingsDefaultFilterSelector {
diff --git a/src/web/store/usersettings/defaults/__tests__/actions.js b/src/web/store/usersettings/defaults/__tests__/actions.js
index feb13ce02e..9b1c788f89 100644
--- a/src/web/store/usersettings/defaults/__tests__/actions.js
+++ b/src/web/store/usersettings/defaults/__tests__/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {
diff --git a/src/web/store/usersettings/defaults/__tests__/reducers.js b/src/web/store/usersettings/defaults/__tests__/reducers.js
index 5149de6ba5..8342158d57 100644
--- a/src/web/store/usersettings/defaults/__tests__/reducers.js
+++ b/src/web/store/usersettings/defaults/__tests__/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {loadingActions} from '../actions';
diff --git a/src/web/store/usersettings/defaults/__tests__/selectors.js b/src/web/store/usersettings/defaults/__tests__/selectors.js
index af00c4ae48..1f8a68f0a6 100644
--- a/src/web/store/usersettings/defaults/__tests__/selectors.js
+++ b/src/web/store/usersettings/defaults/__tests__/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {getUserSettingsDefaults} from '../selectors';
diff --git a/src/web/store/usersettings/defaults/actions.js b/src/web/store/usersettings/defaults/actions.js
index cc84a941cf..29ffd2fb68 100644
--- a/src/web/store/usersettings/defaults/actions.js
+++ b/src/web/store/usersettings/defaults/actions.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {getUserSettingsDefaults} from './selectors';
import {isDefined} from 'gmp/utils/identity';
@@ -53,12 +41,10 @@ export const loadUserSettingDefaults = gmp => () => (dispatch, getState) => {
dispatch(loadingActions.request());
- return gmp.user
- .currentSettings()
- .then(
- response => dispatch(loadingActions.success(response.data)),
- err => dispatch(loadingActions.error(err)),
- );
+ return gmp.user.currentSettings().then(
+ response => dispatch(loadingActions.success(response.data)),
+ err => dispatch(loadingActions.error(err)),
+ );
};
export const loadUserSettingDefault = gmp => id => (dispatch, getState) => {
diff --git a/src/web/store/usersettings/defaults/reducers.js b/src/web/store/usersettings/defaults/reducers.js
index 0d4007a640..c156b353be 100644
--- a/src/web/store/usersettings/defaults/reducers.js
+++ b/src/web/store/usersettings/defaults/reducers.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {combineReducers} from 'web/store/utils';
import {
diff --git a/src/web/store/usersettings/defaults/selectors.js b/src/web/store/usersettings/defaults/selectors.js
index b60ff508f8..a565a88d96 100644
--- a/src/web/store/usersettings/defaults/selectors.js
+++ b/src/web/store/usersettings/defaults/selectors.js
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {isDefined} from 'gmp/utils/identity';
class UserSettingsDefaultsSelector {
diff --git a/src/web/store/usersettings/reducers.js b/src/web/store/usersettings/reducers.js
index 8a7e11d481..9110a1eebd 100644
--- a/src/web/store/usersettings/reducers.js
+++ b/src/web/store/usersettings/reducers.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {combineReducers} from 'web/store/utils';
diff --git a/src/web/store/usersettings/selectors.js b/src/web/store/usersettings/selectors.js
index 416ae3facb..215d38ef8c 100644
--- a/src/web/store/usersettings/selectors.js
+++ b/src/web/store/usersettings/selectors.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
export const getReportComposerDefaults = rootState => {
diff --git a/src/web/store/utils.js b/src/web/store/utils.js
index d1ffc8969c..08d7c3baef 100644
--- a/src/web/store/utils.js
+++ b/src/web/store/utils.js
@@ -1,19 +1,6 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
import {hasValue} from 'gmp/utils/identity';
@@ -36,19 +23,21 @@ export const filterIdentifier = filter =>
*
* @returns {Function} A new combined reducer function
*/
-export const combineReducers = reducers => (state = {}, action) => {
- let hasChanged = false;
- const nextState = {};
-
- for (const [name, reducer] of Object.entries(reducers)) {
- const prevStateForReducer = state[name];
- const nextStateForReducers = reducer(prevStateForReducer, action);
-
- nextState[name] = nextStateForReducers;
- hasChanged = hasChanged || prevStateForReducer !== nextStateForReducers;
- }
-
- return hasChanged ? nextState : state;
-};
+export const combineReducers =
+ reducers =>
+ (state = {}, action) => {
+ let hasChanged = false;
+ const nextState = {};
+
+ for (const [name, reducer] of Object.entries(reducers)) {
+ const prevStateForReducer = state[name];
+ const nextStateForReducers = reducer(prevStateForReducer, action);
+
+ nextState[name] = nextStateForReducers;
+ hasChanged = hasChanged || prevStateForReducer !== nextStateForReducers;
+ }
+
+ return hasChanged ? nextState : state;
+ };
// vim: set ts=2 sw=2 tw=80:
diff --git a/src/web/utils/__tests__/render.jsx b/src/web/utils/__tests__/render.jsx
index 4d32a4edaf..69cbbf298b 100644
--- a/src/web/utils/__tests__/render.jsx
+++ b/src/web/utils/__tests__/render.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {generateFilename, renderSelectItems} from '../render';
diff --git a/src/web/utils/__tests__/sort.jsx b/src/web/utils/__tests__/sort.jsx
index 3ac46240ab..c573d01ca1 100644
--- a/src/web/utils/__tests__/sort.jsx
+++ b/src/web/utils/__tests__/sort.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import moment from 'gmp/models/date';
diff --git a/src/web/utils/__tests__/timePickerHelpers.js b/src/web/utils/__tests__/timePickerHelpers.js
index 155bc0fe27..408fe30d3c 100644
--- a/src/web/utils/__tests__/timePickerHelpers.js
+++ b/src/web/utils/__tests__/timePickerHelpers.js
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
import {formatSplitTime, formatTimeForTimePicker} from '../timePickerHelpers';
import {describe, test, expect} from '@gsa/testing';
diff --git a/src/web/utils/__tests__/useCapabilities.jsx b/src/web/utils/__tests__/useCapabilities.jsx
index 91afd17a07..429bc13c69 100644
--- a/src/web/utils/__tests__/useCapabilities.jsx
+++ b/src/web/utils/__tests__/useCapabilities.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/utils/__tests__/useGmp.jsx b/src/web/utils/__tests__/useGmp.jsx
index e2429b5952..6a5e54b94a 100644
--- a/src/web/utils/__tests__/useGmp.jsx
+++ b/src/web/utils/__tests__/useGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import {rendererWith} from '../testing';
diff --git a/src/web/utils/__tests__/useUserIsLoggedIn.jsx b/src/web/utils/__tests__/useUserIsLoggedIn.jsx
index 184883c52d..f1c7ab667d 100644
--- a/src/web/utils/__tests__/useUserIsLoggedIn.jsx
+++ b/src/web/utils/__tests__/useUserIsLoggedIn.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setIsLoggedIn as setIsLoggedInAction} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/__tests__/useUserName.jsx b/src/web/utils/__tests__/useUserName.jsx
index 4830dabe01..f66cccfc96 100644
--- a/src/web/utils/__tests__/useUserName.jsx
+++ b/src/web/utils/__tests__/useUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setUsername} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/__tests__/useUserSessionTimeout.jsx b/src/web/utils/__tests__/useUserSessionTimeout.jsx
index 34214a7fe9..6d7c17d758 100644
--- a/src/web/utils/__tests__/useUserSessionTimeout.jsx
+++ b/src/web/utils/__tests__/useUserSessionTimeout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {dateFormat} from 'gmp/locale/date';
diff --git a/src/web/utils/__tests__/useUserTimezone.jsx b/src/web/utils/__tests__/useUserTimezone.jsx
index 3422aec821..efe8b82bec 100644
--- a/src/web/utils/__tests__/useUserTimezone.jsx
+++ b/src/web/utils/__tests__/useUserTimezone.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect} from '@gsa/testing';
import {setTimezone as setTimezoneAction} from 'web/store/usersettings/actions';
diff --git a/src/web/utils/cert.jsx b/src/web/utils/cert.jsx
index 3d1c4d22f0..9dbfd0cec3 100644
--- a/src/web/utils/cert.jsx
+++ b/src/web/utils/cert.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const BEGIN_CERTIFICATE = '-----BEGIN CERTIFICATE-----';
const END_CERTIFICATE = '-----END CERTIFICATE-----';
diff --git a/src/web/utils/compose.jsx b/src/web/utils/compose.jsx
index 48894ca752..c7553fb7ca 100644
--- a/src/web/utils/compose.jsx
+++ b/src/web/utils/compose.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/**
* Compose several HOCs
*
diff --git a/src/web/utils/cpe.jsx b/src/web/utils/cpe.jsx
index 6357353300..ed3f46b4ec 100644
--- a/src/web/utils/cpe.jsx
+++ b/src/web/utils/cpe.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const cpes = [
{
pattern: 'cpe:/a:apache:http_server',
diff --git a/src/web/utils/languages.jsx b/src/web/utils/languages.jsx
index bb53c6c4d0..8b3db88e58 100644
--- a/src/web/utils/languages.jsx
+++ b/src/web/utils/languages.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import GmpLanguages, {BROWSER_LANGUAGE} from 'gmp/locale/languages';
diff --git a/src/web/utils/os.jsx b/src/web/utils/os.jsx
index 9a17eb0872..1c54189eb8 100644
--- a/src/web/utils/os.jsx
+++ b/src/web/utils/os.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const operating_systems = [
{
pattern: 'cpe:/o:microsoft:windows_nt:4.0:sp1',
diff --git a/src/web/utils/proptypes.jsx b/src/web/utils/proptypes.jsx
index 83cdbdadac..8f0075a7c9 100644
--- a/src/web/utils/proptypes.jsx
+++ b/src/web/utils/proptypes.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import ReactPropTypes from 'prop-types';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/render.jsx b/src/web/utils/render.jsx
index 9d1a967e8d..f5a5097c92 100644
--- a/src/web/utils/render.jsx
+++ b/src/web/utils/render.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {format} from 'd3-format';
import React from 'react';
diff --git a/src/web/utils/selectiontype.jsx b/src/web/utils/selectiontype.jsx
index 837b8e796a..60b9a5283e 100644
--- a/src/web/utils/selectiontype.jsx
+++ b/src/web/utils/selectiontype.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const SelectionType = {
SELECTION_PAGE_CONTENTS: '0',
SELECTION_USER: '1',
diff --git a/src/web/utils/severity.jsx b/src/web/utils/severity.jsx
index df5c59103a..ecd807eb47 100644
--- a/src/web/utils/severity.jsx
+++ b/src/web/utils/severity.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {_l} from 'gmp/locale/lang';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/sort.jsx b/src/web/utils/sort.jsx
index e06bdd26c1..0216681f2e 100644
--- a/src/web/utils/sort.jsx
+++ b/src/web/utils/sort.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {parseInt, parseFloat} from 'gmp/parser';
import {isDefined, isFunction} from 'gmp/utils/identity';
diff --git a/src/web/utils/state.jsx b/src/web/utils/state.jsx
index a180b70a59..41a2c072b9 100644
--- a/src/web/utils/state.jsx
+++ b/src/web/utils/state.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import PropTypes from './proptypes';
diff --git a/src/web/utils/styledConfig.jsx b/src/web/utils/styledConfig.jsx
index a059f0e2c9..d2b46ee406 100644
--- a/src/web/utils/styledConfig.jsx
+++ b/src/web/utils/styledConfig.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2023 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const excludePropsConfig = excludedProps => {
return {
shouldForwardProp: prop => {
diff --git a/src/web/utils/testing.jsx b/src/web/utils/testing.jsx
index c8e1c371db..0e932acb78 100644
--- a/src/web/utils/testing.jsx
+++ b/src/web/utils/testing.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
/* eslint-disable react/prop-types */
import {afterEach} from '@gsa/testing';
diff --git a/src/web/utils/theme.jsx b/src/web/utils/theme.jsx
index 2e8281b153..d6f31fdaf9 100644
--- a/src/web/utils/theme.jsx
+++ b/src/web/utils/theme.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const Theme = {
/* source styleguide */
lightGreen: '#A1DDBA',
diff --git a/src/web/utils/timePickerHelpers.js b/src/web/utils/timePickerHelpers.js
index 83e1ac0d07..f316b5ab75 100644
--- a/src/web/utils/timePickerHelpers.js
+++ b/src/web/utils/timePickerHelpers.js
@@ -1,3 +1,8 @@
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
+ *
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
export const formatSplitTime = (start_hour, start_minute) => {
const formattedStartHour = start_hour.toString().padStart(2, '0');
const formattedStartMinute = start_minute.toString().padStart(2, '0');
diff --git a/src/web/utils/urls.jsx b/src/web/utils/urls.jsx
index e82253df83..d16e29a438 100644
--- a/src/web/utils/urls.jsx
+++ b/src/web/utils/urls.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const public_url_loader = name => {
return import.meta.env.BASE_URL + 'img/' + name; // eslint-disable-line no-process-env,no-undef
};
diff --git a/src/web/utils/useCapabilities.jsx b/src/web/utils/useCapabilities.jsx
index 4515b1069f..2b50336488 100644
--- a/src/web/utils/useCapabilities.jsx
+++ b/src/web/utils/useCapabilities.jsx
@@ -1,21 +1,8 @@
-/* Copyright (C) 2020-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
+
import {useContext} from 'react';
import CapabilitiesContext from 'web/components/provider/capabilitiesprovider';
diff --git a/src/web/utils/useGmp.jsx b/src/web/utils/useGmp.jsx
index 35e75d2556..91287a1f6a 100644
--- a/src/web/utils/useGmp.jsx
+++ b/src/web/utils/useGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useContext} from 'react';
import GmpContext from 'web/components/provider/gmpprovider';
diff --git a/src/web/utils/useLicense.jsx b/src/web/utils/useLicense.jsx
index 3de87e9787..71f80bc2af 100644
--- a/src/web/utils/useLicense.jsx
+++ b/src/web/utils/useLicense.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useContext} from 'react';
import {LicenseContext} from 'web/components/provider/licenseprovider';
diff --git a/src/web/utils/useUserIsLoggedIn.jsx b/src/web/utils/useUserIsLoggedIn.jsx
index b5a2fb2765..44c13461b3 100644
--- a/src/web/utils/useUserIsLoggedIn.jsx
+++ b/src/web/utils/useUserIsLoggedIn.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {isLoggedIn} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserName.jsx b/src/web/utils/useUserName.jsx
index 1cb2325309..84328093d4 100644
--- a/src/web/utils/useUserName.jsx
+++ b/src/web/utils/useUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getUsername} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserSessionTimeout.jsx b/src/web/utils/useUserSessionTimeout.jsx
index 317fe4c063..44b3e5f093 100644
--- a/src/web/utils/useUserSessionTimeout.jsx
+++ b/src/web/utils/useUserSessionTimeout.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getSessionTimeout} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/useUserTimezone.jsx b/src/web/utils/useUserTimezone.jsx
index 0b9476c576..060f07bbe6 100644
--- a/src/web/utils/useUserTimezone.jsx
+++ b/src/web/utils/useUserTimezone.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useSelector, useDispatch} from 'react-redux';
import {getTimezone} from 'web/store/usersettings/selectors';
diff --git a/src/web/utils/warning.jsx b/src/web/utils/warning.jsx
index 9de7761660..06f805926e 100644
--- a/src/web/utils/warning.jsx
+++ b/src/web/utils/warning.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2018-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
const warning = (condition, ...args) => {
if (process.env.NODE_ENV !== 'production' && condition) {
console.warn(...args); // eslint-disable-line no-console
diff --git a/src/web/utils/withCapabilities.jsx b/src/web/utils/withCapabilities.jsx
index ca205fd358..c1b5d3d0a3 100644
--- a/src/web/utils/withCapabilities.jsx
+++ b/src/web/utils/withCapabilities.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/utils/withComponentDefaults.jsx b/src/web/utils/withComponentDefaults.jsx
index 83e1001db9..2189fa2d60 100644
--- a/src/web/utils/withComponentDefaults.jsx
+++ b/src/web/utils/withComponentDefaults.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
export const withComponentDefaults = (options = {}) => Component => {
diff --git a/src/web/utils/withGmp.jsx b/src/web/utils/withGmp.jsx
index 293b454c53..4c52bc68a8 100644
--- a/src/web/utils/withGmp.jsx
+++ b/src/web/utils/withGmp.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import hoistStatics from 'hoist-non-react-statics';
diff --git a/src/web/utils/withPrefix.jsx b/src/web/utils/withPrefix.jsx
index a2ce6dea14..e15926fca2 100644
--- a/src/web/utils/withPrefix.jsx
+++ b/src/web/utils/withPrefix.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {isDefined} from 'gmp/utils/identity';
diff --git a/src/web/utils/withSubscription.jsx b/src/web/utils/withSubscription.jsx
index 32b905806d..7b26056f3e 100644
--- a/src/web/utils/withSubscription.jsx
+++ b/src/web/utils/withSubscription.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import {SubscriptionContext} from 'web/components/provider/subscriptionprovider';
diff --git a/src/web/utils/withUserName.jsx b/src/web/utils/withUserName.jsx
index 8fccb6e42f..31a7311b24 100644
--- a/src/web/utils/withUserName.jsx
+++ b/src/web/utils/withUserName.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2017-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {connect} from 'react-redux';
import {getUsername} from 'web/store/usersettings/selectors.js';
diff --git a/src/web/wizard/__tests__/advancedtaskwizard.jsx b/src/web/wizard/__tests__/advancedtaskwizard.jsx
index ee914c2e08..22cc417106 100644
--- a/src/web/wizard/__tests__/advancedtaskwizard.jsx
+++ b/src/web/wizard/__tests__/advancedtaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/wizard/__tests__/modifytaskwizard.jsx b/src/web/wizard/__tests__/modifytaskwizard.jsx
index 704b37a0c3..a56679fd31 100644
--- a/src/web/wizard/__tests__/modifytaskwizard.jsx
+++ b/src/web/wizard/__tests__/modifytaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2019-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {describe, test, expect, testing} from '@gsa/testing';
import Capabilities from 'gmp/capabilities/capabilities';
diff --git a/src/web/wizard/advancedtaskwizard.jsx b/src/web/wizard/advancedtaskwizard.jsx
index 24f8bf9c90..a3260846bf 100644
--- a/src/web/wizard/advancedtaskwizard.jsx
+++ b/src/web/wizard/advancedtaskwizard.jsx
@@ -1,21 +1,9 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState} from 'react';
import {
diff --git a/src/web/wizard/modifytaskwizard.jsx b/src/web/wizard/modifytaskwizard.jsx
index fe14b69bc8..8bcf775cfc 100644
--- a/src/web/wizard/modifytaskwizard.jsx
+++ b/src/web/wizard/modifytaskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import {useState} from 'react';
import {parseYesNo, NO_VALUE, YES_VALUE} from 'gmp/parser';
diff --git a/src/web/wizard/taskwizard.jsx b/src/web/wizard/taskwizard.jsx
index 253dcdec35..d1296cda36 100644
--- a/src/web/wizard/taskwizard.jsx
+++ b/src/web/wizard/taskwizard.jsx
@@ -1,20 +1,8 @@
-/* Copyright (C) 2016-2022 Greenbone AG
+/* SPDX-FileCopyrightText: 2024 Greenbone AG
*
* SPDX-License-Identifier: AGPL-3.0-or-later
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Affero General Public License
- * as published by the Free Software Foundation, either version 3
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
*/
+
import React from 'react';
import styled from 'styled-components';