Skip to content
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

Update fork #2

Merged
merged 11 commits into from
Apr 8, 2020
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team. All complaints will be reviewed and
investigated and will result in a response that is deemed necessary and
appropriate to the circumstances. The project team is obligated to maintain
confidentiality with regard to the reporter of an incident. Further details
of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
8 changes: 4 additions & 4 deletions PSFalcon.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ NestedModules = @(
'.\device-control-policies\Set-FDCPrecedence.psm1',

# falconx-sandbox
'.\falconx-sandbox\Add-FXSandboxFile.psm1',
'.\falconx-sandbox\Get-FXReportId.psm1',
'.\falconx-sandbox\Get-FXReportInfo.psm1',
'.\falconx-sandbox\Get-FXSubmissionId.psm1',
'.\falconx-sandbox\Get-FXSubmissionInfo.psm1',
'.\falconx-sandbox\Get-FXQuota.psm1',
'.\falconx-sandbox\New-FXSample.psm1',
'.\falconx-sandbox\Receive-FXArtifact.psm1',
'.\falconx-sandbox\Submit-FXSandboxFile.psm1',
'.\falconx-sandbox\Submit-FXSample.psm1',

# host-group
'.\host-group\Add-CsGroupMember.psm1',
Expand Down Expand Up @@ -253,14 +253,14 @@ FunctionsToExport = @(
'Set-FDCPrecedence',

# falconx-sandbox
'Add-FXSandboxFile',
'Get-FXReportId',
'Get-FXReportInfo',
'Get-FXSubmissionId',
'Get-FXSubmissionInfo',
'Get-FXQuota',
'New-FXSample',
'Receive-FXArtifact',
'Submit-FXSandboxFile',
'Submit-FXSample',

# host-group
'Add-CsGroupMember',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Add-FXSandboxFile {
function New-FXSample {
<#
.SYNOPSIS
Upload a file for sandbox analysis
Expand Down
42 changes: 21 additions & 21 deletions falconx-sandbox/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
# Add-FXSandboxFile - IN_DEVELOPMENT
Upload a file for sandbox analysis

## API References
**[Documentation](https://falcon.crowdstrike.com/support/documentation/92/falcon-x-apis#submit-a-file-for-analysis)**, **[Swagger](https://assets.falcon.crowdstrike.com/support/api/swagger.html#/falconx-sandbox/UploadSampleV2)**

## Parameters

`-Path`: The full path to the file to upload

`-Comment`: A descriptive comment to identify the file for other users

`-Confidential`: Defines visibility of this file in Falcon MalQuery [Default: True]

## Example
```powershell
PS> Add-FXSandboxFile -Path <string>
```

# Get-FXReportId
Find sandbox reports

Expand Down Expand Up @@ -96,6 +77,25 @@ Get your current Falcon X quota status
PS> Get-FXQuota
```

# New-FXSample - IN_DEVELOPMENT
Upload a file for sandbox analysis

## API References
**[Documentation](https://falcon.crowdstrike.com/support/documentation/92/falcon-x-apis#submit-a-file-for-analysis)**, **[Swagger](https://assets.falcon.crowdstrike.com/support/api/swagger.html#/falconx-sandbox/UploadSampleV2)**

## Parameters

`-Path`: The full path to the file to upload

`-Comment`: A descriptive comment to identify the file for other users

`-Confidential`: Defines visibility of this file in Falcon MalQuery [Default: True]

## Example
```powershell
PS> New-FXSample -Path <string>
```

# Receive-FXArtifact
Download IOC packs, PCAP files, and other analysis artifacts

Expand All @@ -115,7 +115,7 @@ Download IOC packs, PCAP files, and other analysis artifacts
PS> Receive-FXArtifact -Id <string> -Output <string>
```

# Submit-FXSandboxFile
# Submit-FXSample
Submit an uploaded file or a URL for sandbox analysis. Time required for analysis varies but is
usually less than 15 minutes

Expand All @@ -128,5 +128,5 @@ usually less than 15 minutes

## Example
```powershell
PS> Submit-FXSandboxFile -Sandbox @(@{})
PS> Submit-FXSample -Sandbox @(@{})
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function Submit-FXSandboxFile {
function Submit-FXSample {
<#
.SYNOPSIS
Submit an uploaded file or a URL for sandbox analysis. Time required for analysis
Expand Down
6 changes: 3 additions & 3 deletions sensor-download/Get-CsInstallerInfo.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ function Get-CsInstallerInfo {
The hashes of specific Falcon Sensor Installers to return

.PARAMETER FILTER
The filter expression that should be used to limit the results (when hashes are not provided)
The filter expression that should be used to limit the results

.PARAMETER LIMIT
The maximum records to return [Default: 500] (when hashes are not provided)
The maximum records to return [Default: 500]

.PARAMETER OFFSET
The offset to start retrieving records from [Default: 0] (when hashes are not provided)
The offset to start retrieving records from [Default: 0]
#>
[CmdletBinding(DefaultParameterSetName = 'combined')]
[OutputType([psobject])]
Expand Down