Skip to content

feat(metadata): add create-admin-permset command to generate full-access permission sets - #1678

Draft
maximeg44 wants to merge 4 commits into
mainfrom
feature/create-admin-permset
Draft

feat(metadata): add create-admin-permset command to generate full-access permission sets #1678
maximeg44 wants to merge 4 commits into
mainfrom
feature/create-admin-permset

Conversation

@maximeg44

Copy link
Copy Markdown
Contributor

Summary

  • Adds a new command sf hardis:project:metadata:create-admin-permset that generates a Permission Set XML file with full CRUD and Modify All permissions on all custom objects found in local source metadata
  • Scans force-app/main/default/objects directory and creates comprehensive object and field permissions

Features

  • Object Permissions: Full CRUD access (Create, Read, Update, Delete) plus View All and Modify All on each object
  • Field Permissions: Read access on all fields, Edit access on editable fields
  • Smart Filtering:
    • Skips Platform Events (__e), Custom Metadata Types (__mdt), and PersonAccount
    • Excludes non-editable field types (Formula, AutoNumber, Summary)
    • Skips MasterDetail and required fields
  • Customizable name: Use --name flag to specify custom permission set name (default: ObjectRightsModifyAll)

@github-actions

github-actions Bot commented Jan 24, 2026

Copy link
Copy Markdown

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 8 0 0 0.17s
✅ BASH shfmt 3 0 0 0 1.78s
✅ COPYPASTE jscpd yes no no 11.46s
✅ DOCKERFILE hadolint 1 0 0 0.09s
✅ JSON v8r 27 0 0 13.51s
✅ MARKDOWN markdown-table-formatter 342 1 0 0 1.78s
✅ REPOSITORY checkov yes no no 32.69s
⚠️ REPOSITORY gitleaks yes 5 no 160.76s
✅ REPOSITORY grype yes no no 70.52s
✅ REPOSITORY trivy yes no no 11.13s
✅ REPOSITORY trufflehog yes no no 5.02s
✅ SPELL cspell 679 0 0 14.45s
⚠️ SPELL lychee 386 97 0 22.99s
✅ TYPESCRIPT eslint 278 0 0 0 11.6s
⚠️ YAML v8r 15 1 0 7.85s

Detailed Issues

⚠️ REPOSITORY / gitleaks - 5 errors
○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        salesforce-ci-cd-setup-integration-api/index.html
Line:        12318
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2026-01-24T08:39:43Z
Fingerprint: c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa:salesforce-ci-cd-setup-integration-api/index.html:grafana-cloud-api-token:12318
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa/salesforce-ci-cd-setup-integration-api/index.html#L12318

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        salesforce-ci-cd-setup-integration-api/index.html
Line:        12319
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2026-01-24T08:39:43Z
Fingerprint: c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa:salesforce-ci-cd-setup-integration-api/index.html:grafana-cloud-api-token:12319
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa/salesforce-ci-cd-setup-integration-api/index.html#L12319

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED\nNOTIF_API_METRICS_BA...
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        search/search_index.json
Line:        1
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2026-01-24T08:39:43Z
Fingerprint: c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa:search/search_index.json:grafana-cloud-api-token:1
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa/search/search_index.json#L1

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED\nNOTIF_API_METRICS_BA...
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        search/search_index.json
Line:        1
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2026-01-24T08:39:43Z
Fingerprint: c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa:search/search_index.json:grafana-cloud-api-token:1
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/c0bdfdb2b13d2dde5e5c68f0f89fac2c4ec3f9aa/search/search_index.json#L1

Finding:     const AMPLITUDE_TOKEN = 'REDACTED'
Secret:      REDACTED
RuleID:      generic-api-key
Entropy:     3.715018
File:        src/common/analytics.ts
Line:        7
Commit:      HIDDEN_BY_MEGALINTERAuthor:      NicolasVuillamy
Email:       nicolas.vuillamy@gmail.com
Date:        2021-01-31T00:23:50Z
Fingerprint: ca439c204d52687b82fb54e56ed9644d245c79c5:src/common/analytics.ts:generic-api-key:7
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/ca439c204d52687b82fb54e56ed9644d245c79c5/src/common/analytics.ts#L7

