Comments (6)
Thank BK appreciate your support on this.
from psfalcon.
- 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.
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.
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.
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.
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)
- [ BUG ] Adding offset to Get-FalconHost throws an error HOT 1
- [ BUG ] Script execution failing for `Invoke-FalconRtr` `runscript` when using large number of host ids HOT 4
- When I use Invoke-FalconHostAction, should I use device ID unique to each host entries? If yes, I used the same but error stated No matching found for the ID. Please do assist HOT 2
- [ QUESTION ] `Uninstall-FalconSensor` - How long does it take? HOT 3
- [ QUESTION ] ... Change CID HOT 1
- [ BUG ] `Get-FalconAsset` does not append `login_event` when using `Include` with a single result HOT 2
- [ QUESTION ] Bulk Removing USB Exception HOT 9
- [ BUG ] Unable to use severity `critical` with `Edit-FalconHorizonPolicy` HOT 2
- [ BUG ] `New-FalconScheduledScan` not sending `endpoint_notification` boolean HOT 2
- [ BUG ] User Management: List roles assigned to a user - Listed all roles in cid instead of user HOT 1
- [ BUG ] `Find-FalconHostname` returns maximum of 100 results HOT 2
- [ BUG ] `400: The ids parameter must be present...` error when using Turkish display language HOT 1
- [ BUG ] `Get-FalconRole` does not display custom roles HOT 4
- [ BUG ] `Invoke-FalconDeploy` incorrect execution order when queued HOT 4
- [ QUESTION ] `System.TypeInitializationException` error with `Uninstall-FalconSensor` HOT 4
- `SendASync` error with `Invoke-FalconDeploy` HOT 5
- [ BUG ] Get-FalconAsset code 400 error offset 10000 and limit 100 HOT 1
- [ BUG ] `Import-FalconConfig` ignores `FirewallGroup` HOT 1
- [ BUG ] `New-FalconReconRule` generating `Invalid Request` error with single rule HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psfalcon.