ayushbuilds-code

Results issues of ayushbuilds-code

### Description `mesheryctl system token view` accepts at most one optional positional argument (`[token-name]`) to view a specific token configured in meshconfig, or displays the token of the current context...

### Description `mesheryctl system provider list` does not currently enforce argument validation at the Cobra layer. Instead, it checks `len(args) != 0` inside `RunE` and returns a plain error with...

### Description `mesheryctl system context list` does not currently enforce argument validation at the Cobra layer. Instead, it checks `len(args) != 0` inside `RunE` with `SilenceUsage: true`, preventing standard usage...

### Description `mesheryctl system provider view` does not currently enforce argument validation at the Cobra layer. Instead, it accepts positional arguments during Cobra's argument validation stage, executes `PreRunE` flag validation,...

# Description The scan contract and fleet configuration loaders currently use `os.ReadFile()` without enforcing a maximum file-size limit or validating whether the input is a regular file. Affected files: -...

bug

# Description In `core/cautils/getter/customrules.go`, `LoadCustomRules` parses user-authored custom Rego rules loaded via the `--custom-rules` flag. While `core/cautils/getter/loadpolicy.go` was recently hardened in #4669 with bounded file reads (`readPolicyFile`, 32 MiB limit)...

### Bug description When exporting a dashboard to Excel (multi-sheet streaming XLSX export), `StreamingXlsxWriter` uses `sanitize_sheet_name(raw, used)` in `superset/utils/excel_streaming.py` to sanitize chart and tab names for Excel worksheets. Excel worksheet...

🦾 ai-candidate

### Description In `src/components/Pricing/PlanCard/planCard.style.js`, lines 248–258 contain JSS / object syntax inside the styled-components template literal: ```javascript .MuiSlider-root { "& .MuiSlider-mark": { fontSize: "12px", color: ${(props) => props.theme.text.light}; }, "&...

### Description In `src/sections/Developer-Infrastructure/deploy.style.js`, the `.use-heading` CSS rule block is missing its closing brace `}`: ```javascript .use-heading { color: ${props => props.theme.whiteToBlack}; font-size: 2rem; text-align: center; margin-bottom: 2.5rem; .highlighted-text {...

### Description In `src/sections/CloudNativeDeployments/deploy.style.js`, the `.use-heading` CSS rule block is missing its closing brace `}`: ```javascript .use-heading { color: ${props => props.theme.whiteToBlack}; font-size: 2rem; text-align: center; margin-bottom: 2.5rem; .highlighted-text {...