11:04AM INF 2366 commits scanned.
11:04AM INF scanned ~101916186 bytes (101.92 MB) in 2m41s
11:04AM WRN leaks found: 5
⚠️ SPELL / lychee - 97 errors
[ERROR] file:///github/.github/copilot-instructions.md | Cannot find file
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Network error: Forbidden
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Network error: Forbidden
[404] https://www.youtube.com/watch?v=9y5VmmYHuIg | Network error: Not Found
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Network error: Not Found
[404] https://img.youtube.com/vi/9y5VmmYHuIg/0.jpg | Network error: Not Found
[403] https://npmjs.org/package/sfdx-hardis | Network error: Forbidden
[403] https://www.npmjs.com/package/prompts | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Network error: Forbidden
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Network error: Not Found
[404] https://trivy.dev/latest/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-bitbucket/ | Network error: Not Found
[403] https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7 | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Network error: Forbidden
[ERROR] file://assets/images/cloudity-map.jpg | Cannot find file
[ERROR] file://assets/images/cloudity-logo.jpg | Cannot find file
[404] https://sfdx-hardis.cloudity.com/hardis/org/configure/auth/ | Network error: Not Found
[ERROR] file://docs/hardis/project/deploy/sources/dx.md | Cannot find file
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[404] https://www.youtube.com/watch?v=9y5VmmYHuIg | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Error (cached)
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Error (cached)
[404] https://img.youtube.com/vi/9y5VmmYHuIg/0.jpg | Error (cached)
[403] https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7 | Error (cached)
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Error (cached)
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[ERROR] file://docs/hardis/doc/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-project-documentation | Cannot find file
[403] https://medium.com/@nicolasvuillamy/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)
[403] https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7 | Error (cached)
[ERROR] https://your-instance.service-now.com/ | Network error: error sending request for url (https://your-instance.service-now.com/) Maybe a certificate error?
[404] https://sfdx-hardis.cloudity.com/hardis/doc/project/deploy/smart/ | Network error: Not Found
[403] https://help.sfdmu.com/full-documentation/advanced-features/delete-from-source | Network error: Forbidden
[404] https://www.schemastore.org/json/ | Network error: Not Found
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Error (cached)
[403] https://www.npmjs.com/package/inquirer | Network error: Forbidden
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/hardis/project/clean/references | Cannot find file
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-ci-cd-publish-task | Cannot find file
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found
[ERROR] https://tickets.mycompany.com/ticket/%7BticketId%7D | Network error: error sending request for url (https://tickets.mycompany.com/ticket/%7BticketId%7D) Maybe a certificate error?
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)
[403] https://npmjs.org/package/sfdx-hardis | Error (cached)
[ERROR] file://docs/hardis/project/deploy/sources/dx.md | Cannot find file
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[404] https://img.youtube.com/vi/9y5VmmYHuIg/0.jpg | Error (cached)
[404] https://www.youtube.com/watch?v=9y5VmmYHuIg | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Error (cached)
[403] https://nicolas.vuillamy.fr/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Error (cached)
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Error (cached)
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)
[403] https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7 | Error (cached)
[404] https://www.youtube.com/watch?v=9y5VmmYHuIg | Error (cached)
[403] https://medium.com/@nicolasvuillamy/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Error (cached)
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Error (cached)
[403] https://openai.com/api/pricing/ | Network error: Forbidden
[404] https://myclient.force.com/ | Network error: Not Found
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[403] https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238 | Error (cached)
[ERROR] http://127.0.0.1:8000/ | Network error: error sending request for url (http://127.0.0.1:8000/) Maybe a certificate error?
[403] https://medium.com/@michael.bobard/get-rid-of-your-system-debug-with-2-clicks-to-improve-your-performance-80febae76755 | Network error: Forbidden
[403] https://platform.openai.com/ | Network error: Forbidden
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Error (cached)
[403] https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3 | Error (cached)
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Error (cached)
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden
[404] https://coffeeforce.pl/dreamin/speaker/nicolas-vuillamy/ | Network error: Not Found
[404] https://coffeeforce.pl/dreamin/speaker/nicolas-vuillamy/ | Network error: Not Found
[404] https://coffeeforce.pl/dreamin/speaker/nicolas-vuillamy/ | Network error: Not Found
📝 Summary
---------------------
🔍 Total.........2098
✅ Successful....1820
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.......181
❓ Unknown..........0
🚫 Errors..........97

Errors in docs/hardis/deploy/start.md
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)

Errors in docs/hardis/org/files/import.md
[403] https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd | Error (cached)

