Skip to content

Conversation

Ark2307
Copy link
Contributor

@Ark2307 Ark2307 commented Oct 8, 2025

No description provided.

Copy link

gitguardian bot commented Oct 8, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
20151756 Triggered JSON Web Token adffda7 apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/guardrails/dummyData.js View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

key: "6",
},
...(window?.STIGG_FEATURE_WISE_ALLOWED?.THREAT_DETECTION?.isGranted ? [{
...(window?.STIGG_FEATURE_WISE_ALLOWED?.THREAT_DETECTION?.isGranted || true ? [{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix this

subNavigationItems: [
{
label: "Dashboard",
onClick: () => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add condition here for dashboard category

// Accept multiple naming conventions for the category list
const subList =
item.subCategoryWiseData ||
item.sub_category_wise_data ||
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix this

});
let tooltipHtml = `<div style="font-weight: 600; margin-bottom: 8px;">${this.x}</div>`;
this.points.forEach((p) => {
const percentage =
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use <StackedChart.jsx> if possible

}}
>
<div
style={{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

whereever possible, shouldn't use div everywhere

const color = l - a * Math.max(-1, Math.min(k(n) - 3, Math.min(9 - k(n), 1)));
return Math.round(255 * color)
.toString(16)
.padStart(2, '0');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create component of sankeychart like other graphs and use it here

} catch (err) {
// Set empty state but keep structure for display
const severityColors = {
"CRITICAL": "#E45357",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use getColorForSensitiveData from observe/tranform.js

</div>,
<div style={{ display: 'flex', justifyContent: 'center' }}>
<div className={`badge-wrapper-${api.severity?.toUpperCase() || 'MEDIUM'}`}>
<Badge>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no divs

@gauravakto gauravakto merged commit a16cdac into master Oct 9, 2025
2 of 3 checks passed
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.

3 participants