Skip to content

Commit

Permalink
Merge pull request #1505 from akto-api-security/fix/filter_name
Browse files Browse the repository at this point in the history
Fix/filter name
  • Loading branch information
avneesh-akto authored Sep 17, 2024
2 parents ed272f0 + 90f12af commit 9181112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ const gcpObj = {
icon: '/public/gcp.svg',
label: 'GCP Mirroring',
text: 'This setup only takes ten minutes. Once you connect GCP, Akto will process GCP traffic to create an API Inventory in real time.',
badge: "Recommended",
docsUrl: 'https://docs.akto.io/traffic-connections/google-cloud-gcp',
key: "GCP",
component: <BannerComponent title="Setup using GCP Mirroring" docsUrl="https://docs.akto.io/traffic-connections/google-cloud-gcp"
Expand Down Expand Up @@ -243,7 +242,6 @@ const kongObj = {
const kubernetesObj = {
icon: '/public/kubernetes.svg',
label: 'Kubernetes Daemonset',
badge: "Recommended",
text: 'You can deploy Akto in Kubernetes and collect traffic through a daemonset on your Kubernetes configuration.',
docsUrl: 'https://docs.akto.io/traffic-connections/kubernetes',
key: "KUBERNETES",
Expand Down Expand Up @@ -308,6 +306,7 @@ const apiInventoryFromSourceCodeObj = {
const ebpfObj = {
icon: '/public/ebpf.svg',
label: 'eBPF',
badge: "Recommended",
text: 'Akto-eBPF setup is recommended for mTLS systems when TLS termination happens at a proxy.',
docsUrl: 'https://docs.akto.io/traffic-connections/traffic-data-sources/ebpf',
key: "EBPF",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ function AdvancedTrafficFilters() {
placeholder={"Search existing filters"}
optionsList={templateList && templateList.map(x => {
return {
label: x.id,
label: x.id === "DEFAULT_BLOCK_FILTER" ? "DEFAULT_IGNORE_FILTER" : x.id,
value: x.id
}
})}
setSelected={(value) => {
handleSelection(value)
}}
value={currentId}
value={currentId === "DEFAULT_BLOCK_FILTER" ? "DEFAULT_IGNORE_FILTER" : currentId }
/>
</LegacyCard.Section>
<LegacyCard.Section flush>
Expand Down

0 comments on commit 9181112

Please sign in to comment.