Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 26 additions & 18 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"language": "en",
"dictionaries": ["companies", "filetypes", "fullstack", "softwareTerms"],
"dictionaries": [
"companies",
"filetypes",
"fullstack",
"softwareTerms"
],
"words": [
"aquasecurity",
"artipacked",
Expand Down Expand Up @@ -40,22 +45,23 @@
"zizmor"
],
"flagWords": [
"abort",
"abortion",
"blackhat",
"black-hat",
"whitehat",
"white-hat",
"cripple",
"crippled",
"master",
"slave",
"tribe",
"sanity-check",
"whitelist",
"white-list",
"blacklist",
"black-list"
"abort: cancel, end, fail, halt, stop, terminate",
"abortion: cancelation, ending, failure, halting, stopping, termination",
"blackhat: attacker, malicious",
"black-hat: attacker, malicious",
"whitehat: ethical, security, researcher",
"white-hat: ethical, security, researcher",
"cripple: disable, degrade, impact",
"crippled: disabled, degraded, impacted",
"grandfathered: legacy, exempted, preauthorized",
"master: controller, primary, main, leader, parent",
"slave: agent, replica, secondary, follower, child",
"tribe: squad, team, group",
"sanity-check: test, verify, validate",
"whitelist: allowlist",
"white-list: allow-list",
"blacklist: denylist",
"black-list: deny-list"
],
"ignorePaths": [
".cspell.json",
Expand All @@ -68,7 +74,9 @@
"languageSettings": [
{
"languageId": "markdown",
"ignoreRegExpList": ["/^\\s*```\\s*(mermaid)[\\s\\S]*?^\\s*```/gm"]
"ignoreRegExpList": [
"/^\\s*```\\s*(mermaid)[\\s\\S]*?^\\s*```/gm"
]
}
]
}
4 changes: 4 additions & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
# `megalinter` target in the Makefile.
uses: oxsecurity/megalinter/flavors/go@ef3e84b8b836d76db562d0f3ed7da61e8fd538bc # v9.6.0
env:
# Only Actions-specific values (secrets, runner behavior) belong
# here. Generic MegaLinter/repo config belongs in .mega-linter.yml
# so local runs (e.g. mega-linter-runner) get the same behavior.
#
# All available variables are described in documentation
# https://megalinter.io/latest/configuration/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,5 @@ docs/_build/
site/

# Lint files
megalinter-reports
# MegaLinter local-run report output.
megalinter-reports/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lfx auth token
lfx auth logout

# Make an authenticated call to an LFX platform API endpoint.
lfx api '/my-grants?v=1&object_type=projects'
lfx api '/my-grants?v=1&object_type=project'
lfx api /projects --field name=example # auto-promotes to POST
lfx api -X PUT /projects/123 --input - -H "If-Match: <ver>" < input.json # Content-Type: application/json is added automatically
```
Expand Down
Loading