Errors in docs/hardis/org/user/activateinvalid.md
[403] https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d | Error (cached)

Errors in docs/hardis/project/deploy/smart.md
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)

Errors in docs/hardis/mdapi/deploy.md
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)

Errors in docs/cloudity-consulting-partner.md
[ERROR] file://assets/images/cloudity-logo.jpg | Cannot find file
[ERROR] file://assets/images/cloudity-map.jpg | Cannot find file

Errors in docs/salesforce-ci-cd-conga.md
[403] https://medium.com/@nicolasvuillamy/how-to-deploy-conga-composer-configuration-using-salesforce-cli-plugins-c2899641f36b | Error (cached)

Errors in docs/hardis/org/data/import.md
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)

Errors in config/sfdx-hardis.jsonschema.json
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden
[ERROR] https://tickets.mycompany.com/ticket/%7BticketId%7D | Network error: error sending request for url (https://tickets.mycompany.com/ticket/%7BticketId%7D) Maybe a certificate error?
[404] https://myclient.force.com/ | Network error: Not Found

Errors in mkdocs.yml
[403] https://nicolas.vuillamy.fr/what-devops-experts-want-to-know-about-salesforce-ci-cd-with-sfdx-hardis-q-a-1f412db34476 | Error (cached)

Errors in docs/hardis/project/deploy/quick.md
[403] https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0 | Error (cached)

Errors in docs/hardis/org/data/export.md
[403] https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac | Error (cached)

Errors in docs/salesforce-project-doc-generate.md
[ERROR] http://127.0.0.1:8000/ | Network error: error sending request for url (http://127.0.0.1:8000/) Maybe a certificate error?

Errors in SECURITY.md
[404] https:/

(Truncated to 13333 characters out of 23310)
⚠️ YAML / v8r - 1 error
ℹ No config file found
ℹ Pre-warming the cache
ℹ Processing .github/dependabot.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/dependabot.yml against schema from https://www.schemastore.org/dependabot-2.0.json ...
✔ .github/dependabot.yml is valid

ℹ Processing .github/linters/.checkov.yml
✖ Could not find a schema to validate .github/linters/.checkov.yml

ℹ Processing .github/workflows/build-deploy-docs.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/build-deploy-docs.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/build-deploy-docs.yml is valid

ℹ Processing .github/workflows/deploy.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/deploy.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/deploy.yml is valid

ℹ Processing .github/workflows/devScripts.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/devScripts.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/devScripts.yml is valid

ℹ Processing .github/workflows/docker-security-scan.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/docker-security-scan.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/docker-security-scan.yml is valid

ℹ Processing .github/workflows/mega-linter.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/mega-linter.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/mega-linter.yml is valid

ℹ Processing .github/workflows/retrieve-dashboards.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/retrieve-dashboards.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/retrieve-dashboards.yml is valid

ℹ Processing .github/workflows/stale.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/stale.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/stale.yml is valid

ℹ Processing .github/workflows/test.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/test.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/test.yml is valid

ℹ Processing .mega-linter.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .mega-linter.yml against schema from https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json ...
✖ .mega-linter.yml is invalid

.mega-linter.yml#/LLM_MAX_TOKENS must be string
.mega-linter.yml#/LLM_TEMPERATURE must be string

ℹ Processing config/code-analyzer.yml
✖ Could not find a schema to validate config/code-analyzer.yml

ℹ Processing config/sfdx-hardis.mega-linter-config.yml
✖ Could not find a schema to validate config/sfdx-hardis.mega-linter-config.yml

ℹ Processing mkdocs.yml
ℹ Found multiple possible matches for mkdocs.yml. Possible matches:

  mkdocs.yml (1.0)
  MkDocs configuration file
  https://www.schemastore.org/mkdocs-1.0.json

  mkdocs.yml (1.6)
  MkDocs configuration file
  https://www.schemastore.org/mkdocs-1.6.json

✖ Found multiple possible schemas to validate mkdocs.yml

ℹ Processing test/.sfdx-hardis.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating test/.sfdx-hardis.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✖ reference "http://github.com/hardisgroupcom/sfdx-hardis.json#/properties/commandsPostDeploy/items/properties/customUsername" resolves to more than one schema

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@beta --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,BASH_SHFMT,COPYPASTE_JSCPD,DOCKERFILE_HADOLINT,JSON_V8R,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE,TYPESCRIPT_ES,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant