Skip to content
Back to skills

Nnf Cve Cleanup

ASecurity

Cleans up NNF deployments impacted by vulnerable or outdated container images using guided execution.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentspythonshellbash

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill nnf-cve-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nnf Cve Cleanup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nnf Cve Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-nnf-cve-cleanup/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-nnf-cve-cleanup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nnf-cve-cleanup
description: "Cleans up NNF deployments impacted by vulnerable or outdated container images using guided execution."
lastReviewed: 2026-04-30
---

# NNF CVE Cleanup (Execution Enabled)

This skill remediates S360 / ADO action items like:

- "Cleanup Required: Parallel RP deployments running outdated images"
- "Vulnerable container image reference"
- "CVE in NFC cluster extension images"

Affected components typically include:
- nfarpgatewaymgrworker
- nfarpsouthboundworker
- nfarpjobservice

---

## ✅ Step 1 — Resolve target (cluster + deployments)

Extract from S360 / ADO text:
- SubscriptionId
- ResourceGroup
- ClusterName (if available)
- Namespace
- Deployment names (nfarp*)

If missing → run resolver:

```bash
python scripts/resolve-target.py --text "<paste S360/ADO text>"
```

---

## ✅ Step 2 — Execute cleanup

Allowed subscriptions (hard-enforced by script):
- d854f6e5-7f11-4515-9d58-2ef770a77ee2
- 962219bd-33e8-461a-aa01-2ea9236a2b07
- 9531faa8-8c39-4165-b033-48697fe943db
- 89a70903-42a2-4ff6-b437-688a27893711

Choose the appropriate action for your scenario:

| Action | When to use |
|--------|-------------|
| `restart` (default) | Refresh pods to pull patched images (CVE remediation) |
| `delete` | Permanently remove stale/orphaned deployments |
| `scale-down` | Scale stale deployments to 0 replicas without deleting |

PowerShell:
```powershell
# Restart pods (CVE image refresh)
scripts/cleanup-deployments.ps1 -SubscriptionId <sub> -ResourceGroup <rg> -ClusterName <cluster> -Namespace <ns> -Deployments "dep1,dep2" -Action restart

# Delete stale deployments
scripts/cleanup-deployments.ps1 -SubscriptionId <sub> -ResourceGroup <rg> -ClusterName <cluster> -Namespace <ns> -Deployments "dep1,dep2" -Action delete

# Scale down to 0 replicas
scripts/cleanup-deployments.ps1 -SubscriptionId <sub> -ResourceGroup <rg> -ClusterName <cluster> -Namespace <ns> -Deployments "dep1,dep2" -Action scale-down
```

Bash:
```bash
# Restart pods (CVE image refresh)
scripts/cleanup-deployments.sh --subscription <sub> --resource-group <rg> --cluster <cluster> --namespace <ns> --deployments "dep1,dep2" --action restart

# Delete stale deployments
scripts/cleanup-deployments.sh --subscription <sub> --resource-group <rg> --cluster <cluster> --namespace <ns> --deployments "dep1,dep2" --action delete

# Scale down to 0 replicas
scripts/cleanup-deployments.sh --subscription <sub> --resource-group <rg> --cluster <cluster> --namespace <ns> --deployments "dep1,dep2" --action scale-down
```


---

## ✅ Step 3 — Verify cleanup

kubectl get pods -n <namespace>
kubectl rollout status deployment <deployment> -n <namespace>

---

## ✅ Step 4 — Document results

Capture the following:

Deployment rollout status
Pod health output
Any errors or warnings

Paste results into:

S360 action item
ADO work item

✅ Close the item after successful validation

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.