@regulaforensics/face-core-basic 6.5.63-beta → 7.1.98-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNFaceCore.podspec +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -1
- package/.gitlab/report.yaml +0 -75
- package/.gitlab-ci.yml +0 -49
package/RNFaceCore.podspec
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/face-core-basic",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.98-nightly",
|
|
4
4
|
"description": "This is an npm module for Regula Face SDK Core. It enables core functionality for @regulaforensics/face-sdk.",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/face-core-basic",
|
package/plugin.xml
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/face-core-basic" version="
|
|
2
|
+
<plugin id="@regulaforensics/face-core-basic" version="7.1.98-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>FaceCore</name>
|
|
4
4
|
|
|
5
5
|
<platform name="ios">
|
|
6
6
|
<podspec>
|
|
7
7
|
<config>
|
|
8
|
+
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
8
9
|
</config>
|
|
9
10
|
<pods>
|
|
10
11
|
<pod name="FaceCoreBasic" spec="6.4.1111" />
|
package/.gitlab/report.yaml
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
spec:
|
|
2
|
-
inputs:
|
|
3
|
-
stage:
|
|
4
|
-
default: reports
|
|
5
|
-
image:
|
|
6
|
-
default: ubuntu:22.04
|
|
7
|
-
ignore_vulnerabilities:
|
|
8
|
-
default: "false"
|
|
9
|
-
sast_report_file:
|
|
10
|
-
default: gl-sast-report.json
|
|
11
|
-
secret_detection_report_file:
|
|
12
|
-
default: gl-secret-detection-report.json
|
|
13
|
-
dependency_scanning_report_file:
|
|
14
|
-
default: gl-dependency-scanning-report.json
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
view reports:
|
|
18
|
-
image: $[[ inputs.image ]]
|
|
19
|
-
stage: $[[ inputs.stage ]]
|
|
20
|
-
variables:
|
|
21
|
-
IGNORE_VULNERABILITIES: $[[ inputs.ignore_vulnerabilities ]]
|
|
22
|
-
SAST_REPORT_FILE: $[[ inputs.sast_report_file ]]
|
|
23
|
-
SECRET_DETECTION_REPORT_FILE: $[[ inputs.secret_detection_report_file ]]
|
|
24
|
-
DEPENDENCY_SCANNING_REPORT_FILE: $[[ inputs.dependency_scanning_report_file ]]
|
|
25
|
-
RED: \033[0;31m
|
|
26
|
-
YELLOW: \033[1;33m
|
|
27
|
-
GREEN: \033[0;32m
|
|
28
|
-
NC: \033[0m
|
|
29
|
-
needs:
|
|
30
|
-
- job: semgrep-sast
|
|
31
|
-
artifacts: true
|
|
32
|
-
- job: secret_detection
|
|
33
|
-
artifacts: true
|
|
34
|
-
- job: gemnasium-dependency_scanning
|
|
35
|
-
artifacts: true
|
|
36
|
-
rules:
|
|
37
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
-
script:
|
|
39
|
-
- ls -la
|
|
40
|
-
- apt update && apt install -y jq
|
|
41
|
-
- |
|
|
42
|
-
for f in SAST_REPORT_FILE SECRET_DETECTION_REPORT_FILE DEPENDENCY_SCANNING_REPORT_FILE
|
|
43
|
-
do
|
|
44
|
-
if [[ -f "${!f}" ]]
|
|
45
|
-
then
|
|
46
|
-
echo -e "${GREEN}File ${!f} exists, adding report${NC}"
|
|
47
|
-
r=${f/%_FILE}
|
|
48
|
-
declare $r="$(cat ${!f} | jq 'select(.vulnerabilities != []).vulnerabilities')"
|
|
49
|
-
if [[ ! -z "${!r}" ]]
|
|
50
|
-
then
|
|
51
|
-
VULNERABILITIES_FOUND=true
|
|
52
|
-
echo -e "${RED}Found $r vulnerabilities${NC}"
|
|
53
|
-
echo "${!r}"
|
|
54
|
-
echo
|
|
55
|
-
fi
|
|
56
|
-
else
|
|
57
|
-
echo -e "${YELLOW}File ${!f} doesn't exist, skipping${NC}"
|
|
58
|
-
fi
|
|
59
|
-
done
|
|
60
|
-
|
|
61
|
-
if [[ "$VULNERABILITIES_FOUND" == true ]]
|
|
62
|
-
then
|
|
63
|
-
if [[ "$IGNORE_VULNERABILITIES" == true ]]
|
|
64
|
-
then
|
|
65
|
-
echo -e "${GREEN}All found vulnerabilities were ignored due to IGNORE_VULNERABILITIES=true${NC}"
|
|
66
|
-
exit 0
|
|
67
|
-
else
|
|
68
|
-
echo -e "${RED}Vulnerabilities found, please see reports above${NC}"
|
|
69
|
-
exit 1
|
|
70
|
-
fi
|
|
71
|
-
fi
|
|
72
|
-
|
|
73
|
-
echo -e "${GREEN}No vulnerabilities found${NC}"
|
|
74
|
-
|
|
75
|
-
exit 0
|
package/.gitlab-ci.yml
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
stages:
|
|
2
|
-
- test
|
|
3
|
-
- reports
|
|
4
|
-
|
|
5
|
-
include:
|
|
6
|
-
- template: Jobs/SAST.gitlab-ci.yml
|
|
7
|
-
- template: Jobs/Secret-Detection.gitlab-ci.yml
|
|
8
|
-
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
|
|
9
|
-
- local: .gitlab/report.yaml
|
|
10
|
-
rules:
|
|
11
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
12
|
-
inputs:
|
|
13
|
-
stage: reports
|
|
14
|
-
image: ubuntu:22.04
|
|
15
|
-
ignore_vulnerabilities: "false"
|
|
16
|
-
sast_report_file: gl-sast-report.json
|
|
17
|
-
secret_detection_report_file: gl-secret-detection-report.json
|
|
18
|
-
dependency_scanning_report_file: gl-dependency-scanning-report.json
|
|
19
|
-
|
|
20
|
-
trivy scan:
|
|
21
|
-
stage: test
|
|
22
|
-
image: aquasec/trivy
|
|
23
|
-
rules:
|
|
24
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
25
|
-
script:
|
|
26
|
-
- trivy fs --severity CRITICAL,HIGH,MEDIUM,LOW --ignore-unfixed --db-repository container-registry.regula.local:80/aquasecurity/trivy-db:2 --exit-code 1 .
|
|
27
|
-
|
|
28
|
-
semgrep-sast:
|
|
29
|
-
rules:
|
|
30
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
31
|
-
artifacts:
|
|
32
|
-
paths:
|
|
33
|
-
- gl-sast-report.json
|
|
34
|
-
|
|
35
|
-
secret_detection:
|
|
36
|
-
rules:
|
|
37
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
38
|
-
artifacts:
|
|
39
|
-
paths:
|
|
40
|
-
- gl-secret-detection-report.json
|
|
41
|
-
|
|
42
|
-
gemnasium-dependency_scanning:
|
|
43
|
-
variables:
|
|
44
|
-
DS_MAX_DEPTH: -1
|
|
45
|
-
rules:
|
|
46
|
-
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
47
|
-
artifacts:
|
|
48
|
-
paths:
|
|
49
|
-
- gl-dependency-scanning-report.json
|