GithubHelp home page GithubHelp logo

Comments (5)

wastorga avatar wastorga commented on June 12, 2024

Hi @phphasuk

Yes, the file to change would be input_module_cisco_dnac_issue.py, function get_issues. You would need to rewrite the if issue_id: ... code, the API call is done by function dnac.issues.get_issue_enrichment_details

There are some fields that the issue_item (item of the general get has):

issue_info[issue_id].update(
    {
        "IssueName": issue_item.get("name") or "",
        "IssueDeviceRole": issue_item.get("deviceRole") or "",
        "IssueAiDriven": issue_item.get("aiDriven") or "",
        "IssueClientMac": issue_item.get("clientMac") or "",
        "IssueCount": issue_item.get("issue_occurence_count") or "",
        "IssueStatus": issue_item.get("status") or "",
        "IssuePriority": issue_item.get("priority") or "",
        "IssueCategory": issue_item.get("category") or "",
    }
)

and others that are currently obtained using the enrichment details (see simplify_issue code)

  1. IssueID
  2. IssueSpecificCategory
  3. IssueSpecificSource
  4. IssueSpecificName
  5. IssueSpecificEntity
  6. IssueSpecificSeverity
  7. IssueSpecificPriority
  8. IssueSpecificSummary
  9. IssueSpecificTimestamp
  10. IssueSpecificDescription
  11. IssueSpecificEntityValue

Note: Some of these fields are required for the dashboard of the Cisco DNA Center App for Splunk, search the field on the Splunk_CiscoDNACenter folder.

from splunk-apps.

phphasuk avatar phphasuk commented on June 12, 2024

Hi @wastorga ,
Thank you so much for your suggestion. I will test it.

from splunk-apps.

wastorga avatar wastorga commented on June 12, 2024

Hi @phphasuk,
Can I help you with anything else?

If everything went well, feel free to close the ticket.
If no response is given, I will close due to inactivity on September 2nd.

from splunk-apps.

phphasuk avatar phphasuk commented on June 12, 2024

Hi @wastorga ,

I think, We can close this case. Thank you so much for your suggestion.

from splunk-apps.

wastorga avatar wastorga commented on June 12, 2024

Hi @phphasuk

Great, glad I was able to help.

from splunk-apps.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.