Giter VIP home page Giter VIP logo

Comments (6)

PolarBearGod avatar PolarBearGod commented on June 14, 2024 1

Thank BK appreciate your support on this.

from psfalcon.

bk-cs avatar bk-cs commented on June 14, 2024
  • How many hosts are in the CSV? The number of contained hosts doesn't match the number of errors in your screenshot.
  • Were the contained hosts the same ones that generated warnings?

I won't move to enabling -Partial by default, either in the script or in the function because the likelihood that someone will accidentally perform an action on a host is way too high (having hostname abc affect hosts abc, abcd, abcde, etc. -- case is not the only thing affected by the partial match).

from psfalcon.

PolarBearGod avatar PolarBearGod commented on June 14, 2024

How many hosts are in the CSV? The number of contained hosts doesn't match the number of errors in your screenshot.

20 unique machines were in the CSV (there was some duplicates). 2 were no longer valid assets, so action was taken against 18.

Were the contained hosts the same ones that generated errors?

The host names in the errors are the same AIDs below.

I won't move to enabling -Partial by default,

Ah I see why that might cause a problem; however, there is a larger problem in that Find-FalconHostName is case sensitive. Not sure about others but a host name might be gathered in many ways other than the CS console, so there are situations in which hostName1 will never match against Hostname1 even though they are the same machine.

from psfalcon.

bk-cs avatar bk-cs commented on June 14, 2024

20 unique machines were in the CSV (there was some duplicates). 2 were no longer valid assets, so action was taken against 18.

Something doesn't line up there. There are 25 warnings. Are 7 from duplicates? If they are duplicates and they were found, it shouldn't be producing a warning and is likely due to a bug that I should find and fix.

Ah I see why that might cause a problem; however, there is a larger problem in that Find-FalconHostName is case sensitive.

It's not that Find-FalconHostname is case sensitive -- the APIs themselves are case sensitive. The command is passing the values (in groups of 20) to Get-FalconHost and either using -Filter "hostname:'value'" (partial match, not case sensitive) or -Filter "hostname:['value']" (exact match, case sensitive).

from psfalcon.

PolarBearGod avatar PolarBearGod commented on June 14, 2024

It's not that Find-FalconHostname is case sensitive -- the APIs themselves are case sensitive.

Well that is just unfortunate. Is there anyway to over come that other than having a strong naming convention or ensuring all names are capitalized in the console?

from psfalcon.

bk-cs avatar bk-cs commented on June 14, 2024

As far as I'm aware, no. I think the underlying data is stored case sensitive, and I don't see that changing.

from psfalcon.

Related Issues (20)

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.