diff --git a/.evergreen/.evg.yml b/.evergreen/.evg.yml index 37b67c6e1e5..759a5d1740a 100644 --- a/.evergreen/.evg.yml +++ b/.evergreen/.evg.yml @@ -142,6 +142,45 @@ functions: content_type: ${content_type|text/plain} display_name: "orchestration.log" + "create and upload SSDLC release assets": + - command: shell.exec + shell: "bash" + params: + working_dir: "src" + env: + PRODUCT_NAME: ${product_name} + PRODUCT_VERSION: ${product_version} + script: .evergreen/ssdlc-report.sh + - command: ec2.assume_role + params: + role_arn: ${UPLOAD_SSDLC_RELEASE_ASSETS_ROLE_ARN} + - command: s3.put + params: + aws_key: ${AWS_ACCESS_KEY_ID} + aws_secret: ${AWS_SECRET_ACCESS_KEY} + aws_session_token: ${AWS_SESSION_TOKEN} + local_file: ./src/build/ssdlc/ssdlc_compliance_report.md + remote_file: ${product_name}/${product_version}/ssdlc_compliance_report.md + bucket: java-driver-release-assets + region: us-west-1 + permissions: private + content_type: text/markdown + display_name: ssdlc_compliance_report.md + - command: s3.put + params: + aws_key: ${AWS_ACCESS_KEY_ID} + aws_secret: ${AWS_SECRET_ACCESS_KEY} + aws_session_token: ${AWS_SESSION_TOKEN} + local_files_include_filter: + - build/ssdlc/static-analysis-reports/*.sarif + local_files_include_filter_prefix: ./src/ + remote_file: ${product_name}/${product_version}/static-analysis-reports/ + bucket: java-driver-release-assets + region: us-west-1 + permissions: private + content_type: application/sarif+json + display_name: + "upload test results": - command: attach.xunit_results params: @@ -825,24 +864,21 @@ functions: params: working_dir: "src" script: | - tag=$(git describe --tags --always --dirty) - - # remove the leading 'r' - version=$(echo -n "$tag" | cut -c 2-) - - cat < trace-expansions.yml - release_version: "$version" - EOT - cat trace-expansions.yml + PRODUCT_VERSION="$(echo -n "$(git describe --tags --always --dirty)" | cut -c 2-)" + cat > ssdlc-expansions.yml <. + + + + + + + + + + + + + + +
Product name${product_name}
Product version${product_version}
Report date, UTC${report_date_utc}
+ +## Release creator + +This information is available in multiple ways: + + + + + + + + + + +
Evergreen + Go to + + https://evergreen.mongodb.com/waterfall/mongo-java-driver?bv_filter=Publish%20Release, + find the build triggered from Git tag r${product_version}, see who authored it. +
Papertrail + Refer to data in Papertrail. There is currently no official way to serve that data. +
+ +## Process document + +Blocked on . + +The MongoDB SSDLC policy is available at +. + +## Third-darty dependency information + +There are no dependencies to report vulnerabilities of. +Our [SBOM](https://docs.devprod.prod.corp.mongodb.com/mms/python/src/sbom/silkbomb/docs/CYCLONEDX/) lite +is . + +## Static analysis findings + +The static analysis findings are all available at +. +All the findings in the aforementioned reports +are either of the MongoDB status "False Positive" or "No Fix Needed", +because code that has any other findings cannot technically get into the product. + + may also be of interest. + +## Signature information + +The product artifacts are signed. +The signatures can be verified by following instructions at +.