Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to pull RTR File #27

Closed
WilliamTIII opened this issue Feb 19, 2021 · 3 comments
Closed

Need to pull RTR File #27

WilliamTIII opened this issue Feb 19, 2021 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@WilliamTIII
Copy link

I was able to use Send-FalconPutFile to upload a file. I want to send a command to a batch of hosts to retrieve that file. I tried to use the format from the V1 set of commands, this previously worked

Send-RtrCommand -Id $Batch.batch_id -Command put -String file.msi

When I use the V2 commands, I wrote it like this.
Invoke-FalconAdminCommand -Command put -Arguments file.msi -BatchId $connect.batch_id
The error returned is "check your filename. could not find file.msi". I also tried with -Command get. I don't think the -Command part is the problem, I think I need to know how to reference the file. $pwd\ doesn't work

@bk-cs bk-cs self-assigned this Feb 20, 2021
@bk-cs bk-cs added the question Further information is requested label Feb 20, 2021
@bk-cs
Copy link
Collaborator

bk-cs commented Feb 20, 2021

It looks like you're referencing the file correctly.

  1. Is it possible that the upload of the put file didn't work?
  2. Can you confirm that the file is there?

I've seen the API do weird things when working with "Custom Scripts and Files" and effectively not be able to "find" files for scripts, so if you can see it, try deleting it, re-uploading and running again and then let me know if that does not work.

@WilliamTIII
Copy link
Author

WilliamTIII commented Feb 22, 2021 via email

@bk-cs
Copy link
Collaborator

bk-cs commented Feb 22, 2021

Ah, yes, when using many of the APIs you'll find that names (and associated filters) may be case sensitive. If you have an error or unexpected result, it's good practice to try again in lower case to see if that's the cause. Thanks for the follow-up!

@bk-cs bk-cs closed this as completed Feb 22, 2021
@CrowdStrike CrowdStrike locked and limited conversation to collaborators Sep 24, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants